Charging pile multi-operator automatic switching system based on dynamic evaluation and switching method thereof

The dynamic evaluation and automatic switching system solves the problem of charging piles being unable to switch to other networks when the signal is unstable, ensuring the continuity of charging services and the success rate of transactions, and improving the user experience.

CN121357618APending Publication Date: 2026-01-16郑州春莲能源科技有限公司
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202511259434.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-09-04
Publication Date
2026-01-16

AI Technical Summary

Technical Problem

When the signal is unstable or the coverage of a certain operator is weak, the charging pile cannot automatically switch to other available networks in a timely manner, which leads to charging failure, order interruption and the risk of users skipping out on their orders. It lacks the ability to dynamically assess communication quality and switch between multiple networks.

Method used

The system adopts a multi-carrier automatic switching system for charging piles based on dynamic evaluation, which includes a communication module group, a signal monitoring module, a switching control module, a charging control module, and an anomaly handling module. It monitors the signal strength, packet loss rate, and latency communication quality of multiple carrier networks in real time, uses a weighted scoring algorithm to evaluate the network, and automatically switches to an available network when an anomaly occurs. The anomaly handling module activates a local caching and alarm mechanism when the network is unavailable.

Benefits of technology

It enables automatic switching to other available networks when the network is abnormal, ensuring the continuity of charging services, avoiding lost charging orders and payment failures, and improving transaction success rate and user satisfaction.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121357618A_ABST
    Figure CN121357618A_ABST
Patent Text Reader

Abstract

The invention discloses a charging pile multi-operator automatic switching system based on dynamic evaluation and a switching method thereof. The system comprises a communication module group, a signal monitoring module, a switching control module, a charging control module and an exception handling module. Through real-time dynamic evaluation of network quality of a plurality of communication operators, when a current communication network signal is weak or unavailable, the network can be automatically switched to other available networks, and when all communication modules are unavailable, the system automatically enters an off-network state, and a local data caching and alarm mechanism is started by an exception handling module, so that the network quality of the communication operators is ensured. According to the method, the order data is safely cached to the local, data supplementary transmission is automatically completed after the network is recovered, the service continuity is guaranteed, the problems of charging order loss, payment failure and order uploading interruption caused by network abnormity are effectively avoided, and the transaction success rate and the user satisfaction degree of the charging pile are remarkably improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of charging pile technology, and in particular to a multi-operator automatic switching system and switching method for charging piles based on dynamic evaluation. Background Technology

[0002] With the growth of electric vehicle ownership, charging piles are widely deployed in cities and remote areas as their infrastructure. During the charging process, the charging piles need to maintain real-time communication with the back-end platform to perform operations such as user identification, billing and settlement and order management. However, in actual applications, due to unstable signals at the deployment location or weak coverage of a certain operator, charging failures, order interruptions, and even the risk of users skipping out on their orders often occur, resulting in operational losses.

[0003] Currently, most charging piles only support a single operator's communication module and lack the ability to dynamically assess communication quality and switch between multiple networks. When communication is abnormal, they cannot automatically switch to other available networks in a timely manner, thus failing to guarantee business continuity. In view of the above, this application proposes a charging pile multi-operator automatic switching system and its switching method based on dynamic assessment. Summary of the Invention

[0004] Based on the technical problems existing in the background technology, this invention proposes a multi-operator automatic switching system and switching method for charging piles based on dynamic evaluation.

[0005] The present invention proposes a multi-operator automatic switching system for charging piles based on dynamic evaluation, which includes a communication module group, a signal monitoring module, a switching control module, a charging control module, and an anomaly handling module. The communication module group is connected to the signal monitoring module, the switching control module, and the charging control module. The signal monitoring module and the anomaly handling module are both connected to the switching control module, and the charging control module is connected to the anomaly handling module.

[0006] The communication module group includes at least two communication modules from different operators, each used to communicate with its own network. The different operators include, but are not limited to, China Mobile, China Unicom, and China Telecom.

[0007] The signal monitoring module is used to collect the signal strength of each communication module in real time. Packet loss rate ,Delay Communication quality parameters;

[0008] The switching control module is used to comprehensively judge whether the current network meets the communication requirements based on a preset dynamic evaluation strategy. If it does not meet the requirements, it controls the communication module to switch to other available networks.

[0009] The charging control module is used to maintain the charging status without interruption during communication switching;

[0010] The abnormal handling module is used to record switching logs and start the local cache and warning mechanism when multiple switching failures occur, ensure the integrity of orders, and retransmit data after the network is restored.

[0011] Preferably, the switching control module uses a weighted scoring algorithm to evaluate network availability in real time. When the score is lower than the threshold, switching is triggered. The mathematical expression used in the evaluation process is: ;

[0012] where α, β, and γ are the weights of each quality index, satisfying α + β + γ = 1. When the scores of multiple networks are all lower than the threshold T, the abnormal handling module is triggered;

[0013] When determining whether the currently connected network meets the threshold, assume that the currently connected operator is A, and its score is , the threshold is T. If ≥T, the current network is available and no switching is performed. If <T, enter the switching process;

[0014] During the judgment process, it is necessary to find the standby network with the highest score among other networks. For other operators B and C, calculate , , and select from them. If ≥T, then switch to the network module where is located.

[0015] Preferably, when the abnormal handling module judges the threshold of the number of switching failures, the expression used is: , where is the number of consecutive switching failures, is the maximum allowable number of failure thresholds. If the consecutive failures ≥ , then trigger the local cache and warning mechanism;

[0016] The expression for writing to the local cache is: , where is the current amount of cached data, is the cache upper limit capacity, and d is the amount of new data per time. If the capacity is exceeded, the FIFO strategy is adopted to clear the old data;

[0017] The expression used for determining the timeout of the network unavailable time is: stage, = , where is the duration of communication interruption, is the time of the last successful communication, is the current system time, This is the maximum tolerable interruption time threshold.

[0018] Preferably, the expression used by the anomaly handling module to determine network recovery is: ,in Here, T is the network scoring function, and T is the threshold. When a certain communication module... ≥T, and continuously maintained If the network is restored within a certain timeframe, then the network is considered to have recovered.

[0019] During the retransmission process, it is necessary to estimate the success rate of the retransmitted data. The expression used is: ,in The number of orders that need to be retransmitted. To ensure a successful retransmission count, if < If this occurs, it will trigger a retransmission or a background alarm.

[0020] Preferably, when recording the handover log, the exception handling module needs to statistically analyze the frequency of handover exceptions, using the following expression: ,in The number of abnormal occurrences within a certain time period. The length of the time period. If the event is greater than or equal to the warning threshold, it will be recorded as a "high-frequency communication anomaly" event.

[0021] This invention also proposes a method for automatic switching of charging piles across multiple operators based on dynamic evaluation, including the following steps:

[0022] S1: When the system starts, it initializes the communication module group and assigns an independent communication detection interface to each communication module;

[0023] S2: The signal monitoring module periodically acquires various network communication quality indicators and provides the data to the handover control module for evaluation and decision-making;

[0024] S3: The switching control module determines whether the current network connection is abnormal based on a dynamic evaluation algorithm;

[0025] S4: If an error occurs, switch to another operator's network according to the priority list and re-verify the connection;

[0026] S5: After a successful switch, the charging control module resumes the charging communication process, and the exception handling module records the switch event log.

[0027] S6: If all communication fails, the exception handling module will activate the local caching and alarm mechanism and retransmit the data after the network is restored.

[0028] Preferably, the specific logical steps of S3 are as follows:

[0029] S301: Obtain the network quality metrics of all communication modules in the current cycle, including signal strength , packet loss rate , latency and other communication quality parameters;

[0030] S302: Standardize the metrics of the current communication module, normalize the metric values to the range [0, 1] for unified comparison. The expression used is: ; ;

[0031] S303: Use the formula to calculate the comprehensive score of the current network , and compare the comprehensive score with the set threshold. If <T, enter the switching process;

[0032] S304: Set an exception counter , perform continuous exception recording and judgment. If , determine that the network is indeed abnormal and trigger a switch.

[0033] Preferably, the specific logical steps of S4 are as follows:

[0034] S401: The system sorts according to signal performance, service protocol, and cost factors, and presets an operator priority table P = { …… }. If the currently connected operator has been marked as abnormal, exclude it from the list;

[0035] S402: Select candidate networks in order of priority. The MCU controller controls the communication hardware, activates the communication module , switches to the SIM card corresponding to the communication module, restarts the network connection process, initializes the communication stack, and executes the "connection verification" process;

[0036] S403: Verify the availability of the candidate network connection through the verification logic. The verification logic is: (1) Send a Ping to the background server or a heartbeat packet;

[0037] (2) Connect to the platform authentication interface and determine that the response is successful;

[0038] (3) Conduct continuous communication tests. The judgment logic is: , otherwise, determine it as unavailable and proceed to the next candidate network;

[0039] S404: If the connection is successful, switch the system communication status to this operator It updates the current connection information and log records, notifies the charging control module that the communication channel switch was successful, and exits the candidate network loop process.

[0040] S405: If connection verification or initialization fails, release the current communication module resources and continue iterating through the next priority operator. +1;

[0041] S406: If all candidates fail, an abnormal mode is triggered, a periodic retry mechanism is entered, and an offline alarm is sent to the abnormal handling module for backend analysis.

[0042] Preferably, in step S5, the exception handling module records a handover event log, the log types of which include handover success events, handover failure events, and events where all candidate operators fail and enter offline mode.

[0043] Preferably, the specific logical steps of S6 are as follows:

[0044] S601: Determines that the system has entered an offline state. The determination condition is as follows: <T If so, the exception handling module will be notified that "communication has completely failed";

[0045] S602: Write the order data structure to the local cache. The order data structure includes the order number, user ID, amount, start and end time, and battery level. Set the cache status to pending retransmission.

[0046] S603: Write abnormal events to the local log module, including time, number of failures, list of failed operators, and triggering reason, for subsequent platform backtracking analysis and responsibility attribution;

[0047] S604: The system displays "Network error" via LED indicator, buzzer, and display screen, while the local operation interface displays "Order has been cached and will be automatically uploaded later";

[0048] S605: Start a periodic network detection task. If the detection results meet the following conditions: If the network is successfully restored consecutively, the system will be considered to have recovered and will enter the "offline recovery state".

[0049] S606: Iterate through the order data in the local cache database that is in the "Pending Retransmission" state. For each record, perform an upload and obtain platform confirmation. If the upload is successful, update the status to "Uploaded" and log the process. The expression used during the retransmission process is: For estimating the success rate of retransmitted data, if < If so, it will trigger a retransmission or a background alarm;

[0050] S607: After all orders are successfully retransmitted, local data is cleared and abnormal alarms are turned off, and the system returns to normal communication operation.

[0051] Compared with existing technologies, the beneficial effects of this invention are:

[0052] 1. By conducting real-time dynamic assessments of the network quality of multiple telecommunications operators, the system can automatically switch to other available networks when the current network signal is weak or unavailable. This effectively avoids issues such as lost charging orders, payment failures, and interrupted order uploads caused by network anomalies, significantly improving the transaction success rate and user satisfaction of charging stations.

[0053] 2. Based on multiple network quality indicators, a weighted score is calculated, and combined with standardization and threshold judgment, an intelligent and refined assessment of the current connection status is achieved, which is more robust and accurate than the traditional judgment method that only relies on signal strength.

[0054] 3. By pre-setting operator priorities, the system supports dynamic adjustment of the list based on historical connection success rates and real-time signal stability, realizing an automatic sorting and switching strategy based on performance optimization. This improves the success rate of the first handover and shortens network interruption time. When all communication modules are unavailable, the system automatically enters an "offline state," and the exception handling module initiates a local data caching and alarm mechanism to securely cache order data locally. Once the network is restored, the data will be automatically retransmitted, ensuring a closed business loop and guaranteeing business continuity.

[0055] This invention, through real-time dynamic evaluation of the network quality of multiple communication operators, can automatically switch to other available networks when the current communication network signal is weak or unavailable. When all communication modules are unavailable, the system automatically enters an "offline state," and the anomaly handling module activates a local data caching and alarm mechanism to securely cache order data locally. Once the network is restored, the data is automatically retransmitted, ensuring business continuity and effectively avoiding problems such as lost charging orders, payment failures, and interrupted order uploads caused by network anomalies. This significantly improves the transaction success rate and user satisfaction of charging piles. Attached Figure Description

[0056] Figure 1 This is a block diagram of the multi-operator automatic switching system for charging piles based on dynamic evaluation proposed in this invention.

[0057] Figure 2 This is a flowchart of the automatic switching method for charging piles with multiple operators based on dynamic evaluation proposed in this invention. Detailed Implementation

[0058] The present invention will be further explained below with reference to specific embodiments.

[0059] Example

[0060] Reference Figure 1 In this embodiment, an automatic switching system for multiple operators of charging piles based on dynamic evaluation is proposed, which includes a communication module group, a signal monitoring module, a switching control module, a charging control module, and an exception handling module. The communication module group is connected to the signal monitoring module, the switching control module, and the charging control module. The signal monitoring module and the exception handling module are both connected to the switching control module, and the charging control module is connected to the exception handling module;

[0061] The communication module group includes at least two communication modules of different operators, which are respectively used to communicate with their respective networks. The different operators include but are not limited to mobile, unicom, and telecom;

[0062] The signal monitoring module is used to collect the signal strength , packet loss rate , delay of each communication module in real time;

[0063] The switching control module is used to comprehensively judge whether the current network meets the communication requirements according to the preset dynamic evaluation strategy. If not, it controls the communication module to switch to other available networks;

[0064] Among them, the switching control module uses a weighted scoring algorithm to evaluate the network availability in real time. When the score is lower than the threshold, the switching is triggered. The mathematical expression used in the evaluation process is: ;

[0065] Among them, α, β, and γ are the weights of each quality index, satisfying α + β + γ = 1. When the scores of multiple networks are all lower than the threshold T, the exception handling module is triggered;

[0066] When judging whether the current connected network meets the threshold, assume that the current connected operator is A, and its score is , the threshold is T. If ≥T, the current network is available and no switching is performed. If <T, enter the switching process;

[0067] During the judgment process, it is necessary to find the backup network with the highest score among other networks. For other operators B and C, calculate , , and select from them. If ≥T, then switch to the network module where is located;

[0068] The charging control module is used to keep the charging state uninterrupted during the communication switching process;

[0069] The exception handling module is used to record switchover logs and activate local caching and alarm mechanisms when multiple switchovers fail to ensure order integrity and retransmit data after network recovery.

[0070] The exception handling module uses the following expression when judging the threshold for the number of handover failures: ,in The number of consecutive switching failures. The maximum allowed number of failures threshold; if consecutive failures ≥ If so, the local caching and alarm mechanisms will be triggered;

[0071] The local cache write expression is: ,in The current amount of cached data. d represents the maximum cache capacity, and d represents the amount of new data in a single batch. If the capacity is exceeded, a FIFO strategy is adopted to clear the old data.

[0072] The expression used when determining network unavailability timeout is: stage, = ,in Duration of communication interruption The time of the last successful communication. The current system time. This is the maximum tolerable interruption time threshold;

[0073] The expression used by the exception handling module to determine network recovery during retransmission is: ,in Here, T is the network scoring function, and T is the threshold. When a certain communication module... ≥T, and continuously maintained If the network is restored within a certain timeframe, then the network is considered to have recovered.

[0074] During the retransmission process, it is necessary to estimate the success rate of the retransmitted data. The expression used is: ,in The number of orders that need to be retransmitted. To ensure a successful retransmission count, if < If so, it will trigger a retransmission or a background alarm;

[0075] When recording switchover logs, the exception handling module needs to statistically analyze the frequency of switchover exceptions. The expression used is as follows: ,in The number of abnormal occurrences within a certain time period. The length of the time period. If the event is greater than or equal to the warning threshold, it will be recorded as a "high-frequency communication anomaly" event.

[0076] Reference Figure 2 , this embodiment also proposes a multi-operator automatic switching method for charging piles based on dynamic evaluation, including the following steps:

[0077] S1: Initialize the communication module group when the system starts, and assign an independent communication detection interface to each communication module;

[0078] S2: The signal monitoring module periodically obtains the network communication quality indicators of each network, and provides the data to the switching control module for evaluation and decision-making;

[0079] S3: The switching control module determines whether the currently connected network is abnormal according to the dynamic evaluation algorithm;

[0080] The specific logical steps are as follows:

[0081] S301: Obtain the network quality indicators of all communication modules in the current cycle, including signal strength , packet loss rate , latency communication quality parameters;

[0082] S302: Standardize the indicators of the current communication module, and normalize the indicator values to the interval [0,1] for unified comparison. The expression used is: ; ;

[0083] S303: Use formula to calculate the comprehensive score of the current network , and compare the comprehensive score with the set threshold. If <T, enter the switching process;

[0084] S304: Set an exception counter , perform continuous exception recording and judgment. If , it is determined that the network is indeed abnormal and the switch is triggered;[[ID=4B]]

[0085] S4: If abnormal, switch to the network of other operators according to the priority list and re-verify the connection;

[0086] The specific logical steps are as follows:

[0087] S401: The system sorts according to signal performance, service protocol and cost factors, and presets the operator priority table P={ …… }, if the currently connected operator has been marked as abnormal, it is excluded from the list;

[0088] S402: Select candidate networks in order of priority. The MCU controller controls the communication hardware and activates the communication module It then switches to the SIM card corresponding to the communication module, restarts the network connection process, initializes the communication stack, and executes the "connection verification" process;

[0089] S403: Verify the availability of candidate network connections through verification logic. The verification logic is as follows: (1) Send a Ping to the backend server or a heartbeat packet;

[0090] (2) Connect to the platform authentication interface and check the response for success;

[0091] (3) Perform continuous communication tests, and the judgment logic is as follows: Otherwise, it is deemed unusable and proceeds to the next candidate network;

[0092] S404: If the connection is successful, the system communication status will be switched to that operator. It updates the current connection information and log records, notifies the charging control module that the communication channel switch was successful, and exits the candidate network loop process.

[0093] S405: If connection verification or initialization fails, release the current communication module resources and continue iterating through the next priority operator. +1;

[0094] S406: If all candidates fail, trigger the abnormal mode, enter the periodic retry mechanism, and send an offline alarm to the abnormal handling module for backend analysis.

[0095] S5: After a successful handover, the charging control module resumes the charging communication process, and the exception handling module records the handover event log. The log types of the exception handling module's handover event log include handover success events, handover failure events, and events where all candidate operators fail → enter offline mode.

[0096] S6: If all communication fails, the exception handling module will start the local caching and alarm mechanism, and retransmit the data after the network is restored.

[0097] The specific logical steps are as follows:

[0098] S601: Determines that the system has entered an offline state. The determination condition is as follows: <T If so, the exception handling module will be notified that "communication has completely failed";

[0099] S602: Write the order data structure to the local cache. The order data structure includes the order number, user ID, amount, start and end time, and battery level. Set the cache status to pending retransmission.

[0100] S603: Write abnormal events to the local log module, including time, number of failures, list of failed operators, and triggering reason, for subsequent platform backtracking analysis and responsibility attribution;

[0101] S604: The system displays "Network error" via LED indicator, buzzer, and display screen, while the local operation interface displays "Order has been cached and will be automatically uploaded later";

[0102] S605: Start a periodic network detection task. If the detection results meet the following conditions: If the network is successfully restored consecutively, the system will be considered to have recovered and will enter the "offline recovery state".

[0103] S606: Iterate through the order data in the local cache database that is in the "Pending Retransmission" state. For each record, perform an upload and obtain platform confirmation. If the upload is successful, update the status to "Uploaded" and log the process. The expression used during the retransmission process is: For estimating the success rate of retransmitted data, if < If so, it will trigger a retransmission or a background alarm;

[0104] S607: After all orders are successfully retransmitted, local data is cleared, and abnormal alarms are turned off. The system is restored to normal communication operation.

[0105] This embodiment dynamically assesses the network quality of multiple communication operators in real time. When the current communication network signal is weak or unavailable, it can automatically switch to other available networks. When all communication modules are unavailable, the system automatically enters an "offline state," and the anomaly handling module activates a local data caching and alarm mechanism to securely cache order data locally. Once the network is restored, the data is automatically retransmitted, ensuring business continuity and effectively avoiding issues such as lost charging orders, payment failures, and interrupted order uploads caused by network anomalies. This significantly improves the transaction success rate and user satisfaction of charging piles.

[0106] The above description is only a preferred embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any equivalent substitutions or modifications made by those skilled in the art within the scope of the technology disclosed in the present invention, based on the technical solution and inventive concept of the present invention, should be covered within the scope of protection of the present invention.

Claims

1. A charging pile multi-operator automatic switching system based on dynamic evaluation, characterized in that, The communication module group, the signal monitoring module, the switching control module, the charging control module and the abnormality processing module are connected, the signal monitoring module and the abnormality processing module are connected with the switching control module, and the charging control module is connected with the abnormality processing module; The communication module group includes at least two communication modules of different operators, which are respectively used for communication with respective networks, and the different operators include but are not limited to mobile, Unicom and telecom; The signal monitoring module is used for collecting signal strength of each communication module in real time , packet loss rate , delay communication quality parameters; The switching control module is used for judging whether the current network meets the communication requirement according to a preset dynamic evaluation strategy, and if not, controlling the communication module to switch to other available network; The charging control module is used for keeping the charging state uninterrupted during the communication switching process; The abnormality processing module is used for recording the switching log and starting the local cache and alarm mechanism when the switching fails for multiple times, guaranteeing the order integrity, and retransmitting data after the network is recovered.

2. The dynamic evaluation based charging pile multi-operator automatic switching system according to claim 1, characterized in that, The handover control module uses a weighted scoring algorithm to evaluate network availability in real time, and triggers handover when the score is lower than a threshold. The mathematical expression used in the evaluation process is: ; Wherein, α, β and γ are the weights of each quality index, and α+β+γ=1, when the scores of multiple networks are all lower than the threshold T, the abnormality processing module is triggered; In judging whether the current connected network meets the threshold, let the current connected operator be A, the score of which be , and the threshold be T. If ≥ T, the current network is available, and no handover is performed. If <T, the handover procedure is entered. In the judging process, the highest-scored standby network in other networks is searched for, and the other operators B, C are calculated respectively , , and the best one is selected from . If ≥T, the network module where is located is switched to.

3. The dynamic evaluation based charging pile multi-operator automatic switching system according to claim 1, characterized in that, The abnormality processing module uses the expression for judging the switching failure number threshold value: Wherein is the continuous switching failure number, is the allowed maximum failure number threshold value, if the continuous failure is ≥ the local cache and the alarm mechanism are triggered. The local cache write expression is: wherein is the current amount of cached data, is the upper limit of the cache capacity, d is the amount of new data at a time, and if the capacity is exceeded, a FIFO policy is adopted to remove old data; The expression used in the determination of the network unavailability time-out is: Phase, = where is the duration of the communication interruption, is the time of the last successful communication, is the current system time, is the maximum tolerated interruption time threshold.​ 4. The dynamic evaluation based charging pile multi-operator automatic switching system according to claim 1, characterized in that, The abnormality processing module retransmits the expression used for network recovery determination: wherein is a network score function, T is a threshold, when a communication module ≥ T, and continuously maintains time, it is considered that the network recovers; In the retransmission process, the success rate of retransmission data needs to be estimated, which uses the expression: wherein is the number of orders to be retransmitted, is the number of successful retransmissions, if then trigger retransmission or background alarm again.

5. The dynamic evaluation based charging pile multi-operator automatic switching system according to claim 1, wherein, The abnormality processing module needs to count the switching abnormality frequency when performing switching log recording, and the expression used is: Wherein is the number of abnormalities in a certain time period, is the length of the time period, ≥ the warning threshold, then it is recorded as a "high-frequency communication abnormality" event.

6. The method for automatic switching of charging pile multi-operator based on dynamic evaluation, characterized in that, The method comprises the following steps: S1: initializing the communication module group when the system starts, and allocating an independent communication detection interface to each communication module; S2: the signal monitoring module periodically acquires the network communication quality indexes, and provides the data to the switching control module for evaluation decision; S3: the switching control module judges whether the current connected network is abnormal according to a dynamic evaluation algorithm; S4: if abnormal, switching to other operator network according to the priority list and re-verifying the connection; S5: after the switching succeeds, the charging control module restores the charging communication process, and the abnormality processing module records the switching event log; S6: if all communications fail, the abnormality processing module starts the local cache and alarm mechanism, and retransmits data after the network is recovered.

7. The method of claim 6, wherein, The specific logic steps of S3 are as follows: S301: Obtain the network quality indicators of all communication modules in the current period, including signal strength , packet loss rate , delay communication quality parameters; S302: standardize each index of the current communication module, normalize the index value to the interval [0, 1], for unified comparison, the expression used is: ; ; S303: use The comprehensive score of the current network is calculated by formula The comprehensive score is compared with a set threshold value, and if <T, the switching process is entered; S304: Set abnormality counter , make continuous abnormality record and judge, if , determine that the network is really abnormal, trigger switching.

8. The method of claim 6, wherein the method further comprises: The specific logic steps of S4 are as follows: S401: The system sorts the signal performance, service protocol and cost factors, and sets the operator priority table P={ … } If the current connection operator has been marked as abnormal, it is excluded from the list. S402: select the candidate network in turn according to the priority order, the MCU controller controls the communication hardware, activates the communication module and switches to the SIM card corresponding to the communication module and restarts the network connection process, initializes the communication stack and performs the "connection verification" process; S403: verifying the availability of the candidate network connection through verification logic, and the verification logic is as follows: (1) sending Ping to the background server or heartbeat packet; (2) connecting the platform authentication interface and judging the response success; (3), the determination logic is: , otherwise, it is determined as unavailable, and the next candidate network is entered; S404: if the connection is successful, switch the system communication state to the operator and update the current connection information, log record, and notify the charging control module that the communication channel switching is successful, and exit the candidate network loop process. S405: If the connection verification fails or the initialization fails, release the current communication module resource, and continue to traverse the next priority operator +1; S406: if all candidates fail, triggering the abnormal mode, entering the periodic retry mechanism, and issuing the off-network alarm to the abnormality processing module for background analysis.

9. The method of claim 6, wherein, In S5, the abnormality processing module records the switching event log, and the log types include switching success event, switching failure event and all candidate operator failure → entering off-network mode event.

10. The method of claim 6, wherein, The specific logic steps of S6 are as follows: S601: Determine that the system enters the off-network state, and the judgment condition is: <T Then, the abnormal processing module is notified of "communication failure". S602: writing the order data structure into the local cache, and the order data structure includes order number, user ID, amount, start and end time and power, and setting the cache state as to be retransmitted; S603: writing the abnormal event into the local log module, including time, failure times, failure operator list and triggering reason, for subsequent platform backtracking analysis and responsibility attribution; S604: prompting "network abnormality" through the LED indicator light, the buzzer and the display screen, and displaying "order has been cached, will be automatically uploaded later” on the local operation interface; S605: start periodic network detection task, if the detection result satisfies: , and continuous success ⇒ judge network recovery, turn into "off-network recovery state"; S606: Traverse the order data in the local cache database with the status "to be retransmitted", execute uploading for each record and obtain platform confirmation, update the status to "uploaded" if the uploading is successful, and record the log. In the retransmission process, the expression used is: For retransmission data success rate estimation, if then trigger retransmission again or background alarm;​ S607: After all the orders are retransmitted successfully, the local data is cleared, the abnormal alarm is closed, and the system returns to the normal communication working state.