Search

CN-122001749-A - Abnormal positioning method and device for Internet of things equipment and electronic equipment

CN122001749ACN 122001749 ACN122001749 ACN 122001749ACN-122001749-A

Abstract

The application discloses an abnormal positioning method and device for equipment of the Internet of things and electronic equipment, and belongs to the technical field of the Internet of things. The method for locating the abnormality of the Internet of things equipment comprises the steps of obtaining energy consumption data and a communication data set corresponding to the Internet of things equipment, wherein the communication data set comprises communication data corresponding to each layer of communication protocol stack in the Internet of things equipment, and determining an abnormal communication protocol stack with abnormal energy consumption in each layer of communication protocol stack based on the energy consumption data and the communication data set.

Inventors

  • YUAN ZHENYU
  • CHEN YUHENG
  • FAN MIN
  • XIONG XIAOPENG
  • YAO HUACHAO
  • ZHANG XIANZHU
  • ZHANG MENG

Assignees

  • 中移物联网有限公司
  • 中国移动通信集团有限公司

Dates

Publication Date
20260508
Application Date
20251231

Claims (10)

  1. 1. The method for locating the abnormality of the equipment of the Internet of things is characterized by comprising the following steps of: Acquiring energy consumption data and a communication data set corresponding to an Internet of things device, wherein the communication data set comprises communication data corresponding to each layer of communication protocol stack in the Internet of things device; and determining an abnormal communication protocol stack with abnormal energy consumption in the communication protocol stacks of each layer based on the energy consumption data and the communication data set.
  2. 2. The method of claim 1, wherein the determining an abnormal communication protocol stack of the layers of communication protocol stacks that is abnormal in energy consumption based on the energy consumption data and the communication data set comprises: based on the communication data set, determining a communication mode baseline corresponding to each layer of communication protocol stack respectively; Determining a deviation value between an actual communication mode corresponding to the communication protocol stack and a communication mode baseline corresponding to the communication protocol stack for each layer of the communication protocol stacks; and determining an abnormal communication protocol stack with abnormal energy consumption in the communication protocol stacks of each layer based on the energy consumption data and the deviation value corresponding to the communication protocol stacks of each layer.
  3. 3. The method of claim 2, wherein the determining a communication mode baseline corresponding to the respective layer of communication protocol stack based on the communication data set comprises: Performing dimension reduction processing on the communication data set through a principal component analysis method, and determining a principal component data set corresponding to the communication data set; and respectively determining a communication mode baseline corresponding to each layer of communication protocol stack based on the clustering result corresponding to the principal component data set.
  4. 4. The method according to claim 2, wherein said determining an abnormal communication protocol stack of the energy consumption abnormalities in the communication protocol stacks of the layers based on the energy consumption data and the offset value corresponding to the communication protocol stacks of the layers comprises: Determining the probability of abnormal energy consumption of the Internet of things equipment based on the energy consumption data and the deviation values corresponding to the communication protocol stacks of the layers; and determining an abnormal communication protocol stack with abnormal energy consumption in each layer of communication protocol stack based on the deviation value corresponding to each layer of communication protocol stack under the condition that the probability of abnormal energy consumption of the Internet of things equipment is larger than a preset threshold value.
  5. 5. The method of claim 1, wherein the layers of the communication protocol stack comprise an application layer, a presentation layer, a session layer, a transport layer, a network layer, a data link layer, and a physical layer.
  6. 6. The method of claim 1, further comprising, after said determining an abnormal communication protocol stack in which energy consumption is abnormal in said layers of communication protocol stacks: Determining an abnormal communication behavior type corresponding to the abnormal communication protocol stack based on the communication data corresponding to the abnormal communication protocol stack; Determining and executing an abnormal processing strategy corresponding to the abnormal communication protocol stack based on an abnormal communication behavior type and an abnormal processing strategy knowledge base corresponding to the abnormal communication protocol stack, wherein the abnormal processing strategy knowledge base comprises a corresponding relation between the abnormal communication behavior type and the abnormal processing strategy; Acquiring an execution effect corresponding to executing the exception handling strategy; And determining whether the abnormal communication behavior of the Internet of things equipment is processed or not based on the execution effect.
  7. 7. An unusual positioner of thing networking device, its characterized in that includes: the system comprises an acquisition module, a communication module and a communication module, wherein the acquisition module is used for acquiring energy consumption data and a communication data set corresponding to the Internet of things equipment, and the communication data set comprises communication data corresponding to each layer of communication protocol stack in the Internet of things equipment; and the determining module is used for determining an abnormal communication protocol stack with abnormal energy consumption in the communication protocol stacks of each layer based on the energy consumption data and the communication data set.
  8. 8. An electronic device comprising a processor and a memory storing a program or instructions executable on the processor, which when executed by the processor, implement the steps of the method for locating anomalies in an internet of things device as claimed in any one of claims 1 to 6.
  9. 9. A readable storage medium, wherein a program or instructions are stored on the readable storage medium, which when executed by a processor, implement the steps of the method for locating anomalies in an internet of things device according to any one of claims 1 to 6.
  10. 10. A computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions which, when executed by a computer, cause the computer to perform the steps of the method for locating anomalies in an Internet of things device according to any one of claims 1 to 6.

Description

Abnormal positioning method and device for Internet of things equipment and electronic equipment Technical Field The application relates to the technical field of the internet of things, in particular to an abnormal positioning method and device for equipment of the internet of things and electronic equipment. Background Abnormal communication behaviors may occur at each level in the multi-layer structure of the communication protocol stack of the internet of things device, but the abnormalities are not always directly reflected on the whole energy consumption data, for example, frequent retransmission or redundant data transmission may occur at one level, so that communication overhead is increased, and optimization may occur at other levels at the same time, so that the influence is counteracted. Furthermore, interactions between different layers may also mask single-level anomalies. Therefore, in the related art, the multi-layer structure of the communication protocol stack of the internet of things device makes the abnormal positioning of the energy consumption of the internet of things device difficult. Disclosure of Invention The application discloses an abnormal positioning method and device for equipment of the Internet of things and electronic equipment, and can realize abnormal energy consumption positioning of the equipment of the Internet of things. In order to solve the problems, the application adopts the following technical scheme: in a first aspect, an embodiment of the application discloses an anomaly positioning method for an internet of things device, which comprises the steps of obtaining energy consumption data and a communication data set corresponding to the internet of things device, wherein the communication data set comprises communication data corresponding to communication protocol stacks of all layers in the internet of things device, and determining an anomaly communication protocol stack with abnormal energy consumption in the communication protocol stacks of all layers based on the energy consumption data and the communication data set. In a second aspect, the embodiment of the application discloses an abnormal positioning device of an Internet of things device, which comprises an acquisition module and a determination module, wherein the acquisition module is used for acquiring energy consumption data and a communication data set corresponding to the Internet of things device, the communication data set comprises communication data corresponding to each layer of communication protocol stack in the Internet of things device, and the determination module is used for determining abnormal communication protocol stacks with abnormal energy consumption in each layer of communication protocol stack based on the energy consumption data and the communication data set. In a third aspect, an embodiment of the present application provides an electronic device comprising a processor and a memory storing a program or instructions executable on the processor, which when executed by the processor, implement the steps of the method as described in the first aspect. In a fourth aspect, embodiments of the present application provide a readable storage medium having stored thereon a program or instructions which when executed by a processor perform the steps of the method according to the first aspect. In a fifth aspect, embodiments of the present application provide a computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions which, when executed by a computer, cause the computer to perform the steps of the method as described in the first aspect. The technical scheme adopted by the application can achieve the following beneficial effects: The embodiment of the application provides an abnormal positioning method of Internet of things equipment, which comprises the steps of acquiring energy consumption data and a communication data set corresponding to the Internet of things equipment, wherein the communication data set comprises communication data corresponding to communication protocol stacks of all layers in the Internet of things equipment, and then determining an abnormal communication protocol stack with abnormal energy consumption in the communication protocol stacks of all layers based on the energy consumption data and the communication data set. Because the abnormal communication protocol stack with abnormal energy consumption in each layer of communication protocol stack is determined based on the whole energy consumption data corresponding to the Internet of things equipment and the communication data respectively corresponding to each layer of communication protocol stack in the Internet of things equipment, compared with the scheme that the abnormal energy consumption of the Internet of things equipment is difficult to position based on the whole energy consumption data of