Network element status detection method and device, computer readable medium, and electronic device

Through the mobile control network element and data management network element, the number of communication failures is counted, and the status of the network element is detected and modified, which solves the problem that users in the 4G/5G core network cannot access the network, reduces the network burden, and does not require an additional network management system to be deployed.

CN115134837BActive Publication Date: 2024-11-12CHINA TELECOM CORP LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210744254.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-06-27
Publication Date
2024-11-12
Estimated Expiration
2042-06-27

AI Technical Summary

Technical Problem

In the deployment of 4G/5G core network, when the 5G network user is attached to the 4G network, the mobile control network element cannot detect the status of the data management network element, resulting in the user being unable to access the network. The existing technology actively initiates fault detection through the device node. This leads to excessive network burden.

Method used

The mobile control network element establishes communication with the data management network element by responding to the user's network access request, counts communication messages to determine the number of communication failures, and modifys the status of the data management network element to be faulty when the number of failures is higher than the preset value. status, reduce network burden.

Benefits of technology

The state of network elements of data management is realized through mobile control network elements, which reduces repeated requests for faulty state data management network elements, reduces network burden, and does not require additional network management systems.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115134837B_ABST
    Figure CN115134837B_ABST
Patent Text Reader

Abstract

The present disclosure is about a network element status detection method and device, a computer-readable medium, and an electronic device, and relates to the field of communication technology. The method includes: responding to a user's network access request, and establishing communication between the mobile control network element and the data management network element corresponding to the user according to the network access request; receiving a communication message sent by the data management network element, and determining the number of communication failures of the data management network element according to the received communication message within a preset time period; when the number of communication failures is higher than a preset value, modifying the state of the data management network element to a fault state. The present disclosure implements the mobile control network element to detect the state of the data management network element.
Need to check novelty before this filing date? Find Prior Art

Description

Background Art

[0002] In the 4G / 5G (4th / 5th Generation Mobile Communication Technology) core network deployment, when a 5G network user is attached to a 4G network, the mobile control network element and the data management network element communicate through the S6a interface to complete user authentication and authorization, location update, etc.

[0003] When the state of the data management network element is a fault state, the mobile control network element cannot obtain the state of the data management network element, resulting in no response when the mobile control network element authenticates the data management network element, which in turn causes the user to be unable to access the network. In the related art, there is no method for detecting the state of the data management network element through the mobile control network element, but the device node in the network actively initiates fault detection. However, when the device node in the network actively initiates state detection, the state detection application will be forwarded to different provinces, which brings a large network burden.

[0004] Therefore, it is necessary to provide a new network element status detection method.

[0005] It should be noted that the information disclosed in the above background technology section is only used to enhance the understanding of the background of the present disclosure, and therefore may include information that does not constitute the prior art known to ordinary technicians in the field. Summary of the invention

[0006] The purpose of the present disclosure is to provide a network element status detection method, a network element status detection device, a computer-readable storage medium and an electronic device, thereby overcoming the problem of heavy network burden caused by the limitations and defects of related technologies at least to a certain extent.

[0007] According to one aspect of the present disclosure, a network element status detection method is provided, which is applied to a mobile control network element, including:

[0008] Responding to a network access request from a user, and establishing communication between the mobility control network element and a data management network element corresponding to the user according to the network access request;

[0009] receiving a communication message sent by the data management network element, and determining the number of communication failures of the data management network element according to the received communication message within a preset time period;

[0010] When the number of communication failures is higher than a preset value, the state of the data management network element is modified to a fault state.

[0011] In an exemplary embodiment of the present disclosure, in response to a network access request of a user, establishing communication between the mobility control network element and a data management network element corresponding to the user according to the network access request includes:

[0012] Responding to a network access request of a user, obtaining a user identification code of the user, and determining a data management network element corresponding to the user identification code according to the user identification code;

[0013] The communication between the control mobile network element and the data management network element corresponding to the user identification code is established through the switching device.

[0014] In an exemplary embodiment of the present disclosure, establishing communication between the control mobile network element and the data management network element corresponding to the user identification code through a switching device includes:

[0015] A user contract information request message is sent to the data management network element through the switching device, and communication between the control mobile network element and the data management network element is established through the user contract information request message.

[0016] In an exemplary embodiment of the present disclosure, receiving a communication message sent by the data management network element includes:

[0017] The communication message sent by the data management network element is received through the switching device, wherein the communication message includes the subscription information of the user and the identification code of the data management network element.

[0018] In an exemplary embodiment of the present disclosure, after receiving the communication message sent by the data management network element, the network element status detection method further includes:

[0019] Acquire the identification code of the data management network element included in the communication message, and determine the number segment of the user identification code corresponding to the data management network element;

[0020] Establish a relationship table between the identification code of the data management network element and the number segment of the user identification code, wherein the relationship table includes the identification code of the data management network element, the status of the data management network element, the number of request failures of the data management network element, and the number segment of the user identification code.

[0021] In an exemplary embodiment of the present disclosure, determining the number of communication failures of the data management network element according to the received communication message within a preset time period includes:

[0022] When a user of a number segment of a user identification code corresponding to a data management network element requests to access the network, a request is sent to a target data management network element corresponding to the number segment of the user identification code;

[0023] receiving a communication message sent by the target data management network element, and updating the number of request failures of the target data management network element in the relationship table when the communication message is not received within a preset time period;

[0024] The number of communication failures of the data management network element is determined according to the relationship table.

[0025] In an exemplary embodiment of the present disclosure, when the communication message is not received within a preset time period, updating the number of request failures of the target data management network element in the relationship table includes:

[0026] When multiple requests are sent to the target data management network element within a preset time period and no communication message from the target data management network element is received, the number of request failures of the target data management network element in the relationship table is updated to the number of sent requests;

[0027] Sending requests to the target data management network element multiple times within a preset time period, and when receiving a communication message corresponding to any of the sending requests, updating the number of request failures of the target data management network element in the relationship table to 0;

[0028] After receiving a communication message corresponding to any sending request, a request is sent to the target data management network element again. When the communication message is not received, the number of request failures of the target data management network element is updated based on the number of sending requests, with the number of failures being 0.

[0029] In an exemplary embodiment of the present disclosure, after the state of the data management network element is changed to a fault state, the network element state detection method further includes:

[0030] Sending a message that the target data management network element is in a faulty state to other mobile control network elements and a network management system;

[0031] After a first preset time interval, the number of request failures of the target data management network element in the relationship table is modified to 0, and the state of the target data management network element is modified to a normal state.

[0032] According to one aspect of the present disclosure, a network element status detection device is provided, which is applied to a mobile control network element, including:

[0033] a communication establishing module, configured to respond to a network access request of a user and establish communication between the mobility control network element and a data management network element corresponding to the user according to the network access request;

[0034] A message receiving module, used to receive a communication message sent by the data management network element, and determine the number of communication failures of the data management network element according to the received communication message within a preset time;

[0035] The network element status determination module is used to modify the status of the data management network element to a fault status when the number of communication failures is higher than a preset value.

[0036] According to one aspect of the present disclosure, a computer storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the network element status detection method described in any of the above exemplary embodiments is implemented.

[0037] According to one aspect of the present disclosure, there is provided an electronic device, including:

[0038] Processor; and

[0039] A memory, configured to store executable instructions of the processor;

[0040] The processor is configured to execute the network element status detection method described in any one of the above exemplary embodiments by executing the executable instructions.

[0041] A network element status detection method provided by an embodiment of the present disclosure responds to a network access request of a user, establishes communication between the mobile control network element and a data management network element corresponding to the user according to the network access request; receives a communication message sent by the data management network element, and determines the number of communication failures of the data management network element according to the received communication message within a preset time period; when the number of communication failures is higher than a preset value, modifies the state of the data management network element to a fault state; on the one hand, adds a status detection mechanism in the mobile control network element, and when the mobile control network element receives the network access request of the user, establishes communication between the mobile control network element and the data management network element according to the network access request. The communication between the data management network elements is carried out by counting the communication messages sent by the data management network elements to obtain the number of communication failures of the data management network elements, and the status of the data management network elements is detected by the number of communication failures of the data management network elements, thereby realizing the status detection of the data management network elements by the mobile control network elements; on the other hand, since different regions use different network management systems, the status of the data management network elements is determined by the communication messages sent by the received data management network elements, and there is no need to deploy an additional network management system. The status of the data management network elements in other regions can be detected by the mobile control network elements in the local area, reducing the network burden caused by repeatedly sending requests to the data management network elements in a faulty state.

[0042] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0043] The accompanying drawings herein are incorporated into the specification and constitute a part of the specification, illustrate embodiments consistent with the present disclosure, and together with the specification are used to explain the principles of the present disclosure. Obviously, the accompanying drawings described below are only some embodiments of the present disclosure, and for ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without creative work.

[0044] Figure 1 A flowchart of a network element status detection method applied to a mobile control network element according to an exemplary embodiment of the present disclosure is schematically shown.

[0045] Figure 2 A block diagram of a network element status detection system applied to a mobile control network element according to an exemplary embodiment of the present disclosure is schematically shown.

[0046] Figure 3 A flow chart schematically illustrates a method for establishing communication between a mobility control network element and a data management network element corresponding to a user according to a network access request according to an exemplary embodiment of the present disclosure.

[0047] Figure 4 A flowchart of a method for detecting a network element status after a mobility control network element receives a communication message sent by a data management network element according to an exemplary embodiment of the present disclosure is schematically shown.

[0048] Figure 5 A flowchart of a method for determining the number of communication failures of a data management network element according to received communication messages within a preset time period according to an exemplary embodiment of the present disclosure is schematically shown.

[0049] Figure 6 A flowchart of a method for updating the number of request failures of a target data management network element in a relationship table when no communication message is received within a preset time period according to an exemplary embodiment of the present disclosure is schematically shown.

[0050] Figure 7 A flowchart of a method for detecting a network element status after the status of a data management network element is modified to a fault status according to an example embodiment of the present disclosure is schematically shown.

[0051] Figure 8 A block diagram schematically shows a network element status detection device applied to a mobile control network element according to an exemplary embodiment of the present disclosure.

[0052] Fig. 9 An electronic device for implementing the above-mentioned network element status detection method according to an exemplary embodiment of the present disclosure is schematically shown. DETAILED DESCRIPTION

[0053] Example embodiments will now be described more fully with reference to the accompanying drawings. However, example embodiments can be implemented in a variety of forms and should not be construed as being limited to the examples set forth herein; on the contrary, these embodiments are provided so that the present disclosure will be more comprehensive and complete, and the concepts of the example embodiments are fully conveyed to those skilled in the art. The described features, structures, or characteristics may be combined in one or more embodiments in any suitable manner. In the following description, many specific details are provided to provide a full understanding of the embodiments of the present disclosure. However, those skilled in the art will appreciate that the technical solutions of the present disclosure may be practiced while omitting one or more of the specific details, or other methods, components, devices, steps, etc. may be adopted. In other cases, known technical solutions are not shown or described in detail to avoid obscuring various aspects of the present disclosure.

[0054] In addition, the accompanying drawings are only schematic illustrations of the present disclosure and are not necessarily drawn to scale. The same reference numerals in the figures represent the same or similar parts, and their repeated description will be omitted. Some of the block diagrams shown in the accompanying drawings are functional entities and do not necessarily correspond to physically or logically independent entities. These functional entities can be implemented in software form, or implemented in one or more hardware modules or integrated circuits, or implemented in different networks and / or processor devices and / or microcontroller devices.

[0055] In this exemplary embodiment, a network element status detection method is first provided, which can be run on a mobile control network element; of course, those skilled in the art can also run the method of the present invention on other platforms as required, which is not specifically limited in this exemplary embodiment. Figure 1 As shown, the network element status detection method may include steps S110 to S130:

[0056] Step S110. Responding to the user's network access request, establishing communication between the mobility control network element and the data management network element corresponding to the user according to the network access request;

[0057] Step S120. Receive a communication message sent by the data management network element, and determine the number of communication failures of the data management network element according to the received communication message within a preset time period;

[0058] Step S130: When the number of communication failures is higher than a preset value, the state of the data management network element is changed to a fault state.

[0059] The network element status detection method responds to a user's network access request, establishes communication between the mobile control network element and the data management network element corresponding to the user according to the network access request; receives a communication message sent by the data management network element, and determines the number of communication failures of the data management network element according to the received communication message within a preset time period; when the number of communication failures is higher than a preset value, modifies the state of the data management network element to a fault state; on the one hand, adds a state detection mechanism in the mobile control network element, and when the mobile control network element receives the user's network access request, establishes communication between the mobile control network element and the data management network element according to the network access request By counting the communication messages sent by the data management network element, the number of communication failures of the data management network element is obtained, and the status of the data management network element is detected by the number of communication failures of the data management network element, thereby realizing the status detection of the data management network element by the mobile control network element; on the other hand, since different regions use different network management systems, the above-mentioned communication messages sent by the received data management network element are used to determine the status of the data management network element. There is no need to deploy an additional network management system, and the status of the data management network elements in other regions can be detected by the mobile control network elements in the local area, reducing the network burden caused by repeatedly sending requests to the data management network elements in a faulty state.

[0060] The following is a detailed explanation and description of each step involved in the network element status detection method of the exemplary embodiment of the present disclosure.

[0061] First, the application scenario and purpose of the exemplary embodiment of the present disclosure are explained and illustrated. Specifically, the exemplary embodiment of the present disclosure can be applied to detect the status of a data management network element, mainly studying how a mobile control network element in a local area can detect the status of data management network elements in other areas.

[0062] In the present disclosure, based on the network access request of the user received by the mobile control network element in the local area, after the mobile control network element in the local area receives the network access request of the user, the communication between the mobile control network element in the local area and the data management network elements in other regions corresponding to the user is established according to the network access request of the user; after the communication is established, the mobile control network element in the local area receives the communication messages sent by the data management network elements in other regions, the mobile control network element in the local area counts the received communication messages, obtains the number of communication failures of the data management network elements in other regions, and determines the status of the data management network elements in other regions according to the number of communication failures of the data management network elements in other regions, thereby realizing the detection of the status of the data management network elements in other regions by the mobile control network element in the local area, and reducing the network burden.

[0063] Next, the network element status detection system involved in the exemplary embodiment of the present disclosure is explained and illustrated. Figure 2 As shown, the network element status detection system may include a mobile control network element device 210 , a switching device 220 and a data management network element device 230 . Among them, the mobile control network element device 210 is a mobile control network element device in any area, which is used to receive a network access request from a user located in any area, and determine the data management network element device corresponding to the user according to the network access request of the user, that is, determine the user's place of origin and the data management network element device of the user's place of origin. The area where the data management network element device is located is not the same area as the area where the mobile control network element device is located. After determining the data management network element device corresponding to the user, communication with the data management network element device 230 is established through the switching device 220; after establishing communication, the data management network element device 230 receives the communication message sent by the mobile control network element device 210, and the mobile control network element device 210 establishes a relationship table between the number segment of the user identification code and the data management network element device 230 according to the received communication message. The mobile control network element 210 maintains the relationship table according to the communication message received within the preset time period, and updates the status of the data management network element according to the number of communication failures of the data management network element device recorded in the relationship table.

[0064] The following will be combined Figure 2 Steps S110 to S130 are explained and illustrated in detail.

[0065] In step S110, in response to a network access request of a user, communication between the mobility control network element and a data management network element corresponding to the user is established according to the network access request.

[0066] Among them, the user can be a 5G contract user, and the network the user is in can be a 4G network or a 5G network. When the 5G contract user leaves the 5G network range, the network used is the 4G network. When the user's contract location is City A and the user's current city is City B, when the user needs to access the network, it needs to send a network access request to the mobile control network element of the core network of City B. After receiving the network access request, the mobile control network element of City B needs to obtain the user's contract information to authenticate and authorize the user, etc. After the authentication and authorization are passed, the user is connected to the network.

[0067] In this example embodiment, reference Figure 3 As shown, in response to the network access request of the user, establishing communication between the mobile control network element and the data management network element corresponding to the user according to the network access request may include steps S310 and S320:

[0068] Step S310. Respond to the user's network access request, obtain the user identification code of the user, and determine the data management network element corresponding to the user identification code according to the user identification code;

[0069] Step S320: Establish communication between the control mobile network element and the data management network element corresponding to the user identification code through a switching device.

[0070] In the following, step S310 and step S320 will be further explained and illustrated. Specifically, first, the mobile control network element in the area where the user is currently located receives the user's network access request. After the mobile control network element in the area where the user is currently located receives the network access request, it obtains the user identification code of the user who sent the network access request, determines the user's location based on the obtained user identification code, and determines the data management network element corresponding to the user based on the user's location. The data management network element includes the user's contract information, where the contract information can be the user's contract package or the user's traffic rate, etc. In this example embodiment, the contract information is not specifically limited. After the mobile control network element obtains the data management network element corresponding to the user, communication between the mobile control network element and the data management network element can be established through a switching device.

[0071] Furthermore, establishing the communication between the control mobile network element and the data management network element corresponding to the user identification code through the switching device may include:

[0072] A user contract information request message is sent to the data management network element through the switching device, and communication between the control mobile network element and the data management network element is established through the user contract information request message.

[0073] Specifically, when establishing communication between a mobile control network element and a data management network element, a request for obtaining user contract information can be sent from the mobile control network element to the data management network element. When sending the request for obtaining user contract information, since the mobile control network element and the data management network element are located in different areas, the request for obtaining user contract information sent by the mobile control network element can be forwarded through a switching device. The request for obtaining user contract information sent by the mobile control network element can be forwarded to the corresponding data management network element to establish communication between the mobile control network element and the data management network element corresponding to the user.

[0074] In step S120, a communication message sent by the data management network element is received, and the number of communication failures of the data management network element is determined according to the received communication message within a preset time period.

[0075] Among them, after the communication between the mobile control network element and the data management network element is established through the switching device, the data management network element can send a communication message corresponding to the request for obtaining the user contract information to the switching device based on the request for obtaining the user contract information forwarded by the switching device, so as to send the communication message to the mobile control network element through the switching device.

[0076] In this example embodiment, receiving a communication message sent by a data management network element may include:

[0077] The communication message sent by the data management network element is received through the switching device, wherein the communication message includes the subscription information of the user and the identification code of the data management network element.

[0078] Specifically, when the data management network element receives a request to obtain user contract information sent by a mobile management network element and forwarded by a switching device, it obtains the user's communication information according to the acquisition request, and forwards the communication message from the switching device to the mobile management network element. The communication message may include the user's contract information and may also include an identification code of the data management network element that sends the contract information.

[0079] In this example embodiment, reference Figure 4 As shown, after the mobility control network element receives the communication message sent by the data management network element, the network element status detection method may further include step S410 and step S420:

[0080] Step S410. Obtain the identification code of the data management network element included in the communication message, and determine the number segment of the user identification code corresponding to the data management network element;

[0081] Step S420. Establish a relationship table between the identification code of the data management network element and the number segment of the user identification code, wherein the relationship table includes the identification code of the data management network element, the status of the data management network element, the number of request failures of the data management network element and the number segment of the user identification code.

[0082] In the following, step S410 and step S420 will be further explained and illustrated. Specifically, after the mobile control network element receives the communication message forwarded by the switching device, first, the identification code of the data management network element included in the communication message is obtained, and the number segment of the user identification code corresponding to the data management network element is determined; then, a relationship table is established based on the identification code of the data management network element and the number segment of the user identification code corresponding to the data management network element, and the relationship table includes the identification code of the data management network element, the number segment of the user identification code, the number of request failures of the data management network element, and the status of the data management network element. Among them, the number segment of the user identification code corresponding to the data management network element may be the number segment managed by the data management network element. The generated relationship table is shown in reference Table 1.

[0083] Table 1. Relationship table

[0084]

[0085] After the relationship table is established, the mobile control network element can maintain the relationship table. Figure 5 As shown, determining the number of communication failures of the data management network element according to the received communication message within the preset time period may include steps S510 to S530:

[0086] Step S510. When a user of a user identification code segment corresponding to a data management network element requests to access the network, a request is sent to a target data management network element corresponding to the user identification code segment;

[0087] Step S520. Receive a communication message sent by the target data management network element, and when the communication message is not received within a preset time period, update the number of request failures of the target data management network element in the relationship table;

[0088] Step S530: Determine the number of communication failures of the data management network element according to the relationship table.

[0089] In the following, step S510 to step S530 will be further explained and illustrated. Specifically, first, after the connection is established, when a user of the user identification code segment corresponding to the data management network element requests the mobile control network element to access the network, the mobile control network element sends a request to the target data management network element corresponding to the user identification code segment, and the target data management network element sends the corresponding communication message to the mobile control network element through the switching device according to the received request. Within a preset time period, when the mobile control network element does not receive the communication message sent by the target data management network element, the mobile control network element can update the number of request failures of the target data management network element in the relationship table, and determine the number of request failures of the target data management network element according to the updated relationship table.

[0090] For further reference, Figure 6 As shown, within a preset time period, when no communication message is received, the number of request failures of the target data management network element in the relationship table is updated, which may include steps S610-S630:

[0091] Step S610. When multiple requests are sent to the target data management network element within a preset time period and no communication message from the target data management network element is received, the number of failures of the target data management network element in the relationship table is updated to the number of sent requests;

[0092] Step S620. Send a request to the target data management network element multiple times within a preset time period, and when a communication message corresponding to any of the sending requests is received, update the number of request failures of the target data management network element in the relationship table to 0;

[0093] Step S630. After receiving a communication message corresponding to any sending request, send a request to the target data management network element again. When the communication message is not received, the number of request failures of the target data management network element is updated based on the number of sending requests, assuming the number of failures is 0.

[0094] In the following, step S610-step S630 will be further explained and illustrated. Specifically, first, within a preset time period, when the mobile management network element does not receive a communication message sent by the target data management network element, it can send requests to the target data management network element multiple times. When the mobile management network element sends multiple requests and does not receive a communication message sent by the target data management network element forwarded by the switching device, the mobile control network element can update the number of request failures of the target data management network element in the relationship table. When the initial number of request failures of the target data management network element in the relationship table is 0, the number of request failures of the target data management network element can be updated to the number of requests sent by the mobile control network element according to the number of requests sent by the mobile control network element.

[0095] When the mobile control network element sends a request to the target data management network element multiple times, and each time the mobile control network element sends a request, the mobile control network element does not receive a communication message sent by the target data management network element, the number of failed requests of the target data management network element in the relationship table can be updated by cumulative addition of 1; during this period, when a communication message sent by a target data management network element is received, the mobile control network element can update the number of failed requests of the target data management network element in the relationship table to 0. After the number of failed requests of the target data management network element is updated to 0, the mobile control network element sends a request again, and still does not receive a communication message sent by the target data management network element, the mobile control network element updates the number of failed requests of the target data management network element again in the relationship table based on 0 according to the number of requests sent.

[0096] In step S130, when the number of communication failures is higher than a preset value, the state of the data management network element is modified to a fault state.

[0097] In this example embodiment, after the mobility control network element updates the number of request failures of the target data management network element in the relationship table, the state of the target data management network element can be determined according to the number of request failures of the target data management network element in the relationship table after the update. Specifically, within a preset time period, when the number of request failures of the target data management network element in the relationship table is higher than a preset value, the mobility control network element can update the state of the target data management network element to a fault state.

[0098] In this example embodiment, reference Figure 7 As shown, after the state of the data management network element is changed to a fault state, the network element state detection method may further include step S710 and step S720:

[0099] Step S710. Send a message that the target data management network element is in a faulty state to other mobile control network elements and a network management system;

[0100] Step S720: After a first preset time interval, the number of request failures of the target data management network element in the relationship table is modified to 0, and the state of the target data management network element is modified to a normal state.

[0101] In the following, step S710 and step S720 will be further explained and illustrated. Specifically, after the mobile control network element modifies the state of the target data management network element to a faulty state according to the number of failed requests of the target data management network element within a preset time period, a message that the target data management network element is in a faulty state may be sent to other mobile control network elements and network management systems in the local area; after the mobile control network element modifies the state of the target data management network element to a faulty state, after a first preset time interval, the mobile control network element may modify the state of the target data management network element in the relationship table to normal again, and modify the number of failed requests of the target data management network element to 0. In this example embodiment, by sending a message that the state of the target data management network element is a faulty state to other mobile control network elements and network management systems, the number of times the mobile control network element sends requests to the target data management network element is reduced, thereby reducing network pressure.

[0102] The gateway status detection method provided by the example embodiments of the present disclosure has at least the following advantages: on the one hand, a status detection mechanism is added to the mobile control network element, and when the mobile control network element receives a network access request from a user, communication is established between the mobile control network element and the data management network element according to the network access request, and the number of communication failures of the data management network element is obtained by counting the communication messages sent by the data management network element, and the status of the data management network element is detected according to the number of communication failures of the data management network element, thereby realizing the status detection of the data management network element by the mobile control network element; on the other hand, since different regions use different network management systems, the status of the data management network element is determined by the communication messages sent by the received data management network element, and there is no need to deploy an additional network management system. The status of the data management network elements in other regions can be detected by the mobile control network element in the local region, thereby reducing the network burden caused by repeatedly sending requests to the data management network element in a faulty state.

[0103] The exemplary embodiment of the present disclosure also provides a network element status detection device applied to a mobile control network element, referring to Figure 8 As shown, it may include: a communication establishment module 810, a message receiving module 820 and a network element status determination module 830. Among them:

[0104] The communication establishment module 810 is used to respond to the network access request of the user and establish the communication between the mobility control network element and the data management network element corresponding to the user according to the network access request;

[0105] The message receiving module 820 is used to receive the communication message sent by the data management network element, and determine the number of communication failures of the data management network element according to the received communication message within a preset time;

[0106] The network element status determination module 830 is used to modify the status of the data management network element to a fault status when the number of communication failures is higher than a preset value.

[0107] The specific details of each module in the above-mentioned network element status detection device have been described in detail in the corresponding network element status detection method, so they will not be repeated here.

[0108] In an exemplary embodiment of the present disclosure, in response to a network access request of a user, establishing communication between the mobility control network element and a data management network element corresponding to the user according to the network access request includes:

[0109] Responding to a network access request of a user, obtaining a user identification code of the user, and determining a data management network element corresponding to the user identification code according to the user identification code;

[0110] The communication between the control mobile network element and the data management network element corresponding to the user identification code is established through the switching device.

[0111] In an exemplary embodiment of the present disclosure, establishing communication between the control mobile network element and the data management network element corresponding to the user identification code through a switching device includes:

[0112] A user contract information request message is sent to the data management network element through the switching device, and communication between the control mobile network element and the data management network element is established through the user contract information request message.

[0113] In an exemplary embodiment of the present disclosure, receiving a communication message sent by the data management network element includes:

[0114] The communication message sent by the data management network element is received through the switching device, wherein the communication message includes the subscription information of the user and the identification code of the data management network element.

[0115] In an exemplary embodiment of the present disclosure, after receiving the communication message sent by the data management network element, the network element status detection method further includes:

[0116] Acquire the identification code of the data management network element included in the communication message, and determine the number segment of the user identification code corresponding to the data management network element;

[0117] Establish a relationship table between the identification code of the data management network element and the number segment of the user identification code, wherein the relationship table includes the identification code of the data management network element, the status of the data management network element, the number of request failures of the data management network element, and the number segment of the user identification code.

[0118] In an exemplary embodiment of the present disclosure, determining the number of communication failures of the data management network element according to the received communication message within a preset time period includes:

[0119] When a user of a number segment of a user identification code corresponding to a data management network element requests to access the network, a request is sent to a target data management network element corresponding to the number segment of the user identification code;

[0120] receiving a communication message sent by the target data management network element, and updating the number of request failures of the target data management network element in the relationship table when the communication message is not received within a preset time period;

[0121] The number of communication failures of the data management network element is determined according to the relationship table.

[0122] In an exemplary embodiment of the present disclosure, when the communication message is not received within a preset time period, updating the number of request failures of the target data management network element in the relationship table includes:

[0123] When multiple requests are sent to the target data management network element within a preset time period and no communication message from the target data management network element is received, the number of request failures of the target data management network element in the relationship table is updated to the number of sent requests;

[0124] Sending requests to the target data management network element multiple times within a preset time period, and when receiving a communication message corresponding to any of the sending requests, updating the number of request failures of the target data management network element in the relationship table to 0;

[0125] After receiving a communication message corresponding to any sending request, a request is sent to the target data management network element again. When the communication message is not received, the number of request failures of the target data management network element is updated based on the number of sending requests, with the number of failures being 0.

[0126] In an exemplary embodiment of the present disclosure, after the state of the data management network element is changed to a fault state, the network element state detection method further includes:

[0127] Sending a message that the target data management network element is in a faulty state to other mobile control network elements and a network management system;

[0128] After a first preset time interval, the number of request failures of the target data management network element in the relationship table is modified to 0, and the state of the target data management network element is modified to a normal state.

[0129] It should be noted that, although several modules or units of the device for action execution are mentioned in the above detailed description, this division is not mandatory. In fact, according to the embodiments of the present disclosure, the features and functions of two or more modules or units described above can be embodied in one module or unit. On the contrary, the features and functions of one module or unit described above can be further divided into multiple modules or units to be embodied.

[0130] In addition, although the steps of the method in the present disclosure are described in a specific order in the drawings, this does not require or imply that the steps must be performed in this specific order, or that all the steps shown must be performed to achieve the desired results. Additionally or alternatively, some steps may be omitted, multiple steps may be combined into one step, and / or one step may be decomposed into multiple steps, etc.

[0131] In an exemplary embodiment of the present disclosure, an electronic device capable of implementing the above method is also provided.

[0132] Those skilled in the art will appreciate that various aspects of the present disclosure may be implemented as systems, methods or program products. Therefore, various aspects of the present disclosure may be specifically implemented in the following forms, namely: complete hardware implementation, complete software implementation (including firmware, microcode, etc.), or a combination of hardware and software, which may be collectively referred to herein as "circuits", "modules" or "systems".

[0133] Refer to the following Fig. 9 The electronic device 900 according to this embodiment of the present disclosure is described. Fig. 9 The electronic device 900 shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.

[0134] like Fig. 9 As shown, the electronic device 900 is in the form of a general computing device. The components of the electronic device 900 may include, but are not limited to: the at least one processing unit 910, the at least one storage unit 920, a bus 930 connecting different system components (including the storage unit 920 and the processing unit 910), and a display unit 940.

[0135] The storage unit stores a program code, which can be executed by the processing unit 910, so that the processing unit 910 performs the steps according to various exemplary embodiments of the present disclosure described in the above “Exemplary Method” section of this specification. For example, the processing unit 910 can perform the following steps: Figure 1 Step S110 shown in: respond to the user's network access request, and establish communication between the mobile control network element and the data management network element corresponding to the user according to the network access request; S120: receive the communication message sent by the data management network element, and determine the number of communication failures of the data management network element within a preset time period according to the received communication message; S130: when the number of communication failures is higher than a preset value, modify the state of the data management network element to a fault state.

[0136] The storage unit 920 may include a readable medium in the form of a volatile storage unit, such as a random access storage unit (RAM) 9201 and / or a cache storage unit 9202 , and may further include a read-only storage unit (ROM) 9203 .

[0137] The storage unit 920 may also include a program / utility 9204 having a set (at least one) of program modules 9205, such program modules 9205 including but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment.

[0138] Bus 930 may represent one or more of several types of bus structures, including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.

[0139] The electronic device 900 may also communicate with one or more external devices 1000 (e.g., keyboards, pointing devices, Bluetooth devices, etc.), may also communicate with one or more devices that enable a user to interact with the electronic device 900, and / or communicate with any device that enables the electronic device 900 to communicate with one or more other computing devices (e.g., routers, modems, etc.). Such communication may be performed via an input / output (I / O) interface 950. Furthermore, the electronic device 900 may also communicate with one or more networks (e.g., local area networks (LANs), wide area networks (WANs), and / or public networks, such as the Internet) via a network adapter 960. As shown, the network adapter 960 communicates with other modules of the electronic device 900 via a bus 930. It should be understood that, although not shown in the figure, other hardware and / or software modules may be used in conjunction with the electronic device 900, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, etc.

[0140] Through the description of the above implementation, it is easy for those skilled in the art to understand that the example implementation described here can be implemented by software, or by software combined with necessary hardware. Therefore, the technical solution according to the implementation of the present disclosure can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, including several instructions to enable a computing device (which can be a personal computer, a server, a terminal device, or a network device, etc.) to execute the method according to the implementation of the present disclosure.

[0141] In an exemplary embodiment of the present disclosure, a computer-readable storage medium is also provided, on which a program product capable of implementing the above method of the present specification is stored. In some possible implementations, various aspects of the present disclosure may also be implemented in the form of a program product, which includes a program code, and when the program product is run on a terminal device, the program code is used to enable the terminal device to execute the steps according to various exemplary implementations of the present disclosure described in the above "Exemplary Method" section of the present specification.

[0142] According to the program product for implementing the above method in the embodiment of the present disclosure, it can adopt a portable compact disk read-only memory (CD-ROM) and include program code, and can be run on a terminal device, such as a personal computer. However, the program product of the present disclosure is not limited thereto. In this document, a readable storage medium can be any tangible medium containing or storing a program, which can be used by or in combination with an instruction execution system, an apparatus or a device.

[0143] The program product may use any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples (non-exhaustive list) of readable storage media include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.

[0144] Computer readable signal media may include data signals propagated in baseband or as part of a carrier wave, in which readable program code is carried. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Readable signal media may also be any readable medium other than a readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device.

[0145] The program code embodied on the readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wired, optical cable, RF, etc., or any suitable combination of the foregoing.

[0146] Program code for performing the operations of the present disclosure may be written in any combination of one or more programming languages, including object-oriented programming languages ​​such as Java, C++, etc., and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, as a separate software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server. In cases involving a remote computing device, the remote computing device may be connected to the user computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computing device (e.g., through the Internet using an Internet service provider).

[0147] In addition, the above-mentioned figures are only schematic illustrations of the processes included in the method according to the exemplary embodiments of the present disclosure, and are not intended to be limiting. It is easy to understand that the processes shown in the above-mentioned figures do not indicate or limit the time sequence of these processes. In addition, it is also easy to understand that these processes can be performed synchronously or asynchronously, for example, in multiple modules.

[0148] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary technical means in the art that are not disclosed in the present disclosure. The specification and examples are to be considered as exemplary only, and the true scope and spirit of the present disclosure are indicated by the claims.

Claims

1. A network element status detection method, characterized in that: Applied to mobile control network elements, including: Responding to a network access request from a user, and establishing communication between the mobility control network element and a data management network element corresponding to the user according to the network access request; Receive a communication message sent by the data management network element through a switching device; wherein the communication message includes the user's contract information and the identification code of the data management network element; obtain the identification code of the data management network element included in the communication message, and determine the number segment of the user identification code corresponding to the data management network element; establish a relationship table between the identification code of the data management network element and the number segment of the user identification code; wherein the relationship table includes the identification code of the data management network element, the status of the data management network element, the number of request failures of the data management network element, and the number segment of the user identification code; when a user of the number segment of the user identification code corresponding to the data management network element requests to access the network, send a request to the target data management network element corresponding to the number segment of the user identification code; receive the communication message sent by the target data management network element, and within a preset time period, when the communication message is not received, update the number of request failures of the target data management network element in the relationship table; determine the number of communication failures of the data management network element according to the relationship table; When the number of communication failures is higher than a preset value, the state of the data management network element is modified to a fault state.

2. The network element status detection method according to claim 1, characterized in that: Responding to a network access request of a user, and establishing communication between the mobility control network element and a data management network element corresponding to the user according to the network access request, including: Responding to a network access request of a user, obtaining a user identification code of the user, and determining a data management network element corresponding to the user identification code according to the user identification code; The communication between the mobile control network element and the data management network element corresponding to the user identification code is established through the switching device.

3. The network element status detection method according to claim 2, characterized in that: Establishing communication between the mobile control network element and the data management network element corresponding to the user identification code through a switching device includes: A user contract information request message is sent to the data management network element through the switching device, and communication between the mobile control network element and the data management network element is established through the user contract information request message.

4. The network element status detection method according to claim 1, characterized in that: When the communication message is not received within a preset time period, updating the number of request failures of the target data management network element in the relationship table includes: When multiple requests are sent to the target data management network element within a preset time period and no communication message from the target data management network element is received, the number of request failures of the target data management network element in the relationship table is updated to the number of sent requests; Sending requests to the target data management network element multiple times within a preset time period, and when receiving a communication message corresponding to any of the sending requests, updating the number of request failures of the target data management network element in the relationship table to 0; After receiving a communication message corresponding to any sending request, a request is sent to the target data management network element again. When the communication message is not received, the number of request failures of the target data management network element is updated based on the number of sending requests, with the number of failures being 0.

5. The network element status detection method according to claim 4, characterized in that: After the state of the data management network element is changed to a fault state, the network element state detection method further includes: Sending a message that the target data management network element is in a faulty state to other mobile control network elements and a network management system; After a first preset time interval, the number of request failures of the target data management network element in the relationship table is modified to 0, and the state of the target data management network element is modified to a normal state.

6. A network element status detection device, characterized in that: Applied to mobile control network elements, including: a communication establishing module, configured to respond to a network access request of a user and establish communication between the mobility control network element and a data management network element corresponding to the user according to the network access request; A message receiving module, used to receive a communication message sent by the data management network element through a switching device; wherein the communication message includes the user's contract information and the identification code of the data management network element; obtain the identification code of the data management network element included in the communication message, and determine the number segment of the user identification code corresponding to the data management network element; establish a relationship table between the identification code of the data management network element and the number segment of the user identification code; wherein the relationship table includes the identification code of the data management network element, the status of the data management network element, the number of request failures of the data management network element, and the number segment of the user identification code; when a user of the number segment of the user identification code corresponding to the data management network element requests to access the network, send a request to the target data management network element corresponding to the number segment of the user identification code; receive the communication message sent by the target data management network element, and when the communication message is not received within a preset time period, update the number of request failures of the target data management network element in the relationship table; determine the number of communication failures of the data management network element according to the relationship table; The network element status determination module is used to modify the status of the data management network element to a fault status when the number of communication failures is higher than a preset value.

7. A computer storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the network element status detection method according to any one of claims 1 to 5 is implemented.

8. An electronic device, characterized in that: include: processor; as well as A memory, configured to store executable instructions of the processor; The processor is configured to execute the network element status detection method according to any one of claims 1 to 5 by executing the executable instructions.