Battery replacement server monitoring method and equipment of battery replacement station and medium
Through battery swap monitoring networking and data encryption technology, the geographical restrictions and monitoring blind spots of remote monitoring of battery swap servers are solved, full-process monitoring and rapid fault response are achieved, and the operational stability and security of the battery swap station are improved.
Patent Information
- Application Number
- CN202410860704.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2023-12-29
- Filing Date
- 2024-06-28
- Publication Date
- 2025-07-08
AI Technical Summary
In traditional methods, the remote monitoring of the battery swap server is restricted by geographical location, making it difficult to identify and prevent wanton misappropriation in a timely manner, resulting in operational interruptions and economic losses. The existing monitoring methods have problems such as monitoring blind spots and untimely response to failures.
The battery swap monitoring networking technology is adopted, and the new battery swap server is added as the slave server to the monitoring networking of the main control server. The load is optimized by static and dynamic allocation of weights, combined with data encryption and monitoring cycle division, the full monitoring and abnormal detection of the battery swap server is realized.
It improves the security and monitoring reliability of the battery swap server, reduces the time for fault identification, ensures operation and maintenance personnel to respond quickly and repair faults, and reduces operational risks and economic losses.
Smart Images

Figure CN120281634A_ABST
Abstract
Description
[0001] This application claims priority based on the invention patent application titled "A Method, Device, and Medium for Monitoring a Battery Swap Server in a Battery Swap Station" with an application number of 202311867205.5 filed with the China National Intellectual Property Administration on December 29, 2023. The entire content of the above Chinese patent application is incorporated herein by reference. Technical Field
[0002] This specification relates to the technical field of battery swapping, and particularly to a method, device, and medium for monitoring a battery swap server in a battery swap station. Background Art
[0003] With the development of new energy technologies, new energy vehicles have gradually emerged. Since the driving range of new energy vehicles is limited by the battery capacity, it is necessary to regularly charge or replace the battery to extend the usage time. As a facility that provides battery charging and replacement services for electric vehicles and hybrid electric vehicles, a battery swap station offers a convenient way for vehicle owners to complete battery charging or replacement in a short time, thus saving the waiting time for long charging periods. The Battery Swap Server is an important component in a battery swap station, which is used to manage and control the process of battery charging and replacement. To ensure the monitoring and management of the battery inventory in the battery swap station, dispatch the power output of the charging piles according to the charging requirements and charging rates of vehicles, control the charging process, and control the steps and sequence of battery replacement, etc., to ensure the normal operation of the battery swap station. Monitoring the battery swap server in a timely manner for fault detection and repair is an essential link to maintain the operation quality.
[0004] In the traditional method, for the battery swap servers that have been produced and shipped from the assembly workshop, due to the objective geographical location issues, it is difficult for operation and maintenance personnel to track the battery swap servers located at a long distance, and it is thus difficult to identify the event of wanton misappropriation of the battery swap servers. In addition, by building a visualization dashboard to display the various indicators and status of the servers in the form of charts, etc., the demand for operation and maintenance personnel is relatively high, making it difficult for the battery swap servers at remote battery swap stations to obtain the status of the servers in a timely manner. The method of detecting only after the battery swap server fails and shuts down cannot respond in a timely manner when a failure occurs and match the appropriate emergency operation and maintenance personnel, resulting in the stacking of tasks of the battery swap server during the shutdown process, which is likely to cause the interruption of the operation of the battery swap station and thus economic losses. Summary of the Invention
[0005] To solve the above technical problems, one or more embodiments of this specification provide a method, device, and medium for monitoring a battery swap server in a battery swap station.
[0006] The embodiments of this specification adopt the following technical solutions:
[0007] On the one hand, an embodiment of the present specification provides a method for monitoring a power replacement server of a power replacement station. The method includes: obtaining power replacement server information corresponding to a newly added power replacement server; based on the power replacement server information, adding the newly added power replacement server as a slave power replacement server to a power replacement monitoring network, where the power replacement monitoring network includes a master power replacement server and at least one slave power replacement server; obtaining monitoring information of each slave power replacement server based on the master power replacement server, so as to perform abnormal monitoring on each slave power replacement server based on the monitoring information.
[0008] According to the power replacement server information of the newly added power replacement server, the present specification adds the newly added power replacement server as a slave power replacement server to the power replacement monitoring network, which can be bound to the power replacement station, effectively reducing the risk of the power replacement server being misappropriated at will and improving the security of the server. This enables the monitoring of the power replacement server of the power replacement station to start from the source and achieve full control of the status of the power replacement server. The master power replacement server obtains monitoring information through the power replacement monitoring network, solving the problem that it is difficult for operation and maintenance personnel to monitor the failures of each power replacement server in a timely manner due to geographical restrictions. It also helps to quickly determine the operation and maintenance personnel who can perform operation and maintenance remedies in the future. Through real-time abnormal monitoring, the specific fault location can be quickly located and determined, providing effective clues for operation and maintenance personnel and accelerating the speed of fault troubleshooting and repair. Moreover, the monitoring method for the slave power replacement server based on the power replacement monitoring network, compared with the method of deploying physical security facilities such as monitoring cameras and access control systems inside the power replacement station in the prior art to prevent the power replacement server from being misappropriated at will, overcomes the problem of monitoring dead angles in the above method, realizes full-process traceability tracking, and improves the reliability of power replacement server monitoring.
[0009] In a feasible embodiment, before adding the newly added battery swap server as a slave battery swap server to the battery swap monitoring network based on the battery swap server information, the method also includes: constructing an initial battery swap monitoring network based on at least two battery swap servers, and randomly selecting an initial master battery swap server in the initial battery swap monitoring network, so as to obtain the basic configuration information of each of the battery swap servers in the battery swap monitoring network based on the initial master battery swap server; comparing the basic configuration information of each of the battery swap servers to determine the static allocation weight of each of the battery swap servers; based on the initial master battery swap server, obtaining the task load of each of the battery swap servers in real time, and determining the dynamic allocation weight of each of the battery swap servers based on the task load of each of the battery swap servers; determining the target allocation weight of each of the battery swap servers based on the static allocation weight and the dynamic allocation weight, so as to update the initial master power station server based on the target allocation weight; based on the updated initial master power station server, determining a master power swap server and at least one slave power swap server.
[0010] This specification determines the allocation weight of each battery swap server by superimposing the static allocation weight and the dynamic allocation weight, thereby updating the initial master power station server according to the allocation weight, and obtaining a master battery swap server and multiple slave battery swap servers, realizing the comprehensive consideration of static allocation weight and dynamic allocation weight, which can not only avoid the problem of frequent changes in load changes due to allocation based only on dynamic allocation weight based on static allocation weight, but also improve the stability and reliability of the battery swap monitoring network. It can also fully consider the actual load situation based on the dynamic allocation weight, improve the utilization rate of resources and thus improve the corresponding time and monitoring efficiency, which is more suitable for solving the problem of large fluctuations in the task volume between the same battery swap server and different battery swap servers caused by factors such as operating status and marketing activities in actual battery swap stations.
[0011] In a feasible embodiment, the monitoring information of each of the slave power swap servers is obtained based on the master power swap server, specifically including: based on a preset monitoring period, the monitoring instructions of the master power swap server are regularly sent to each of the slave power swap servers in the power swap monitoring network; the encrypted monitoring information corresponding to the slave power swap server is retrieved through the monitoring instructions, and the encrypted monitoring information is obtained by encrypting the monitoring information of the slave power swap server based on the tag information of the slave power swap server; the encrypted monitoring information is decrypted based on the master power swap server to obtain the monitoring information of the slave power swap server, and the monitoring information includes the monitoring information of the slave power swap server within the preset monitoring period;
[0012] Alternatively, the monitoring information of each of the slave-controlled power swap servers is obtained based on the master power swap server, specifically including: dividing the preset monitoring period to obtain a first monitoring period and a second monitoring period; obtaining the encrypted alarm information automatically reported by each of the slave-controlled power swap servers within the first monitoring period, the encrypted alarm information being obtained by encrypting the operation alarm information of the slave-controlled power swap server based on the marking information of the slave-controlled power swap server; sending the monitoring instructions of the master power swap server to each of the slave-controlled power swap servers in the power swap monitoring network within the second monitoring period; retrieving the encrypted monitoring information corresponding to each of the slave-controlled power swap servers through the monitoring instructions, the encrypted monitoring information being obtained by encrypting the monitoring information of the slave-controlled power swap server based on the marking information of the slave-controlled power swap server; decrypting the corresponding encrypted alarm information and the encrypted monitoring information based on each of the master power swap servers, and deduplicating the alarm information and monitoring information of each of the slave-controlled power swap servers.
[0013] In one method of this specification, the master-control power exchange server obtains the monitoring information of the slave-control power exchange server in the power exchange monitoring network, and the remote slave-control power exchange server is monitored based on the networking method, which overcomes the problem of geographical restrictions and saves the labor cost of on-site monitoring by operation and maintenance personnel. The acquired monitoring information is encrypted by encrypting the data, which improves the reliability of the data transmission process, and the encryption based on identity tags improves the confidentiality of the monitoring information. In another method, by dividing the monitoring period into a first monitoring period and a second monitoring period, the slave-control power exchange server actively uploads the alarm information within the first monitoring period, which facilitates the slave-control power exchange server to upload the emergency alarm information in a timely manner, helps to respond to the alarm information in a timely manner, and improves the fault elimination rate. By sending monitoring instructions based on the master power exchange server during the second monitoring cycle, potential fault hazards in the slave power exchange server can be passively uploaded to the master server based on the monitoring information, allowing the master server to obtain possible hidden dangers in a timely manner through alarm information and monitoring information during the first and second monitoring cycles, which helps reduce the risk of failure. At the same time, the efficiency of timely response to faults is also improved through active uploading during the first monitoring cycle.
[0014] In a feasible embodiment, the abnormal monitoring of each slave-controlled power-swapping server based on the monitoring information includes:
[0015] Obtaining the battery swap server information of each of the slave-controlled battery swap servers; determining an abnormal battery swap server from each of the slave-controlled battery swap servers based on the battery swap server information of each of the slave-controlled battery swap servers and the corresponding monitoring information;
[0016] Preferably, based on the information of each slave power exchange server and the corresponding monitoring information, an abnormal power exchange server is determined from each of the slave power exchange servers. Specifically, for each slave power exchange server, based on the information of the slave power exchange server, the factory hardware information and the bound power exchange station name of the slave power exchange server are determined; based on the monitoring information corresponding to the slave power exchange server, the current power exchange station name, the current hardware information and the operating status information of the slave power exchange server are determined; the comparison result is obtained by comparing the current power exchange station name corresponding to the slave power exchange server with the bound power exchange station name; the hardware difference information is obtained by comparing the factory hardware information corresponding to the slave power exchange server with the current hardware information; based on the operating status information, the hardware difference information and the comparison result corresponding to the slave power exchange server, it is determined whether the slave power exchange server is the abnormal power exchange server.
[0017] This specification can automatically identify the servers with differences by comparing the comparison result of the current power exchange station name and the bound power exchange station name based on the operating status information corresponding to the slave power exchange server, and comparing the factory hardware information of the slave power exchange server with the hardware information in the monitoring information, so as to lock them as abnormal power exchange servers. Based on the binding of the hardware information and the site in this method, the tracking of the power exchange server can be realized. If a security event or other problems occur, the relevant power exchange server can be quickly located through the tracking information, which is convenient for investigation and handling. It can not only effectively reduce the incidence of the event that the power exchange server is wantonly misappropriated, but also find that the operating status is abnormal, and measures can be taken in advance to eliminate the fault factors and avoid the occurrence of faults. In addition, this method saves the time and workload of manual inspection one by one, thereby improving the efficiency of fault identification. At the same time, based on the superposition judgment of the hardware information and the operating status information, the abnormal power exchange server can be accurately determined, avoiding misjudgment or missed judgment, improving the accuracy of fault detection and elimination, and the analysis of the real-time monitoring information realizes the timely locking of the abnormal power exchange server, which helps to take corresponding measures in time, avoid the further expansion of the fault impact, and ensure the normal operation of the system.
[0018] In a feasible embodiment, after determining the abnormal power exchange server from each of the slave power exchange servers, the method further includes: triggering an abnormal alarm based on the abnormal power exchange server, and obtaining the triggering alarm information corresponding to the abnormal power exchange server; notifying the corresponding operation and maintenance personnel to perform abnormal processing based on the triggering alarm information and the power exchange server information corresponding to the abnormal power exchange server.
[0019] By promptly detecting an abnormal power swap server and triggering an alarm, this specification can ensure that the operation and maintenance personnel can quickly learn about the occurrence of problems based on the alarm information and the power swap server information. At the same time, by obtaining the trigger alarm information of the abnormal power swap server, the specific location and nature of the problem can be quickly determined, and the corresponding operation and maintenance personnel can be notified to handle the abnormality, avoiding delays and chaos in information transmission and improving the efficiency of problem-solving. And promptly detecting and alarming abnormal situations enables the operation and maintenance personnel to handle the abnormalities, which can also prevent the problem from expanding and worsening, thereby reducing the costs of equipment repair and replacement. This helps to ensure the normal operation of the power swap server, improve the safety of the entire power swap system, and avoid safety incidents caused by equipment failures or other abnormal problems.
[0020] In a feasible embodiment, before the abnormal power swap server triggers an abnormal alarm, the method further includes: based on the power swap station site and the marking information corresponding to the abnormal power swap server, obtaining the monitoring video of the abnormal power swap server within the power swap station site; based on the power swap server information corresponding to the abnormal power swap server, determining the strobing rate of the status light of the abnormal power swap server, and determining the acquisition frequency of the monitoring video according to the status strobing rate; obtaining the monitoring image corresponding to the abnormal power swap server from the monitoring video based on the acquisition frequency, and inputting the monitoring image into the trained target detection model to obtain the operation status label of the abnormal power swap server; expanding the operation status information based on the operation status label, and determining whether the abnormal power swap server triggers an alarm based on the expanded operation status information and the preset alarm rules.
[0021] This specification analyzes the video footage when an abnormal power swap server appears abnormal by combining the monitoring video, which helps to eliminate the influence of the external environment and improve the reliability of the alarm. By expanding the operation status information by obtaining the operation status label based on the video image and combining it with the actual usage scenario of the power swap server, a more comprehensive understanding of the status of the abnormal power swap server can be obtained, providing more clues and information for fault analysis and troubleshooting, and shortening the fault handling time.
[0022] In a feasible embodiment, after obtaining the monitoring information of each slave power exchange server based on the master power exchange server, and performing abnormal monitoring on each slave power exchange server based on the monitoring information, the method further includes: determining the server type corresponding to the abnormal power exchange server based on the power exchange server information of the abnormal power exchange server; determining the range of operation and maintenance personnel corresponding to the current power exchange station site corresponding to the abnormal power exchange server, and determining the initial operation and maintenance personnel corresponding to the server type based on the labels of each operation and maintenance personnel within the range of operation and maintenance personnel; determining the passing time according to the distance between each initial operation and maintenance personnel and the power exchange station site, and determining the shortest time required for each initial maintenance personnel according to the queuing time of the work orders to be processed by each initial operation and maintenance personnel; screening the initial maintenance personnel based on the shortest time to determine the target operation and maintenance personnel corresponding to the abnormal power exchange server, so as to send the monitoring information of the abnormal power exchange server to the communication software corresponding to the target operation and maintenance personnel for alarm.
[0023] This specification can accurately determine the range of initial operation and maintenance personnel by determining the server type corresponding to the abnormal power exchange server, as well as the range and labels of operation and maintenance personnel related to the power exchange station site, which helps to ensure that the operation and maintenance tasks are assigned to operation and maintenance personnel with relevant experience, thereby improving the repair efficiency and quality of the power exchange server. By obtaining the shortest time required for each initial operation and maintenance personnel, the scheduling of operation and maintenance tasks is fully considered. Screening the initial maintenance personnel based on the shortest time can select the most suitable operation and maintenance personnel according to the actual situation, reduce the waste of human resources, and also reduce the waiting time of the abnormal power exchange server, which helps to improve the repair response speed. In addition, by sending the monitoring information of the abnormal power exchange server to the communication software of the corresponding operation and maintenance personnel for alarm, the maintenance personnel can be notified in real time to quickly respond to the abnormal situation, reducing the fault handling time.
[0024] In a feasible embodiment, after obtaining the monitoring information of each slave power exchange server based on the master power exchange server, and performing abnormal monitoring on each slave power exchange server based on the monitoring information, the method further includes: monitoring the alarm time point of the abnormal power exchange server to determine multiple alarm status confirmation time points of the abnormal power exchange server based on the alarm time point and a preset response time period; the preset response time period is the interval time between two adjacent alarm status confirmation time points; determining whether the abnormal power exchange service has completed operation and maintenance based on the monitoring information of the abnormal power exchange service corresponding to each alarm status confirmation time point; if not, determining the alarm upgrade level of the abnormal power exchange server based on the time length from the current alarm status confirmation time point to the alarm time point, and increasing the alarm level of the abnormal power exchange server based on the alarm upgrade level.
[0025] By monitoring the alarm time of the abnormal battery replacement server and setting multiple confirmation times, this description can determine whether the operation and maintenance personnel have promptly detected and maintained the abnormal situation. It helps the operation and maintenance personnel to respond promptly to the abnormal battery replacement server, which is conducive to quickly solving problems and reducing potential losses. Determining multiple confirmation times can provide multiple opportunities to check whether the abnormal battery replacement service has been maintained. If it is found that the problem has been solved at a certain confirmation time, unnecessary further alarms can be avoided. In addition, by determining the alarm escalation level according to the length of the preset response time period between the current confirmation time and the alarm time, it can prompt the operation and maintenance personnel to pay more attention to the unresolved abnormal situations. As time goes by, the increase in the alarm level can attract more attention and resources to ensure that the problems are properly handled. Based on this method, the effect of flexibly adjusting the preset response time period and the alarm escalation rule according to the actual situation is achieved. Through multiple confirmations and alarm escalations, the reliability of monitoring and handling abnormal situations can be improved. Ensure that problems will not be ignored or delayed in handling, thereby enhancing the stability and security of the entire system. And during the process of determining the alarm escalation level, it is based on the monitoring information to determine whether to upgrade the level of the abnormal battery replacement service, ensuring the objectivity of the decision-making and realizing the adjustment based on the actual data and situation.
[0026] On the other hand, the embodiment of this description also provides a monitoring device for the battery replacement server of a battery replacement station. The device includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein, the memory stores instructions executable by the at least one processor, and when the instructions are executed by the at least one processor, the at least one processor is enabled to: implement the monitoring method for the battery replacement server of the battery replacement station described in any one of the above.
[0027] Finally, the embodiment of this description also provides a non-volatile storage medium storing computer-executable instructions, and the computer-executable instructions can: implement the monitoring method for the battery replacement server of the battery replacement station described in any one of the above. Compared with the prior art, a method, a system and a device for displaying battery information of a battery in a battery replacement station provided by the embodiments of the present invention have the following beneficial effects:
[0028] This specification adds a new battery swapping server to the battery swapping monitoring network according to the battery swapping server information corresponding to the new battery swapping server, effectively reducing the risk of the battery swapping server being misappropriated arbitrarily and improving the security of the battery swapping server's operation. The method for determining the new battery swapping server enables the monitoring of the battery swapping server in the battery swapping station to start from the source and achieve full control over the status of the battery swapping server. The master battery swapping server obtains monitoring information through the battery swapping monitoring network, solving the problem that it is difficult for operation and maintenance personnel to monitor the failures of each battery swapping server in a timely manner due to geographical restrictions. By using the information in the factory database of the workshop and the battery swapping station corresponding to the abnormal battery swapping server, the operation and maintenance personnel who can carry out maintenance remedies can be quickly determined. By triggering the alarm of the abnormal battery swapping server in a timely manner, the specific fault location can be quickly located and determined, providing effective clues for the operation and maintenance personnel and accelerating the speed of fault troubleshooting and repair. BRIEF DESCRIPTION OF THE DRAWINGS
[0029] In order to more clearly illustrate the technical solutions in the embodiments of this specification or the prior art, the following will briefly introduce the drawings required for use in the description of the embodiments or the prior art. Obviously, the drawings in the following description are only some embodiments recorded in this specification. For those of ordinary skill in the art, without creative efforts, other drawings can also be obtained based on these drawings. In the drawings:
[0030] Figure 1 It is a schematic flow chart of a method for monitoring a battery swapping server in a battery swapping station provided by an embodiment of this specification;
[0031] Figure 2 It is a schematic flow chart of another method for monitoring a battery swapping server in a battery swapping station provided by an embodiment of this specification;
[0032] Figure 3 It is a schematic implementation flow chart in an application scenario provided by an embodiment of this specification;
[0033] Figure 4 It is a schematic analysis flow chart of an abnormal battery swapping server in an application scenario provided by an embodiment of this specification;
[0034] Figure 5 It is a schematic alarm flow chart in an application scenario provided by an embodiment of this specification;
[0035] Figure 6 It is a schematic structural diagram of a battery swapping service monitoring device in a battery swapping station provided by an embodiment of this specification;
[0036] Figure 7 It is a schematic structural diagram of a non-volatile storage medium provided by an embodiment of this specification. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0037] An embodiment of this specification provides a method, device, and medium for monitoring the battery swapping service of a battery swapping station.
[0038] In order to enable those skilled in the art to better understand the technical solutions in this specification, the following will clearly and completely describe the technical solutions in the embodiments of this specification in conjunction with the accompanying drawings in the embodiments of this specification. Obviously, the described embodiments are only a part of the embodiments of this specification, rather than all the embodiments. Based on the embodiments of this specification, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the scope of protection of this specification.
[0039] An embodiment of this specification provides a method for monitoring the battery swapping server of a battery swapping station, as Figure 1 shown, the method specifically includes steps S101 - S103:
[0040] S101: Obtain the battery swapping server information corresponding to the newly added battery swapping server.
[0041] With the increase in battery swapping stations, the operating quality of the battery swapping server, which bears the core business of battery swapping, is particularly important. However, from the moment the battery swapping server leaves the assembly workshop, the operation and maintenance personnel actually lose control of its status. Therefore, in order to monitor the battery swapping server from the source and then obtain monitoring information such as the current location and current operating status of the battery swapping server, it is necessary to bind the battery swapping server information to the battery swapping station. By binding the hardware information in the battery swapping server information and the identity marker that can uniquely identify the battery swapping server to the battery swapping station, the incidence rate of the wanton misappropriation of the battery swapping server can be effectively reduced and the traceable effect can be achieved. Therefore, in the embodiments of this specification, the battery swapping service information corresponding to the newly added battery swapping server is first obtained.
[0042] For example Figure 3As shown, when the battery swapping server leaves the factory with the battery swapping station, it stores server information, tags, and station names in the factory database. Therefore, based on the newly added battery swapping server information in the factory database, it is possible to determine the newly produced battery swapping server that has just been completed, which is the newly added battery swapping server that needs to install the monitoring service component. The method of determining the newly added battery swapping server through the factory database enables the monitoring of the battery swapping server in the battery swapping station to start from the source and achieve full control over the status of the battery swapping server. Among them, it should be noted that the monitoring service component can be the Zabbix Agent component in the zabbix alarm system. Zabbix is an open-source network monitoring and alarm system used to monitor the performance and availability of various network devices, servers, and applications in real-time. Zabbix provides rich monitoring functions and flexible configuration options, which can help administrators monitor and manage large-scale network environments in real-time. And Zabbix Agent is a component of the Zabbix system and is a client program running on the monitored device. Zabbix Agent is responsible for collecting the metric data on the monitored device and sending it to the corresponding battery swapping server of Zabbix for processing and storage. By adding components such as the Zabbix Agent component to each newly added battery swapping server, it is convenient to obtain the running status of the battery swapping server in a timely manner and effectively improve the monitoring efficiency.
[0043] S102: Based on the battery swapping server information, add the newly added battery swapping server as a slave battery swapping server to the battery swapping monitoring network, where the battery swapping monitoring network includes a master battery swapping server and at least one of the slave battery swapping servers.
[0044] After obtaining the battery swapping server information corresponding to the newly added server based on the above step S101, in order to lock the newly added battery swapping server that has just left the factory, it is possible to remotely monitor by adding the newly added battery swapping server as a slave battery swapping server to the battery swapping monitoring network (the meaning of the battery swapping monitoring network here is the same as that of the internal monitoring network in the cited application document). Among them, it should be noted that the battery swapping monitoring network includes a master battery swapping server and at least one slave battery swapping server. In the process of adding the newly added battery swapping server to the battery swapping network, the newly added battery swapping server can be gradually added to the network through openvpn to obtain the battery swapping monitoring network. By establishing the battery swapping monitoring network, it solves the problem that it is difficult for maintenance personnel to monitor and obtain the failures of each battery swapping server in a timely manner due to geographical restrictions. And based on the networking method for monitoring, when a certain battery swapping server fails, other battery swapping servers in the network can provide task support, thus solving the economic losses caused by downtime and maintenance to the battery swapping station.
[0045] In a feasible embodiment, when adding a newly added battery swapping server as a slave battery swapping server to the battery swapping monitoring network, it is possible to determine, based on the battery swapping server information, which battery swapping station ordered the newly added battery swapping server, that is, to determine the battery swapping station where the battery swapping server will be deployed after leaving the factory. Then, the battery swapping server information of the newly added battery swapping server is bound to the battery swapping station. It should be noted that the battery swapping server information includes: factory hardware information, identity marker, battery swapping station name, etc. By binding information such as the factory hardware information and identity marker of the battery swapping server to the battery swapping station, the risk of the battery swapping server being misappropriated at will is effectively reduced, the security of the server is improved, and compared with the prior art method of deploying physical security facilities such as monitoring cameras and access control systems inside the battery swapping station to prevent unauthorized personnel from entering the server area to prevent the problem of the battery swapping server being misappropriated at will, it overcomes the problem of monitoring blind spots in the above method, realizes full-process traceability tracking, and improves the reliability of battery swapping server monitoring. After binding, based on the factory database of the assembly workshop, the newly added battery swapping server assembled in the factory is determined. The newly added battery swapping server installs and deploys monitoring service components, and then, based on a virtual communication tunnel such as openvpn, the newly added battery swapping server is added to the virtual monitoring network constructed according to each battery swapping server to obtain the battery swapping monitoring network.
[0046] In a feasible embodiment, before adding a newly added battery swapping server as a slave battery swapping server to the battery swapping monitoring network based on the battery swapping server information, an initial battery swapping monitoring network is constructed based on at least two battery swapping servers. An initial master battery swapping server is randomly selected in the initial battery swapping monitoring network (here, the initial battery swapping monitoring network is equivalent to the virtual monitoring network constructed based on each battery swapping server in the application document). Then, based on the initial master battery swapping server, the basic configuration information of each battery swapping server in the internal monitoring network is obtained. It should be noted that the basic configuration information includes: CPU information, memory information, hard disk information, network card information, etc. By obtaining the basic configuration information, the functional performance of each battery swapping server can be determined. Then, by comparing the basic configuration information of each battery swapping server, the performance differences between the battery swapping servers can be obtained, so as to allocate a more static allocation weight to the battery swapping server with higher performance according to the performance differences. Allocating the static allocation weight based on the performance differences realizes flexible weight allocation according to actual requirements and resource conditions, helps ensure the normal operation of each task in the battery swapping server, and avoids the problem of low task processing efficiency caused by additional analysis of fault information.
[0047] In addition, based on the initial master battery swapping server, the task loads of each battery swapping server are obtained in real time, and then the task loads of each battery swapping server are analyzed according to the load balancing algorithm to determine the servers in the underloaded state and the overloaded state as the analysis results. Then, according to the analysis results of their underloaded state and overloaded state, weights are dynamically assigned to the battery swapping servers. It can be understood that the higher the underload value in the underloaded state, the more idle load the battery swapping server has, and thus it has more capacity to analyze monitoring information and has a higher dynamically assigned weight. On the contrary, the higher the overload value in the overloaded state, the less idle load the battery swapping server has, and thus it has a lower dynamically assigned weight.
[0048] By superimposing the statically assigned weight and the dynamically assigned weight, the target assigned weight of each of the battery swapping servers is determined, and then the initial master power station server is updated according to the target assigned weight. Then, based on the updated initial master server, a master battery swapping server and multiple slave battery swapping servers are determined. This method realizes the comprehensive consideration of the statically assigned weight and the dynamically assigned weight. It can not only avoid the problem of frequent changes with the load change when allocating based only on the dynamically assigned weight based on the statically assigned weight, improving the stability and reliability of the battery swapping monitoring network. It can also fully consider the actual load situation based on the dynamically assigned weight, improve the utilization rate of resources, and then improve the response time and monitoring efficiency. It is more applicable to the problem of large fluctuations in the task volume between the same battery swapping server and different battery swapping servers caused by factors such as the operating status and marketing activities in the actual battery swapping station. S103: Based on the master battery swapping server, the monitoring information of each slave battery swapping server is obtained to perform anomaly monitoring on each slave battery swapping server based on the monitoring information.
[0049] As Figure 4 shown, the master battery swapping server obtains the monitoring information of each slave battery swapping server in the internal monitoring network. Among them, the monitoring information includes hardware information and operating status information. Then, through the real-time hardware information and operating status information in the monitoring information, it is possible to timely determine the battery swapping servers with abnormal data in the slave battery swapping servers and identify the abnormal battery swapping servers in the slave battery swapping servers. By timely identifying the abnormal battery swapping servers, the problems of low efficiency and high cost in the existing manual operation and maintenance for manual monitoring and judgment are solved. And compared with the method of analyzing the log to detect abnormal situations and error information based on the operation log, it avoids the analysis of a large amount of log data and saves more computing and storage resources.
[0050] Among them, it should be noted that the master battery swapping server obtains the monitoring information of each slave battery swapping server in the battery swapping monitoring network. Among them, the monitoring information includes hardware information and operating status information. It should also be noted that: monitoring service components are deployed in each battery swapping server, and in the master battery swapping server, in order to quickly obtain the corresponding monitoring information based on the monitoring service components in each slave battery swapping server, the master battery swapping server needs to serve as the monitoring server of the monitoring service components, so as to realize the acquisition of the monitoring information in the slave battery swapping server by the master battery swapping server according to the communication between the monitoring server and the monitoring service components. For example: if the monitoring service component is zabbix agent, then the monitoring service zabbix is installed in the master battery swapping server, and the Zabbix Agent communicates with the Zabbix Server through the TCP / IP protocol. After the Zabbix Agent captures the operating status, hardware and other information of the battery swapping server through the openvpn network, it is transmitted to the Zabbix Server, that is, the master battery swapping server, through the TCP / IP protocol. Through the cooperation of the master battery swapping server and the slave battery swapping server, more comprehensive and accurate monitoring and management are realized.
[0051] In a feasible embodiment, based on the master battery swapping server obtaining the monitoring information of each of the slave battery swapping servers, it can be specifically obtained based on the following methods:
[0052] On the one hand, first, based on a pre-set monitoring cycle, the monitoring instructions of the master battery swapping server can be periodically sent to each slave battery swapping server in the battery swapping monitoring network. Among them, the monitoring instructions can be generated based on the monitoring service components and transmitted based on the tcp / ip method. Then, the encrypted monitoring information corresponding to the slave battery swapping server is called through the monitoring instructions. Among them, it should be noted that the encrypted monitoring information is obtained by encrypting the monitoring information of the slave battery swapping server based on the marking information of the slave battery swapping server. The method of encrypting based on the marking information can be symmetric encryption, asymmetric encryption, etc., which will not be limited here. The master battery swapping server decrypts the encrypted monitoring information to obtain the monitoring information of each slave battery swapping server. In this process, the method of obtaining the monitoring information of the slave battery swapping server in the battery swapping monitoring network by the master battery swapping server can realize the monitoring of the remote slave battery swapping server based on the networking method, overcome the problem of geographical restrictions, and save the labor cost of on-site monitoring by operation and maintenance personnel. In addition, the monitoring information is obtained based on the data encryption method. This method of encrypting the obtained monitoring information improves the reliability in the data transmission process, and the method of encrypting based on the marking information improves the confidentiality of the monitoring information.
[0053] On the other hand, based on the master battery swapping server, the monitoring information of each slave battery swapping server is obtained. Specifically, it can also be obtained based on the following methods:
[0054] First, divide the preset monitoring period to obtain a first monitoring period and a second monitoring period. In the first monitoring period, obtain the encrypted alarm information automatically reported by each slave battery swapping server, where the encrypted alarm information is obtained by encrypting the operation alarm information of the slave battery swapping server based on the marking information of the slave battery swapping server. By dividing the monitoring period into the first monitoring period and the second monitoring period, the effect of the slave battery swapping server actively uploading alarm information in the first monitoring period is achieved, which facilitates the slave battery swapping server to upload urgent alarm information in a timely manner, helps to respond to alarm information in a timely manner, and improves the fault elimination rate.
[0055] Then, in the second monitoring period, send the monitoring instructions of the master battery swapping server to each slave battery swapping server in the internal monitoring network. Call the encrypted monitoring information of each slave battery swapping server through the monitoring instructions, where the encrypted monitoring information is obtained by encrypting the monitoring information of the slave battery swapping server based on the marking information of the slave battery swapping server. Based on the master battery swapping server, decrypt the corresponding encrypted alarm information and encrypted monitoring information, and perform deduplication processing on the alarm and monitoring information of each slave battery swapping server. By sending monitoring instructions based on the master battery swapping server in the second monitoring period, potential fault hazards in the slave battery swapping server can be passively uploaded to the master server based on the monitoring information, realizing that the master server can timely obtain potential hazards through alarm information and monitoring information in the first monitoring period and the second period, which helps to reduce the fault risk. At the same time, the efficiency of timely response to faults is also improved through the active upload method in the first monitoring period.
[0056] In a feasible embodiment, abnormal monitoring of each slave battery swapping server based on the monitoring information includes the following process: For example Figure 4 shown, the battery swapping service information of each slave battery swapping server can be obtained, so as to determine the abnormal battery swapping server from each slave battery swapping server based on the battery swapping server information and the corresponding monitoring information of each slave battery swapping server.
[0057] Preferably, determining the abnormal battery swapping server from each slave battery swapping server based on the battery swapping server information and the corresponding monitoring information of each slave battery swapping server specifically includes the following implementation process:
[0058] For each slave battery swapping server, the factory hardware information and the bound swapping station name of the slave battery swapping server can be determined according to the battery swapping server information of the slave battery swapping server. For example Figure 4Based on the identification information in the workshop factory database and each monitoring information (the identification information here has the same meaning as the identity identification in the cited application document), the factory hardware information corresponding to each slave power exchange server and the bound power exchange station name are obtained. The identification information here has the same meaning as the identity identification in another embodiment. At this time, the current power exchange station name corresponding to the slave power exchange server can be compared with the bound power exchange station name to obtain a comparison result. And compare the factory hardware information corresponding to the slave power exchange server with the current hardware information to obtain hardware difference information; that is, by comparing the factory hardware information of the slave power exchange server with the hardware information in the monitoring information, the data information with differences can be automatically identified, so as to lock the corresponding abnormal power exchange server based on the hardware difference information in the follow-up. Based on this method, the time and workload of manual inspection one by one are saved, and thus the efficiency of fault identification is improved. While obtaining the comparison result and hardware difference information, the operation status information in the monitoring information is obtained, so as to determine whether the slave power exchange server is the abnormal power exchange server according to the operation status information, hardware difference information and comparison result corresponding to the slave power exchange server.
[0059] In this process, by comparing the comparison result of the current power exchange station name and the bound power exchange station name, and comparing the factory hardware information of the slave power exchange server with the hardware information in the monitoring information, the servers with differences can be automatically identified and locked as abnormal power exchange servers. Based on this method, through the binding of hardware information and sites, the tracking of power exchange servers can be realized. If a security event or other problems occur, the relevant power exchange servers can be quickly located through the tracking information, which is convenient for investigation and handling. It can not only effectively reduce the incidence of incidents of wanton appropriation of power exchange servers, but also find abnormal operation states, and corresponding measures can be taken in advance to eliminate fault factors and avoid the occurrence of faults. In addition, based on this method, the time and workload of manual inspection one by one are saved, and thus the efficiency of fault identification is improved. At the same time, based on the superposition judgment of hardware information and operation status information, the abnormal power exchange servers can be accurately determined, avoiding misjudgment or missed judgment, improving the accuracy of fault detection and elimination, and the analysis of real-time monitoring information realizes the timely locking of abnormal power exchange servers, which helps to take corresponding measures in time, avoid the further expansion of the impact of faults, and ensure the normal operation of the system.
[0060] As Figure 4 As shown, in an embodiment of an application scenario, when the master power exchange server obtains the information of the slave power exchange server, on the one hand, after obtaining the hardware information, it is compared with the information pre-stored in the openvpn database. If there are differences, the operation and maintenance personnel are notified through the DingTalk service. On the other hand, the power exchange servers are monitored in real time every day. When the set rules trigger an alarm, the operation and maintenance personnel are notified through DingTalk.
[0061] In one embodiment, in order to achieve the effect of alarm response in a timely manner, after determining the abnormal power replacement server from each slave power replacement server, the method further includes the following process:
[0062] Trigger an abnormal alarm based on the abnormal power replacement server and obtain the trigger alarm information corresponding to the abnormal power replacement server. Then, based on the trigger alarm information corresponding to the abnormal power replacement server and the power replacement server information, notify the corresponding operation and maintenance personnel to perform abnormal handling. This notification method can be group notification and personal communication method notification, etc. By promptly discovering the abnormal power replacement server and triggering an alarm, this specification can ensure that the operation and maintenance personnel can quickly learn about the occurrence of the problem based on the alarm information and the power replacement server information. At the same time, by obtaining the trigger alarm information of the abnormal power replacement server, the specific location and nature of the problem can be quickly determined, and the corresponding operation and maintenance personnel can be notified to perform abnormal handling, avoiding delays and chaos in information transmission and improving the efficiency of problem solving. And promptly discovering and alarming abnormal situations enables the operation and maintenance personnel to perform abnormal handling, which can also prevent the expansion and severity of the problem, thereby reducing the cost of repairing and replacing equipment. It helps to ensure the normal operation of the power replacement server, improve the security of the entire power replacement system, and avoid safety incidents caused by equipment failures or other abnormal problems.
[0063] In one embodiment, the operation and maintenance personnel who can perform operation and maintenance remedies can be quickly determined by using the power replacement server information in the factory database of the workshop and the power replacement station corresponding to the abnormal power replacement server. By promptly triggering the alarm of the abnormal power replacement server, the specific fault location can be quickly located and determined, providing effective clues for the operation and maintenance personnel and accelerating the speed of fault investigation and repair.
[0064] Furthermore, in a feasible embodiment of this specification, before triggering an abnormal alarm based on the abnormal power replacement server, the method further includes the following implementation process:
[0065] First, according to the swapping station corresponding to the abnormal swapping server and the marking information of the abnormal swapping server, the monitoring video of the abnormal swapping server in the corresponding swapping station is obtained. It should be noted that the monitoring video corresponds to the acquisition time of the monitoring information. By analyzing the video footage of the abnormal swapping server when an abnormality occurs in combination with the monitoring video, it helps to exclude the influence of the external environment and improve the reliability of the alarm. Then, in order to obtain the operating status indicated by the on-site status indicator, first, based on the swapping server information corresponding to the abnormal swapping server, the strobing rate of the status light of the abnormal swapping server is determined, and the highest strobing rate is determined as the acquisition frequency of the monitoring video according to the strobing rate. Based on the acquisition frequency, monitoring images are collected. Then the monitoring images are input into the trained object detection model to obtain the operating status label of the abnormal swapping server. It should be noted that the object detection model can be a neural network model with the MobileNet network as the backbone network. The object detection model using the MobileNet network as the backbone network has high computational efficiency and accuracy, can complete the detection task in a short time, and improves the performance and response speed of the system. After obtaining the operating status label, the operating status information is extended based on the operating status label to determine whether to trigger an alarm based on the preset alarm rules. By expanding the operating status information based on the video image, it is possible to combine the actual usage scenario of the swapping server, more comprehensively understand the status of the abnormal swapping server, provide more clues and information for fault analysis and troubleshooting, and shorten the fault handling time.
[0066] Further, in a feasible embodiment, after obtaining the monitoring information of each slave swapping server based on the master swapping server and performing abnormal monitoring on each slave swapping server based on the monitoring information, the server type corresponding to the abnormal swapping server is determined through the swapping server information of the abnormal swapping server. Then, based on the swapping station corresponding to the abnormal swapping server, the range of operation and maintenance personnel corresponding to the swapping station is determined. As Figure 5 shown, when determining the range of operation and maintenance personnel corresponding to the swapping station, in an embodiment of this specification, the corresponding operation and maintenance personnel can be searched in the workshop factory database based on the type of triggered information, the current date, and the current rules where the abnormal swapping server is located, so as to determine the range of operation and maintenance personnel corresponding to the swapping station, avoiding the distance cost and time cost brought by long-distance operation and maintenance personnel scheduling. Then, based on the labels of each operation and maintenance personnel within the range of operation and maintenance personnel, the initial operation and maintenance personnel corresponding to the server type are determined. By determining the server type corresponding to the abnormal swapping server, as well as the range and labels of operation and maintenance personnel related to the swapping station, the range of the initial operation and maintenance personnel can be accurately determined, which helps to ensure that the operation and maintenance tasks are assigned to operation and maintenance personnel with relevant experience, thereby improving the repair efficiency and quality of the swapping server.
[0067] Further, by calculating the travel time between the initial operation and maintenance personnel and the battery swapping station, as well as the queuing time of the work orders to be processed by each initial operation and maintenance personnel, the shortest time required for each initial maintenance personnel can be determined. Based on the shortest time, the initial maintenance personnel are screened to determine the corresponding operation and maintenance personnel, so as to send the monitoring information of the abnormal battery swapping server to the communication software corresponding to the operation and maintenance personnel for alarm. By obtaining the shortest time required for each initial operation and maintenance personnel, the scheduling of operation and maintenance tasks is fully considered. Screening the initial maintenance personnel based on the shortest time can select the most suitable operation and maintenance personnel according to the actual situation, reduce the waste of human resources, and also reduce the waiting time of the abnormal battery swapping server, which helps to improve the maintenance response speed. In addition, by sending the monitoring information of the abnormal battery swapping server to the communication software of the corresponding operation and maintenance personnel for alarm, the maintenance personnel can be notified in real time to quickly respond to the abnormal situation, reducing the fault handling time.
[0068] Further, in a feasible embodiment of the present specification, after obtaining the monitoring information of each slave battery swapping server based on the master battery swapping server and performing abnormal monitoring on each slave battery swapping server based on the monitoring information, the method further includes:
[0069] Monitor the alarm time of the abnormal battery swapping service to determine multiple confirmation times of the abnormal battery swapping server based on the alarm time and a preset response time period; wherein, the intervals between the confirmation times are the preset response time period; by monitoring the alarm time of the abnormal battery swapping server and setting multiple confirmation times, this description can determine whether the operation and maintenance personnel have promptly detected and maintained the abnormal situation. It helps the operation and maintenance personnel to respond promptly to the abnormal battery swapping server, which is conducive to quickly solving problems and reducing potential losses. Then, based on the monitoring information of the abnormal battery swapping service corresponding to each confirmation time, determine whether the abnormal battery swapping service has achieved operation and maintenance. If the alarm of the abnormal battery swapping server has not been resolved, then determine the alarm escalation level of the abnormal battery swapping server according to the length of the preset response time period from the current confirmation time to the alarm time, and increase the alarm level of the abnormal battery swapping server according to the alarm escalation level. This process determines the alarm escalation level according to the length of the preset response time period from the current confirmation time to the alarm time, which can prompt the operation and maintenance personnel to pay more attention to the unresolved abnormal situation. As time goes by, the increase in the alarm level can attract more attention and resources to ensure that the problem is properly handled. Based on this method, the effect of flexibly adjusting the preset response time period and the alarm escalation rule according to the actual situation is achieved. Through multiple confirmations and alarm escalations, the reliability of monitoring and handling abnormal situations can be improved. Ensure that problems will not be ignored or delayed in handling, thereby enhancing the stability and security of the entire system. And during the process of determining the alarm escalation level, based on the monitoring information to determine whether to upgrade the level of the abnormal battery swapping service, which ensures the objectivity of the decision-making and realizes the adjustment based on actual data and situations.
[0070] In a feasible embodiment, assume there is a battery swapping system that includes several battery swapping servers. A preset response time period is set to 10 minutes. If at 14:00, the monitoring system detects an alarm signal from an abnormal battery swapping server. Then, according to the alarm time and the preset response time period, the following confirmation times at intervals of the preset response time period are determined: The first confirmation time: 14:10; The second confirmation time: 14:20; The third confirmation time: 14:30. At the first confirmation time of 14:10, the operation and maintenance personnel check the situation of the abnormal battery swapping server according to the monitoring information. If the problem of the abnormal battery swapping server has not been resolved at this time, the monitoring information records the current status. At the second confirmation time of 14:10, based on the monitoring information, determine whether the status of the abnormal battery swapping server has returned to normal. At this time, the current confirmation time exceeds the length of the preset response time period from the alarm time. If it is determined based on the monitoring information that the maintenance has not been completed and the status has not returned to normal, then the alarm escalation level of the abnormal battery swapping server can be gradually increased according to the set rules. The increased alarm level may attract more attention and resources, such as notifying higher-level operation and maintenance personnel or activating an emergency plan.
[0071] In addition, the embodiments of this specification also provide a monitoring device for the battery swapping server of a battery swapping station, such as Figure 6 shown. The device includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein, the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to implement the battery swapping server monitoring method of any of the above cases.
[0072] Finally, the embodiments of this specification also provide a non-volatile storage medium, such as Figure 7 shown. A non-volatile storage medium stores computer-executable instructions 701, and the computer-executable instructions can implement the battery swapping server monitoring method of any of the above cases.
[0073] Such as Figure 2 shown, it is a schematic flow chart of another battery swapping service monitoring method provided by the application documents cited in the embodiments of this specification. As Figure 2 can be seen, in one or more embodiments of this specification, a battery swapping server monitoring method for a battery swapping station specifically includes the following processes:
[0074] S201: Bind the battery swapping server information to the battery swapping station points to determine the new battery swapping server information that needs to install the monitoring service components through the factory database of the workshop, and build an internal monitoring network based on each of the battery swapping servers and the new battery swapping servers; wherein, the internal monitoring network includes: one master battery swapping server and multiple slave battery swapping servers.
[0075] S202: Obtain the monitoring information of each of the slave battery swapping servers in the internal monitoring network based on the master battery swapping server; wherein, the monitoring information includes: hardware information, operating status information.
[0076] S203: Lock the abnormal battery swapping servers in each of the slave battery swapping servers based on the monitoring information.
[0077] S204: Determine the corresponding operation and maintenance personnel through the factory database of the workshop and the battery swapping station points corresponding to the abnormal battery swapping servers, and trigger the alarm of the abnormal battery swapping servers.
[0078] The internal monitoring network in this method is the same as the battery swapping monitoring network in the first implementation method S101 - S103. By binding the battery swapping server information with the battery swapping station points, the risk of wanton misappropriation of the battery swapping server is effectively reduced, and the security of the server is improved. And the method of determining the newly added battery swapping server through the factory database of the workshop enables the monitoring of the battery swapping server in the battery swapping station to start from the source, achieving full control over the status of the battery swapping server. By adding monitoring service components to each newly added battery swapping server, it is convenient to obtain the running status in the battery swapping server in a timely manner based on the monitoring service components, effectively improving the monitoring efficiency. The master battery swapping server obtains monitoring information through the internal monitoring network, solving the problem that it is difficult for operation and maintenance personnel to monitor the faults of each battery swapping server in a timely manner due to geographical restrictions. Using the information of the factory database of the workshop and the battery swapping station points corresponding to the abnormal battery swapping server, the operation and maintenance personnel who can carry out operation and maintenance remedies can be quickly determined. And by triggering the alarm of the abnormal battery swapping server in a timely manner, the specific fault location can be quickly located and determined, providing effective clues for the operation and maintenance personnel and accelerating the speed of fault troubleshooting and repair.
[0079] Further, in a feasible embodiment, the battery swapping server information is bound with the battery swapping station points to determine the information of the newly added battery swapping server that needs to install the monitoring service component through the factory database of the workshop, and an internal monitoring network is constructed based on each of the battery swapping servers and the newly added battery swapping servers, specifically including: determining the battery swapping station point corresponding to the factory of the battery swapping server based on the order information and the identity mark of the battery swapping server, so as to bind the battery swapping server information of the battery swapping server with the battery swapping station point; wherein, the battery swapping server information includes: factory hardware information, identity mark, battery swapping station point name; determining the newly added battery swapping server assembled in the assembly workshop through the factory database of the workshop, so as to install and deploy the monitoring service component for the newly added battery swapping server; adding the newly added battery swapping server into the virtual monitoring network constructed based on each of the battery swapping servers through a virtual communication tunnel to obtain an internal monitoring network; wherein, the virtual communication tunnel is through openvpn.
[0080] In this specification, by binding the factory hardware information, identity mark and other information of the battery swapping server with the battery swapping station point, the risk of wanton misappropriation of the battery swapping server is effectively reduced, and the security of the server is improved. And compared with the method of deploying physical security facilities such as monitoring cameras and access control systems inside the battery swapping station in the prior art to prevent the wanton misappropriation of the battery swapping server by restricting unauthorized personnel from entering the server area, it overcomes the problem of monitoring dead angles in the above method, realizes full - process traceability and tracking, and improves the reliability of battery swapping server monitoring.
[0081] Further, in a feasible embodiment, after adding the newly added power swapping server to the virtual monitoring network constructed based on each of the power swapping servers to obtain an internal monitoring network, the method further includes: randomly selecting an initial master power swapping server in the internal monitoring network to obtain the basic configuration information of each of the power swapping servers in the internal monitoring network based on the initial master power swapping server; wherein, the basic configuration information includes: CPU information, memory information, hard disk information, network card information; comparing the basic configuration information of each of the power swapping servers to determine the static allocation weights of each of the power swapping servers; based on the initial master power swapping server, obtaining the task loads of each of the power swapping servers in real time, analyzing the task loads of each of the power swapping servers based on a load balancing algorithm, and determining the dynamic allocation weights of each of the power swapping servers according to the analysis results; adding the static allocation weights and the dynamic allocation weights to determine the allocation weights of each of the power swapping servers, and updating the initial master power station server based on the allocation weights to obtain a master power swapping server and multiple slave power swapping servers.
[0082] This specification determines the allocation weights of each of the power swapping servers by adding the static allocation weights and the dynamic allocation weights, and then updates the initial master power station server according to the allocation weights to obtain a master power swapping server and multiple slave power swapping servers. In this way, the comprehensive consideration of the static allocation weights and the dynamic allocation weights is realized. It can not only avoid the problem that the allocation based only on the dynamic allocation weights changes frequently with the load change based on the static allocation weights, but also improve the stability and reliability of the internal network. It can also fully consider the actual load situation based on the dynamic allocation weights, improve the utilization rate of resources, and then improve the response time and monitoring efficiency. It is more suitable for solving the problem that the task volume fluctuations between the same power swapping server and different power swapping servers are relatively large due to factors such as the operating status and marketing activities in the actual power swapping station.
[0083] Further, in a feasible embodiment, obtaining the monitoring information of each of the slave power swapping servers in the internal monitoring network based on the master power swapping server specifically includes: regularly sending the monitoring instructions of the master power swapping server to each of the slave power swapping servers in the internal monitoring network based on a preset monitoring period; invoking the monitoring information of the slave power swapping server through the monitoring instructions; wherein, the monitoring information corresponds to the preset monitoring period; encrypting the monitoring information based on the identity mark of the slave power swapping server to obtain encrypted monitoring information; sending the encrypted monitoring information to the master power swapping server to decrypt the encrypted monitoring information based on the master power swapping server to obtain the monitoring information of each of the slave power swapping servers.
[0084] This specification monitors remote slave power exchange servers based on the networking method by obtaining the monitoring information of slave power exchange servers in the internal network through the master power exchange server, overcoming the problem of geographical restrictions and saving the labor cost of on-site monitoring by maintenance personnel. The obtained monitoring information is encrypted through data encryption, improving the reliability during data transmission, and the confidentiality of the monitoring information is enhanced by the encryption method based on identity marking.
[0085] Further, in a feasible embodiment, obtaining the monitoring information of each slave power exchange server in the internal monitoring network based on the master power exchange server specifically includes: dividing a preset monitoring period to obtain a first monitoring period and a second monitoring period; within the first monitoring period, encrypting the operation alarm information of the slave power exchange server based on the identity marking of the power exchange server to obtain encrypted alarm information; sending the encrypted alarm information to the master power exchange server to decrypt and obtain the encrypted alarm information of each slave power exchange server based on the master power exchange server; within the second monitoring period, sending the monitoring instructions of the master power exchange server to each slave power exchange server in the internal monitoring network; invoking the monitoring information of the slave power exchange server through the monitoring instructions; wherein, the monitoring information corresponds to the second monitoring period; encrypting the monitoring information based on the identity marking of the power exchange server to obtain encrypted monitoring information; sending the encrypted monitoring information to the master power exchange server to decrypt and obtain the monitoring information of each slave power exchange server based on the master power exchange server.
[0086] This specification realizes the effect of the slave power exchange server actively uploading alarm information within the first monitoring period by dividing the monitoring period into a first monitoring period and a second monitoring period, facilitating the slave power exchange server to upload urgent alarm information in a timely manner, contributing to the timely response to alarm information and improving the fault elimination rate. By sending monitoring instructions based on the master power exchange server within the second monitoring period, potential fault hazards in the slave power exchange server can be passively uploaded to the master server based on the monitoring information, enabling the master server to timely obtain potential hazards through alarm information and monitoring information within the first monitoring period and the second period, contributing to reducing the fault risk, and at the same time improving the efficiency of timely response to faults through the active upload method within the first monitoring period.
[0087] Further, in a feasible embodiment, locking the abnormal power exchange servers in each of the slave power exchange servers based on the monitoring information specifically includes: obtaining the factory hardware information corresponding to each of the slave power exchange servers based on the factory database of the workshop; comparing the factory hardware information with the hardware information in the monitoring information, and if it is determined that there are differences, locking the slave power exchange server as an abnormal power exchange server; obtaining the operation status information in the monitoring information, and determining whether the operation status information triggers an alarm based on a preset alarm rule, and if so, locking the slave power exchange server as an abnormal power exchange server.
[0088] By comparing the factory hardware information of the slave power exchange server with the hardware information in the monitoring information in this specification, servers with differences can be automatically identified and locked as abnormal power exchange servers. Based on this method, the time and workload of manual inspection one by one are saved, thereby improving the efficiency of fault identification. In addition, based on the superimposed judgment of the hardware information and the operation status information, the abnormal power exchange servers can be accurately determined, avoiding misjudgment or missed judgment, improving the accuracy of fault detection and elimination, and the analysis of real-time monitoring information realizes the timely locking of abnormal power exchange servers, which helps to take corresponding measures in time, avoid the further expansion of the impact of the fault, and ensure the normal operation of the system.
[0089] Further, in a feasible embodiment, before determining whether the operation status information triggers an alarm based on a preset alarm rule, the method further includes: obtaining the monitoring video of the abnormal power exchange server in the corresponding power exchange station based on the power exchange station corresponding to the abnormal power exchange server and the identity mark of the abnormal power exchange server; wherein, the monitoring video corresponds to the acquisition time of the monitoring information; determining the strobing rate of the status light of the abnormal power exchange server based on the power exchange server information corresponding to the abnormal power exchange server, and determining the acquisition frequency of the monitoring video according to the status strobing rate, and acquiring monitoring images; inputting the monitoring images into a trained target detection model to obtain the operation status label of the abnormal power exchange server; wherein, the target detection model is a neural network model with a MobileNet network as the backbone network; expanding the operation status information based on the operation status label to determine whether an alarm is triggered based on a preset alarm rule.
[0090] By analyzing the video footage of the abnormal power exchange server when an abnormality occurs in combination with the monitoring video in this specification, it helps to eliminate the influence of the external environment and improve the reliability of the alarm. By expanding the operation status information by obtaining the operation status label based on the video image, it combines with the actual use scenario of the power exchange server, comprehensively understands the status of the abnormal power exchange server, provides more clues and information for fault analysis and troubleshooting, and shortens the fault handling time.
[0091] Those skilled in the art should understand that the embodiments of this specification can be provided as a method, a device, or a computer program product. Therefore, the embodiments of this specification can take the form of an all-hardware embodiment, an all-software embodiment, or an embodiment combining software and hardware aspects. Moreover, the embodiments of this specification can take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code.
[0092] This specification is described with reference to the flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to the embodiments of this specification. It should be understood that each flow and / or block in the flowcharts and / or block diagrams, as well as the combination of flows and / or blocks in the flowcharts and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to the processors of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing devices to generate a machine, such that the instructions executed by the processors of the computer or other programmable data processing devices generate means for implementing the functions specified in Figure 1 one or more of the flows Figure 1 or blocks or the combination of blocks.
[0093] These computer program instructions can also be stored in a computer-readable memory that can direct a computer or other programmable data processing device to work in a specific manner, such that the instructions stored in the computer-readable memory generate a manufactured article including instruction means that implement the functions specified in Figure 1 one or more of the flows Figure 1 or blocks or the combination of blocks.
[0094] These computer program instructions can also be loaded onto a computer or other programmable data processing device, such that a series of operation steps are executed on the computer or other programmable device to generate a computer-implemented process, and thus the instructions executed on the computer or other programmable device provide steps for implementing the functions specified in Figure 1 one or more of the flows Figure 1 or blocks or the combination of blocks.
[0095] In a typical configuration, a computing device includes one or more processors (CPUs), an input / output interface, a network interface, and a memory. The memory may include non-permanent memory in the form of computer-readable media, random access memory (RAM), and / or non-volatile memory such as read-only memory (ROM) or flash memory (flash RAM). The memory is an example of computer-readable media.
[0096] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.
[0097] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.
[0098] This specification may be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform specific tasks or implement specific abstract data types. This specification may also be practiced in distributed computing environments where tasks are performed by remote processing devices connected through a communication network. In a distributed computing environment, program modules may be located in local and remote computer storage media, including storage devices.
[0099] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the device, equipment, and non-volatile computer storage medium embodiments, since they are basically similar to the method embodiments, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
[0100] The specific embodiments of the present specification have been described above. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recited in the claims may be performed in a different order than in the embodiments and still achieve the desired result. Additionally, the processes depicted in the accompanying drawings do not necessarily require the particular order or sequential order shown to achieve the desired result. In certain embodiments, multitasking and parallel processing are also possible or may be advantageous.
[0101] The foregoing is only one or more embodiments of the present specification and is not intended to limit the present specification. For those skilled in the art, various modifications and variations can be made to one or more embodiments of the present specification. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of one or more embodiments of the present specification shall be included within the scope of the claims of the present specification.
Claims
1. A method for monitoring a power swapping server of a power swapping station, characterized in that, The method includes: Obtaining the swapping power server information corresponding to the newly added swapping power server; Based on the swapping power server information, adding the newly added swapping power server as a slave swapping power server to the swapping power monitoring network, where the swapping power monitoring network includes a master swapping power server and at least one of the slave swapping power servers; Based on the master swapping power server, obtaining the monitoring information of each slave swapping power server to perform anomaly monitoring on each slave swapping power server based on the monitoring information.
2. The method for monitoring the battery swapping server of a battery swapping station according to claim 1, wherein Before adding the newly added swapping power server as a slave swapping power server to the swapping power monitoring network based on the swapping power server information, the method further includes: Constructing an initial swapping power monitoring network based on at least two swapping power servers, and randomly selecting an initial master swapping power server in the initial swapping power monitoring network to obtain the basic configuration information of each swapping power server in the swapping power monitoring network based on the initial master swapping power server; Comparing the basic configuration information of each swapping power server to determine the static allocation weight of each swapping power server; Based on the initial master swapping power server, obtaining the task load of each swapping power server in real time, and determining the dynamic allocation weight of each swapping power server based on the task load of each swapping power server; Based on the static allocation weight and the dynamic allocation weight, determining the target allocation weight of each swapping power server to update the initial master power station server based on the target allocation weight; Based on the updated initial master power station server, determining a master swapping power server and at least one slave swapping power server.
3. The method for monitoring a power replacement server of a power replacement station according to claim 1, characterized in that Based on the master swapping power server, obtaining the monitoring information of each slave swapping power server specifically includes: Regularly sending the monitoring instructions of the master swapping power server to each slave swapping power server in the swapping power monitoring network based on a preset monitoring period; Invoking the encrypted monitoring information corresponding to the slave swapping power server through the monitoring instructions, where the encrypted monitoring information is obtained by encrypting the monitoring information of the slave swapping power server based on the marking information of the slave swapping power server; Based on the master swapping power server, decrypting the encrypted monitoring information to obtain the monitoring information of the slave swapping power server, where the monitoring information includes the monitoring information of the slave swapping power server within the preset monitoring period; Or, Based on the master swapping power server, obtaining the monitoring information of each slave swapping power server specifically includes: Dividing the preset monitoring period to obtain a first monitoring period and a second monitoring period; Obtaining the encrypted alarm information automatically reported by each slave swapping power server within the first monitoring period, where the encrypted alarm information is obtained by encrypting the operation alarm information of the slave swapping power server based on the marking information of the slave swapping power server; Sending the monitoring instructions of the master swapping power server to each slave swapping power server in the swapping power monitoring network within the second monitoring period; Retrieve the encrypted monitoring information corresponding to each of the slave power exchange servers through the monitoring instruction, where the encrypted monitoring information is obtained by encrypting the monitoring information of the slave power exchange server based on the marking information of the slave power exchange server; Decrypt the encrypted alarm information and the encrypted monitoring information corresponding to each master power exchange server, and deduplicate the alarm information and monitoring information of each slave power exchange server.
4. The method for monitoring a power replacement server of a power replacement station according to claim 1, wherein The abnormal monitoring of each slave power exchange server based on the monitoring information includes: Obtain the power exchange server information of each slave power exchange server; Based on the power exchange server information of each slave power exchange server and the corresponding monitoring information, determine the abnormal power exchange servers from each slave power exchange server; Preferably, based on the power exchange server information of each slave power exchange server and the corresponding monitoring information, determining the abnormal power exchange servers from each slave power exchange server specifically includes: For each slave power exchange server, based on the power exchange server information of the slave power exchange server, determine the factory hardware information and the bound power exchange station name of the slave power exchange server; Based on the monitoring information corresponding to the slave power exchange server, determine the current power exchange station name, current hardware information, and operating status information of the slave power exchange server; Compare the current power exchange station name corresponding to the slave power exchange server with the bound power exchange station name to obtain a comparison result; compare the factory hardware information corresponding to the slave power exchange server with the current hardware information to obtain hardware difference information; Based on the operating status information, the hardware difference information, and the comparison result corresponding to the slave power exchange server, determine whether the slave power exchange server is the abnormal power exchange server.
5. The method for monitoring the battery swapping server of a battery swapping station according to claim 4, wherein, After determining the abnormal power exchange servers from each slave power exchange server, the method further includes: Trigger an abnormal alarm based on the abnormal power exchange server and obtain the trigger alarm information corresponding to the abnormal power exchange server; Based on the trigger alarm information and the power exchange server information corresponding to the abnormal power exchange server, notify the corresponding operation and maintenance personnel to perform abnormal handling.
6. The method for monitoring a power exchange server of a power exchange station according to claim 5, characterized in that, Before triggering the abnormal alarm based on the abnormal power exchange server, the method further includes: Based on the power exchange station and the marking information corresponding to the abnormal power exchange server, obtain the monitoring video of the abnormal power exchange server in the power exchange station; Based on the power exchange server information corresponding to the abnormal power exchange server, determine the strobing rate of the status light of the abnormal power exchange server, and determine the acquisition frequency of the monitoring video according to the status strobing rate; Obtain the monitoring image corresponding to the abnormal power exchange server from the monitoring video based on the acquisition frequency, and input the monitoring image into the trained target detection model to obtain the operating status label of the abnormal power exchange server; Expand the operating status information based on the operating status label, so as to determine whether the abnormal power exchange server triggers an alarm based on the expanded operating status information and the preset alarm rule.
7. The method for monitoring the battery swapping server of a battery swapping station according to claim 1, wherein After obtaining the monitoring information of each slave power exchange server based on the master power exchange server and performing abnormal monitoring on each slave power exchange server based on the monitoring information, the method further includes: Determine the server type corresponding to the abnormal power exchange server based on the power exchange server information of the abnormal power exchange server; Based on the current power exchange station corresponding to the abnormal power exchange server, determine the range of operation and maintenance personnel corresponding to the power exchange station, and based on the labels of each operation and maintenance personnel within the range of operation and maintenance personnel, determine the initial operation and maintenance personnel corresponding to the server type; Determine the travel time according to the distance between each initial operation and maintenance personnel and the power exchange station, and determine the shortest time required for each initial maintenance personnel according to the queuing time of the work orders to be processed by each initial operation and maintenance personnel; Screen the initial maintenance personnel based on the shortest time to determine the target operation and maintenance personnel corresponding to the abnormal power exchange server, so as to send the monitoring information of the abnormal power exchange server to the communication software corresponding to the target operation and maintenance personnel for alarm.
8. The method for monitoring the battery swapping server of a battery swapping station according to claim 1, wherein After obtaining the monitoring information of each slave power exchange server based on the master power exchange server and performing abnormal monitoring on each slave power exchange server based on the monitoring information, the method further includes: Monitor the alarm time point of the abnormal power exchange server to determine multiple alarm status confirmation time points of the abnormal power exchange server based on the alarm time point and a preset response time period; the preset response time period is the interval time between two adjacent alarm status confirmation time points; Determine whether the abnormal power exchange service has completed operation and maintenance based on the monitoring information corresponding to the abnormal power exchange service at each alarm status confirmation time point; If not, determine the alarm upgrade level of the abnormal power exchange server based on the time length between the current alarm status confirmation time point and the alarm time point, and increase the alarm level of the abnormal power exchange server based on the alarm upgrade level.
9. A monitoring device for the battery swapping server of a battery swapping station, characterized in that, The device includes: At least one processor; and, A memory communicatively connected to the at least one processor; wherein, The memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can implement the power exchange server monitoring method of the power exchange station according to any one of claims 1-8.
10. A non-volatile storage medium stores computer-executable instructions, characterized in that, The computer-executable instructions can implement the power exchange server monitoring method of the power exchange station according to any one of claims 1-8.