Information processing system, device, and storage medium
By introducing interface daemons and network management daemons in the T-BOX system, real-time detection and update active time, the problem of long network interruption time of the T-BOX system is solved, and rapid network recovery and user experience improvement are achieved.
Patent Information
- Application Number
- CN202510871518.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-06-26
- Publication Date
- 2025-08-19
AI Technical Summary
In the prior art, when a network abnormality such as communication interface blockage occurs, the T-BOX system cannot recover quickly, resulting in a long network interruption time.
An information processing system is provided, including an interface daemon, a network management daemon and a network layer. By initializing the activity time after successful activation of the PDP context, and regularly detecting the virtual interface traffic of the network layer, the value of the activity time is updated in real time according to the detection results, and the process restarts when the activity time exceeds the preset threshold.
It realizes timely recovery in the event of abnormalities such as network interface blocking, improving the user experience.
Smart Images

Figure CN120512468A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of network communication technology, and in particular to an information processing system, device, and storage medium. Background Art
[0002] The core function of the in-vehicle telematics box (T-BOX) is to serve as a network bridge for the vehicle, connecting independent vehicle networks with the vast internet, thereby driving the rapid development of the Internet of Vehicles (IoV). The stability of the T-BOX is crucial to the implementation of IoV and intelligent vehicle control.
[0003] In the prior art, when a T-BOX encounters a network anomaly such as a blocked communication interface, it cannot be quickly recovered, resulting in a long period of network interruption. Summary of the Invention
[0004] The present application provides an information processing system for solving the problem of long network interruption time in the T-BOX system in the prior art.
[0005] According to one aspect of the present application, an information processing system is provided, the system comprising an interface daemon, a network management daemon, and a network layer;
[0006] The interface daemon is used to send a PDP context activation notification to the communication module when receiving a dial-up request from the application layer; when the PDP context is successfully activated, it receives the activation success notification sent by the communication module and sends a network preparation notification to the network management daemon;
[0007] a network management daemon, configured to send network configuration information to the network layer in response to a network preparation notification sent by the interface daemon;
[0008] The network layer is used to provide network services to the application layer based on network configuration information;
[0009] The network management daemon is also used to:
[0010] After the PDP context is successfully activated, the active time is initialized; the traffic detection is performed on the virtual interface of the network layer every preset first time period, and the value of the active time is updated according to the detection result; when the value of the active time is greater than the preset time threshold, the process is restarted; among which, the larger the value of the active time, the longer the network abnormality of the information processing system.
[0011] In one possible implementation, when the network management daemon updates the active time value based on the detection result, it is configured to:
[0012] When interactive traffic is detected, the active time value is set to 0;
[0013] When it is detected that there is no interactive traffic, the active time value is increased by 1s.
[0014] In one possible implementation, before sending the network configuration information to the network layer, the network management daemon is used to:
[0015] Generate virtual interface information, configure IP address and routing information;
[0016] Generate network configuration information based on virtual interface information, IP addresses, and routing information.
[0017] In another possible implementation, when the value of the active time is greater than a preset time threshold, the network management daemon process is further configured to:
[0018] Send a restart command to the interface daemon and a configuration information deletion command to the network layer.
[0019] In yet another possible implementation, the duration threshold is greater than the first duration.
[0020] In another possible implementation, before sending the network configuration information to the network layer, the network management daemon is configured to:
[0021] When it is identified that the network connection at the network layer is disconnected, a suspicious mark is added to the network configuration information;
[0022] When the network layer provides network services to the application layer based on network configuration information, it is used to:
[0023] Parse the network configuration information to obtain the session status corresponding to the network configuration information;
[0024] When the session state is valid, the suspicious mark of the network configuration information is removed, and network services are provided to the application layer based on the network configuration information.
[0025] In another possible implementation, after obtaining the session state corresponding to the network configuration information, the network layer is further configured to:
[0026] When the session status is invalid, an invalidation notification is sent to the network management daemon.
[0027] In another possible implementation, the network management daemon process is further configured to:
[0028] After receiving the invalidation notification sent by the network layer, stop reporting data to the network layer and delete the network configuration information.
[0029] According to another aspect of the present application, an electronic device is provided, which includes: a memory for storing a computer program; and a processor for implementing the functional modules of the information processing system shown in the first aspect of the present application when executing the above-mentioned computer program.
[0030] According to another aspect of the present application, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the functional modules of the information processing system shown in the first aspect of the present application are implemented.
[0031] The beneficial effects of the technical solution provided by this application are:
[0032] The information processing system provided by the present application can initialize the active time after the PDP (Packet Data Protocol, which stores all information forwarded through the tunnel) context is successfully activated, and then determine the network status of the information processing system by regularly detecting the traffic of the virtual interface of the network layer, and update the value of the active time in real time according to the detection results. When the value of the active time is greater than the preset duration threshold, the network management daemon is restarted; when the information processing system encounters network anomalies such as network interface congestion, the present application can effectively achieve timely network recovery based on the duration threshold of the active time, thereby effectively improving the user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0033] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, a brief introduction will be given below to the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0034] Figure 1 An internal interaction sequence diagram of an information processing system provided in an embodiment of the present application;
[0035] Figure 2 A schematic diagram of the structure of an information processing system provided in an embodiment of the present application;
[0036] Figure 3 An internal interaction sequence diagram of an information processing system provided in an embodiment of the present application;
[0037] Figure 4 An internal interaction sequence diagram of an information processing system provided in an embodiment of the present application;
[0038] Figure 5 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0039] Hereinafter, embodiments of the present disclosure will be described with reference to the accompanying drawings. However, it should be understood that these descriptions are merely illustrative and are not intended to limit the scope of the present disclosure. In addition, in the following description, descriptions of well-known structures and technologies are omitted to avoid unnecessary confusion of the concepts of the present disclosure.
[0040] The accompanying drawings illustrate various schematic diagrams of structures according to embodiments of the present disclosure. These figures are not drawn to scale, and for the purpose of clarity, certain details are exaggerated and certain details may be omitted. The shapes of the various regions and layers shown in the figures, as well as their relative sizes and positional relationships, are merely exemplary and may deviate in practice due to manufacturing tolerances or technical limitations. Those skilled in the art may design regions / layers with different shapes, sizes, and relative positions as needed.
[0041] In the context of the present disclosure, when a layer / element is referred to as being "on" another layer / element, it can be directly on the other layer / element or an intervening layer / element may be present therebetween. In addition, if a layer / element is "on" another layer / element in one orientation, it may be "below" the other layer / element when the orientation is reversed.
[0042] In the field of Intelligent Connected Vehicles (ICVs), T-BOX serves as the core hub for communication between vehicles and the cloud. Its network performance directly affects the reliability of key functions such as over-the-air technology (OTA) upgrades, remote diagnostics, and real-time navigation. However, the inventors have discovered that the IoV scenario faces the following technical challenges:
[0043] Mobility management: High-speed vehicle movement leads to frequent base station handovers, and the traditional Transmission Control Protocol / Internet Protocol (TCP / IP) protocol stack is prone to connection interruptions.
[0044] Multiple service priorities: Emergency calls (eCall) and entertainment traffic require differentiated Quality of Service (QoS) guarantees.
[0045] Low power consumption requirement: After the vehicle is turned off, a low-power heartbeat connection must be maintained and fast wake-up must be supported.
[0046] Adaptability to complex environments: Signal attenuation is severe in scenarios such as tunnels and underground garages.
[0047] Quectel Network (Q-NET) is a cellular communication module system designed by Quectel Communications for automotive applications. Based on Q-NET's optimized technology system, T-BOX significantly improves the mobility, reliability, and energy efficiency of the connected vehicle (IoV) through innovations such as protocol stack enhancements, multi-APN (Access Point Name) management, and rapid fault tolerance. Its design methodology provides a reference for industrial-grade IoT communications. However, optimizing the T-BOX network remains a pressing challenge.
[0048] Based on the above technical problems, some embodiments of the present application initialize the active time after the PDP context is successfully activated, and then determine the network status of the information processing system by regularly detecting the traffic of the virtual interface of the network layer, and update the value of the active time in real time according to the detection results. When the value of the active time is greater than the preset duration threshold, the network management daemon is restarted; when the information processing system encounters network anomalies such as network interface blocking, the present application can effectively achieve timely network recovery based on the duration threshold of the active time, thereby effectively improving the user experience.
[0049] The following describes in detail the technical solution of the present application and how the technical solution of the present application solves the above-mentioned technical problems with specific embodiments. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The embodiments of the present application will be described below in conjunction with the accompanying drawings.
[0050] In the embodiment of the present application, an information processing system 10 is provided. Figure 1 and Figure 2 As shown, it may include an application layer 101, an interface daemon 102, a network management daemon 103 and a network layer 104;
[0051] Among them, the interface daemon 102 is used to send a PDP context activation notification to the communication module 105 when receiving a dial-up request from the application layer 101; when the PDP context is successfully activated, it receives the activation success notification sent by the communication module 105 and sends a network preparation notification to the network management daemon 103.
[0052] The interface daemon may be a Radio Interface Layer Daemon (RILD). The communication module may be a Q-NET module of an external modem.
[0053] Specifically, the above-mentioned application layer may include an entity that initiates a network dial-up request, which may be a vehicle-mounted application, such as an OTA upgrade service, or a cloud service, such as a remote diagnosis platform.
[0054] Alternatively, RILD is the core daemon process that manages cellular communications in Android or Linux systems. It is responsible for converting protocol instructions between the application layer and the modem. Its main functions include:
[0055] (1) Controlling the Modem: Activating or deactivating the Modem's data connection through Attention (AT) commands or Qualcomm MSM Interface (QMI) communication protocols.
[0056] (2) Status synchronization: monitor modem events (such as network registration and signal strength changes) and report them to the upper layer.
[0057] (3) Manufacturer Adaptation: Support different modems by dynamically loading the manufacturer's dynamic link library (libreference-ril.so) or customized library (such as libquectel-ril.so).
[0058] The network management daemon process 103 is configured to send network configuration information to the network layer 104 in response to the network preparation notification sent by the interface daemon process 102 .
[0059] The network configuration information may include session information such as virtual interface information, IP address, and routing information. The network management daemon may be a QuectelLinux Network Daemon (ql-netd) customized by Quectel.
[0060] Optionally, ql-netd's core responsibilities may include supporting multiple APN concurrent connections, monitoring virtual interface traffic, triggering keepalives or failovers, coordinating modem sleep with kernel network status, and fast fault tolerance mechanisms.
[0061] The network layer 104 is used to provide network services to the application layer 101 based on network configuration information.
[0062] In the embodiment of the present application, the network management daemon process 103 may also be used to:
[0063] After the PDP context is successfully activated, the active time is initialized; the traffic detection of the virtual interface of the network layer is performed every preset first time period, and the value of the active time is updated according to the detection result; when the value of the active time is greater than the preset time threshold, the process is restarted.
[0064] The larger the value of the activity-time is, the longer the network abnormality of the information processing system lasts.
[0065] Optionally, the duration threshold is greater than the first duration.
[0066] Specifically, the first duration may be 1 second, and the duration threshold may be 130 seconds.
[0067] After the PDP context is successfully activated, the embodiment of the present application initializes the active time, then determines the network status of the information processing system by regularly detecting the traffic of the virtual interface of the network layer, and updates the value of the active time in real time according to the detection result. When the value of the active time is greater than the preset duration threshold, the network management daemon is restarted; when the information processing system encounters network anomalies such as network interface blocking, the present application can effectively achieve timely network recovery based on the duration threshold of the active time, thereby effectively improving the user experience.
[0068] In an embodiment of the present application, a possible implementation method is provided. When the network management daemon updates the value of the active time according to the detection result, it is used to:
[0069] When interactive traffic is detected, the active time value is set to 0;
[0070] When it is detected that there is no interactive traffic, the active time value is increased by 1s.
[0071] Specifically, the network layer can report the traffic statistics of the virtual interface (rmnet0) to ql-netd in real time. ql-netd performs detection based on the traffic statistics every 1 second. When interactive traffic is detected, that is, new traffic is added, activity-time+1; when no interactive traffic is detected, activity-time=0.
[0072] The embodiment of the present application determines the current system network status by updating the activity time. When the current system traffic interaction is normal, activity-time = 0; when there is no new traffic on the virtual interface and the duration reaches the preset time threshold, that is, the activity-time is greater than the preset time threshold, it indicates that the current network connection is abnormal, and ql-netd can be automatically restarted. This restart mechanism is monitored at the millisecond level (ms) to ensure a quick response.
[0073] An embodiment of the present application provides a possible implementation method, in which the network management daemon process, before sending network configuration information to the network layer, is used to:
[0074] S101, generate virtual interface information, configure IP address and routing information.
[0075] S102: Generate network configuration information based on the virtual interface information, IP address and routing information.
[0076] A possible implementation method is provided in the embodiment of the present application, such as Figure 3 As shown, when the value of the active time is greater than the preset time threshold, the network management daemon process 103 is further used to:
[0077] A restart instruction is sent to the interface daemon 102 , and a configuration information deletion instruction is sent to the network layer 104 .
[0078] In the embodiment of the present application, a network reset can be achieved by sending a restart instruction to the interface daemon and a configuration information deletion instruction to the network layer, thereby effectively achieving rapid fault recovery.
[0079] An embodiment of the present application provides a possible implementation method. Before sending the network configuration information to the network layer 104, the network management daemon process 103 is used to:
[0080] When it is identified that the network connection of the network layer 104 is disconnected, a suspicious mark is added to the network configuration information.
[0081] In some implementations, when the application layer actively closes the connection, ql-netd can identify a network connection session disconnection event at the network layer.
[0082] In other implementations, when ql-netd detects a socket error, a network connection session disconnection event at the network layer can be identified.
[0083] In some implementations, when the modem reports PDP deactivation, ql-netd can identify a network connection session disconnection event at the network layer.
[0084] When providing network services to the application layer based on network configuration information, the network layer is used to:
[0085] S201: parse network configuration information to obtain a session state corresponding to the network configuration information.
[0086] S202, when the session state is valid, remove the suspicious mark of the network configuration information, and provide network services to the application layer based on the network configuration information;
[0087] When the session status is invalid, an invalidation notification is sent to the network management daemon.
[0088] In the embodiment of the present application, when the application layer is abnormally interrupted, a suspicious session can be marked by ql-netd. When the network layer responds, the suspicious session can be further judged. If the session is lost, the session is cleared and no data is reported; if the session is not lost, the communication process continues and the network is not affected.
[0089] In an embodiment of the present application, a possible implementation method is provided, wherein the network management daemon process is further configured to:
[0090] After receiving the invalidation notification sent by the network layer, stop reporting data to the network layer and delete the network configuration information.
[0091] The embodiment of the present application uses an active time update mechanism and a session marking mechanism to ensure that the Q-net system can automatically recover and correctly handle abnormal interruptions at the application layer when the network is abnormal or the system is unstable, thereby improving the stability and reliability of the system.
[0092] To better understand the above-mentioned information processing system, an example of the information processing method of the present application is described in detail below with reference to the accompanying drawings, which is applied to T-BOX. The T-BOX system includes an application layer, RILD, and ql-netd, a network layer, an interface layer, and a health management module.
[0093] In some embodiments, as Figure 1 As shown, the method includes the following steps:
[0094] S301 , the application layer 101 sends a dial request to the interface daemon 102 .
[0095] S302, the interface daemon 102 sends a PDP context activation notification to the communication module 105; at the same time, when the PDP context is successfully activated, the network management daemon 103 initializes the active time;
[0096] Among them, ql-netd performs traffic detection on the virtual interface of the network layer every 1 second, and updates the value of the active time according to the detection result.
[0097] The larger the value of the active time is, the longer the network abnormality time of the information processing system is.
[0098] Specifically, the active time update mechanism may include:
[0099] When interactive traffic is detected, the active time value is set to 0;
[0100] When it is detected that there is no interactive traffic, the active time value is increased by 1s.
[0101] S303, if the PDP context is successfully activated, the communication module 105 returns an activation success notification to the interface daemon 102; then, the interface daemon 102 sends a network preparation notification to the network management daemon 103;
[0102] S304, the network management daemon 103 generates virtual interface information, configures IP address and routing information in response to the network preparation notification sent by the interface daemon 102; and generates network configuration information based on the virtual interface information, the IP address and the routing information and sends the network configuration information to the network layer 104, so that the network layer 104 provides network services for the application layer 101.
[0103] If the activity time is greater than 130s, it indicates network congestion and ql-netd is restarted.
[0104] When ql-netd identifies that the network connection of the network layer is disconnected, a suspicious mark can be added to the network configuration information; after the network layer receives the network configuration information, the network configuration information can be parsed to obtain the session status corresponding to the network configuration information:
[0105] When the session state is valid, the suspicious mark of the network configuration information is removed, and the network layer provides network services to the application layer based on the network configuration information;
[0106] When the session state is invalid, the network layer sends an invalidation notification to ql-netd; after receiving the invalidation notification sent by the network layer, ql-netd stops reporting data to the network layer and deletes the network configuration information.
[0107] The above embodiments address the problem of rapid recovery from network interruption from the perspective of the communication module. The following two embodiments address the problem of high probability of network interruption from the perspective of the T-BOX application layer.
[0108] In other embodiments, Figure 4 As shown, the method includes the following steps:
[0109] S401 , the application layer 101 sends a dial request to the interface layer 106 .
[0110] Specifically, the application layer may include an entity that initiates a network dial-up request, which may be a vehicle-mounted application, such as an OTA upgrade service, or a cloud service, such as a remote diagnosis platform.
[0111] S402 , the interface layer 106 responds to the dial-up request and forwards the dial-up request to the interface daemon process 102 .
[0112] The interface layer may be RIL, which is one of the key components for processing communications with mobile networks. It is mainly responsible for communicating with the baseband processor and processing interactions with the mobile network, including dialing, SMS sending, data transmission and other functions.
[0113] S403: The interface daemon process 102 responds to the dial-up request and requests to call the dial-up interface.
[0114] The interface daemon process may be RILD, which may directly control the communication module, which may be a Q-NET module of an external modem.
[0115] Specifically, the interface daemon 102 is also used to execute the dog feeding program every 5 seconds; the health management module 107 can be used to detect the dog feeding status of the interface daemon 102 every 10 seconds. If the dog feeding interruption duration in the dog feeding status is greater than 40 seconds, the interface daemon 102 is restarted.
[0116] S404, if the interface daemon 102 successfully calls the interface within 30 seconds, it returns a call success notification to the application layer 101; at the same time, it calls the dial-up interface to forward the dial-up request to the communication module, so that the information processing system can achieve network connection based on the communication module.
[0117] If the interface daemon fails to call the interface within 30 seconds, the dial-up interface will be restarted.
[0118] In other embodiments, the method comprises the steps of:
[0119] S501: The application layer sends a dial request to the interface layer.
[0120] Specifically, the application layer may include an entity that initiates a network dial-up request, which may be a vehicle-mounted application, such as an OTA upgrade service, or a cloud service, such as a remote diagnosis platform.
[0121] S502: The interface layer responds to the dial-up request and forwards the dial-up request to the interface daemon process.
[0122] The interface layer may be RIL, which is one of the key components for processing communications with mobile networks. It is mainly responsible for communicating with the baseband processor and processing interactions with the mobile network, including dialing, SMS sending, data transmission and other functions.
[0123] S503, the interface daemon process responds to the dial-up request, starts the daemon sub-process, and calls the dial-up interface based on the daemon sub-process request. If the call is successful within the first time threshold, the daemon sub-process returns a call success notification; at the same time, the dial-up interface is called to forward the dial-up request to the communication module, so that the information processing system can achieve network connection based on the communication module.
[0124] If it is detected that the network connection of the dial-up interface is invalid within 5 minutes, a radio frequency function shutdown command is sent to the communication module. After the communication module enters the airplane mode, a radio frequency function startup command is sent to the communication module.
[0125] Specifically, RILD is also used to execute the dog feeding program every 5 seconds; the health management module can be used to detect the dog feeding status of the interface daemon process every 10 seconds. If the dog feeding interruption duration in the dog feeding state is greater than 40 seconds, the interface daemon process is restarted.
[0126] The information processing system provided by the present application can periodically detect the dog feeding status of the interface daemon through the health management module. If the dog feeding interruption duration in the dog feeding status is greater than the second duration threshold, the interface daemon is restarted. At the same time, when the interface daemon requests to call the dial-up interface, if the call fails within the first duration threshold, the dial-up interface is restarted. The present application implements interface restart when the interface is blocked. Since the first duration threshold is less than the second duration threshold, the dial-up interface can be restarted before the interface daemon dog feeding interruption duration is greater than the second duration threshold, thereby avoiding the restart of the interface daemon and ensuring the normal operation of other functions of the restarted interface daemon except for dialing, effectively reducing the probability of network disconnection at the application layer and improving recovery efficiency.
[0127] The method provided in the embodiment of the present application can be executed by the information processing system of the embodiment of the present application, and its implementation principle is similar. The steps in the method in the embodiment of the present application correspond to the actions performed by each module in the information processing system of each embodiment of the present application. For a detailed description of the method, please refer to the detailed functional description of each module of the corresponding information processing system shown in the previous text, which will not be repeated here.
[0128] The embodiment of the present application can initialize the active time after the PDP context is successfully activated, and then determine the network status of the information processing system by regularly detecting the traffic of the virtual interface of the network layer, and update the value of the active time in real time according to the detection result. When the value of the active time is greater than the preset duration threshold, the network management daemon is restarted; when the information processing system encounters network anomalies such as network interface blocking, the present application can effectively achieve timely network recovery based on the duration threshold of the active time, thereby effectively improving the user experience.
[0129] In an embodiment of the present application, an electronic device is provided, including a memory, a processor, and a computer program stored in the memory. The processor executes the above-mentioned computer program to implement various functional modules of an information processing system. Compared with the related art, the following can be achieved: After the PDP context is successfully activated, the embodiment of the present application can initialize the active time, and then determine the network status of the information processing system by regularly detecting the traffic of the virtual interface of the network layer, and update the value of the active time in real time according to the detection result. When the value of the active time is greater than the preset duration threshold, the network management daemon process is restarted; when the information processing system encounters network anomalies such as network interface blocking, the present application can effectively achieve timely network recovery based on the duration threshold of the active time, effectively improving the user experience.
[0130] In an alternative embodiment, an electronic device is provided, such as Figure 5 As shown, Figure 5 The electronic device 50 shown includes: a processor 501 and a memory 503. The processor 501 and the memory 503 are connected, for example, via a bus 502. Optionally, the electronic device 50 may further include a transceiver 504, which may be used for data exchange between the electronic device and other electronic devices, such as data transmission and / or data reception. It should be noted that in actual applications, the number of transceivers 504 is not limited to one, and the structure of the electronic device 50 does not constitute a limitation on the embodiments of the present application.
[0131] The processor 501 may be a CPU (Central Processing Unit), a general-purpose processor, a DSP (Digital Signal Processor), an ASIC (Application Specific Integrated Circuit), an FPGA (Field Programmable Gate Array), or other programmable logic devices, transistor logic devices, hardware components, or any combination thereof. It may implement or execute the various exemplary logic blocks, modules, and circuits described in conjunction with the disclosure of this application. The processor 501 may also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of a DSP and a microprocessor, and the like.
[0132] The bus 502 may include a path for transmitting information between the above components. The bus 502 may be a PCI (Peripheral Component Interconnect) bus or an EISA (Extended Industry Standard Architecture) bus. The bus 502 may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 5 Only one thick line is used in the diagram, but this does not mean that there is only one bus or one type of bus.
[0133] The memory 503 can be a ROM (Read Only Memory) or other types of static storage devices that can store static information and instructions, a RAM (Random Access Memory) or other types of dynamic storage devices that can store information and instructions, or an EEPROM (Electrically Erasable Programmable Read Only Memory), a CD-ROM (Compact Disc Read Only Memory) or other optical disk storage, optical disk storage (including compact discs, laser discs, optical discs, digital versatile discs, Blu-ray discs, etc.), magnetic disk storage media, other magnetic storage devices, or any other medium that can be used to carry or store computer programs and can be read by a computer, without limitation here.
[0134] The memory 503 is used to store the computer program for executing the embodiments of the present application, and the execution is controlled by the processor 501. The processor 501 is used to execute the computer program stored in the memory 503 to implement the steps shown in the above method embodiments.
[0135] The electronic devices include, but are not limited to, mobile terminals such as mobile phones, notebook computers, PADs, etc., and fixed terminals such as digital TVs, desktop computers, etc.
[0136] In an embodiment of the present application, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps of the method shown in the first aspect of the embodiment of the present application are implemented.
[0137] While the above description does not provide detailed technical details regarding the patterning of each layer, those skilled in the art will appreciate that various technical means can be employed to form layers, regions, and the like in desired shapes. Furthermore, those skilled in the art may devise methods that differ from those described above to achieve the same structure. Furthermore, while each embodiment has been described separately, this does not mean that the measures in each embodiment cannot be advantageously combined.
[0138] Although the preferred embodiments of the present application have been described, those skilled in the art may make additional changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the present application.
[0139] Obviously, those skilled in the art may make various changes and modifications to this application without departing from the spirit and scope of this application. Thus, if these modifications and variations of this application fall within the scope of the claims of this application and their equivalents, this application is intended to include these modifications and variations.
Claims
1. An information processing system, characterized in that: The information processing system includes an interface daemon, a network management daemon and a network layer; The interface daemon is configured to, upon receiving a dial-up request from the application layer, send a PDP (Packet Data Protocol, which stores all information forwarded by the tunnel) context activation notification to the communication module; upon successful activation of the PDP context, receive an activation success notification sent by the communication module, and send a network preparation notification to the network management daemon; The network management daemon is configured to send network configuration information to the network layer in response to the network preparation notification sent by the interface daemon; The network layer is configured to provide network services to the application layer based on the network configuration information; The network management daemon is also used to: When the PDP context is successfully activated, the active time is initialized; Traffic detection is performed on the virtual interface of the network layer at intervals of a preset first time period, and the value of the active time is updated according to the detection result; when the value of the active time is greater than the preset time threshold, the process is restarted; wherein, the larger the value of the active time, the longer the network abnormality time of the information processing system.
2. The information processing system according to claim 1, wherein: When the network management daemon updates the value of the active time according to the detection result, it is used to: When interactive traffic is detected, the active time value is set to 0; When it is detected that there is no interactive traffic, the active time value is increased by 1s.
3. The information processing system according to claim 1, wherein: Before sending the network configuration information to the network layer, the network management daemon is used to: Generate virtual interface information, configure IP address and routing information; Network configuration information is generated based on the virtual interface information, the IP address, and the routing information.
4. The information processing system according to claim 1, wherein: When the value of the active time is greater than a preset time threshold, the network management daemon process is further configured to: A restart instruction is sent to the interface daemon process, and a configuration information deletion instruction is sent to the network layer.
5. The information processing system according to claim 1, wherein: The duration threshold is greater than the first duration.
6. The information processing system according to claim 1, wherein: Before sending network configuration information to the network layer, the network management daemon is used to: When it is identified that the network connection of the network layer is disconnected, adding a suspicious mark to the network configuration information; When the network layer provides network services for the application layer based on the network configuration information, the network layer is configured to: Parsing the network configuration information to obtain the session state corresponding to the network configuration information; When the session state is a valid state, the suspicious mark of the network configuration information is removed, and network services are provided to the application layer based on the network configuration information.
7. The information processing system according to claim 6, wherein: After obtaining the session state corresponding to the network configuration information, the network layer is further configured to: When the session state is invalid, an invalidation notification is sent to the network management daemon process.
8. The information processing system according to claim 7, wherein: The network management daemon is also used to: After receiving the invalidation notification sent by the network layer, stop reporting data to the network layer and delete the network configuration information.
9. An electronic device, characterized in that: include: Memory for storing computer programs; A processor, configured to implement the functional modules of the information processing system according to any one of claims 1 to 8 when executing the computer program.
10. A storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, it can run and implement various functional modules of the information processing system according to any one of claims 1 to 8.