Dual-card single-pass communication control method and system
By acquiring multi-dimensional information from charging piles to make intelligent switching decisions, the problems of low communication reliability and coarse switching strategies in existing communication solutions are solved, thereby improving communication reliability and operation and maintenance efficiency and ensuring the stable operation of equipment.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- SHENZHEN DINGWANG TECH CO LTD
- Filing Date
- 2026-04-02
- Publication Date
- 2026-05-01
AI Technical Summary
Existing single-SIM 4G communication solutions and simplified dual-SIM solutions have low communication reliability in industrial-grade equipment, pose a risk of single point of failure, have crude switching strategies, lag in status awareness, and imperfect alarm mechanisms, making it difficult to meet industrial-grade reliability requirements.
By acquiring core information of the charging pile's communication card, network quality parameters, service status information, and cloud platform instructions, and combining multi-dimensional parameters to make intelligent switching decisions, the system can achieve automatic fault detection and response, establish a full-link feedback and alarm mechanism, and optimize switching strategies to improve communication reliability.
It significantly improved communication reliability, shortened fault repair time, increased equipment availability and operation and maintenance efficiency, achieved a balance between communication quality and resource utilization, and ensured that critical business operations were not affected.
Smart Images

Figure CN121968228A_ABST
Abstract
Description
Dual-SIM single-pass communication control method and system Technical Field
[0001] This application relates to the intersection of communication technology and power equipment control, and in particular to a dual-card single-pass communication control method and system. Background Technology
[0002] In critical scenarios such as charging piles and industrial monitoring, 4G (4th generation mobile communication technology) communication is the core link for data transmission between devices and operating platforms. Communication interruption will directly lead to equipment loss of control, business stagnation, and security risks. Current mainstream single-SIM 4G communication solutions and simplified dual-SIM solutions have significant technical defects and are difficult to meet industrial-grade reliability requirements. Summary of the Invention
[0003] Therefore, it is necessary to provide a dual-SIM single-pass communication control method and system that can improve communication reliability in response to the above-mentioned technical problems.
[0004] A dual-SIM single-pass communication control method includes the following steps: acquiring the core information of the first communication card, the core information of the second communication card, network quality parameters, service status information, module status information, and remote instructions issued by the cloud platform; determining whether a communication card switching condition is triggered based on the core information of the first communication card, the core information of the second communication card, network quality parameters, service status information, module status information, remote instructions, and preset strategies; if a communication card switching condition is triggered, generating a switching instruction based on the core information of the first communication card, the core information of the second communication card, network quality parameters, service status information, module status information, remote instructions, and preset strategies; the switching instruction includes a switching type; executing the switching instruction, recording the switching event information during the execution of the switching instruction, and reporting it to the cloud platform.
[0005] In one embodiment, the communication card switching condition is determined to be a communication failure based on the core information of the first communication card, the core information of the second communication card, network quality parameters, service status information, module status information, remote instructions, and preset policies. If the communication card switching condition is triggered, the step of generating a switching instruction based on the core information of the first communication card, the core information of the second communication card, network quality parameters, service status information, module status information, remote instructions, and preset policies includes: determining the switching type as a fault switching type and the corresponding execution policy based on the core information of the first communication card, the core information of the second communication card, network quality parameters, service status information, module status information, remote instructions, and preset policies; and generating a switching instruction based on the fault switching type and the execution policy.
[0006] In one embodiment, the steps of executing the switching instruction, recording the running information during the execution of the switching instruction, and reporting it to the cloud platform are as follows: the steps of executing the switching instruction according to the execution strategy are as follows: determine the status of the backup card between the first communication card and the second communication card; if the status of the backup card is normal, switch the communication to the backup card; if the status of the backup card is abnormal, restart the dialing process of the currently used communication card, and simultaneously report a dual-card fault alarm to the cloud platform.
[0007] In one embodiment, if the status of the backup card is abnormal, the dialing process of the currently used communication card is restarted, and a dual-card fault alarm is reported to the cloud platform simultaneously. The restart of the dialing process of the currently used communication card is completed based on the following steps: After generating the switching command, the status of the target communication card and the service status of the charging pile are verified; the dual-card single-pass communication module is powered down and reset via AT dialing command, and switched to the target communication card; based on the factory specification information and preset script of the dual-card single-pass communication module, the AT dialing command is automatically sent; after the AT dialing command is successfully responded to, the network quality parameters of the target communication card are collected, and after confirming that the communication is normal, the switching process is completed.
[0008] In one embodiment, the step of automatically sending AT dialing commands based on the factory specifications and preset scripts of the dual-SIM single-pass communication module includes: if the AT dialing command is not successfully responded to, resending the AT dialing command after a certain period of time; if the AT dialing command is still not successfully responded to after a preset number of resendings, stopping the execution of the switching command.
[0009] In one embodiment, the communication card switching condition determined based on the first communication card core information, the second communication card core information, network quality parameters, service status information, module status information, remote instructions, and preset policies is that no fault has occurred within a preset time period and a communication card switching action has taken. If the communication card switching condition is triggered, the step of generating a switching instruction based on the first communication card core information, the second communication card core information, network quality parameters, service status information, module status information, remote instructions, and preset policies includes: determining the switching type as a periodic switching type and the corresponding execution policy based on the first communication card core information, the second communication card core information, network quality parameters, service status information, module status information, remote instructions, and preset policies; and generating a switching instruction based on the periodic switching type and the execution policy.
[0010] In one embodiment, the steps of executing the switching command, recording the running information during the execution of the switching command, and reporting it to the cloud platform are as follows: The steps of executing the switching command according to the execution strategy are as follows: Detect whether the charging pile is in a critical business state; if the charging pile is not in a critical business state, evaluate the communication quality of the first communication card and the second communication card, select the communication card with better communication quality as the target communication card, and switch communication to the target communication card; if the communication quality of the first communication card and the second communication card differs within a preset range, select the communication card with the shorter current cumulative usage time as the target communication card, and switch communication to the target communication card.
[0011] In one embodiment, the switching type includes at least a fault switching type, a periodic switching type, and a controlled switching type; if the remote instruction contains a remote switching instruction, the controlled switching type is executed first; if the remote instruction does not contain a remote switching instruction, the fault switching type is executed first when a communication failure occurs, otherwise the periodic switching type is executed after a preset time.
[0012] In one embodiment, the method further includes: reporting the current core information of the first communication card, the core information of the second communication card, network quality parameters, service status information, and module status information to the cloud platform at preset intervals; triggering an early warning and reporting to the cloud platform when the traffic usage of the communication card reaches a preset threshold, the usage time of the communication card reaches a preset time, or the signal strength of the communication card is lower than a preset signal threshold; triggering an emergency alarm when the communication card experiences communication disconnection or dual-card failure, and providing feedback through cloud platform instructions and displaying it on the local screen; the alarm content includes at least the fault type and location suggestion.
[0013] A dual-SIM single-pass communication control system includes a charging pile and a cloud platform. The charging pile is communicatively connected to the cloud platform. The charging pile includes a local control unit, which executes a computer program to implement the steps of the above method.
[0014] One of the above technical solutions has the following advantages and beneficial effects: The dual-SIM single-pass communication control method provided in this application involves the following steps: acquiring the core information of the first communication card, the core information of the second communication card, network quality parameters, service status information, module status information, and remote instructions issued by the cloud platform; determining whether a communication card switching condition is triggered based on the core information of the first communication card, the core information of the second communication card, network quality parameters, service status information, module status information, remote instructions, and preset strategies; if a communication card switching condition is triggered, generating a switching instruction based on the core information of the first communication card, the core information of the second communication card, network quality parameters, service status information, module status information, remote instructions, and preset strategies; executing the switching instruction and recording the switching event information during the execution of the switching instruction, and reporting it to the cloud platform. This significantly improves communication reliability, refines the switching strategy, balances communication quality and resource efficiency, provides full transparency of status, and enhances platform management and maintenance efficiency. Attached Figure Description
[0015] Figure 1 is an application environment diagram of the dual-card single-pass communication control method in the embodiments of this application.
[0016] Figure 2 is a flowchart illustrating the dual-card single-pass communication control method in an embodiment of this application.
[0017] Figure 3 is a schematic diagram of the first process of the dual-card switching steps in the embodiment of this application.
[0018] Figure 4 is a flowchart illustrating the dialing steps in an embodiment of this application.
[0019] Figure 5 is a schematic diagram of the second process of the dual-card switching step in the embodiment of this application. Detailed Implementation
[0020] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.
[0021] In critical scenarios such as charging piles and industrial monitoring, 4G communication is the core link for data transmission between equipment and the operating platform. Communication interruption will directly lead to equipment loss of control, business stagnation, and security risks. Current mainstream single-SIM 4G communication solutions and simplified dual-SIM solutions have significant technical defects and cannot meet industrial-grade reliability requirements. Specifically, the following problems arise: 1. Low communication link reliability and prominent single-point failure risk: Traditional single-SIM 4G communication solutions rely entirely on a single SIM card and the corresponding operator's network. Issues such as SIM card arrears, signal obstruction, or operator network fluctuations will directly lead to a disconnection between the device and the platform. Some simplified dual-SIM solutions only allow manual switching and cannot achieve automatic fault detection and response. Manual intervention is required to restore the connection after a disconnection, resulting in a long average fault repair time and severely impacting equipment availability.
[0022] 2. Inefficient switching strategies lead to an imbalance between resource utilization and communication quality: Existing dual-SIM solutions often employ fixed-period switching or single-condition triggering, failing to intelligently assess factors such as network quality, signal strength, and service status. For example, blindly switching SIM cards during charging at a charging station may interrupt data transmission; while switching solely based on signal strength, without considering signal stability, can lead to frequent switching, ultimately reducing communication quality.
[0023] 3. Delayed status awareness, making platform control and fault tracing difficult: In traditional solutions, devices can only passively report basic communication status. The platform cannot obtain core parameters such as SIM card ICCID, IMSI, and signal strength in real time, nor can it record detailed information about the handover process (such as handover time, cause, and result). When communication failures occur, maintenance personnel find it difficult to quickly locate whether the problem is with the SIM card, the module, or the network, resulting in extremely low efficiency in fault tracing and troubleshooting.
[0024] 4. Inadequate alarm mechanism and weak risk warning capability: The existing solution lacks an early warning mechanism for potential risks such as SIM card data usage exceeding limits, unpaid bills, and signal attenuation, often only issuing alarms passively after a fault occurs. Furthermore, the alarm information is vague, merely indicating "communication failure," failing to distinguish the type of fault, making it impossible for maintenance personnel to handle the situation effectively and further prolonging the downtime.
[0025] To address the aforementioned issues, this application provides a dual-SIM single-pass communication control method. This method can be applied to the application environment shown in Figure 1. The charging pile 102 communicates with the cloud platform 104 via a network. The charging pile 102 collects internal core information of the first and second communication cards, network quality parameters, service status information, and module status information, and communicates with the cloud platform 104 to receive remote commands from the cloud platform 104. Based on the aforementioned information, the charging pile 102 determines whether a communication card switching condition has been triggered. If a switching condition is triggered, it generates a switching command based on the aforementioned information, executes the switching command, records the switching event information during the execution of the switching command, and reports it to the cloud platform 104. The charging pile 102 can be, but is not limited to, an AC charging pile or a DC charging pile, and the cloud platform 104 can be implemented using an independent cloud service or a cloud service cluster composed of multiple cloud services.
[0026] In one embodiment, as shown in Figure 2, a dual-SIM single-pass communication control method is provided, including the following steps: Step S210, acquiring the core information of the first communication card, the core information of the second communication card, network quality parameters, service status information, module status information, and remote instructions issued by the cloud platform for the charging pile.
[0027] It should be noted that the charging pile includes a dual-SIM single-pass communication module and a local control unit, wherein the local control unit is the executing entity of the dual-SIM single-pass communication control method of this application. The dual-SIM single-pass communication module includes a first communication card and a second communication card, which can be a standard SIM card, a Micro dual-SIM single-pass SIM, a Nano dual-SIM single-pass SIM, an eSIM (Embedded dual-SIM single-pass SIM), or an iSIM (Integrated dual-SIM single-pass SIM). Depending on the communication technology, the communication card can be 3G, 4G, or 5G, and may also include communication technologies that will be used in the future. The core information of the first communication card includes the ICCID (Integrated Circuit Card Identifier) and IMSI (International Mobile Subscriber Identity) of the first communication card, which can be periodically queried via AT dialing commands, as well as the data usage, remaining balance, and expiration date, which can be synchronously queried daily via the cloud platform API (Application Programming Interface).
[0028] The core information of the second communication card includes the ICCID (Integrated Circuit Card Identifier) and IMSI (International Mobile Subscriber Identity) of the second communication card, which can be periodically queried via AT dialing commands, as well as the data usage, remaining balance, and expiration date, which can be synchronously queried daily via the cloud platform API (Application Programming Interface).
[0029] Network quality parameters include periodically collecting the signal strength of the currently used SIM card and testing the latency and packet loss rate of communication with the cloud platform using the Ping command. Service status information includes the charging gun status (idle / charging / faulty) and charging power, which are obtained in real time through the internal bus, providing a basis for determining when to switch communication cards. During the collection process, if the signal strength of the currently used communication card is at a weak level (e.g., ≤ weak signal threshold (RSRP_Weak_Th)) or the packet loss rate reaches a high level (e.g., ≥ high packet loss rate threshold (Loss_Rate_High_Th)), an event is triggered to trigger collection, increasing the collection frequency to quickly confirm communication faults and improve fault response speed.
[0030] Module status information includes the operating mode (single SIM / dual SIM), dialing stage (signal detection / dialing / normal communication), fault codes, and other information of the dual-SIM single-pass communication module to locate module-level faults. Remote commands are issued by the cloud platform and are used to control or configure charging stations. In one example, the remote commands include remote switching commands for controlling manual switching or parameters for configuring the charging station.
[0031] This application utilizes a multi-dimensional parameter fusion-based decision-making logic to avoid blind and frequent switching. Periodic switching combined with business status judgment ensures that critical services are not affected, and a quality-first strategy guarantees communication stability after switching. Simultaneously, dual-SIM load balancing reduces the traffic consumption pressure on a single communication card, extending its lifespan.
[0032] Step S220: Based on the core information of the first communication card, the core information of the second communication card, network quality parameters, service status information, module status information, remote instructions, and preset policies, determine whether the communication card switching conditions are triggered.
[0033] In one example, the switching type includes at least fault switching, periodic switching, and controlled switching. Fault switching refers to the communication card switching conditions reaching the fault trigger condition. For example, based on the core information of the first communication card, the core information of the second communication card, network quality parameters, service status information, module status information, and preset policies, the following situations indicate that a communication fault has occurred, triggering the communication card switching condition: multiple (e.g., ≥ the consecutive Ping failure count threshold) consecutive Ping tests have no response; the signal strength is at a significantly weak level (e.g., ≤ the weak signal threshold) and persists for a certain duration (e.g., ≥ the signal attenuation duration threshold); ICCID information cannot be found or the platform reports that the current communication card traffic is insufficient (e.g., ≤ the SIM card insufficient traffic threshold); the module returns a dialing failure fault code, and the fault is not resolved after a restart operation.
[0034] Periodic switching refers to a mechanism to avoid resource exhaustion or network compatibility issues caused by prolonged use of a single communication card. It involves setting a specific time point for periodic switching; that is, if the communication card is functioning correctly, has been used for a period of time, or experiences a traffic usage alarm, the communication card is automatically switched, with the first and second communication cards switching periodically. Controlled switching, on the other hand, involves cloud platform-controlled charging pile switching. Specifically, the remote commands issued by the cloud platform include remote switching instructions for controlling manual switching.
[0035] Communication card switching conditions refer to the conditions that trigger the switching of communication cards. For example, the switching conditions may be a communication failure (corresponding to a fault switching type), no failure within a preset time period and a switching action (corresponding to a periodic switching type), or a remote command containing a remote switching command (corresponding to a controlled switching type). Preset strategies are manually set trigger conditions for switching communication cards, which can be understood as preset alarm thresholds. For example, the communication card's data usage exceeds a preset limit, or the signal strength is lower than a preset signal strength.
[0036] In one example, the execution order of fault switching type, periodic switching type and controlled switching type is set as follows: if the remote instruction contains a remote switching instruction, the controlled switching type is executed first; if the remote instruction does not contain a remote switching instruction, the fault switching type is executed first when a communication failure occurs, otherwise the periodic switching type is executed after a preset time.
[0037] Step S230: If the communication card switching condition is triggered, a switching instruction is generated based on the core information of the first communication card, the core information of the second communication card, network quality parameters, service status information, module status information, remote instructions, and preset policies. The switching instruction includes the switching type.
[0038] In the example where the communication card switching condition is determined to be a communication failure based on the core information of the first communication card, the core information of the second communication card, network quality parameters, service status information, module status information, remote instructions, and preset policies: if the communication card switching condition is triggered, the step of generating a switching instruction based on the core information of the first communication card, the core information of the second communication card, network quality parameters, service status information, module status information, remote instructions, and preset policies includes: determining the switching type as a fault switching type and the corresponding execution policy based on the core information of the first communication card, the core information of the second communication card, network quality parameters, service status information, module status information, remote instructions, and preset policies; and generating a switching instruction based on the fault switching type and the execution policy. It should be noted that the execution policy is used to execute the method corresponding to the fault switching type.
[0039] In the example where the communication card switching condition is determined based on the core information of the first communication card, the core information of the second communication card, network quality parameters, service status information, module status information, remote instructions, and preset policies, and the communication card switching action is initiated within a preset time period: if the communication card switching condition is triggered, the step of generating a switching instruction based on the core information of the first communication card, the core information of the second communication card, network quality parameters, service status information, module status information, remote instructions, and preset policies includes: determining the switching type as a periodic switching type and the corresponding execution policy based on the core information of the first communication card, the core information of the second communication card, network quality parameters, service status information, module status information, remote instructions, and preset policies; and generating a switching instruction based on the periodic switching type and the execution policy.
[0040] Step S240: Execute the switching command and record the switching event information during the execution of the switching command, and report it to the cloud platform.
[0041] Taking the communication card switching condition of communication failure (corresponding to the fault switching type) as an example, as shown in Figure 3, the steps of executing the switching command, recording the running information during the execution of the switching command, and reporting it to the cloud platform are as follows: Step S310, determine the status of the backup card between the first and second communication cards. It should be noted that if the currently used communication card is the first communication card, then the second communication card is the backup card, and vice versa. The status of the backup card includes whether communication is currently possible, signal quality, and whether it is currently in a communication state, etc.
[0042] Step S320: If the status of the backup card is normal, then switch the communication to the backup card.
[0043] In step S330, if the status of the backup card is abnormal, the dialing process of the currently used communication card is restarted, and a dual-card fault alarm is reported to the cloud platform simultaneously.
[0044] This application shortens the average repair time for communication faults and improves equipment communication availability by automatically detecting and intelligently switching faults, thus completely solving the single-point-of-failure problem of single-card solutions. For example, after the primary card of a charging pile loses connection, the system can automatically switch to the backup card to ensure continuous transmission of charging data and platform management capabilities.
[0045] In one example, as shown in Figure 4, if the backup card is in an abnormal state, the dialing process of the currently used communication card is restarted, and a dual-card fault alarm is reported to the cloud platform simultaneously. The restart of the dialing process of the currently used communication card is completed based on the following steps: Step S410, after generating the switching command, the status of the target communication card and the service status of the charging pile are verified. The status of the target communication card includes whether it can currently communicate, signal quality, and whether it is currently in a communication state, etc. The service status of the charging pile includes the charging gun status (idle / charging / faulty), charging power, etc.
[0046] Step S420: The dual-SIM single-pass communication module is powered down and reset via AT dialing commands, switching to the target communication card. AT dialing commands (Attention dual-SIM single-pass Command) are a standardized command set used between terminal devices and communication modules. Their core function is to control communication hardware such as modems and wireless communication modules (e.g., GSM / 4G / 5G modules, Bluetooth modules, WiFi modules) through simple text commands, enabling functions such as dialing, SMS, calls, network configuration, and module parameter settings. It is one of the most commonly used hardware control methods in IoT, embedded communication, and wireless terminal development.
[0047] Step S430: Based on the factory specifications and preset scripts of the dual-SIM single-pass communication module, automatically send AT dialing commands. The factory specifications and preset scripts of the dual-SIM single-pass communication module are core basic contents that the manufacturer has fixed in the hardware dual-SIM single-pass / dual-SIM single-pass firmware before the module leaves the factory. The former is the module's dual-SIM single-pass "identity, performance, and compliance hard parameters", and the latter is the module's dual-SIM single-pass "factory default execution logic and automated operation software program". Together, they ensure that the module meets the basic requirements of standardization, compliance, and plug-and-play upon leaving the factory, which is a key prerequisite for the mass production and delivery of IoT modules and the rapid integration by terminal manufacturers.
[0048] In one example, the steps for automatically sending AT dialing commands based on the factory specifications and preset scripts of a dual-SIM single-pass communication module include: if the AT dialing command is not successfully responded to, resending the AT dialing command after a certain period of time; if the AT dialing command is still not successfully responded to after a preset number of resending attempts, then stopping the execution of the switching command. The period of time and the preset number of resending attempts can be set according to actual needs.
[0049] Step S440: After the AT dialing command is successfully responded to, the network quality parameters of the target communication card are collected. After confirming that communication is normal, the handover process is completed. The network quality parameters of the target communication card include latency and packet loss rate, etc.
[0050] Taking the conditions for determining communication card switching as no fault has occurred within a preset time period and communication card switching action (corresponding to the periodic switching type) as an example, as shown in Figure 5, the steps for executing the switching command, recording the running information during the execution of the switching command, and reporting it to the cloud platform are as follows: Step S510, detect whether the charging pile is in a critical business state. For example, the critical business state is that the charging pile is in a charging state.
[0051] In step S520, if the charging pile is not in a critical business state, the communication quality of the first and second communication cards is evaluated, and the card with better communication quality is selected as the target communication card, and communication is switched to the target communication card. If the charging pile is in a critical business state, the communication card switching action is postponed until the critical business is completed.
[0052] Step S530: If the communication quality difference between the first and second communication cards is within a preset range, then the communication card with the shorter current cumulative usage time is selected as the target communication card, and communication is switched to the target communication card. The preset range can be set according to actual needs; the smaller the preset range, the less the current communication quality will be affected after switching communication cards. Selecting the communication card with the shorter current cumulative usage time is to avoid exceeding the data limit for a single communication card for an extended period.
[0053] Furthermore, after switching to the target communication card, the process also includes the following steps: continuously monitoring the target communication card for a period of time; if the communication quality of the target communication card deteriorates (e.g., signal strength ≤ weak signal threshold), then switching back to the original communication card.
[0054] During the execution of the switching command, switching event information is recorded, including switching time, switching type, target communication card, switching result, and switching reason. This information is then reported to the cloud platform via the command, generating an operation log. The real-time reporting of core communication card parameters and detailed switching logs enables the cloud platform to achieve comprehensive control over the device's communication status. When a fault occurs, maintenance personnel can quickly locate the fault type (such as communication card arrears or signal problems) through the logs, significantly reducing troubleshooting time and substantially lowering maintenance costs.
[0055] In order to form a full-link feedback and alarm mechanism, the dual-SIM single-pass communication control method of this application also includes: reporting the current core information of the first communication card, the core information of the second communication card, network quality parameters, service status information, and module status information to the cloud platform at preset intervals.
[0056] When the data usage of the communication card reaches a preset threshold, the usage time of the communication card reaches a preset time, or the signal strength of the communication card is lower than a preset signal threshold, an early warning is triggered and reported to the cloud platform.
[0057] When a communication card experiences a communication failure or a dual-card malfunction, an emergency alarm is triggered, and feedback is sent via the cloud platform and displayed on the local screen. The alarm content must include at least the fault type and location suggestions.
[0058] This application establishes a multi-level early warning mechanism for traffic, overdue payments, and signal strength, enabling maintenance personnel to intervene in advance to handle potential risks (such as renewing communication card payments or adjusting equipment installation locations), transforming "post-fault repair" into "pre-fault prevention," and further improving the stability of equipment operation.
[0059] This application discloses a dual-SIM single-pass communication control method through the following steps: acquiring the core information of the first communication card, the core information of the second communication card, network quality parameters, service status information, module status information, and remote commands issued by the cloud platform; determining whether a communication card switching condition has been triggered based on the core information of the first and second communication cards, network quality parameters, service status information, module status information, remote commands, and preset strategies; if the communication card switching condition has been triggered, generating a switching command based on the core information of the first and second communication cards, network quality parameters, service status information, module status information, remote commands, and preset strategies; executing the switching command and recording the switching event information during the execution of the switching command, and reporting it to the cloud platform. This significantly improves communication reliability, refines the switching strategy, balances communication quality and resource efficiency, provides full status transparency, and enhances platform management and maintenance efficiency.
[0060] In addition, this application is based on a universal dual-SIM module and can be directly adapted to existing charging piles, industrial monitoring and other equipment without the need to modify the core hardware of the terminal equipment. The software module can be deployed through firmware upgrades, which has strong engineering application value.
[0061] It should be understood that although the steps in the flowcharts of Figures 1 to 5 are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some of the steps in Figures 1 to 5 may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these sub-steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the sub-steps or stages of other steps.
[0062] This application also provides a dual-SIM single-pass communication control system, including a charging pile and a cloud platform. The charging pile is communicatively connected to the cloud platform. The charging pile includes a local control unit. The local control unit executes the computer program to implement the steps of the dual-SIM single-pass communication control method of this application.
[0063] In one example, the local control unit includes a multi-dimensional status perception module, an intelligent decision engine, a self-healing execution module, and a full-link feedback and alarm module. The multi-dimensional status perception module collects data on the 4G module status (type, operating mode), communication card information (ICCID, IMSI, traffic, and overdue payment status), network quality (signal strength, Ping latency, packet loss rate), and device service status (such as charging pile charging status). The intelligent decision engine, based on preset strategies and real-time data, determines whether to trigger communication card switching, selects the optimal switching time and target communication card, and outputs a switching command. The self-healing execution module receives the decision command and controls the dual-SIM single-pass communication module to complete communication card switching, dialing restart, and other operations via AT dialing commands, achieving fault self-healing. The full-link feedback and alarm module records the switching process and fault information, periodically reports device status to the platform, and triggers risk warnings and fault alarms related to traffic, overdue payments, and signal strength.
[0064] In one embodiment, a charging pile is provided. The charging pile includes a local control unit, which includes a memory and a processor. The memory stores a computer program, and the processor executes the computer program to perform the following steps: acquiring the core information of a first communication card, the core information of a second communication card, network quality parameters, service status information, module status information, and remote instructions issued by the cloud platform; determining whether a communication card switching condition is triggered based on the core information of the first communication card, the core information of the second communication card, the network quality parameters, the service status information, the module status information, the remote instructions, and a preset strategy; if a communication card switching condition is triggered, generating a switching instruction based on the core information of the first communication card, the core information of the second communication card, the network quality parameters, the service status information, the module status information, the remote instructions, and the preset strategy; the switching instruction includes a switching type; executing the switching instruction, recording the switching event information during the execution of the switching instruction, and reporting it to the cloud platform.
[0065] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, it performs the following steps: acquiring the core information of the first communication card, the core information of the second communication card, network quality parameters, service status information, module status information, and remote instructions issued by the cloud platform; determining whether a communication card switching condition is triggered based on the core information of the first communication card, the core information of the second communication card, network quality parameters, service status information, module status information, remote instructions, and a preset strategy; if a communication card switching condition is triggered, generating a switching instruction based on the core information of the first communication card, the core information of the second communication card, network quality parameters, service status information, module status information, remote instructions, and the preset strategy; the switching instruction includes a switching type; executing the switching instruction, recording the switching event information during the execution of the switching instruction, and reporting it to the cloud platform.
[0066] Those skilled in the art will understand that all or part of the processes in the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium. When executed, the computer program can include the processes of the embodiments of the above methods. Any references to memory, storage, databases, or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), dual data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link dual-card single-pass DRAM (SLDRAM), RAMbus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.
[0067] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0068] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are relatively specific and detailed, they should not be construed as limiting the scope of the patent application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this patent application should be determined by the appended claims.
Claims
1. A dual-SIM single-pass communication control method, characterized in that, Includes the following steps: The system acquires the core information of the first communication card, the core information of the second communication card, network quality parameters, service status information, module status information, and remote instructions issued by the cloud platform for the charging pile; and determines whether to trigger the communication card switching condition based on the core information of the first communication card, the core information of the second communication card, the network quality parameters, the service status information, the module status information, the remote instructions, and the preset strategy. If the communication card switching condition is triggered, a switching instruction is generated based on the first communication card core information, the second communication card core information, the network quality parameters, the service status information, the module status information, the remote instruction, and the preset strategy. The switching instruction includes a switching type. The switching type includes at least a fault switching type, a periodic switching type, and a controlled switching type. Specifically, if the remote instruction contains a remote switching instruction, the controlled switching type is executed first. If the remote instruction does not contain a remote switching instruction, the fault switching type is executed first when a communication failure occurs; otherwise, the periodic switching type is executed after a preset time. The switching instruction is executed, and the switching event information during the execution of the switching instruction is recorded and reported to the cloud platform.
2. The dual-SIM single-pass communication control method according to claim 1, characterized in that, Based on the core information of the first communication card, the core information of the second communication card, the network quality parameters, the service status information, the module status information, the remote command, and the preset strategy, the communication card switching condition is determined to be a communication failure. If the communication card switching condition is triggered, the step of generating a switching instruction based on the first communication card core information, the second communication card core information, the network quality parameters, the service status information, the module status information, the remote instruction, and the preset strategy includes: determining the switching type as a fault switching type and the corresponding execution strategy based on the first communication card core information, the second communication card core information, the network quality parameters, the service status information, the module status information, the remote instruction, and the preset strategy; The switching instruction is generated based on the fault switching type and the execution strategy.
3. The dual-SIM single-pass communication control method according to claim 2, characterized in that, The steps of executing the switching instruction, recording the running information during the execution of the switching instruction, and reporting it to the cloud platform are as follows: The steps of executing the switching instruction according to the execution strategy are as follows: Determine the status of the backup card between the first and second communication cards; if the status of the backup card is normal, switch the communication to the backup card; if the status of the backup card is abnormal, restart the dialing process of the currently used communication card and simultaneously report a dual-card fault alarm to the cloud platform.
4. The dual-card single-pass communication control method according to claim 3, characterized in that, If the status of the backup card is abnormal, the dialing process of the currently used communication card is restarted, and a dual-card fault alarm is reported to the cloud platform simultaneously. The restart of the dialing process of the currently used communication card is completed based on the following steps: after generating the switching command, the status of the target communication card and the service status of the charging pile are verified; the dual-card single-pass communication module is powered down and reset through the AT dialing command, and switched to the target communication card. Based on the factory specifications and preset scripts of the dual-SIM single-pass communication module, an AT dialing command is automatically sent; after the AT dialing command is successfully responded to, the network quality parameters of the target communication card are collected, and after confirming that the communication is normal, the switching process is completed.
5. The dual-card single-pass communication control method according to claim 4, characterized in that, The step of automatically sending AT dialing commands based on the factory specifications and preset script of the dual-SIM single-pass communication module includes: if the AT dialing command is not successfully responded to, resending the AT dialing command after a certain period of time; if the AT dialing command is still not successfully responded to after a preset number of resending attempts, stopping the execution of the switching command.
6. The dual-card single-pass communication control method according to claim 1, characterized in that, Based on the core information of the first communication card, the core information of the second communication card, the network quality parameters, the service status information, the module status information, the remote command, and the preset policy, the communication card switching condition is determined to be no fault occurring within a preset time period and a communication card switching action. If the communication card switching condition is triggered, the step of generating a switching command based on the core information of the first communication card, the core information of the second communication card, the network quality parameters, the service status information, the module status information, the remote command, and the preset policy includes: determining the switching type as a periodic switching type and the corresponding execution policy based on the core information of the first communication card, the core information of the second communication card, the network quality parameters, the service status information, the module status information, the remote command, and the preset policy; and generating the switching command based on the periodic switching type and the execution policy.
7. The dual-SIM single-pass communication control method according to claim 6, characterized in that, The steps of executing the switching command, recording the running information during the execution of the switching command, and reporting it to the cloud platform are as follows: The steps of executing the switching command according to the execution strategy are as follows: Detect whether the charging pile is in a critical business state; if the charging pile is not in the critical business state, evaluate the communication quality of the first communication card and the second communication card, select the communication card with better communication quality between the first and second communication cards as the target communication card, and switch the communication to the target communication card; If the communication quality of the first communication card and the second communication card differs within a preset range, then the communication card with the shorter current cumulative usage time among the first and second communication cards is selected as the target communication card, and communication is switched to the target communication card.
8. The dual-SIM single-pass communication control method according to any one of claims 1 to 7, characterized in that, Also includes: The system reports the current core information of the first communication card, the core information of the second communication card, the network quality parameters, the service status information, and the module status information to the cloud platform at preset intervals. When the traffic usage of the communication card reaches a preset threshold, the usage time of the communication card reaches a preset time, or the signal strength of the communication card is lower than a preset signal threshold, an early warning is triggered and reported to the cloud platform. When the communication card experiences communication failure or dual-card failure, an emergency alarm is triggered and fed back through the cloud platform and displayed on the local screen; the alarm content includes at least the fault type and location suggestion.
9. A dual-SIM single-pass communication control system, comprising a charging pile and a cloud platform, wherein the charging pile is communicatively connected to the cloud platform, and the charging pile includes a local control unit, characterized in that, When the local control unit executes the computer program, it implements the steps of the method according to any one of claims 1 to 8.
Citation Information
Patent Citations
SIM card switching method and terminal equipment
CN119789061A
Network switching method and device
CN121240163A
Method for handover between public network and private network based on cloud communications, and cloud communication terminal
US20240121684A1
Network switching method and apparatus, terminal and storage medium
WO2020038076A1