Internet of Things information processing method and system for peer-to-peer network, and Internet of Things device

By using hash values ​​to match device identities in peer-to-peer networks, and gradually forwarding IoT information processing requests, the problem of high server load pressure is solved, and the efficiency of IoT information processing and system scalability are improved.

CN114760238BActive Publication Date: 2024-08-23ZHENGJIANG PUBLIC INFORMATION
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202011578354.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-12-28
Publication Date
2024-08-23
Estimated Expiration
2040-12-28

AI Technical Summary

Technical Problem

In the existing technology, centralized storage of massive IoT information results in huge load pressure and low efficiency on the server when processing information requests from multiple devices.

Method used

In the peer-to-peer network, each IoT device maintains a routing table, uses hash values ​​to match device identifiers, and gradually forwards information processing requests to appropriate devices to avoid centralized processing and improve processing efficiency.

Benefits of technology

It reduces the load pressure of each IoT device, improves the efficiency of IoT information processing, and enhances the scalability and single-point failure resistance of the system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114760238B
    Figure CN114760238B
Patent Text Reader

Abstract

The present disclosure relates to an Internet of Things information processing method and system for a peer-to-peer network, and an Internet of Things device. The Internet of Things information processing method includes: a source Internet of Things device receives an Internet of Things information processing request; the source Internet of Things device determines a keyword identifier of a keyword; the source Internet of Things device is used as a first Internet of Things device to determine whether there is a device identifier matching the keyword identifier in a routing table; if the judgment result is that it does not exist, the keyword identifier and the information to be processed are sent to a second Internet of Things device, and the second Internet of Things device corresponds to the device identifier of the last item in the routing table of the first Internet of Things device; the second Internet of Things device is used as the first Internet of Things device, and the judgment process is re-executed until it is determined that there is a device identifier matching the keyword identifier in the routing table, and the IP address of the device identifier matching the keyword identifier is determined as the target IP address; the keyword identifier and the information to be processed are sent to the Internet of Things device corresponding to the target IP address.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the technical field of information processing of Internet of Things, and in particular to an information processing method and system for Internet of Things used in a peer-to-peer network, and a computer storable medium for Internet of Things devices. Background Art

[0002] With the continuous development of IoT technology, the amount of IoT information is also growing. How to deal with massive IoT information has become the key to the development of IoT technology.

[0003] In the related art, multiple IoT devices are centrally connected to a server, and massive IoT information is centrally stored on the server. When the server receives IoT information processing requests from one or more IoT devices, it processes the one or more requests based on the massive IoT information. Summary of the invention

[0004] In the related technology, the method of centrally storing massive IoT information causes the server to process IoT information processing requests from multiple IoT devices at the same time, which brings huge load pressure to the server and low efficiency of IoT information processing.

[0005] In response to the above technical problems, the present disclosure proposes a solution that can improve the efficiency of information processing in the Internet of Things.

[0006] According to a first aspect of the present disclosure, a method for processing Internet of Things information for a peer-to-peer network is provided, wherein the peer-to-peer network includes multiple Internet of Things devices, the routing tables of the multiple Internet of Things devices have no intersection, the routing table of each Internet of Things device includes a correspondence between device identifiers and Internet Protocol IP addresses of other Internet of Things devices that are subsequent to each Internet of Things device in the peer-to-peer network, and the multiple Internet of Things devices include a source Internet of Things device, including: the source Internet of Things device receives an Internet of Things information processing request, the Internet of Things information processing request includes a keyword and information to be processed; the source Internet of Things device determines a keyword identifier of the keyword; the source Internet of Things device is used as a first Internet of Things device, the first Internet of Things device determines whether there is a device identifier matching the keyword identifier in the routing table of the first Internet of Things device; when the judgment result is If the keyword identifier does not exist, the first Internet of Things device sends the keyword identifier and the information to be processed to the second Internet of Things device, and the second Internet of Things device corresponds to the device identifier of the last item in the routing table of the first Internet of Things device; the second Internet of Things device is used as the first Internet of Things device, and the first Internet of Things device re-executes the above judgment process until the first Internet of Things device determines that there is a device identifier matching the keyword identifier in the routing table of the first Internet of Things device, the first Internet of Things device determines the IP address of the device identifier matching the keyword identifier as the target IP address; the first Internet of Things device sends the keyword identifier and the information to be processed to the Internet of Things device corresponding to the target IP address, so that the Internet of Things device processes the information to be processed on the Internet of Things device according to the keyword identifier.

[0007] In some embodiments, the keyword identifier is a hash value of the keyword, the device identifier is a hash value of an international interconnection protocol IP address of the Internet of Things device, and determining whether there is a device identifier matching the keyword identifier in the routing table of the first Internet of Things device includes: determining whether there is a device identifier in the routing table of the first Internet of Things device that is less than or equal to the keyword identifier and has the smallest difference with the keyword identifier.

[0008] In some embodiments, the Internet of Things information processing method for a peer-to-peer network further includes: when the source Internet of Things device is the first Internet of Things device and the judgment result is that it exists, the source Internet of Things device determines the IP address of the device identifier that matches the keyword identifier as the target IP address.

[0009] In some embodiments, the Internet of Things information processing method for a peer-to-peer network further includes: in the local cache of the source Internet of Things device, the source Internet of Things device stores the correspondence between the keyword identifier and the target IP address.

[0010] In some embodiments, the Internet of Things information processing method for a peer-to-peer network further includes: after determining the keyword identifier, the source Internet of Things device queries whether there is a corresponding relationship between the keyword identifier and the target IP address in the local cache of the source Internet of Things device; if there is a corresponding relationship between the keyword identifier and the target IP address in the local cache of the source Internet of Things device, the source Internet of Things device sends the keyword identifier and the information to be processed to the Internet of Things device corresponding to the target IP address.

[0011] In some embodiments, the Internet of Things information processing method for a peer-to-peer network further includes: after determining the keyword identifier of the keyword, the source Internet of Things device generates a processing file including the keyword identifier and the information to be processed, and the processing file is an extensible markup language XML file.

[0012] In some embodiments, the Internet of Things information processing request is an Internet of Things information publishing request, the keyword identifier is a publishing keyword identifier, and the information to be processed is the Internet of Things information to be published.

[0013] In some embodiments, processing the information to be processed includes: storing the IoT information to be published on the IoT device according to the publishing keyword identifier.

[0014] In some embodiments, the Internet of Things information processing request is an Internet of Things information query request, the keyword identifier is a query keyword identifier, and the information to be processed is query condition information.

[0015] In some embodiments, processing the information to be processed includes: according to the query keyword identifier, obtaining and sending the Internet of Things information corresponding to the query condition information on the Internet of Things device to the source Internet of Things device.

[0016] According to a second aspect of the present disclosure, an Internet of Things device for a peer-to-peer network is provided, wherein the peer-to-peer network includes a plurality of the Internet of Things devices, the routing tables of the plurality of Internet of Things devices have no intersection, the routing table of each Internet of Things device includes a correspondence between device identifiers of other Internet of Things devices that are subsequent to the each Internet of Things device in the peer-to-peer network and Internet Protocol IP addresses, and the Internet of Things device includes: a receiving module configured to receive an Internet of Things information processing request, the Internet of Things information processing request including a keyword and information to be processed; a first determining module configured to determine a keyword identifier of the keyword; and a judging module configured to, as a first Internet of Things device, judge whether a keyword exists in the routing table of the first Internet of Things device. a device identifier that matches the keyword identifier; a first sending module, configured to, if the judgment result is that it does not exist, send the keyword identifier and the information to be processed to a second Internet of Things device, the second Internet of Things device corresponds to the device identifier of the last item in the routing table of the first Internet of Things device; a second determination module, configured to, if the judgment result is that it exists, determine the IP address of the device identifier that matches the keyword identifier as the target IP address; the second sending module, configured to send the keyword identifier and the information to be processed to the Internet of Things device corresponding to the target IP address, so that the Internet of Things device processes the information to be processed on the Internet of Things device according to the keyword identifier.

[0017] According to a third aspect of the present disclosure, there is provided an Internet of Things information processing system for a peer-to-peer network, comprising: a memory; and a processor coupled to the memory, the processor being configured to execute the Internet of Things information processing method for a peer-to-peer network described in any of the above embodiments based on instructions stored in the memory.

[0018] According to a fourth aspect of the present disclosure, a computer storable medium is provided, on which computer program instructions are stored, and when the instructions are executed by a processor, the Internet of Things information processing method for a peer-to-peer network described in any of the above embodiments is implemented.

[0019] In the above embodiments, the efficiency of IoT information processing can be improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] The accompanying drawings, which constitute a part of the specification, illustrate embodiments of the present disclosure and, together with the description, serve to explain the principles of the present disclosure.

[0021] The present disclosure may be more clearly understood from the following detailed description with reference to the accompanying drawings, in which:

[0022] Figure 1 is a flow chart illustrating an Internet of Things information processing method for a peer-to-peer network according to some embodiments of the present disclosure;

[0023] Figure 2 is a schematic diagram showing the structure of a peer-to-peer network according to some embodiments of the present disclosure;

[0024] Figure 3 is a flowchart illustrating an Internet of Things information processing method for a peer-to-peer network according to other embodiments of the present disclosure;

[0025] Figure 4 is a block diagram illustrating an Internet of Things device for a peer-to-peer network according to some embodiments of the present disclosure;

[0026] Figure 5 is a block diagram illustrating an Internet of Things information processing system for a peer-to-peer network according to some embodiments of the present disclosure;

[0027] Figure 6 is a block diagram illustrating a computer system for implementing some embodiments of the present disclosure. DETAILED DESCRIPTION

[0028] Various exemplary embodiments of the present disclosure will now be described in detail with reference to the accompanying drawings. It should be noted that the relative arrangement of components and steps, numerical expressions and numerical values ​​set forth in these embodiments do not limit the scope of the present disclosure unless otherwise specifically stated.

[0029] At the same time, it should be understood that for the convenience of description, the sizes of the various parts shown in the drawings are not drawn according to the actual proportional relationship.

[0030] The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the present disclosure, its application, or uses.

[0031] Technologies, methods, and equipment known to ordinary technicians in the relevant art may not be discussed in detail, but where appropriate, the technologies, methods, and equipment should be considered as part of the specification.

[0032] In all examples shown and discussed herein, any specific values ​​should be interpreted as merely exemplary and not as limiting. Therefore, other examples of the exemplary embodiments may have different values.

[0033] It should be noted that like reference numerals and letters refer to similar items in the following figures, and therefore, once an item is defined in one figure, it need not be further discussed in subsequent figures.

[0034] The following will be combined Figure 1 and Figure 2 The present invention describes in detail an Internet of Things information processing method for a peer-to-peer network according to some embodiments of the present invention.

[0035] Figure 1 is a flowchart illustrating an Internet of Things information processing method for a peer-to-peer network according to some embodiments of the present disclosure.

[0036] Figure 2 It is a schematic diagram showing the structure of a peer-to-peer network according to some embodiments of the present disclosure.

[0037] like Figure 1 As shown, the method for processing information of the Internet of Things for a peer-to-peer network includes steps S10 to S80. In some embodiments, the method for processing information of the Internet of Things for a peer-to-peer network is executed by an Internet of Things information processing system for a peer-to-peer network.

[0038] The peer-to-peer network includes multiple IoT devices. There is no intersection between the routing tables of multiple IoT devices. The routing table of each IoT device includes the correspondence between the device identification and IP (Internet Protocol) address of other IoT devices that are subsequent to each IoT device in the peer-to-peer network. For example, the device identification can be a hash value of the IP address of the IoT device.

[0039] like Figure 2 The peer-to-peer network shown includes multiple IoT devices including IoT devices A, B, C, D, E, and F. Figure 2 The ellipsis in the figure indicates that there are other IoT devices that are not shown in the figure. For example, the routing table of IoT device A includes the correspondence between the device identification and IP address of some IoT devices that succeed IoT device A. The routing table may include multiple correspondences. In the ring structure formed by the peer-to-peer network, since the device identification of the IoT device gradually increases clockwise, the difference between the device identification of the last item and the device identification of the IoT device corresponding to the routing table is the largest. That is, the device identification of the last item corresponds to the IoT device farthest from the IoT device.

[0040] return Figure 1 In step S10, the source IoT device receives an IoT information processing request. The IoT information processing request includes a keyword and information to be processed. For example, the source IoT device receives an IoT information processing request from a front-end user. The source IoT device may be any one of a plurality of IoT devices in a peer-to-peer network. That is, the plurality of IoT devices include the source IoT device.

[0041] In some embodiments, the IoT information processing request may be an IoT information publishing request, and the information to be processed may be IoT information to be published. In other embodiments, the IoT processing request may also be an IoT information query request, and the information to be processed may also be query condition information. Taking the IoT processing request as an IoT information query request as an example, the keyword is "IoT", and the query condition information includes the location "Entrepreneurship Building, No. 99, Huaxing Road, Xihu District".

[0042] In step S20, the source IoT device determines the keyword identifier of the keyword. For example, a hash operation may be performed on the keyword to obtain a hash value of the keyword as the keyword identifier. Taking the IoT information processing request as an IoT information publishing request as an example, the keyword identifier is a publishing keyword identifier. Taking the IoT information processing request as an IoT information query request as an example, the keyword identifier is a query keyword identifier. Taking the keyword "IoT" as an example, the keyword identifier is "B28AD5C3E516F6D63AC5B28AD5C3E516F-6D63AC5".

[0043] In some embodiments, after determining the keyword identifier of the keyword, the source IoT device generates a processing file including the keyword identifier and the information to be processed. The processing file is an XML (Extensible Markup Language) file.

[0044] In some embodiments, the method for processing information of the Internet of Things for a peer-to-peer network may further include: Figure 3 Step S21 and step S22 are shown.

[0045] Figure 3 is a flowchart illustrating an Internet of Things information processing method for a peer-to-peer network according to some other embodiments of the present disclosure. Figure 3 and Figure 1 The difference is that Figure 3 Step S21 and step S22 are shown. Figure 3 and Figure 1 The differences are shown below, and the similarities will not be repeated here.

[0046] like Figure 3 As shown, in step S21, the source IoT device queries whether there is a corresponding relationship between the keyword identifier and the target IP address in the local cache of the source IoT device.

[0047] If there is a correspondence between the keyword identifier and the target IP address in the local cache of the source IoT device, step S22 is executed. In step S22, the source IoT device sends the keyword identifier and the information to be processed to the IoT device corresponding to the target IP address, so that the IoT device processes the information to be processed on the IoT device according to the keyword identifier.

[0048] By pre-querying the local cache, the efficiency of IoT information processing can be further improved.

[0049] If there is no corresponding relationship between the keyword identifier and the target IP address in the local cache of the source IoT device, step S30 is executed. That is, step S30 can be executed after step S21 or after step S20.

[0050] return Figure 1 In step S30, the source IoT device uses the source IoT device as the first IoT device. For example, the source IoT device can be marked as the first IoT device.

[0051] In step S40, the first IoT device determines whether there is a device identifier matching the keyword identifier in the routing table of the first IoT device.

[0052] Taking the keyword identifier as the hash value of the keyword and the device identifier as the hash value of the IP address of the Internet of Things device as an example, determining whether there is a device identifier matching the keyword identifier in the routing table of the first Internet of Things device includes: determining whether there is a device identifier in the routing table of the first Internet of Things device that is less than or equal to the keyword identifier and has the smallest difference with the keyword identifier.

[0053] This is because during the construction of the routing table, the IP address corresponding to its device identifier corresponds to the IP address of the peer network node whose identifier is greater than or equal to the device identifier and whose difference with the device identifier is the smallest, and the information in the peer network is stored on the peer network node whose identifier is greater than the keyword identifier and whose difference with the keyword identifier is the smallest. Based on this, by determining the device identifier in the routing table that is less than or equal to the keyword identifier and whose difference with the keyword identifier is the smallest, the device identifier that matches the keyword identifier can be found.

[0054] If the result of the judgment is that it does not exist, step S50 to step S60 are executed.

[0055] In step S50, the first IoT device sends the keyword identifier and the information to be processed to the second IoT device. The second IoT device corresponds to the device identifier of the last item in the routing table of the first IoT device. For example, after the first IoT device sends the keyword identifier and the information to be processed to the second IoT device, the source IoT device cancels the mark.

[0056] Taking the example of the source IoT device encapsulating the keyword identifier and the information to be processed into a processing file in XML format, the first IoT device sends the processing file to the second IoT device. By encapsulating the processing file in XML format, the second IoT device can easily perform parsing, further improving the efficiency of IoT information processing.

[0057] In step S60, the second IoT device marks the second IoT device as the first IoT device. For example, in response to receiving the keyword identifier and the information to be processed, the second IoT device marks the second IoT device as the first IoT device.

[0058] After step S60 is completed, the process jumps to step S40. The first IoT device (the second IoT device in this case) re-determines whether there is a device identifier matching the keyword identifier in the routing table of the first IoT device, until the first IoT device determines that there is a device identifier matching the keyword identifier in the routing table of the first IoT device, and then executes step S70.

[0059] In step S70, the first IoT device determines the IP address of the device identifier that matches the keyword identifier as the target IP address.

[0060] When the source IoT device is used as the first IoT device and the first IoT device is determined to exist, step S70 is performed. At this time, the first IoT device is the source IoT device, and the source IoT device determines the IP address of the device identifier matching the keyword identifier as the target IP address.

[0061] In step S80, the first IoT device sends the keyword identifier and the information to be processed to the IoT device corresponding to the target IP address, so that the IoT device processes the information to be processed on the IoT device according to the keyword identifier.

[0062] Taking the IoT information processing request as an IoT information publishing request, the keyword identifier as a publishing keyword identifier, and the information to be processed as the IoT information to be published as an example, the IoT device processes the information to be processed on the IoT device corresponding to the target IP address according to the keyword identifier, including: storing the IoT information to be published on the IoT device corresponding to the target IP address according to the publishing keyword identifier.

[0063] For example, each IoT device stores an information table, which may include a row of multiple entries, each row of entries including two columns, one for keyword identification and the other for IoT information. In some embodiments, the information table is stored in the router of each IoT device. That is, the router includes an information table in addition to a routing table. The information table may also be referred to as a routing registry.

[0064] In some embodiments, the IoT device corresponding to the target IP address adds a row of entries in the information table. The keyword identifier column of the entry stores the published keyword identifier, and the IoT information column stores the IoT information to be published. For example, the IoT information to be published can be stored in a file in XML format. The XML format is similar to a tree structure, which is convenient for searching.

[0065] In other embodiments, the IoT device corresponding to the target IP address first determines whether the information table includes the release keyword identifier. In the case where the release keyword identifier is included, the IoT device corresponding to the target IP address directly stores the IoT information to be released in the IoT information column of the table item including the release keyword identifier. In the case where the release keyword identifier is not included, the IoT device corresponding to the target IP address adds a row of table items in the above information table. The keyword identifier column of the table item stores the release keyword identifier, and the IoT information column stores the IoT information to be released.

[0066] Taking the IoT information processing request as the IoT information query request, the keyword identifier as the query keyword identifier, and the information to be processed as the query condition information as an example, the IoT device processes the information to be processed on the IoT device corresponding to the target IP address according to the keyword identifier, including: according to the query keyword identifier, obtaining and sending the IoT information corresponding to the query condition information to the source IoT device on the IoT device corresponding to the target IP address.

[0067] Taking the above information table as an example, the IoT device corresponding to the target IP address first finds one or more rows of table entries including the query keyword identifier in the information table. Then, the IoT device corresponding to the target IP address obtains one or more rows of table entries including the query condition information in this row or more rows of table entries. Finally, the IoT information in the IoT information column of this row or more rows of table entries is obtained and sent to the source IoT device. For example, it can be sent to the source IoT device through each second IoT device, or it can be sent directly to the source IoT device through the IP address of the source IoT device. The IP address of the source IoT device can be carried in the session protocol.

[0068] Taking the keyword "IoT" and the query condition information including the location "Entrepreneurship Building, No. 99, Huaxing Road, Xihu District" as an example, the URL (Uniform Resource Locator) "rtsp: / / 202.98.11.133 / DA81783DD137818563" and other descriptive information named "7th Floor, Entrepreneurship Building, No. 99, Huaxing Road, Xihu District" and the URL "rtsp: / / 202.98.11.132 / DA81783DDA138" and other descriptive information named "8th Floor, Entrepreneurship Building, No. 99, Huaxing Road, Xihu District" can also be queried. For example, the queried IoT information can also be encapsulated in an XML file format and sent to the source IoT device.

[0069] In the above embodiment, the Internet of Things device is used as a network node in the peer-to-peer network, and each Internet of Things device maintains the correspondence between some device identifiers and IP addresses in the entire peer-to-peer network, so that each Internet of Things device can determine the target IP address by matching the keyword identifier and the device identifier, which can reduce the load pressure of each Internet of Things device and improve the information processing efficiency of each Internet of Things device, thereby improving the overall efficiency of Internet of Things information processing. In addition, the Internet of Things device, as a node in the peer-to-peer network, can also improve the scalability of the Internet of Things system and reduce single point failures.

[0070] Figure 4 is a block diagram illustrating an Internet of Things device for a peer-to-peer network according to some embodiments of the present disclosure.

[0071] like Figure 4 As shown, the Internet of Things device 41 for a peer-to-peer network includes a receiving module 410, a first determining module 411, a judging module 412, a first sending module 413, a second determining module 414, and a second sending module 415. In some embodiments, the receiving module 410, the first determining module 411, the judging module 412, the first sending module 413, the second determining module 414, and the second sending module 415 can be encapsulated as a client agent program and installed on the Internet of Things information device, so that the client agent program can perform the operations of the corresponding modules.

[0072] The receiving module 410 is configured to receive an Internet of Things information processing request, which includes a keyword and information to be processed.

[0073] The first determining module 411 is configured to determine a keyword identifier of a keyword.

[0074] The determination module 412 is configured to, as a first IoT device, determine whether there is a device identifier matching the keyword identifier in the routing table of the first IoT device. For example, the routing table is stored in a router of the IoT device.

[0075] The first sending module 413 is configured to send the keyword identifier and the information to be processed to the second IoT device if the judgment result is that the keyword identifier and the information to be processed do not exist. The second IoT device corresponds to the device identifier of the last item in the routing table of the first IoT device.

[0076] The second determination module 414 is configured to determine the IP address of the device identifier matching the keyword identifier as the target IP address if the determination result is existence.

[0077] The second sending module 415 is configured to send the keyword identifier and the information to be processed to the IoT device corresponding to the target IP address, so that the IoT device processes the information to be processed on the IoT device according to the keyword identifier.

[0078] In some embodiments, the IoT device 41 may further include an IoT engine 417, a protocol parser 418, a resource manager 419, etc. The IoT engine 417 parses the IoT process document, the protocol parser 418 is responsible for parsing the IoT protocol elements and IoT documents, and the resource manager 419 is responsible for maintaining local resources. For example, the IoT device 41 may further include a local registrar. The local registrar maintains local information of the IoT device.

[0079] Figure 5 is a block diagram showing an Internet of Things information processing system for a peer-to-peer network according to some embodiments of the present disclosure.

[0080] like Figure 5 As shown, the Internet of Things information processing system 5 for a peer-to-peer network includes a memory 51; and a processor 52 coupled to the memory 51. The memory 51 is used to store instructions for executing the corresponding embodiments of the Internet of Things information processing method for a peer-to-peer network. The processor 52 is configured to execute the Internet of Things information processing method for a peer-to-peer network in any of the embodiments of the present disclosure based on the instructions stored in the memory 51.

[0081] Figure 6 is a block diagram illustrating a computer system for implementing some embodiments of the present disclosure.

[0082] like Figure 6 As shown, the computer system 60 may be embodied in the form of a general purpose computing device. The computer system 60 includes a memory 610, a processor 620, and a bus 600 that connects the various system components.

[0083] The memory 610 may include, for example, a system memory, a non-volatile storage medium, etc. The system memory may store, for example, an operating system, an application program, a boot loader, and other programs. The system memory may include a volatile storage medium, such as a random access memory (RAM) and / or a cache memory. The non-volatile storage medium may store, for example, instructions for executing at least one of the corresponding embodiments of the Internet of Things information processing method for a peer-to-peer network. The non-volatile storage medium includes, but is not limited to, a disk memory, an optical memory, a flash memory, and the like.

[0084] The processor 620 can be implemented by a general processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistors, etc. Discrete hardware components. Accordingly, each module such as the judgment module and the determination module can be implemented by a central processing unit (CPU) running instructions in a memory that execute corresponding steps, or can be implemented by a dedicated circuit that executes corresponding steps.

[0085] The bus 600 may use any of a variety of bus architectures, including, but not limited to, an Industry Standard Architecture (ISA) bus, a Micro Channel Architecture (MCA) bus, and a Peripheral Component Interconnect (PCI) bus.

[0086] The computer system 60 may also include an input / output interface 630, a network interface 640, a storage interface 650, etc. These interfaces 630, 640, 650, the memory 610, and the processor 620 may be connected via a bus 600. The input / output interface 630 may provide a connection interface for input / output devices such as a display, a mouse, and a keyboard. The network interface 640 may provide a connection interface for various networked devices. The storage interface 650 may provide a connection interface for external storage devices such as a floppy disk, a USB flash drive, and an SD card.

[0087] Here, various aspects of the present disclosure are described with reference to flowcharts and / or block diagrams of methods, devices, and computer program products according to embodiments of the present disclosure. It should be understood that each frame of the flowchart and / or block diagram and the combination of frames can be implemented by computer-readable program instructions.

[0088] These computer-readable program instructions may be provided to a processor of a general-purpose computer, a special-purpose computer or other programmable device to produce a machine, so that the processor executes the instructions to produce means for implementing the functions specified in one or more blocks in the flowchart and / or block diagram.

[0089] These computer-readable program instructions may also be stored in a computer-readable memory, which cause the computer to work in a specific manner to produce an article of manufacture, including instructions for implementing the functions specified in one or more blocks in the flowchart and / or block diagram.

[0090] The present disclosure can take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects.

[0091] The Internet of Things information processing method and system for a peer-to-peer network, the Internet of Things device, and the computer storable medium in the above-mentioned embodiments can improve the efficiency of Internet of Things information processing.

[0092] So far, the Internet of Things information processing method and system for a peer-to-peer network, the Internet of Things device, and the computer storable medium according to the present disclosure have been described in detail. In order to avoid obscuring the concept of the present disclosure, some details known in the art are not described. Based on the above description, those skilled in the art can fully understand how to implement the technical solution disclosed herein.

Claims

1. A method for processing information of the Internet of Things for a peer-to-peer network, wherein: The peer-to-peer network includes a plurality of Internet of Things devices, the routing tables of the plurality of Internet of Things devices have no intersection, the routing table of each Internet of Things device includes a correspondence between device identifiers and Internet Protocol IP addresses of other Internet of Things devices that are subsequent to each Internet of Things device in the peer-to-peer network, and the plurality of Internet of Things devices include a source Internet of Things device, including: The source IoT device receives an IoT information processing request, where the IoT information processing request includes a keyword and information to be processed; The source Internet of Things device determines a keyword identifier of the keyword; The source IoT device is used as a first IoT device, and the first IoT device determines whether there is a device identifier matching the keyword identifier in a routing table of the first IoT device; If the judgment result is that it does not exist, the first Internet of Things device sends the keyword identifier and the information to be processed to the second Internet of Things device, and the second Internet of Things device corresponds to the device identifier of the last item in the routing table of the first Internet of Things device; The second IoT device is used as the first IoT device, and the first IoT device re-executes the above-mentioned judgment process until the first IoT device determines that there is a device identifier matching the keyword identifier in the routing table of the first IoT device, and the first IoT device determines the IP address of the device identifier matching the keyword identifier as the target IP address; The first Internet of Things device sends the keyword identifier and the information to be processed to the Internet of Things device corresponding to the target IP address, so that the Internet of Things device processes the information to be processed on the Internet of Things device according to the keyword identifier.

2. The method for processing information of the Internet of Things for a peer-to-peer network according to claim 1, wherein: The keyword identifier is a hash value of the keyword, the device identifier is a hash value of an international interconnection protocol IP address of an Internet of Things device, and determining whether there is a device identifier matching the keyword identifier in a routing table of the first Internet of Things device includes: It is determined whether there is a device identifier in the routing table of the first Internet of Things device that is less than or equal to the keyword identifier and has the smallest difference with the keyword identifier.

3. The method for processing information of the Internet of Things for a peer-to-peer network according to claim 1, further comprising: When the source IoT device is the first IoT device and the judgment result is that it exists, the source IoT device determines the IP address of the device identifier that matches the keyword identifier as the target IP address.

4. The method for processing information of the Internet of Things for a peer-to-peer network according to claim 1, further comprising: In the local cache of the source Internet of Things device, the source Internet of Things device stores the corresponding relationship between the keyword identifier and the target IP address.

5. The method for processing information of the Internet of Things for a peer-to-peer network according to claim 4, further comprising: After determining the keyword identifier, the source IoT device queries whether there is a corresponding relationship between the keyword identifier and the target IP address in the local cache of the source IoT device; In the case that there is a corresponding relationship between the keyword identifier and the target IP address in the local cache of the source Internet of Things device, the source Internet of Things device sends the keyword identifier and the information to be processed to the Internet of Things device corresponding to the target IP address.

6. The method for processing information of the Internet of Things for a peer-to-peer network according to claim 1, further comprising: After determining the keyword identifier of the keyword, the source Internet of Things device generates a processing file including the keyword identifier and the information to be processed, and the processing file is an extensible markup language XML file.

7. The method for processing information of the Internet of Things for a peer-to-peer network according to claim 1, wherein: The Internet of Things information processing request is an Internet of Things information publishing request, the keyword identifier is a publishing keyword identifier, and the information to be processed is the Internet of Things information to be published.

8. The method for processing information of the Internet of Things for a peer-to-peer network according to claim 7, wherein: Processing the information to be processed includes: According to the publishing keyword identifier, the Internet of Things information to be published is stored on the Internet of Things device.

9. The method for processing information of the Internet of Things for a peer-to-peer network according to claim 1, wherein: The Internet of Things information processing request is an Internet of Things information query request, the keyword identifier is a query keyword identifier, and the information to be processed is query condition information.

10. The method for processing information of the Internet of Things for a peer-to-peer network according to claim 9, wherein: Processing the information to be processed includes: According to the query keyword identifier, the Internet of Things information corresponding to the query condition information is obtained on the Internet of Things device and sent to the source Internet of Things device.

11. An Internet of Things device for a peer-to-peer network, wherein: The peer-to-peer network includes a plurality of the IoT devices, the routing tables of the plurality of IoT devices have no intersection, the routing table of each IoT device includes a correspondence between device identifiers of other IoT devices subsequent to each IoT device in the peer-to-peer network and Internet Protocol IP addresses, and the IoT devices include: A receiving module is configured to receive an Internet of Things information processing request, wherein the Internet of Things information processing request includes a keyword and information to be processed; A first determining module is configured to determine a keyword identifier of the keyword; A determination module is configured to, as a first IoT device, determine whether there is a device identifier matching the keyword identifier in a routing table of the first IoT device; A first sending module is configured to send the keyword identifier and the information to be processed to a second Internet of Things device if the judgment result is that the keyword identifier and the information to be processed do not exist, and the second Internet of Things device corresponds to the device identifier of the last item in the routing table of the first Internet of Things device; The second determination module is configured to determine the IP address of the device identifier matching the keyword identifier as the target IP address if the judgment result is that the device identifier matches the keyword identifier. The second sending module is configured to send the keyword identifier and the information to be processed to the Internet of Things device corresponding to the target IP address, so that the Internet of Things device processes the information to be processed on the Internet of Things device according to the keyword identifier.

12. An Internet of Things information processing system for a peer-to-peer network, comprising: Memory; as well as A processor coupled to the memory, the processor being configured to execute the Internet of Things information processing method for a peer-to-peer network according to any one of claims 1 to 10 based on instructions stored in the memory.

13. A computer storable medium having computer program instructions stored thereon, which, when executed by a processor, implement the Internet of Things information processing method for a peer-to-peer network as claimed in any one of claims 1 to 10.