Electric swap station interactive monitoring method and system based on edge gateway

By setting permission control words and management information queues in the edge gateway, and sorting information according to the priority and login time of the operation and maintenance personnel, the problem of insufficient permission distinction in battery swap station monitoring is solved, and the system's security and efficiency are improved.

CN119232428APending Publication Date: 2024-12-31CHINA SOUTHERN POWER GRID COMPANY
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202411159903.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-22
Publication Date
2024-12-31

AI Technical Summary

Technical Problem

In the prior art, edge gateways lack permission distinction when monitoring battery swap stations, which poses security risks, which may lead to malicious tampering and malicious control of parameters, and the monitoring method lacks an interactive mechanism, affecting the security of battery swap stations.

Method used

By obtaining the type of operation and maintenance personnel, setting permission control words, and creating a management information queue within the edge gateway, arranging operation and maintenance personnel information according to priority and login time, dynamic adjustment of temporary priority and authority control is achieved, ensuring that only authorized personnel can Access and control sensitive data.

Benefits of technology

It effectively prevents safety hazards under the simultaneous control of multiple operation and maintenance personnel, improves the safety of the remote monitoring system of the battery swap station, ensures the uniqueness and reasonable allocation of operational permissions, and improves the reliability and efficiency of the system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119232428A_ABST
    Figure CN119232428A_ABST
Patent Text Reader

Abstract

The invention discloses a battery swap station interactive monitoring method based on an edge gateway, and the method comprises the steps: obtaining the type of operation and maintenance personnel, carrying out the priority setting through the edge gateway, and setting an authority control word for the authority of the operation and maintenance personnel; creating an edge management information queue in the edge gateway, and arranging operation and maintenance personnel information according to the priority and the login time sequence; carrying out first judgment on the lifting temporary priority, and setting a temporary priority lifting mark of the operation and maintenance personnel to be valid according to a first judgment result; performing second judgment on the promotion of the temporary permission control word extension, setting a temporary permission control word enabling mark to be valid according to a second judgment result, and returning request success information with permission control word extension time; if it is judged that the operation and maintenance personnel have the power swap station control command execution right, control is put into a control command queue of the operation and maintenance personnel, the control command is executed, and a control result is returned, so that the safety of the remote monitoring system is improved, and the problem of different customer service requirements is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of battery swap station monitoring, and in particular to an edge gateway-based interactive monitoring method and system for a battery swap station. Background Art

[0002] At present, the monitoring technology of battery swap stations has achieved a high degree of intelligence and automation. With the increasing number and types of battery swap stations, it is becoming more and more important to effectively evaluate the status, performance and residual value of batteries in battery swap stations. At the same time, multiple management entities are monitoring battery swap stations more and more. Remote monitoring and data analysis can equip battery swap stations with edge gateways. Through data analysis and processing, it can realize status monitoring, fault diagnosis and maintenance reminders of battery swap stations, and improve the reliability and maintenance efficiency of battery swap stations. The most common remote monitoring method is to issue instructions to battery swap stations through APP. Various monitoring entities, such as Internet of Vehicles platforms, supplier platforms, power grid companies, and various operation and maintenance personnel can issue remote control instructions.

[0003] In 2022, the release of the "Southern Power Grid Cloud-Edge Fusion Intelligent Dispatching and Operation Platform Series Technical Specifications" provides a standardized interface for data interaction between battery swap stations and power grid companies, realizes real-time collection and transmission of various types of data, and greatly facilitates the standardized implementation of remote monitoring of battery swap stations. However, at present, the edge gateway only monitors the battery swap station through the name and password of the operation and maintenance personnel, without distinguishing permissions. The use of the edge gateway can obtain all the information and monitoring permissions of the battery swap station, which has certain security risks, and there are problems such as malicious tampering of parameters and malicious control. In addition, the monitoring method lacks an interactive mechanism, which also poses certain security risks to the control of the battery swap station. Summary of the invention

[0004] In view of the above-mentioned problems, the present invention is proposed.

[0005] Therefore, the technical problem solved by the present invention is: the present invention solves the problem of malicious tampering of parameters and malicious control of battery swap stations by the client in the prior art, and the occurrence of erroneous operations when there is no need to modify or control relevant parameters and commands, as well as the potential safety hazards caused by simultaneous operations by different operation and maintenance personnel.

[0006] In order to solve the above technical problems, the present invention provides the following technical solutions:

[0007] In a first aspect, the present invention provides an interactive monitoring method for a battery swap station based on an edge gateway, comprising: obtaining an operation and maintenance personnel type, using an edge gateway to set a priority for the operation and maintenance personnel type and set a permission control word for the operation and maintenance personnel authority, and obtaining operation and maintenance personnel information;

[0008] Creating an edge management information queue in the edge gateway based on the operation and maintenance personnel information, in which the operation and maintenance personnel information is arranged according to the priority and login time of the operation and maintenance personnel;

[0009] In response to a demand command for increasing the temporary priority, a first judgment is made on increasing the temporary priority, and a temporary priority increase flag for the operation and maintenance personnel is set to be effective according to the first judgment result;

[0010] In response to a request command for increasing the temporary authority control word extension, a second judgment is made on increasing the temporary authority control word extension, a temporary authority control word enable flag is set to be valid according to the second judgment result, and a request success message with an authority control word extension time is returned;

[0011] In response to the control command of the operation and maintenance personnel and based on the priority of the operation and maintenance personnel, a third judgment is made. If it is determined that the operation and maintenance personnel has the right to execute the control command of the battery swap station, the control is placed in the control command queue of the operation and maintenance personnel, the control command is executed according to the command order of the control command queue, and the control result is returned according to the control authority of the operation and maintenance personnel.

[0012] As a preferred solution of the interactive monitoring method of a battery swap station based on an edge gateway described in the present invention, wherein: using the edge gateway to set the priority of the operation and maintenance personnel type and setting the permission control word for the operation and maintenance personnel authority includes:

[0013] Define different roles and corresponding authority levels for different maintenance personnel according to their types, assign priorities based on the authority scope of different maintenance personnel roles, and assign a unique ID to each role;

[0014] Set the permission control word, and the permission of the operation and maintenance personnel corresponds to the permission of the remote operation of the battery swap station uniquely.

[0015] As a preferred solution of the interactive monitoring method of a battery swap station based on an edge gateway according to the present invention, the information of the operation and maintenance personnel is arranged in order of priority and login time, including:

[0016] When the operator logs in, the operator information is inserted into the edge management information queue, and when the operator logs out, the operator is deleted from the edge management information queue;

[0017] The maintenance personnel with higher priority are ranked first. If the priority is the same, the maintenance personnel with earlier login time are ranked first.

[0018] When the front-end operation and maintenance personnel in the edge management information queue is changed, if a higher priority operation and maintenance personnel logs in, the battery swap station monitoring and scheduling module sends control priority change information to the original front-end operation and maintenance personnel;

[0019] If the front-end operator of the queue logs out, the control priority change information is sent to the changed front-end operator of the queue.

[0020] As a preferred solution of the interactive monitoring method of a battery swap station based on an edge gateway according to the present invention, the first judgment on the promotion of temporary priority includes:

[0021] When an administrator receives a temporary priority increase request, if other operators are currently raising the priority, the request will be rejected;

[0022] If not, set the temporary priority increase flag of the operation and maintenance personnel to be valid, move the operation and maintenance personnel information from the original position in the edge management information queue to the front of the queue, return the request success message with the priority increase time, and send the control priority authority change information to the front operation and maintenance personnel in the original edge management information queue;

[0023] When the temporary priority increase of the operation and maintenance personnel ends, the monitoring and dispatching module of the battery swap station sets the temporary priority increase flag of the operation and maintenance personnel to be invalid, reinserts the operation and maintenance personnel into the edge management information queue, and sends control priority change information to the front-end operation and maintenance personnel in the current edge management information queue.

[0024] As a preferred solution of the interactive monitoring method of a battery swap station based on an edge gateway according to the present invention, the second judgment on the extension of the temporary authority control word includes:

[0025] When the administrator receives a request to extend the temporary authority control word, if the temporary authority control word enable flag of the operation and maintenance personnel is valid, the request is rejected, otherwise, the fourth judgment is performed;

[0026] The fourth judgment includes judging whether the number of control rights of the battery swap station applied for extension exceeds the fixed upper limit. If so, the request is rejected. Otherwise, the temporary control rights of the battery swap station applied for are written into the edge management information queue, and the temporary authority control word enable flag of the operation and maintenance personnel is set to be valid, and a request success message with the authority control word extension time is returned;

[0027] When the extension of the temporary authority control word of the operation and maintenance personnel is completed, the monitoring and dispatching module of the battery swap station clears the content of the temporary authority control word of the operation and maintenance personnel, and sets the enable flag of the temporary authority control word of the operation and maintenance personnel to be invalid.

[0028] As a preferred solution of the interactive monitoring method of a battery swap station based on an edge gateway according to the present invention, the execution of commands on the battery swap station according to the priority of the operation and maintenance personnel includes:

[0029] In the edge management information queue, commands are executed in the order of the operation and maintenance personnel. In the read command queue of the same operation and maintenance personnel, commands are executed in the order of the time when the commands are received.

[0030] As a preferred solution of the interactive monitoring method of a battery swap station based on an edge gateway according to the present invention, the third judgment based on the priority of the operation and maintenance personnel includes:

[0031] When the battery swap station monitoring and dispatching module receives the battery swap station control command from the operator, it determines whether the operator has the power to execute the battery swap station control command. If not, the control request is rejected. If yes, the control command is placed in the operator's control queue;

[0032] The control command of the power station of the operation and maintenance personnel is executed according to the command sequence in the control command queue, and the control result is returned according to the control authority of the operation and maintenance personnel.

[0033] In a second aspect, the present invention provides a system for interactive monitoring of a battery swap station based on an edge gateway, comprising:

[0034] The permission setting module is used to obtain the type of operation and maintenance personnel, use the edge gateway to set the priority of the operation and maintenance personnel type and set the permission control word for the operation and maintenance personnel to obtain the operation and maintenance personnel information;

[0035] A queue creation module is used to create an edge management information queue in the edge gateway based on the operation and maintenance personnel information, and in the edge management information queue, the operation and maintenance personnel information is arranged according to the priority and login time of the operation and maintenance personnel;

[0036] A first judgment module is used to respond to a demand command for increasing the temporary priority, perform a first judgment on increasing the temporary priority, and set a temporary priority increase flag of the operation and maintenance personnel to be effective according to the first judgment result;

[0037] A second judgment module is used for responding to a demand command for increasing the temporary authority control word extension, performing a second judgment on increasing the temporary authority control word extension, setting the temporary authority control word enable flag to be valid according to the second judgment result, and returning a request success message with the authority control word extension time;

[0038] The third judgment module is used to respond to the control command of the operation and maintenance personnel and make a third judgment based on the priority of the operation and maintenance personnel. If it is judged that the operation and maintenance personnel has the right to execute the control command of the battery swap station, the control will be placed in the control command queue of the operation and maintenance personnel, and the control command will be executed according to the command order of the control command queue, and the control result will be returned according to the control authority of the operation and maintenance personnel.

[0039] In a third aspect, the present invention provides a computing device, comprising:

[0040] Memory and processor;

[0041] The memory is used to store computer-executable instructions, and the processor is used to execute the computer-executable instructions. When the computer-executable instructions are executed by the processor, the steps of the interactive monitoring method of battery swap stations based on edge gateway are implemented.

[0042] In a fourth aspect, the present invention provides a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, implement the steps of the interactive monitoring method of battery swap stations based on an edge gateway.

[0043] The beneficial effects of the present invention are as follows: different operation permissions are bound to administrators, operation and maintenance personnel, debugging personnel, operators, browsers, etc., and various priority orders are specified, so that the control permission of the power swap station is uniquely locked according to the priority order of the operation and maintenance personnel, preventing the safety hazards under the simultaneous control of multiple operation and maintenance personnel; at the same time, a priority and control permission negotiation mechanism is introduced, and in an emergency, the operation and maintenance personnel can apply for temporary priority or control permission to obtain control of the power swap station. This process improves the security of the remote monitoring system of the power swap station and solves the problem of different customer service requirements. BRIEF DESCRIPTION OF THE DRAWINGS

[0044] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following briefly introduces the drawings required for describing the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative labor. Among them:

[0045] Figure 1 An overall flow chart of an interactive monitoring method for a battery swap station based on an edge gateway provided by the present invention;

[0046] Figure 2 The present invention provides an edge gateway-based interactive monitoring method for a battery swap station, and mapping of operation and maintenance personnel to permissions. DETAILED DESCRIPTION

[0047] In order to make the above-mentioned purposes, features and advantages of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are described in detail below in conjunction with the drawings of the specification. Obviously, the described embodiments are part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary persons in the art without creative work should fall within the scope of protection of the present invention.

[0048] In the following description, many specific details are set forth to facilitate a full understanding of the present invention, but the present invention may also be implemented in other ways different from those described herein, and those skilled in the art may make similar generalizations without violating the connotation of the present invention. Therefore, the present invention is not limited to the specific embodiments disclosed below.

[0049] Secondly, the term "one embodiment" or "embodiment" as used herein refers to a specific feature, structure, or characteristic that may be included in at least one implementation of the present invention. The term "in one embodiment" that appears in different places in this specification does not necessarily refer to the same embodiment, nor does it refer to a separate or selective embodiment that is mutually exclusive with other embodiments.

[0050] The present invention is described in detail with reference to schematic diagrams. When describing the embodiments of the present invention, for the sake of convenience, the cross-sectional diagrams showing the device structure will not be partially enlarged according to the general scale, and the schematic diagrams are only examples, which should not limit the scope of protection of the present invention. In addition, in actual production, the three-dimensional dimensions of length, width and depth should be included.

[0051] At the same time, in the description of the present invention, it should be noted that the directions or positional relationships indicated by the terms "upper, lower, inner and outer" are based on the directions or positional relationships shown in the drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific direction, be constructed and operated in a specific direction, and therefore cannot be understood as limiting the present invention. In addition, the terms "first, second or third" are only used for descriptive purposes and cannot be understood as indicating or implying relative importance.

[0052] In the present invention, unless otherwise clearly specified and limited, the terms "install, connect, connect" should be understood in a broad sense, for example: it can be a fixed connection, a detachable connection or an integral connection; it can also be a mechanical connection, an electrical connection or a direct connection, or it can be indirectly connected through an intermediate medium, or it can be the internal communication of two components. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0053] Example 1

[0054] Reference Figure 1 , is an embodiment of the present invention, and provides an interactive monitoring method of a battery swap station based on an edge gateway, comprising:

[0055] S100: Obtain the type of operation and maintenance personnel, use the edge gateway to set the priority of the type of operation and maintenance personnel and set the permission control word for the operation and maintenance personnel to obtain the operation and maintenance personnel information;

[0056] In the embodiment of the present application, the roles and corresponding authority levels of different operation and maintenance personnel are defined according to the type of operation and maintenance personnel, priorities are assigned according to the authority scope of different operation and maintenance personnel roles, and each role is assigned a unique ID;

[0057] Set the permission control word, and the permission of the operation and maintenance personnel corresponds to the permission of the remote operation of the battery swap station uniquely.

[0058] Exemplarily, the edge gateway sets priorities for remote operation and maintenance personnel types according to the scope of operation and maintenance permissions, and sets permissions for administrators, battery swap station operation and maintenance personnel, debugging personnel, operators, viewers, etc. Administrators have the highest priority, and other personnel have priorities that decrease in sequence. Viewers have the lowest priority, and each permission has a unique ID.

[0059] Specifically, the permission control word is set, which includes the permission of all operation permissions such as reading, writing, controlling data of the battery swap station and management of operation and maintenance personnel;

[0060] Binding the attributes of the operator, binding the operator's name and login password with the corresponding attribute information, and registering them in the operator's information processing module in the edge gateway;

[0061] Each operation and maintenance personnel can only be bound to one permission, and other operation and maintenance personnel or themselves cannot unbind or modify it except the administrator.

[0062] It should be noted that by setting the permission priorities of different operation and maintenance personnel, it can be ensured that only authorized personnel can access and control sensitive data and systems, thereby reducing security risks. Each permission mapping is unique and corresponds to specific remote operation permissions, allowing flexible allocation of permissions based on the specific responsibilities and needs of the operation and maintenance personnel, which is more secure.

[0063] S200: creating an edge management information queue in the edge gateway based on the operation and maintenance personnel information, and arranging the operation and maintenance personnel information in the edge management information queue according to the priority and login time of the operation and maintenance personnel;

[0064] In the embodiment of the present application, when the operation and maintenance personnel log in, the operation and maintenance personnel information is inserted into the edge management information queue, and when the operation and maintenance personnel log out, the operation and maintenance personnel is deleted from the edge management information queue;

[0065] The maintenance personnel with higher priority are ranked first. If the priority is the same, the maintenance personnel with earlier login time are ranked first.

[0066] When the front-end operation and maintenance personnel in the edge management information queue is changed, if a higher priority operation and maintenance personnel logs in, the battery swap station monitoring and scheduling module sends control priority change information to the original front-end operation and maintenance personnel;

[0067] If the front-end operator of the queue logs out, the control priority change information is sent to the changed front-end operator of the queue.

[0068] For example, maintenance personnel A with a priority level of 5 logs into the system at 8 a.m. and becomes the front of the queue;

[0069] Maintenance personnel B, who has a priority of 7, logs in at 8:30 a.m. Because his priority is higher than that of maintenance personnel A, maintenance personnel B obtains control rights, and maintenance personnel A receives information about the change of control priority.

[0070] Maintenance personnel C with a priority level of 5 logs in at 8:45 am. Since his priority is the same as that of maintenance personnel A but his login time is later, maintenance personnel C is ranked after maintenance personnel A. Maintenance personnel A logs out at 9 am. Maintenance personnel C is the next element in the queue, so he becomes the front of the queue and receives the control priority change information.

[0071] Specifically, an edge management information queue of operation and maintenance personnel is created in the monitoring and scheduling module of the power station in the edge gateway. The information of each operation and maintenance personnel includes the name of the operation and maintenance personnel, unique ID, authority control word, temporary priority promotion flag, temporary authority control word, temporary authority control word enable flag and login time;

[0072] Each operation and maintenance personnel in the edge management information queue has a power station information reading command queue and a power station control command queue, which are used to receive power station information reading commands and control commands. The commands are stored in the order of receiving time.

[0073] The edge management message queue does not include administrators.

[0074] It should be noted that when control changes, the system can notify relevant operation and maintenance personnel in real time, reducing operational delays or errors caused by information lags. By maintaining the information reading command queue and the control command queue, the system can quickly respond to commands in the order of receipt time, thereby improving the operation and maintenance efficiency of the battery swap station.

[0075] S300: In response to a demand command for increasing the temporary priority, a first judgment is made on increasing the temporary priority, and a temporary priority increase flag for the operation and maintenance personnel is set to be valid according to the first judgment result;

[0076] In the embodiment of the present application, when the administrator receives a temporary priority increase request, if other operation and maintenance personnel are currently increasing the priority, the request is rejected;

[0077] If not, set the temporary priority increase flag of the operation and maintenance personnel to be valid, move the operation and maintenance personnel information from the original position in the edge management information queue to the front of the queue, return the request success message with the priority increase time, and send the control priority authority change information to the front operation and maintenance personnel in the original edge management information queue;

[0078] When the temporary priority increase of the operation and maintenance personnel ends, the monitoring and dispatching module of the battery swap station sets the temporary priority increase flag of the operation and maintenance personnel to be invalid, reinserts the operation and maintenance personnel into the edge management information queue, and sends control priority change information to the front-end operation and maintenance personnel in the current edge management information queue.

[0079] Exemplarily, operation and maintenance personnel A, B, and C have different priorities and have logged into the system, and their information already exists in the edge management information queue;

[0080] Due to his own needs, operation and maintenance personnel A submits a temporary priority increase request to the system. The administrator receives the request and checks whether there are other operation and maintenance personnel whose temporary priority has been increased. If there is no other operation and maintenance personnel whose temporary priority increase flag is valid, the administrator approves A's request, and the system sets the temporary priority increase flag of operation and maintenance personnel A to valid, removes operation and maintenance personnel A from his original position in the queue, and then reinserts him to the front of the queue. The system sends a control priority change message to operation and maintenance personnel B at the front of the original queue, and returns a request success message with the priority increase time to operation and maintenance personnel A. Operation and maintenance personnel A completes his emergency operation and maintenance task within the specified time.

[0081] After maintenance personnel A completes his task, the system automatically or the administrator manually sets the temporary priority enhancement flag of maintenance personnel A to invalid, and the system moves maintenance personnel A from the front of the queue to the position corresponding to his original priority. The system sends a control priority change message to maintenance personnel C at the front of the current queue.

[0082] Specifically, when the temporary priority enhancement flag is valid, it means that the priority of the operation and maintenance personnel is enhanced to the highest, and it is invalid by default.

[0083] It should be noted that when operation and maintenance personnel need to respond quickly, by raising their priority, they can ensure that they can be dealt with quickly, thereby speeding up problem resolution. The system can dynamically adjust the priority of operation and maintenance personnel according to current needs, making resource allocation more reasonable and efficient.

[0084] S400: In response to a request command for increasing the temporary authority control word extension, a second judgment is made on increasing the temporary authority control word extension, a temporary authority control word enable flag is set to be valid according to the second judgment result, and a request success message with an authority control word extension time is returned;

[0085] In the embodiment of the present application, when the administrator receives a temporary authority control word extension request, if the temporary authority control word enable flag of the operation and maintenance personnel is valid, the request is rejected, otherwise, the fourth judgment is performed;

[0086] The fourth judgment includes judging whether the number of control rights of the battery swap station applied for extension exceeds the fixed upper limit. If so, the request is rejected. Otherwise, the temporary control rights of the battery swap station applied for are written into the edge management information queue, and the temporary authority control word enable flag of the operation and maintenance personnel is set to be valid, and a request success message with the authority control word extension time is returned;

[0087] When the extension of the temporary authority control word of the operation and maintenance personnel is completed, the monitoring and dispatching module of the battery swap station clears the content of the temporary authority control word of the operation and maintenance personnel, and sets the enable flag of the temporary authority control word of the operation and maintenance personnel to be invalid.

[0088] Specifically, the fixed upper limit is determined by the master station to determine the number of simultaneous controls. In traditional power grid regulation, the number of control permissions can only be 1, but the main body of the power swap station is not a power grid, so the number of permissions is not 1;

[0089] When the temporary permission control word enable flag is valid, it means that the current operation and maintenance personnel use the temporary permission control word to replace the original permission control word. The default state is invalid.

[0090] Temporary permission control word extension request, the upper limit of the number of extensions that the logged-in operation and maintenance personnel can apply for each time is determined by the administrator;

[0091] The temporary increase in the priority of the operation and maintenance personnel ends, or the temporary extension of the authority control word ends, including active termination and passive termination. In the case of active termination, the operation and maintenance personnel actively sends the administrator the information that the priority increase of the operation and maintenance personnel or the temporary extension of the authority control word ends. Passive termination includes the expiration of the priority increase time or the authority control word extension time, or the operation and maintenance personnel logs out.

[0092] It should be noted that by setting the permission control word enable flag, the system can ensure that operation and maintenance personnel can only apply for extension when they do not have temporary permission, thereby avoiding abuse of permissions. By judging whether the number of permissions applied for extension exceeds a fixed upper limit, the system can prevent excessive concentration of permissions and maintain the security and stability of the system.

[0093] S500: responding to the control command of the operation and maintenance personnel and performing a third judgment according to the priority of the operation and maintenance personnel, if it is judged that the operation and maintenance personnel has the right to execute the control command of the power station, the control is placed in the control command queue of the operation and maintenance personnel, the control command is executed according to the command sequence of the control command queue, and the control result is returned according to the control authority of the operation and maintenance personnel;

[0094] In an embodiment of the present application, commands are executed in the edge management information queue according to the order of operation and maintenance personnel, and in the read command queue of the same operation and maintenance personnel, commands are executed according to the time sequence of command reception.

[0095] Specifically, the battery swap station status data reading command execution strategy executes the battery swap station status data reading command in the edge management information queue first according to the order of the operation and maintenance personnel, and then according to the command order in the reading command queue. During execution, the query information is returned according to the control authority of the operation and maintenance personnel.

[0096] In the embodiment of the present application, when the battery swap station monitoring and dispatching module receives the battery swap station control command from the operation and maintenance personnel, it determines whether the operation and maintenance personnel have the power to execute the battery swap station control command. If not, the control request is rejected. If yes, the control command is placed in the control queue of the operation and maintenance personnel.

[0097] The control command of the power station of the operation and maintenance personnel is executed according to the command sequence in the control command queue, and the control result is returned according to the control authority of the operation and maintenance personnel.

[0098] Specifically, except for the administrator, the right to execute the control commands of the battery swap station belongs only to the front-end operation and maintenance personnel in the edge management information queue.

[0099] It should be noted that by giving priority to the orders of operation and maintenance personnel, the operation and maintenance of the battery swap station can be ensured to be more timely and efficient, and control permissions can be set to prevent unauthorized personnel from performing improper operations on the battery swap station, thereby avoiding possible safety accidents, and ensuring that only operation and maintenance personnel with corresponding permissions can exercise control, thereby improving the security of the system.

[0100] The above is a schematic scheme of an interactive monitoring method for a battery swap station based on an edge gateway in this embodiment. It should be noted that the technical scheme of the device for interactive monitoring of a battery swap station based on an edge gateway and the technical scheme of the interactive monitoring method for a battery swap station based on an edge gateway belong to the same concept. For details not described in detail in the technical scheme of the device for interactive monitoring of a battery swap station based on an edge gateway in this embodiment, please refer to the description of the technical scheme of the interactive monitoring method for a battery swap station based on an edge gateway.

[0101] The device for interactive monitoring of a battery swap station based on an edge gateway in this embodiment includes:

[0102] The permission setting module is used to obtain the type of operation and maintenance personnel, use the edge gateway to set the priority of the operation and maintenance personnel type and set the permission control word for the operation and maintenance personnel to obtain the operation and maintenance personnel information;

[0103] A queue creation module is used to create an edge management information queue in the edge gateway based on the operation and maintenance personnel information, and in the edge management information queue, the operation and maintenance personnel information is arranged according to the priority and login time of the operation and maintenance personnel;

[0104] A first judgment module is used to respond to a demand command for increasing the temporary priority, perform a first judgment on increasing the temporary priority, and set a temporary priority increase flag of the operation and maintenance personnel to be effective according to the first judgment result;

[0105] A second judgment module is used for responding to a demand command for increasing the temporary authority control word extension, performing a second judgment on increasing the temporary authority control word extension, setting the temporary authority control word enable flag to be valid according to the second judgment result, and returning a request success message with the authority control word extension time;

[0106] The third judgment module is used to respond to the control command of the operation and maintenance personnel and make a third judgment based on the priority of the operation and maintenance personnel. If it is judged that the operation and maintenance personnel has the right to execute the control command of the battery swap station, the control will be placed in the control command queue of the operation and maintenance personnel, and the control command will be executed according to the command order of the control command queue, and the control result will be returned according to the control authority of the operation and maintenance personnel.

[0107] This embodiment further provides a computing device, which is applicable to interactive monitoring of a battery swap station based on an edge gateway, including:

[0108] Memory and processor; the memory is used to store computer-executable instructions, and the processor is used to execute computer-executable instructions to implement the interactive monitoring method of battery swap stations based on edge gateway as proposed in the above embodiment.

[0109] This embodiment also provides a storage medium on which a computer program is stored. When the program is executed by a processor, the method for interactive monitoring of battery swap stations based on an edge gateway as proposed in the above embodiment is implemented.

[0110] The storage medium proposed in this embodiment and the method for implementing interactive monitoring of battery swap stations based on edge gateway proposed in the above embodiment belong to the same inventive concept. Technical details not fully described in this embodiment can be found in the above embodiment, and this embodiment has the same beneficial effects as the above embodiment.

[0111] Through the above description of the implementation methods, the technicians in the relevant field can clearly understand that the present invention can be implemented by means of software and necessary general hardware, and of course can also be implemented by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as a computer floppy disk, read-only memory (ReadOnly, Memory, ROM), random access memory (RandomAccess Memory, RAM), flash memory (FLASH), hard disk or optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, server, or network device, etc.) to perform the methods of various embodiments of the present invention.

[0112] Example 2

[0113] like Figure 2As shown, this embodiment is different from the first embodiment in that it provides a verification test of an interactive monitoring method for a battery swap station based on an edge gateway, in order to verify and illustrate the technical effects adopted in this method.

[0114] Remote monitoring and maintenance personnel settings and authority mapping for battery swap stations, such as Figure 2 As shown;

[0115] 0: Administrator, 1: Operation and maintenance personnel, 2: Debugger, 3: Operator, 4: Viewer, each unique ID is represented by a 16-Byte string;

[0116] The operation authority is uniquely represented by the authority control word; 1 authority control word consists of 6 bytes, each bit indicates whether a function has authority, 1 means yes, 0 means no; the first byte is the total function authority, set to bit0: battery swap station data reading, bit1: parameter query, bit2: parameter setting, bit3: battery swap station control, bit4: operation and maintenance personnel management, bit5 to bit7 are reserved; the second and third bytes are the specific "battery swap station data" acquisition authority, set to bit0 of the second byte: battery swap station body data, bit1: battery swap station robotic arm data, bit2: battery swap battery data, bit3: charging status data ... it4: position data, bit5: extreme value data, bit6: alarm data, and the remaining bits are reserved for customization; the 4th byte is the specific "parameter query" permission, set to bit0: main body storage time period, bit1: normal information reporting time period, bit2: alarm information reporting time period, bit3: hardware version, bit4: firmware version, etc.; the 5th byte is the specific "parameter setting" permission, and the meaning of each bit is the same as the 4th byte; the 6th byte is the specific "control command" permission, set to bit0: remote upgrade, bit1: edge gateway shutdown, bit2: edge gateway reset, bit3: edge gateway alarm, etc.;

[0117] Permission control word mapping and binding, such as the administrator maps all operation permissions; the operation and maintenance personnel of the power swap station map the operation permissions such as data reading, parameter query setting, and control of the power swap station except for the terminal operation and maintenance personnel management; the commissioning personnel and operators are the power grid company or third-party power swap station or equipment commissioners, who can obtain the corresponding permissions required for commissioning; the viewers are general operation and maintenance personnel or temporary operation and maintenance personnel, who are used to temporarily check the power swap station and equipment information, and can only obtain the corresponding data access permissions, and do not have parameter setting, control and operation and maintenance personnel management permissions;

[0118] According to the actual needs of operation and maintenance personnel, a unique ID is assigned to each operation and maintenance personnel, and the operation and maintenance personnel name and password information of the operation and maintenance personnel are registered in the operation and maintenance personnel information processing module, and the operation and maintenance personnel information processing module is in the edge gateway. A complete operation and maintenance personnel information includes: login operation and maintenance personnel name, login password, unique ID, and permission control word.

[0119] Create an operation and maintenance personnel information queue in the battery swap station monitoring and scheduling module. Each operation and maintenance personnel information includes the operation and maintenance personnel name 16Byte, unique ID 16Byte, authority control word 16Byte, temporary priority increase flag 1Byte, temporary authority control word 16Byte, temporary authority control word enable flag 1Byte, and login time 8Byte;

[0120] The operation and maintenance personnel information queue is managed by the power station monitoring and scheduling module. When an operation and maintenance personnel logs in, the power station monitoring and scheduling module in the edge gateway creates the operation and maintenance personnel information and inserts it into the edge management information queue. When logging out, the operation and maintenance personnel information is deleted from the edge management information queue. The operation and maintenance personnel information in the edge management information queue is arranged in the order of the operation and maintenance personnel priority and login time. The high-priority operation and maintenance personnel are in front, such as the operation and maintenance personnel before the debugging personnel, the debugging personnel before the operating personnel, etc. When the priority is the same, the operation and maintenance personnel with the earlier login time are in front;

[0121] When the front-end operator of the edge management information queue changes, if a higher priority operator logs in, the power station monitoring and dispatching module sends control priority change information to the original front-end operator; if the front-end operator logs out, the control priority change information is sent to the changed front-end operator. The data part of the control priority change message is the operator name and unique ID of the latest front-end operator of the queue.

[0122] When a logged-in operation and maintenance personnel currently has no control over the battery swap station or has insufficient control authority, they can send a priority promotion request or an authority control word extension request to the administrator, where the authority control word extension request message data part is a new authority control word;

[0123] After receiving a temporary priority increase request from an operation and maintenance personnel, the administrator first checks whether the temporary priority increase flag of the front-end operation and maintenance personnel in the current edge management information queue is 1. If it is 1, it means that an operation and maintenance personnel is already in the process of increasing the priority, and the request is rejected; if it is not 1, the temporary priority increase flag of the operation and maintenance personnel is set to 1, and the operation and maintenance personnel information is moved from the original position in the edge management information queue to the front of the queue, and a request success message with the priority increase time (such as 15 minutes) is returned, and at the same time, the control priority authority change information is sent to the front-end operation and maintenance personnel in the original edge management information queue;

[0124] After receiving the request to extend the temporary authority control word, the administrator first determines whether the temporary authority control word enable flag of the operation and maintenance personnel is 1. If it is 1, it means that it is already in the authority control extension stage and the request is rejected; if it is 0, the new authority control word is compared with the original one to determine whether the number of power swap station control permissions applied for extension exceeds the fixed upper limit (the upper limit can be set to 2). If it exceeds, the request is rejected. Otherwise, the requested temporary power swap station control permission word is written into the temporary authority control word of the operation and maintenance personnel in the edge management information queue, the temporary authority control word enable flag is set to 1, and the request success information with the authority control word extension time (such as 15 minutes) is returned;

[0125] When the temporary priority increase of the operation and maintenance personnel ends, the battery swap station monitoring and scheduling module sets the temporary priority increase flag of the operation and maintenance personnel to 0, and reinserts the operation and maintenance personnel into the edge management information queue according to the operation and maintenance personnel information arrangement principle, and sends control priority change information to the front-end operation and maintenance personnel in the current edge management information queue.

[0126] When the extension of the temporary authority control word of the operation and maintenance personnel is completed, the monitoring and dispatching module of the power swap station clears the content of the temporary authority control word of the operation and maintenance personnel and sets the enable flag of the temporary authority control word of the operation and maintenance personnel to 0.

[0127] When the battery swap station monitoring and dispatching module receives a request from an operator to read the status data of a battery swap station, the command is placed in the read command queue of the operator; when the command is executed, it is first determined whether there is a battery swap station status data read command being executed. If so, it waits. If not, it enters the read command queue of the front-end operator in the edge management information queue and executes the commands in the order in which the commands are received. During execution, it is determined whether the operator has the authority to read the data according to the authority word of the operator. If not, it returns a read failure. After the operator has finished executing the command in the read command queue, it enters the read command queue of the next operator according to the order in the edge management information queue to execute the command, and so on, until all operator read data commands have been executed;

[0128] In order to ensure the unique control over the operation of the battery swap station within a certain period of time, the control right of the battery swap station belongs only to the front-end operation and maintenance personnel in the edge management information queue (except the administrator); when the battery swap station monitoring and dispatching module receives a battery swap station control command request from an operation and maintenance personnel, it first determines whether the operation and maintenance personnel has the control right of the battery swap station, that is, whether the operation and maintenance personnel is the front-end operation and maintenance personnel in the edge management information queue. If not, the control request is rejected, otherwise the control command is placed in the control command queue of the operation and maintenance personnel; when the command is executed, the operation and maintenance personnel's battery swap station control command is executed according to the command order in the control command queue of the operation and maintenance personnel with control right of the battery swap station, and the control result is returned according to the control authority of the operation and maintenance personnel.

[0129] Different operation permissions are bound to administrators, maintenance personnel, commissioning personnel, operators, browsers, etc., and various priority orders are specified, so that the control permissions of the power swap station are uniquely locked according to the priority order of the maintenance personnel, preventing the safety hazards of multiple maintenance personnel controlling at the same time; at the same time, a priority and control permission negotiation mechanism is introduced, and maintenance personnel can obtain control of the power swap station by applying for temporary priority or control permission in an emergency. This process improves the security of the remote monitoring system of the power swap station and solves the problem of different customer service needs.

[0130] It should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and are not intended to limit the present invention. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical solutions of the present invention may be modified or replaced by equivalents without departing from the spirit and scope of the technical solutions of the present invention, which should all be included in the scope of the claims of the present invention.

Claims

1. A method for interactive monitoring of a battery swap station based on an edge gateway, characterized in that: include: Obtain the type of operation and maintenance personnel, use the edge gateway to set the priority of the type of operation and maintenance personnel and set the permission control word for the operation and maintenance personnel to obtain the operation and maintenance personnel information; Creating an edge management information queue in the edge gateway based on the operation and maintenance personnel information, in which the operation and maintenance personnel information is arranged according to the priority and login time of the operation and maintenance personnel; In response to a demand command for increasing the temporary priority, a first judgment is made on increasing the temporary priority, and a temporary priority increase flag for the operation and maintenance personnel is set to be effective according to the first judgment result; In response to a request command for increasing the temporary authority control word extension, a second judgment is made on increasing the temporary authority control word extension, a temporary authority control word enable flag is set to be valid according to the second judgment result, and a request success message with an authority control word extension time is returned; In response to the control command of the operation and maintenance personnel and based on the priority of the operation and maintenance personnel, a third judgment is made. If it is determined that the operation and maintenance personnel has the right to execute the control command of the battery swap station, the control is placed in the control command queue of the operation and maintenance personnel, the control command is executed according to the command order of the control command queue, and the control result is returned according to the control authority of the operation and maintenance personnel.

2. The interactive monitoring method for battery swap stations based on edge gateway according to claim 1, characterized in that: Using the edge gateway to set the priority of the operation and maintenance personnel type and set the permission control word for the operation and maintenance personnel authority includes: Define different roles and corresponding authority levels for different maintenance personnel according to their types, assign priorities based on the authority scope of different maintenance personnel roles, and assign a unique ID to each role; Set the permission control word, and the permission of the operation and maintenance personnel corresponds to the permission of the remote operation of the battery swap station uniquely.

3. The interactive monitoring method for battery swap stations based on edge gateway according to claim 2, characterized in that: The information of the operation and maintenance personnel is arranged according to their priority and login time, including: When the operator logs in, the operator information is inserted into the edge management information queue, and when the operator logs out, the operator is deleted from the edge management information queue; The maintenance personnel with higher priority are ranked first. If the priority is the same, the maintenance personnel with earlier login time are ranked first. When the front-end operation and maintenance personnel in the edge management information queue is changed, if a higher priority operation and maintenance personnel logs in, the battery swap station monitoring and scheduling module sends control priority change information to the original front-end operation and maintenance personnel; If the front-end operator of the queue logs out, the control priority change information is sent to the changed front-end operator of the queue.

4. The interactive monitoring method for battery swap stations based on edge gateway according to claim 3, characterized in that: The first judgment on raising the temporary priority level includes: When an administrator receives a temporary priority increase request, if other operators are currently raising the priority, the request will be rejected; If not, set the temporary priority increase flag of the operation and maintenance personnel to be valid, move the operation and maintenance personnel information from the original position in the edge management information queue to the front of the queue, return the request success message with the priority increase time, and send the control priority authority change information to the front operation and maintenance personnel in the original edge management information queue; When the temporary priority increase of the operation and maintenance personnel ends, the monitoring and dispatching module of the battery swap station sets the temporary priority increase flag of the operation and maintenance personnel to be invalid, reinserts the operation and maintenance personnel into the edge management information queue, and sends control priority change information to the front-end operation and maintenance personnel in the current edge management information queue.

5. The interactive monitoring method for battery swap stations based on edge gateway according to claim 4, characterized in that: The second determination of the extension of the temporary privilege control word includes: When the administrator receives a request to extend the temporary authority control word, if the temporary authority control word enable flag of the operation and maintenance personnel is valid, the request is rejected, otherwise, the fourth judgment is performed; The fourth judgment includes judging whether the number of control rights of the battery swap station applied for extension exceeds the fixed upper limit. If so, the request is rejected. Otherwise, the temporary control rights of the battery swap station applied for are written into the edge management information queue, and the temporary authority control word enable flag of the operation and maintenance personnel is set to be valid, and a request success message with the authority control word extension time is returned; When the extension of the temporary authority control word of the operation and maintenance personnel is completed, the monitoring and dispatching module of the battery swap station clears the content of the temporary authority control word of the operation and maintenance personnel, and sets the enable flag of the temporary authority control word of the operation and maintenance personnel to be invalid.

6. The interactive monitoring method for battery swap stations based on edge gateway according to claim 4 or 5, characterized in that: The commands executed on the power swap station according to the priority of the operation and maintenance personnel include: In the edge management information queue, commands are executed in the order of the operation and maintenance personnel. In the read command queue of the same operation and maintenance personnel, commands are executed in the order of the time when the commands are received.

7. The interactive monitoring method for battery swap stations based on edge gateway according to claim 6, characterized in that: The third judgment based on the priority of the operation and maintenance personnel includes: When the battery swap station monitoring and dispatching module receives the battery swap station control command from the operator, it determines whether the operator has the power to execute the battery swap station control command. If not, the control request is rejected. If yes, the control command is placed in the operator's control queue; The control command of the power station of the operation and maintenance personnel is executed according to the command sequence in the control command queue, and the control result is returned according to the control authority of the operation and maintenance personnel.

8. A system for interactive monitoring of battery swap stations based on edge gateway, characterized in that: include: The permission setting module is used to obtain the type of operation and maintenance personnel, use the edge gateway to set the priority of the operation and maintenance personnel type and set the permission control word for the operation and maintenance personnel to obtain the operation and maintenance personnel information; A queue creation module is used to create an edge management information queue in the edge gateway based on the operation and maintenance personnel information, and in the edge management information queue, the operation and maintenance personnel information is arranged according to the priority and login time of the operation and maintenance personnel; A first judgment module is used to respond to a demand command for increasing the temporary priority, perform a first judgment on increasing the temporary priority, and set a temporary priority increase flag of the operation and maintenance personnel to be effective according to the first judgment result; A second judgment module is used for responding to a demand command for increasing the temporary authority control word extension, performing a second judgment on increasing the temporary authority control word extension, setting the temporary authority control word enable flag to be valid according to the second judgment result, and returning a request success message with the authority control word extension time; The third judgment module is used to respond to the control command of the operation and maintenance personnel and make a third judgment based on the priority of the operation and maintenance personnel. If it is judged that the operation and maintenance personnel has the right to execute the control command of the battery swap station, the control will be placed in the control command queue of the operation and maintenance personnel, and the control command will be executed according to the command order of the control command queue, and the control result will be returned according to the control authority of the operation and maintenance personnel.

9. An electronic device, characterized in that: The device comprises: processor; a memory for storing processor-executable instructions; The processor is configured to call the instructions stored in the memory to execute the method according to any one of claims 1 to 7.

10. A computer-readable storage medium having computer program instructions stored thereon, characterized in that: When the computer program instructions are executed by a processor, the method according to any one of claims 1 to 7 is implemented.

Citation Information

Patent Citations

  • Operation and maintenance service task intelligent distribution method and system

    CN109615213A

  • Multi-source instruction uploading method and system based on priority scheduling, medium and equipment

    CN114528020A

  • Customer demand request task queue generation method and device based on user priority

    CN115018381A

  • Remote operation and maintenance method and device, electronic equipment and storage medium

    CN117014516A