[0086] Specific application example 2:
[0087] The management platform defines faults or abnormal events as follows:
[0088] Event B: Illegal movement. This event applies to the location of the wireless sensor network terminal when the terminal user signs up. Such as vending machine monitoring settings, parking lot monitoring equipment, etc.
[0089] Relevant parameters for determining event B: contracted location information, which is a location range, expressed in latitude and longitude coordinates (X1-X2, Y1-Y2), where X1 is less than X2, and Y1 is less than Y2.
[0090] The corresponding processing method: deny terminal access, or reduce the resources provided to the terminal, or perform detachment of the terminal.
[0091] 2. The management platform sends the events to be monitored, related parameters, or/and processing methods after the events occur to the wireless sensor network gateway.
[0092] 3. The wireless sensor network gateway monitors and detects the connected wireless sensor network terminal according to the parameters related to the received event. The event detection method is as follows:
[0093] 3.1. If each wireless sensor network terminal includes a GPS positioning module, the location information can be used as part of the request signaling when requesting access, where the location information is the longitude and latitude coordinates (X, Y) of the terminal. When the wireless sensor network gateway receives the request, it determines whether the location information (X, Y) in the access request is within the range defined by the event-related parameters. The specific method for determining is to compare whether the longitude X of the terminal is in the event-related parameters. Between X1 and X2, and compare whether the latitude Y of the terminal is between Y1 and Y2 of the event-related parameters. If the value of X is less than X1 or greater than X2, or the value of Y is less than Y1 or greater than Y2, then the location of the terminal is considered Beyond the defined range, the terminal is determined to be an illegal move.
[0094] 3.2. When the wireless sensor network terminal requests access for the first time, the wireless sensor network gateway saves its location information (Xa, Ya). In the subsequent access of the terminal, the terminal still needs to include the current location information (Xb, Yb) in the access request, and the wireless sensor network gateway can compare the location information (Xb, Yb) in the access request with the previous Whether the location information (Xa, Ya) of one access matches, the specific comparison method is whether Xb is greater than or equal to Xa-m and less than or equal to Xa+m, and whether Yb is greater than or equal to Ya-m and less than or equal to Ya+m, where m It is the position statistical error margin value, indicating that the position deviation within this range is acceptable, and the management platform or the user server does not update its position information, it is judged as an illegal movement.
[0095] 4. Once the wireless sensor network gateway detects an illegal movement of a wireless sensor network terminal, it will report the failure or abnormal event to the management platform. The report content includes: the occurrence of the failure or abnormal event: event B (illegal movement) , Wireless sensor network terminal identification: WSN_UE_ID, or/and the time when the fault or abnormal event occurs: 2010-5-27 10:48, or/and the place where the fault or abnormal event occurs: latitude and longitude coordinates or wireless sensor gateway identification WSN_GW_ID ; Or when the gateway has locally received the corresponding processing method for the event sent by the management platform, it performs the operation according to the processing method, that is, denies the terminal's access, or reduces the resources provided to the terminal, or executes the terminal Deattach.
[0096] 5. After receiving the report sent by the wireless sensor network gateway, the management platform can send the corresponding processing method of the event to the wireless sensor network gateway.
[0097] 6. The wireless sensor network gateway performs operations according to the corresponding processing method of the received event, that is, denies the terminal's access, or reduces the resources provided to the terminal, or performs detachment of the terminal.
[0098] image 3 It is a schematic structural diagram of an embodiment of the system for managing wireless sensor network terminals provided by the present invention. Combine figure 1 with 2 The method shown, image 3 The illustrated system embodiment includes a network entity or a network element 31 of a wireless sensor network, a management network element 32, and a wireless sensor network terminal 33, including:
[0099] The monitoring module 311 is used to monitor the wireless sensor network terminal 32;
[0100] The management module 312 is configured to report the detected fault or abnormal event to the management network element when a fault or abnormal event occurs, or perform corresponding operations according to a predefined processing method after the fault or abnormal event occurs.
[0101] Further, the fault or abnormal event and/or the processing method after the fault or abnormality occurs is defined by the management network element and sent to the network entity or the network element 31 of the wireless sensor network.
[0102] Further, the management network element 32 is used to notify the network entity or the network element of the wireless sensor network of the judgment condition of the failure or abnormality.
[0103] Further, the monitoring module 311 is specifically configured to:
[0104] Send a detection message to the wireless sensor network terminal 33, and set a timer T. After the wireless sensor network terminal 33 receives the detection message, it receives the feedback message sent by the wireless sensor network terminal 33. If the timer T expires, If no feedback message is received, it is determined that the wireless sensor network terminal 33 is malfunctioning or abnormal; or,
[0105] Or set a timer T, and start the timer T when the monitoring starts. If no signaling or data from the wireless sensor network terminal 33 is received when the timer T expires, it is determined that the wireless sensor network terminal 33 is malfunctioning or Abnormal; or,
[0106] Send the detection cycle to the wireless sensor network terminal 33, and set the timer T1 locally. The wireless sensor network terminal 33 sets the timer T2 according to the received detection cycle. After the value of T2 is less than the value of T1, the wireless sensor network terminal 33 receives the wireless transmission. The sensor network terminal 33 sends the online instruction when the timer T2 expires. After receiving the online instruction, it restarts the local timer T1. If T1 does not receive the online instruction from the wireless sensor network terminal 33 at the time, it is determined The wireless sensor network terminal 33 is malfunctioning or abnormal.
[0107] Further, the monitoring module 311 is specifically configured to:
[0108] According to the received location information contained in the access request sent by the wireless sensor network terminal 33 and the preset location information, if the location information contained in the access request exceeds the pre-defined location information range, it is determined The wireless sensor network terminal 33 is malfunctioning or abnormal; or,
[0109] When the wireless sensor network terminal 33 sends an access request, save the location information in the access request, and when the wireless sensor network terminal 33 sends the access request again, compare the location information in the current access request with the saved location If the information does not match, it is determined that the wireless sensor network terminal 33 is malfunctioning or abnormal.
[0110] Further, the fault or abnormal event report includes at least one of the fault or abnormal event that occurred, the identification of the wireless sensor network terminal 33, the time when the fault or abnormal event occurred, and the location where the fault or abnormal event occurred.
[0111] Further, the management network element 32 is also used to notify the user of the wireless sensor network terminal 33 of the failure or abnormal event, or notify the network entity or the network element of the wireless sensor network to perform a corresponding operation, wherein the operation includes rejecting the The access of the wireless sensor network terminal 33 may reduce the resources provided to the wireless sensor network terminal 33, or perform detachment of the wireless sensor network terminal 33.
[0112] Further, the management module 312 is specifically configured to:
[0113] The access of the wireless sensor network terminal 33 is denied, or the resources provided to the wireless sensor network terminal 33 are reduced, or the wireless sensor network terminal 33 is detached.
[0114] The system provided by the present invention, by monitoring the wireless sensor network terminal, manages the fault or abnormal event of the wireless sensor network terminal, ensures that the wireless sensor network terminal can get better service in the telecommunication network, and improves the network The quality of service.
[0115] A person of ordinary skill in the art can understand that all or part of the steps of the above-mentioned embodiments can be implemented using a computer program flow, the computer program can be stored in a computer-readable storage medium, and the computer program is on a corresponding hardware platform (such as System, equipment, device, device, etc.), when executed, include one of the steps of the method embodiment or a combination thereof.
[0116] Optionally, all or part of the steps in the above-mentioned embodiments can also be implemented using integrated circuits, and these steps can be separately fabricated into integrated circuit modules, or multiple modules or steps of them can be fabricated into a single integrated circuit module. achieve. In this way, the present invention is not limited to any specific combination of hardware and software.
[0117] Each device/functional module/functional unit in the above-mentioned embodiment can be implemented by a general computing device, and they can be concentrated on a single computing device or distributed on a network composed of multiple computing devices.
[0118] When each device/functional module/functional unit in the above embodiment is implemented in the form of a software function module and sold or used as an independent product, it can be stored in a computer readable storage medium. The computer readable storage medium mentioned above may be a read-only memory, a magnetic disk or an optical disk, etc.