CN113347171A - Internet of things equipment disposal method and method for setting equipment resources in internet of things equipment - Google Patents

Internet of things equipment disposal method and method for setting equipment resources in internet of things equipment Download PDF

Info

Publication number
CN113347171A
CN113347171A CN202110594010.2A CN202110594010A CN113347171A CN 113347171 A CN113347171 A CN 113347171A CN 202110594010 A CN202110594010 A CN 202110594010A CN 113347171 A CN113347171 A CN 113347171A
Authority
CN
China
Prior art keywords
device resource
functional component
equipment
resource
determining
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202110594010.2A
Other languages
Chinese (zh)
Other versions
CN113347171B (en
Inventor
姚驯
明旭
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hangzhou Ezviz Software Co Ltd
Original Assignee
Hangzhou Ezviz Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou Ezviz Software Co Ltd filed Critical Hangzhou Ezviz Software Co Ltd
Priority to CN202110594010.2A priority Critical patent/CN113347171B/en
Publication of CN113347171A publication Critical patent/CN113347171A/en
Priority to PCT/CN2022/087406 priority patent/WO2022247525A1/en
Application granted granted Critical
Publication of CN113347171B publication Critical patent/CN113347171B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/10Network architectures or network communication protocols for network security for controlling access to devices or network resources
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computing Systems (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer And Data Communications (AREA)

Abstract

The embodiment of the application provides a disposal method of equipment in the Internet of things and a setting method of equipment resources in the equipment in the Internet of things, and the disposal request carrying an identifier of the equipment resources to be disposed is obtained, wherein the equipment resources to be disposed are used for realizing at least one function of the equipment in the Internet of things, and the equipment in the Internet of things comprises a plurality of equipment resources; determining a device resource to be processed according to the processing request; determining a protocol corresponding to the device resource to be processed; and disposing the device resource to be disposed by utilizing the protocol corresponding to the device resource to be disposed. The device resources are used as basic disposal units, and partial functions of the Internet of things devices are disposed. Through the internet of things equipment and the multi-level structural description method of the equipment resources, the protocols of the equipment resources with the same type are the same among different types of internet of things equipment, the protocol design is simplified, the protocol specification is unified, the applicability of the protocols among multiple types of equipment is improved, and the access efficiency of the multiple types of internet of things equipment is improved.

Description

Internet of things equipment disposal method and method for setting equipment resources in internet of things equipment
Technical Field
The application relates to the technical field of the Internet of things, in particular to a disposal method of equipment in the Internet of things and a setting method of equipment resources in the equipment in the Internet of things.
Background
The internet of things, namely the internet with all things connected, is a network extending and expanding on the basis of the internet, and various information sensing devices and the network are combined to form a huge network, so that the interconnection and intercommunication of people, machines and things at any time and any place is realized. In the field of the current internet of things, for devices in the internet of things, there are handling requirements for the devices, such as user binding of the devices, device sharing, display of the devices on a client, and the like.
In the process of disposing the equipment in the Internet of things, the authority is authenticated firstly, and after the authority authentication is passed, the disposal of the equipment is completed by utilizing a protocol corresponding to the equipment. However, in the actual device handling process, for example, in the device sharing process, there are cases where it is only appropriate to share part of the functions of the device, and how to handle only part of the functions of the device becomes a problem to be solved urgently.
Disclosure of Invention
An object of an embodiment of the present application is to provide a method for disposing an internet of things device and a method for setting device resources in an internet of things device, so as to dispose partial functions of the internet of things device. The specific technical scheme is as follows:
in a first aspect, an embodiment of the present application provides an internet of things device handling method, where the method includes:
acquiring a disposal request carrying an identifier of a device resource to be disposed, wherein the device resource to be disposed is used for realizing at least one function of an internet of things device, and the internet of things device comprises one or more device resources;
determining the device resource to be handled according to the handling request;
determining a protocol corresponding to the device resource to be processed;
and utilizing a protocol corresponding to the equipment resource to be processed to process the equipment resource to be processed.
In a possible embodiment, the determining a protocol corresponding to the device resource to be handled includes:
determining a device resource type for the device resource to be handled;
and determining a protocol corresponding to the device resource type of the device resource to be processed as the protocol of the device resource to be processed according to a preset corresponding relation between the device resource type and the protocol.
In one possible embodiment, the handling the device resource to be handled by using a protocol corresponding to the device resource to be handled includes:
according to a protocol corresponding to the device resource to be processed, establishing a target application layer communication link based on a pre-established transmission layer communication link, wherein index information of the target application layer communication link comprises an identifier of the device resource to be processed;
and processing the device resource to be processed based on the target application layer communication link by utilizing a protocol corresponding to the device resource to be processed.
In one possible embodiment, the method further comprises:
determining each functional component of the Internet of things equipment;
respectively determining the characteristic function of each functional component;
for each functional component, determining a device resource type corresponding to the functional feature of the functional component as the device resource type of the functional component;
for each functional unit, the functional unit is set as a device resource based on the device resource type of the functional unit.
In one possible embodiment, the method further comprises:
for each functional component, determining a protocol corresponding to the equipment resource type of the functional component as the protocol of the functional component;
the setting, for each functional unit, the functional unit as a device resource based on the device resource type of the functional unit includes:
for each functional unit, the functional unit is set as a device resource based on the device resource type of the functional unit and the protocol of the functional unit.
In a possible implementation manner, the determining, for each functional component, a device resource type corresponding to a functional feature of the functional component as the device resource type of the functional component includes:
for each functional component, determining a device resource type corresponding to the characteristic function of the functional component as the device resource type of the functional component in the established device resource types; and if the established equipment resource type does not have the equipment resource type corresponding to the characteristic function of the functional component, newly establishing the equipment resource type corresponding to the characteristic function of the functional component as the equipment resource type of the functional component.
In a second aspect, an embodiment of the present application provides a method for setting device resources in an internet of things device, where the method includes:
determining each functional component of the Internet of things equipment aiming at the Internet of things equipment of the equipment resource to be set;
respectively determining the characteristic function of each functional component;
for each functional component, determining a device resource type corresponding to the functional feature of the functional component as the device resource type of the functional component;
for each functional unit, the functional unit is set as a device resource based on the device resource type of the functional unit.
In one possible embodiment, the method further comprises:
for each functional component, determining a protocol corresponding to the equipment resource type of the functional component as the protocol of the functional component;
the setting, for each functional unit, the functional unit as a device resource based on the device resource type of the functional unit includes:
for each functional unit, the functional unit is set as a device resource based on the device resource type of the functional unit and the protocol of the functional unit.
In a possible implementation manner, the determining, for each functional component, a device resource type corresponding to a functional feature of the functional component as the device resource type of the functional component includes:
for each functional component, determining a device resource type corresponding to the characteristic function of the functional component as the device resource type of the functional component in the established device resource types; and if the established equipment resource type does not have the equipment resource type corresponding to the characteristic function of the functional component, newly establishing the equipment resource type corresponding to the characteristic function of the functional component as the equipment resource type of the functional component.
In a third aspect, an embodiment of the present application provides an internet of things device handling apparatus, where the apparatus includes:
the processing device comprises a processing request acquisition module, a processing module and a processing module, wherein the processing request acquisition module is used for acquiring a processing request carrying an identifier of a device resource to be processed, the device resource to be processed is used for realizing at least one function of the internet of things device, and the internet of things device comprises one or more device resources;
a device resource determining module, configured to determine the device resource to be handled according to the handling request;
a resource protocol determining module, configured to determine a protocol corresponding to the device resource to be processed;
and the resource handling execution module is used for handling the equipment resource to be handled by utilizing a protocol corresponding to the equipment resource to be handled.
In a possible implementation manner, the resource protocol determining module is specifically configured to: determining a device resource type for the device resource to be handled; and determining a protocol corresponding to the device resource type of the device resource to be processed as the protocol of the device resource to be processed according to a preset corresponding relation between the device resource type and the protocol.
In a possible implementation, the resource handling execution module is specifically configured to: according to a protocol corresponding to the device resource to be processed, establishing a target application layer communication link based on a pre-established transmission layer communication link, wherein index information of the target application layer communication link comprises an identifier of the device resource to be processed; and processing the device resource to be processed based on the target application layer communication link by utilizing a protocol corresponding to the device resource to be processed.
In a possible embodiment, the apparatus further comprises:
the functional component determining module is used for determining each functional component of the Internet of things equipment;
the characteristic function determining module is used for respectively determining the characteristic functions of the functional components;
the resource type determining module is used for determining a device resource type corresponding to the functional feature of each functional component as the device resource type of the functional component;
and the device resource setting module is used for setting each functional component as a device resource based on the device resource type of the functional component.
In a possible embodiment, the apparatus further comprises:
the type protocol determining module is used for determining a protocol corresponding to the equipment resource type of each functional component as the protocol of the functional component;
the device resource setting module is specifically configured to: for each functional unit, the functional unit is set as a device resource based on the device resource type of the functional unit and the protocol of the functional unit.
In a possible implementation manner, the resource type determining module is specifically configured to: for each functional component, determining a device resource type corresponding to the characteristic function of the functional component as the device resource type of the functional component in the established device resource types; and if the established equipment resource type does not have the equipment resource type corresponding to the characteristic function of the functional component, newly establishing the equipment resource type corresponding to the characteristic function of the functional component as the equipment resource type of the functional component.
In a fourth aspect, an embodiment of the present application provides a device for setting device resources in internet of things equipment, where the device includes:
the functional component determining module is used for determining each functional component of the Internet of things equipment aiming at the Internet of things equipment of the equipment resource to be set;
the characteristic function determining module is used for respectively determining the characteristic functions of the functional components;
the resource type determining module is used for determining a device resource type corresponding to the functional feature of each functional component as the device resource type of the functional component;
and the device resource setting module is used for setting each functional component as a device resource based on the device resource type of the functional component.
In a possible embodiment, the apparatus further comprises:
the type protocol determining module is used for determining a protocol corresponding to the equipment resource type of each functional component as the protocol of the functional component;
the device resource setting module is specifically configured to: for each functional unit, the functional unit is set as a device resource based on the device resource type of the functional unit and the protocol of the functional unit.
In a possible implementation manner, the resource type determining module is specifically configured to: for each functional component, determining a device resource type corresponding to the characteristic function of the functional component as the device resource type of the functional component in the established device resource types; and if the established equipment resource type does not have the equipment resource type corresponding to the characteristic function of the functional component, newly establishing the equipment resource type corresponding to the characteristic function of the functional component as the equipment resource type of the functional component.
In a fifth aspect, an embodiment of the present application provides an electronic device, including a processor and a memory;
the memory is used for storing a computer program;
the processor is configured to implement the method for handling the internet of things device or the method for setting the device resource in the internet of things device according to any of the present application when executing the program stored in the memory.
In a sixth aspect, the present application provides a computer-readable storage medium, in which a computer program is stored, and the computer program, when executed by a processor, implements any of the internet of things device handling methods or any of the setting methods for device resources in an internet of things device.
In a seventh aspect, an embodiment of the present application provides an internet of things device management system, including: control equipment and Internet of things equipment;
the control device is configured to obtain a disposal request carrying an identifier of a device resource to be disposed, where the device resource to be disposed is used to implement at least one function of the internet of things device, and the internet of things device includes one or more device resources; determining the device resource to be handled according to the handling request; determining a protocol corresponding to the device resource to be processed; disposing the device resource to be disposed of the internet of things device by using the protocol corresponding to the device resource to be disposed of;
the IOT device is used for responding to the treatment of the control device for the device resource to be treated, and performing corresponding treatment operation on the device resource to be treated.
In one possible embodiment, the system further comprises: the client device is used for acquiring and displaying a device resource list of the internet of things device, wherein the device resource list comprises identifiers of all device resources of the internet of things device, and the device resources are used for realizing at least one function of the internet of things device; acquiring a treatment operation input by a user according to the device resource list and aiming at the device resource to be treated, generating the treatment request based on the treatment operation and sending the treatment request to the control device.
In a possible implementation, the control device is specifically configured to: determining a device resource type for the device resource to be handled; and determining a protocol corresponding to the device resource type of the device resource to be processed as the protocol of the device resource to be processed according to a preset corresponding relation between the device resource type and the protocol.
In a possible implementation, the control device is specifically configured to: according to a protocol corresponding to the device resource to be processed, establishing a target application layer communication link based on a pre-established transmission layer communication link, wherein index information of the target application layer communication link comprises an identifier of the device resource to be processed; and processing the device resource to be processed based on the target application layer communication link by utilizing a protocol corresponding to the device resource to be processed.
In one possible embodiment, the control device is further configured to: determining each functional component of the Internet of things equipment; respectively determining the characteristic function of each functional component; for each functional component, determining a device resource type corresponding to the functional feature of the functional component as the device resource type of the functional component; for each functional unit, the functional unit is set as a device resource based on the device resource type of the functional unit.
In one possible embodiment, the control device is further configured to: for each functional component, determining a protocol corresponding to the equipment resource type of the functional component as the protocol of the functional component; for each functional unit, the functional unit is set as a device resource based on the device resource type of the functional unit and the protocol of the functional unit.
The embodiment of the application has the following beneficial effects:
according to the disposal method of the equipment in the Internet of things and the setting method of the equipment resources in the equipment in the Internet of things, a disposal request carrying an identifier of the equipment resources to be disposed is obtained, wherein the equipment resources to be disposed are used for realizing at least one function of the equipment in the Internet of things, and the equipment in the Internet of things comprises one or more equipment resources; determining a device resource to be processed according to the processing request; determining a protocol corresponding to the device resource to be processed; and disposing the device resource to be disposed by utilizing the protocol corresponding to the device resource to be disposed. The device resources are used as basic disposal units, and partial functions of the Internet of things devices are disposed. Through the multi-level structural description method of the Internet of things equipment and the equipment resources, the protocols of the equipment resources with the same type are the same among different types of Internet of things equipment, and the protocols of the equipment resources with the same type are also the same under the same type of equipment or the same equipment, so that the protocol design is simplified, the protocol specification is unified, the applicability of the protocol among multiple types of equipment is improved, and the access efficiency of the multiple types of Internet of things equipment is improved; the method is realized in one place in the development process of the Internet of things equipment or application, multiple categories are multiplexed, the development period of the Internet of things equipment and application is shortened, and the method is high in applicability and expansibility. The application method of the device resources in sharing authorization meets diversified application scenes of the Internet of things, can realize fine-grained sharing authorization aiming at complex devices, and improves privacy protection capability. Of course, not all advantages described above need to be achieved at the same time in the practice of any one product or method of the present application.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and other drawings can be obtained by those skilled in the art according to the drawings.
Fig. 1 is a schematic diagram of a method for handling an internet of things device according to an embodiment of the present application;
fig. 2 is a first schematic diagram of a method for setting device resources in an internet of things device according to an embodiment of the present application;
FIG. 3a is a first schematic diagram of the device resources of the network video recorder according to the embodiment of the present application;
FIG. 3b is a second schematic diagram of the device resources of the network video recorder according to the embodiment of the present application;
fig. 4 is a second schematic diagram of a setting method of device resources in an internet of things device according to an embodiment of the present application;
fig. 5 is a schematic diagram of an internet of things device handling apparatus according to an embodiment of the present application;
fig. 6 is a schematic diagram of a device for setting device resources in an internet of things device according to an embodiment of the present application;
fig. 7 is a schematic diagram of an internet of things device management system according to an embodiment of the present application;
fig. 8 is a schematic diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments that can be derived by one of ordinary skill in the art from the description herein are intended to be within the scope of the present disclosure.
In the prior art, in the process of disposing equipment in the internet of things, the authority is authenticated first, and after the authority authentication is passed, the disposal of the equipment is completed by using a protocol corresponding to the equipment. However, the following problems exist in the above manner:
1) different protocol designs need to be set for different Internet of things devices, and the protocol structure is complex and tedious.
In the prior art, protocols of internet of things equipment are highly coupled, equipment of the same model corresponds to one protocol, and different protocols need to be designed because the functions of the equipment of different models are not completely the same even if the functions of the equipment of different models are similar, so that the protocol design is complex and tedious.
2) Similar part protocols among different Internet of things devices are not uniform, and uniform operation and management cannot be carried out.
3) When the user shares the authorization, the limitation that the sharing authorization can not be carried out by taking the independent component as the minimum unit exists.
4) When a new type of internet of things equipment is added, a client and a cloud are required to be developed to meet corresponding disposal requirements, and the problems of low access efficiency and poor applicability and expansibility are caused.
In view of this, an embodiment of the present application provides a method for handling an internet of things device, and referring to fig. 1, the method includes:
s101, a disposal request carrying an identifier of a device resource to be disposed is acquired, wherein the device resource to be disposed is used for realizing at least one function of the Internet of things device, and the Internet of things device comprises one or more device resources.
The method for disposing the internet of things equipment can be realized through electronic equipment, and specifically, the electronic equipment can be a smart phone, a computer, a router or the internet of things equipment.
The internet of things equipment comprises one or more equipment resources, the equipment resources are relatively independent components in the internet of things equipment and are components for independently displaying and handling requirements for users or applications and the like, and the equipment resources can be entity components of the internet of things equipment and also can be abstract controls. Each equipment resource is used for realizing at least one function of the equipment of the Internet of things, and the functions realized by different equipment resources can be the same or different. The pending device resource is a setup resource that the user wishes to handle.
The identifier of the device resource is unique in the current system range, that is, the device resource can be uniquely determined, and the unique identifier can be generated by being distributed in the range of the device of the internet of things to which the device belongs and being combined with the unique identifier of the device of the internet of things in the current system range. A method of uniform allocation within the current system to ensure uniqueness may also be employed. The current system range here may be a local area network range, and may also be a range of a system of a service provider of the internet of things device.
And S102, determining the device resource to be processed according to the processing request.
And analyzing the disposal request to obtain the identifier of the equipment resource to be disposed, thereby determining the equipment resource to be disposed.
S103, determining a protocol corresponding to the device resource to be processed.
In one example, a correspondence between a device resource and a protocol may be recorded in the electronic device, and a protocol corresponding to the device resource to be handled may be determined directly according to the correspondence between the device resource and the protocol.
In one example, the protocols correspond to device resource types, e.g., one device resource type may correspond to one protocol, and different device resource types may correspond to different protocols.
In a possible embodiment, the determining a protocol corresponding to the device resource to be handled includes:
step one, determining the device resource type of the device resource to be processed.
The electronic device records the device resource type of each device resource, and obtains the device resource type of the device resource to be processed.
And step two, determining a protocol corresponding to the device resource type of the device resource to be processed as the protocol of the device resource to be processed according to a preset corresponding relation between the device resource type and the protocol.
The protocol corresponds to the device resource type, and according to the corresponding relationship between the protocol and the device resource type, the protocol corresponding to the device resource type of the device resource to be processed, that is, the protocol of the device resource to be processed, is determined.
And S104, utilizing the protocol corresponding to the device resource to be processed to process the device resource to be processed.
After the protocol of the device resource to be disposed is determined, the device resource to be disposed may be disposed by using the protocol corresponding to the device resource to be disposed, where the disposing includes, but is not limited to, user binding, sharing, displaying on the client, and the like.
In one possible embodiment, the handling the device resource to be handled by using a protocol corresponding to the device resource to be handled includes:
step 1, according to a protocol corresponding to the device resource to be processed, establishing a target application layer communication link based on a pre-established transport layer communication link, wherein index information of the target application layer communication link includes an identifier of the device resource to be processed.
The transport layer communication link here refers to a communication link that is established in advance with the to-be-handled internet of things device, and may be, for example, a transport layer communication link that is established based on a transport layer communication Protocol such as TCP (Transmission Control Protocol).
The target application Layer communication link is an application Layer communication Protocol supported by a Protocol corresponding to a device resource to be processed, and a specific Protocol type is set according to an actual situation, and may be, for example, MQTT (Message queue Telemetry Transport Protocol), HTTP (Hypertext Transfer Protocol), HTTPs (Hypertext Transfer Protocol over Secure Socket Layer), or the like.
The transmission layer communication link is used for establishing communication with the internet of things equipment and can be understood as a physical communication link; the application layer communication link is used for data transmission, and may be understood as a data channel link. The application layer communication link needs to be established based on the transport layer communication link.
The index information of the target application layer communication link includes the identifier of the device Resource to be handled, for example, in a topic or request message of an MQTT link, in a URL (Uniform Resource Locator) of an HTTP/HTTPs link or in a request message, the identifier of the device Resource to be handled is carried, or information equivalent to the identifier of the device Resource to be handled, so that the operation can be performed on the device Resource to be handled.
And 2, disposing the device resource to be disposed based on the target application layer communication link by using a protocol corresponding to the device resource to be disposed.
In one example, the device resource to be processed is processed, and can be shared and authorized, based on the sharing and authorization of the device resource, an authorized person can obtain the authority of a part of components in the internet of things device instead of the authority of the whole device, so that the requirements of various users can be met, and the application of the internet of things device in a complex scene is better met; meanwhile, based on authorization of equipment resources, equipment resources of the same equipment resource type in different types of Internet of things equipment can be authorized in the same mode, and applicability, expansibility and privacy protection capability of application are improved.
In one example, based on the sharing authorization of the device resource, an association relationship may be established between an authorized person and the device resource, and the association relationship may include information such as a right; or a device resource may be copied and associated with an authorized person, and mapping may be performed between the original device resource and the copied device resource.
In a possible embodiment, the method further includes:
and step A, determining each functional component of the Internet of things equipment.
And B, respectively determining the characteristic functions of the functional components.
And step C, determining the equipment resource type corresponding to the functional characteristics of each functional component as the equipment resource type of the functional component.
In a possible implementation manner, the step C, for each functional component, determining a device resource type corresponding to the functional feature of the functional component as the device resource type of the functional component, includes:
for each functional component, determining a device resource type corresponding to the characteristic function of the functional component as the device resource type of the functional component in the established device resource types; and if the established equipment resource type does not have the equipment resource type corresponding to the characteristic function of the functional component, newly establishing the equipment resource type corresponding to the characteristic function of the functional component as the equipment resource type of the functional component.
In one example, a device resource type may correspond to a plurality of feature functions, and in some practical cases, some feature functions may have very slight differences, and these slightly different feature functions may correspond to the same device resource type.
In one example, the similarity between the feature function and the device resource type may be calculated, and the device resource type with the highest similarity to the feature function and larger than the preset similarity threshold may be used as the device resource type corresponding to the feature function. For example, the feature function may include a plurality of sub-function items, the device resource type may include a plurality of sub-function items, and the similarity between the two sub-function items can be obtained by comparing the two sub-function items.
And D, setting the functional component as the equipment resource based on the equipment resource type of the functional component aiming at each functional component.
In a possible embodiment, the method further includes:
step E, determining a protocol corresponding to the equipment resource type of each functional component as the protocol of the functional component;
the step D, for each functional unit, setting the functional unit as a device resource based on the device resource type of the functional unit, includes:
for each functional unit, the functional unit is set as a device resource based on the device resource type of the functional unit and the protocol of the functional unit.
In the embodiment of the application, the device resources are used as basic disposal units, and partial functions of the internet of things devices are disposed. Through the multi-level structural description method of the Internet of things equipment and the equipment resources, the protocols of the equipment resources with the same type are the same among different types of Internet of things equipment, and the protocols of the equipment resources with the same type are also the same under the same type of equipment or the same equipment, so that the protocol design is simplified, the protocol specification is unified, the applicability of the protocol among multiple types of equipment is improved, and the access efficiency of the multiple types of Internet of things equipment is improved; the method is realized in one place in the development process of the Internet of things equipment or application, multiple categories are multiplexed, the development period of the Internet of things equipment and application is shortened, and the method is high in applicability and expansibility. The application method of the device resources in sharing authorization meets diversified application scenes of the Internet of things, can realize fine-grained sharing authorization aiming at complex devices, and improves privacy protection capability.
The embodiment of the application further provides a method for setting device resources in the internet of things device, and referring to fig. 2, the method includes:
s201, aiming at the Internet of things equipment with equipment resources to be set, determining all functional components of the Internet of things equipment.
The method for disposing the internet of things equipment can be realized through electronic equipment, and specifically, the electronic equipment can be a smart phone, a personal computer, a server or the like.
When setting the device resources of the internet of things device, determining each functional component according to the composition and service of the internet of things device, for example, the internet of things device is an unmanned aerial vehicle, and the functional components may include an aircraft and a camera; for example, the internet of things device is a network video recorder, and the functional components of the internet of things device can include a video recording and playing component and an alarm control component.
S202, the characteristic functions of the functional components are determined.
After determining each functional component of the internet of things device, it is necessary to determine the feature function of the general applicability of the functional component. For example, a pan tilt head carrying a camera and a pan tilt head of a ball machine in an unmanned aerial vehicle are both used for adjusting the direction of the camera, and the adjustment of the direction of the camera is the characteristic function of the unmanned aerial vehicle; for example, the camera of the automobile data recorder and the camera of the intelligent door lock are used for shooting videos, and the shot videos are the characteristic functions of the automobile data recorder.
S203, aiming at each functional component, determining the device resource type corresponding to the functional feature of the functional component as the device resource type of the functional component.
Each kind of characteristic function corresponds to a corresponding equipment resource type, and the corresponding relation between the characteristic function and the equipment resource type needs to be set according to actual conditions.
If the feature function of a feature can be matched to an existing device resource type, the feature is a device resource of this type. If the feature function of the functional component does not have a device resource type that can be matched, a device resource type can be newly added, and the functional component belongs to the device resource of the newly added type. In a possible implementation manner, the determining, for each functional component, a device resource type corresponding to a functional feature of the functional component as the device resource type of the functional component includes: for each functional component, determining a device resource type corresponding to the characteristic function of the functional component as the device resource type of the functional component in the established device resource types; and if the established equipment resource type does not have the equipment resource type corresponding to the characteristic function of the functional component, newly establishing the equipment resource type corresponding to the characteristic function of the functional component as the equipment resource type of the functional component.
Taking the internet of things device as an example of a network video recorder, the functional features of the functional components of the network video recorder comprise a preview function, and the network video recorder has the function of universal applicability. The preview function can be used as a functional feature of the device resource corresponding to the video recorder, and the device resource type can be defined as all the functional components including the preview function, that is, all the functional components including the preview function can be classified into the device resource type corresponding to the preview function. In one example, referring to fig. 3a and 3b, for a network video recorder device with a device identifier a, a device resource is set by an external camera, where the external camera is a device resource and the identifier is a-1, that is, the device resource a-1; the external alarm device is connected with the equipment resource through the IO alarm port, and the I/O (input/output) external alarm device is the equipment resource which is marked as A-2, namely the equipment resource A-2. Specifically, the network video recorder a can be externally connected with a camera, and can acquire an image of the externally connected camera for a user to preview, so that the network video recorder with the function of providing preview can be defined as a video type device resource corresponding to the preview function, and the identifier of the network video recorder is a-1. The network video recorder A can also obtain alarm signals of the alarm to provide an alarm function for a user because the network video recorder A can be externally connected with the alarm through the IO alarm port, so that the network video recorder with the alarm function can be defined as an alarm type equipment resource corresponding to the alarm function, and the identifier of the network video recorder A is A-2.
S204, aiming at each functional component, setting the functional component as a device resource based on the device resource type of the functional component.
In the embodiment of the application, the setting of the device resources of the internet of things device is completed by using the functional components of the internet of things device, and then the device resources can be used as a basic disposal unit, so that partial functions of the internet of things device can be disposed.
In the prior art, protocol setting is carried out on the Internet of things equipment, and when part of functions or components in the Internet of things equipment are changed, redesign is needed, so that the workload is large; even aiming at the same kind of Internet of things equipment, protocols among different developers may not be used, and the applicability of the protocols is poor. In one possible embodiment, referring to fig. 4, the method further comprises:
s205, for each functional component, determining a protocol corresponding to the device resource type of the functional component as the protocol of the functional component.
The above, for each functional unit, setting the functional unit as a device resource based on the device resource type of the functional unit, includes:
s2041, for each functional unit, setting the functional unit as a device resource based on the device resource type of the functional unit and the protocol of the functional unit.
Different from the protocol design for the Internet of things equipment, the protocol design is carried out based on the equipment resources in the application, the function object of the protocol is the equipment resources instead of the Internet of things equipment, the protocol structure can be simplified, the protocol specification is unified, the protocols of the same type of equipment resources in different types of Internet of things equipment are kept consistent, the upper layer application is designed and developed based on the equipment resources, and the development speed of the Internet of things equipment can be accelerated through the combined multiplexing of various equipment resources.
In the embodiment of the application, the setting of the device resources of the internet of things device is completed by using the functional components of the internet of things device, and then the device resources can be used as a basic disposal unit, so that partial functions of the internet of things device can be disposed. Through the multi-level structural description method of the Internet of things equipment and the equipment resources, the protocols of the equipment resources with the same type are the same among different types of Internet of things equipment, and the protocols of the equipment resources with the same type are also the same under the same type of equipment or the same equipment, so that the protocol design is simplified, the protocol specification is unified, the applicability of the protocol among multiple types of equipment is improved, and the access efficiency of the multiple types of Internet of things equipment is improved; the method is realized in one place in the development process of the Internet of things equipment or application, multiple categories are multiplexed, the development period of the Internet of things equipment and application is shortened, and the method is high in applicability and expansibility. The application method of the device resources in sharing authorization meets diversified application scenes of the Internet of things, can realize fine-grained sharing authorization aiming at complex devices, and improves privacy protection capability.
An embodiment of the present application further provides an internet of things device disposal apparatus, see fig. 5, the apparatus includes:
a disposal request obtaining module 11, configured to obtain a disposal request carrying an identifier of a device resource to be disposed, where the device resource to be disposed is used to implement at least one function of an internet of things device, and the internet of things device includes one or more device resources;
a device resource determining module 12, configured to determine the device resource to be handled according to the handling request;
a resource protocol determining module 13, configured to determine a protocol corresponding to the to-be-processed device resource;
a resource handling executing module 14, configured to handle the device resource to be handled by using a protocol corresponding to the device resource to be handled.
In a possible implementation manner, the resource protocol determining module is specifically configured to: determining a device resource type of the device resource to be processed; and determining a protocol corresponding to the device resource type of the device resource to be processed as the protocol of the device resource to be processed according to a preset corresponding relation between the device resource type and the protocol.
In a possible implementation manner, the resource handling execution module is specifically configured to: establishing a target application layer communication link based on a pre-established transmission layer communication link according to a protocol corresponding to the device resource to be processed, wherein index information of the target application layer communication link comprises an identifier of the device resource to be processed; and processing the device resource to be processed based on the target application layer communication link by using a protocol corresponding to the device resource to be processed.
In a possible embodiment, the above apparatus further comprises:
the functional component determining module is used for determining each functional component of the Internet of things equipment;
a characteristic function determining module for determining the characteristic function of each functional component;
the resource type determining module is used for determining a device resource type corresponding to the functional feature of each functional component as the device resource type of the functional component;
and the device resource setting module is used for setting each functional component as a device resource based on the device resource type of the functional component.
In a possible embodiment, the above apparatus further comprises:
the type protocol determining module is used for determining a protocol corresponding to the equipment resource type of each functional component as the protocol of the functional component;
the device resource setting module is specifically configured to: for each functional unit, the functional unit is set as a device resource based on the device resource type of the functional unit and the protocol of the functional unit.
In a possible implementation manner, the resource type determining module is specifically configured to: for each functional component, determining a device resource type corresponding to the characteristic function of the functional component as the device resource type of the functional component in the established device resource types; and if the established equipment resource type does not have the equipment resource type corresponding to the characteristic function of the functional component, newly establishing the equipment resource type corresponding to the characteristic function of the functional component as the equipment resource type of the functional component.
In one example, a device resource type may correspond to a plurality of feature functions, and in some practical cases, some feature functions may have very slight differences, and these slightly different feature functions may correspond to the same device resource type.
In one example, the similarity between the feature function and the device resource type may be calculated, and the device resource type with the highest similarity to the feature function and larger than the preset similarity threshold may be used as the device resource type corresponding to the feature function. For example, the feature function may include a plurality of sub-function items, the device resource type may include a plurality of sub-function items, and the similarity between the two sub-function items can be obtained by comparing the two sub-function items.
The embodiment of the present application further provides a device for setting device resources in internet of things devices, refer to fig. 6, and the device includes:
a functional component determining module 21, configured to determine, for an internet of things device to be provisioned with device resources, each functional component of the internet of things device;
a characteristic function determination module 22 for determining characteristic functions of the functional components respectively;
a resource type determining module 23, configured to determine, for each functional component, a device resource type corresponding to the functional feature of the functional component as the device resource type of the functional component;
and a device resource setting module 24, configured to set, for each functional unit, the functional unit as a device resource based on the device resource type of the functional unit.
In a possible embodiment, the above apparatus further comprises:
the type protocol determining module is used for determining a protocol corresponding to the equipment resource type of each functional component as the protocol of the functional component;
the device resource setting module is specifically configured to: for each functional unit, the functional unit is set as a device resource based on the device resource type of the functional unit and the protocol of the functional unit.
In a possible implementation manner, the resource type determining module is specifically configured to: for each functional component, determining a device resource type corresponding to the characteristic function of the functional component as the device resource type of the functional component in the established device resource types; and if the established equipment resource type does not have the equipment resource type corresponding to the characteristic function of the functional component, newly establishing the equipment resource type corresponding to the characteristic function of the functional component as the equipment resource type of the functional component.
The present application further provides an internet of things device management system, see fig. 7, including: a control device 41 and an internet of things device 42;
the control device 41 is configured to obtain a disposal request carrying an identifier of a device resource to be disposed, where the device resource to be disposed is used to implement at least one function of the internet of things device 42, and the internet of things device 42 includes one or more device resources; determining the device resource to be handled according to the handling request; determining a protocol corresponding to the device resource to be processed; disposing the device resource to be disposed of the internet of things device 42 by using the protocol corresponding to the device resource to be disposed;
the internet of things device 42 is configured to, in response to the handling of the device resource to be handled by the control device 41, perform a corresponding handling operation on the device resource to be handled.
In a possible embodiment, the control device 41 is specifically configured to: determining a device resource type for the device resource to be handled; and determining a protocol corresponding to the device resource type of the device resource to be processed as the protocol of the device resource to be processed according to a preset corresponding relation between the device resource type and the protocol.
In a possible embodiment, the control device 41 is specifically configured to: according to a protocol corresponding to the device resource to be processed, establishing a target application layer communication link based on a pre-established transmission layer communication link, wherein index information of the target application layer communication link comprises an identifier of the device resource to be processed; and processing the device resource to be processed based on the target application layer communication link by utilizing a protocol corresponding to the device resource to be processed.
In a possible embodiment, the control device 41 is further configured to: determining each functional component of the Internet of things equipment; respectively determining the characteristic function of each functional component; for each functional component, determining a device resource type corresponding to the functional feature of the functional component as the device resource type of the functional component; for each functional unit, the functional unit is set as a device resource based on the device resource type of the functional unit.
In a possible embodiment, the control device 41 is further configured to: for each functional component, determining a protocol corresponding to the equipment resource type of the functional component as the protocol of the functional component; for each functional unit, the functional unit is set as a device resource based on the device resource type of the functional unit and the protocol of the functional unit.
In one example, the user may implement handling of device resources in the internet of things device by operating the control device, in which case, the control device may be a smartphone or a computer.
In one possible embodiment, the control device may be a server, a router, or the like, and the user may request, through the client device, handling of device resources in the internet of things device; the system further comprises:
the client device is used for acquiring and displaying a device resource list of the internet of things device, wherein the device resource list comprises identifiers of all device resources of the internet of things device, and the device resources are used for realizing at least one function of the internet of things device; acquiring a treatment operation input by a user according to the device resource list and aiming at the device resource to be treated, generating the treatment request based on the treatment operation and sending the treatment request to the control device.
An embodiment of the present application further provides an electronic device, including: a processor and a memory;
the memory is used for storing computer programs;
the processor is configured to implement the method for handling the internet of things device or the method for setting the device resource in the internet of things device according to any one of the present application when executing the computer program stored in the memory.
Optionally, referring to fig. 8, in addition to the processor 31 and the memory 33, the electronic device according to the embodiment of the present application further includes a communication interface 32 and a communication bus 34, where the processor 31, the communication interface 32, and the memory 33 complete mutual communication through the communication bus 34.
The communication bus mentioned in the electronic device may be a PCI (Peripheral Component Interconnect) bus, an EISA (Extended Industry Standard Architecture) bus, or the like. The communication bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown, but this does not mean that there is only one bus or one type of bus.
The communication interface is used for communication between the electronic equipment and other equipment.
The Memory may include a RAM (Random Access Memory) or an NVM (Non-Volatile Memory), such as at least one disk Memory. Optionally, the memory may also be at least one memory device located remotely from the processor.
The Processor may be a general-purpose Processor, including a Central Processing Unit (CPU), a Network Processor (NP), and the like; but also a DSP (Digital Signal Processing), an ASIC (Application Specific Integrated Circuit), an FPGA (Field Programmable Gate Array) or other Programmable logic device, discrete Gate or transistor logic device, discrete hardware component.
An embodiment of the present application further provides a computer-readable storage medium, in which a computer program is stored, and when the computer program is executed by a processor, the method for handling the device in the internet of things or the method for setting the device resource in the device in the internet of things in the present application is implemented.
In yet another embodiment provided by the present application, there is also provided a computer program product containing instructions which, when run on a computer, cause the computer to perform the method for handling devices of the internet of things or the method for setting device resources in devices of the internet of things described in any of the present applications.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the application to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center by wire (e.g., coaxial cable, fiber optic, digital subscriber line) or wirelessly (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that incorporates one or more of the available media. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., Solid State Disk (SSD)), among others.
It should be noted that, in this document, the technical features in the various alternatives can be combined to form the scheme as long as the technical features are not contradictory, and the scheme is within the scope of the disclosure of the present application. Relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
All the embodiments in the present specification are described in a related manner, and the same and similar parts among the embodiments may be referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the embodiments of the apparatus, the electronic device, the computer program product and the storage medium, since they are substantially similar to the method embodiments, the description is relatively simple, and for the relevant points, reference may be made to the partial description of the method embodiments.
The above description is only for the preferred embodiment of the present application and is not intended to limit the scope of the present application. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application are included in the protection scope of the present application.

Claims (21)

1. An Internet of things device handling method, the method comprising:
acquiring a disposal request carrying an identifier of a device resource to be disposed, wherein the device resource to be disposed is used for realizing at least one function of an internet of things device, and the internet of things device comprises one or more device resources;
determining the device resource to be handled according to the handling request;
determining a protocol corresponding to the device resource to be processed;
and utilizing a protocol corresponding to the equipment resource to be processed to process the equipment resource to be processed.
2. The method of claim 1, wherein the determining a protocol to which the device resource to be handled corresponds comprises:
determining a device resource type for the device resource to be handled;
and determining a protocol corresponding to the device resource type of the device resource to be processed as the protocol of the device resource to be processed according to a preset corresponding relation between the device resource type and the protocol.
3. The method according to claim 1, wherein the handling the device resource to be handled by using a protocol corresponding to the device resource to be handled comprises:
according to a protocol corresponding to the device resource to be processed, establishing a target application layer communication link based on a pre-established transmission layer communication link, wherein index information of the target application layer communication link comprises an identifier of the device resource to be processed;
and processing the device resource to be processed based on the target application layer communication link by utilizing a protocol corresponding to the device resource to be processed.
4. The method of claim 1, further comprising:
determining each functional component of the Internet of things equipment;
respectively determining the characteristic function of each functional component;
for each functional component, determining a device resource type corresponding to the functional feature of the functional component as the device resource type of the functional component;
for each functional unit, the functional unit is set as a device resource based on the device resource type of the functional unit.
5. The method of claim 4, further comprising:
for each functional component, determining a protocol corresponding to the equipment resource type of the functional component as the protocol of the functional component;
the setting, for each functional unit, the functional unit as a device resource based on the device resource type of the functional unit includes:
for each functional unit, the functional unit is set as a device resource based on the device resource type of the functional unit and the protocol of the functional unit.
6. The method of claim 4, wherein the determining, for each functional component, a device resource type corresponding to the functional feature of the functional component as the device resource type of the functional component comprises:
for each functional component, determining a device resource type corresponding to the characteristic function of the functional component as the device resource type of the functional component in the established device resource types; and if the established equipment resource type does not have the equipment resource type corresponding to the characteristic function of the functional component, newly establishing the equipment resource type corresponding to the characteristic function of the functional component as the equipment resource type of the functional component.
7. A method for setting device resources in Internet of things equipment is characterized by comprising the following steps:
determining each functional component of the Internet of things equipment aiming at the Internet of things equipment of the equipment resource to be set;
respectively determining the characteristic function of each functional component;
for each functional component, determining a device resource type corresponding to the functional feature of the functional component as the device resource type of the functional component;
for each functional unit, the functional unit is set as a device resource based on the device resource type of the functional unit.
8. The method of claim 7, further comprising:
for each functional component, determining a protocol corresponding to the equipment resource type of the functional component as the protocol of the functional component;
the setting, for each functional unit, the functional unit as a device resource based on the device resource type of the functional unit includes:
for each functional unit, the functional unit is set as a device resource based on the device resource type of the functional unit and the protocol of the functional unit.
9. The method of claim 7, wherein determining, for each functional component, a device resource type corresponding to the functional feature of the functional component as the device resource type of the functional component comprises:
for each functional component, determining a device resource type corresponding to the characteristic function of the functional component as the device resource type of the functional component in the established device resource types; and if the established equipment resource type does not have the equipment resource type corresponding to the characteristic function of the functional component, newly establishing the equipment resource type corresponding to the characteristic function of the functional component as the equipment resource type of the functional component.
10. An internet of things device management system, comprising: control equipment and Internet of things equipment;
the control device is configured to obtain a disposal request carrying an identifier of a device resource to be disposed, where the device resource to be disposed is used to implement at least one function of the internet of things device, and the internet of things device includes one or more device resources; determining the device resource to be handled according to the handling request; determining a protocol corresponding to the device resource to be processed; disposing the device resource to be disposed of the internet of things device by using the protocol corresponding to the device resource to be disposed of;
the IOT device is used for responding to the treatment of the control device for the device resource to be treated, and performing corresponding treatment operation on the device resource to be treated.
11. The system of claim 10, further comprising:
the client device is used for acquiring and displaying a device resource list of the internet of things device, wherein the device resource list comprises identifiers of all device resources of the internet of things device, and the device resources are used for realizing at least one function of the internet of things device; acquiring a treatment operation input by a user according to the device resource list and aiming at the device resource to be treated, generating the treatment request based on the treatment operation and sending the treatment request to the control device.
12. The system according to claim 10, characterized in that the control device is specifically configured to: determining a device resource type for the device resource to be handled; and determining a protocol corresponding to the device resource type of the device resource to be processed as the protocol of the device resource to be processed according to a preset corresponding relation between the device resource type and the protocol.
13. The system according to claim 10, characterized in that the control device is specifically configured to: according to a protocol corresponding to the device resource to be processed, establishing a target application layer communication link based on a pre-established transmission layer communication link, wherein index information of the target application layer communication link comprises an identifier of the device resource to be processed; and processing the device resource to be processed based on the target application layer communication link by utilizing a protocol corresponding to the device resource to be processed.
14. The system of claim 10, wherein the control device is further configured to: determining each functional component of the Internet of things equipment; respectively determining the characteristic function of each functional component; for each functional component, determining a device resource type corresponding to the functional feature of the functional component as the device resource type of the functional component; for each functional unit, the functional unit is set as a device resource based on the device resource type of the functional unit.
15. The system of claim 14, wherein the control device is further configured to: for each functional component, determining a protocol corresponding to the equipment resource type of the functional component as the protocol of the functional component; for each functional unit, the functional unit is set as a device resource based on the device resource type of the functional unit and the protocol of the functional unit.
16. An internet of things device disposal apparatus, the apparatus comprising:
the processing device comprises a processing request acquisition module, a processing module and a processing module, wherein the processing request acquisition module is used for acquiring a processing request carrying an identifier of a device resource to be processed, the device resource to be processed is used for realizing at least one function of the internet of things device, and the internet of things device comprises one or more device resources;
a device resource determining module, configured to determine the device resource to be handled according to the handling request;
a resource protocol determining module, configured to determine a protocol corresponding to the device resource to be processed;
and the resource handling execution module is used for handling the equipment resource to be handled by utilizing a protocol corresponding to the equipment resource to be handled.
17. The apparatus of claim 16, wherein the resource protocol determining module is specifically configured to: determining a device resource type for the device resource to be handled; determining a protocol corresponding to the device resource type of the device resource to be processed as a protocol of the device resource to be processed according to a preset corresponding relation between the device resource type and the protocol;
the resource handling execution module is specifically configured to: according to a protocol corresponding to the device resource to be processed, establishing a target application layer communication link based on a pre-established transmission layer communication link, wherein index information of the target application layer communication link comprises an identifier of the device resource to be processed; processing the device resource to be processed based on the target application layer communication link by utilizing a protocol corresponding to the device resource to be processed;
the device further comprises: the functional component determining module is used for determining each functional component of the Internet of things equipment; the characteristic function determining module is used for respectively determining the characteristic functions of the functional components; the resource type determining module is used for determining a device resource type corresponding to the functional feature of each functional component as the device resource type of the functional component; the device resource setting module is used for setting each functional component as a device resource based on the device resource type of the functional component;
the device further comprises: the type protocol determining module is used for determining a protocol corresponding to the equipment resource type of each functional component as the protocol of the functional component; the device resource setting module is specifically configured to: setting each functional component as a device resource based on the device resource type of the functional component and the protocol of the functional component;
the resource type determining module is specifically configured to: for each functional component, determining a device resource type corresponding to the characteristic function of the functional component as the device resource type of the functional component in the established device resource types; and if the established equipment resource type does not have the equipment resource type corresponding to the characteristic function of the functional component, newly establishing the equipment resource type corresponding to the characteristic function of the functional component as the equipment resource type of the functional component.
18. The utility model provides a setting device of equipment resource in thing networking equipment which characterized in that, the device includes:
the functional component determining module is used for determining each functional component of the Internet of things equipment aiming at the Internet of things equipment of the equipment resource to be set;
the characteristic function determining module is used for respectively determining the characteristic functions of the functional components;
the resource type determining module is used for determining a device resource type corresponding to the functional feature of each functional component as the device resource type of the functional component;
and the device resource setting module is used for setting each functional component as a device resource based on the device resource type of the functional component.
19. The apparatus of claim 18, further comprising: the type protocol determining module is used for determining a protocol corresponding to the equipment resource type of each functional component as the protocol of the functional component; the device resource setting module is specifically configured to: setting each functional component as a device resource based on the device resource type of the functional component and the protocol of the functional component;
the resource type determining module is specifically configured to: for each functional component, determining a device resource type corresponding to the characteristic function of the functional component as the device resource type of the functional component in the established device resource types; and if the established equipment resource type does not have the equipment resource type corresponding to the characteristic function of the functional component, newly establishing the equipment resource type corresponding to the characteristic function of the functional component as the equipment resource type of the functional component.
20. An electronic device comprising a processor and a memory;
the memory is used for storing a computer program;
the processor, when executing the program stored in the memory, implementing the method of any of claims 1-9.
21. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the method of any one of claims 1 to 9.
CN202110594010.2A 2021-05-28 2021-05-28 Internet of things equipment disposal method and method for setting equipment resources in internet of things equipment Active CN113347171B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202110594010.2A CN113347171B (en) 2021-05-28 2021-05-28 Internet of things equipment disposal method and method for setting equipment resources in internet of things equipment
PCT/CN2022/087406 WO2022247525A1 (en) 2021-05-28 2022-04-18 Method for handling internet of things device, and method for setting device resource in internet of things device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110594010.2A CN113347171B (en) 2021-05-28 2021-05-28 Internet of things equipment disposal method and method for setting equipment resources in internet of things equipment

Publications (2)

Publication Number Publication Date
CN113347171A true CN113347171A (en) 2021-09-03
CN113347171B CN113347171B (en) 2022-07-05

Family

ID=77472149

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110594010.2A Active CN113347171B (en) 2021-05-28 2021-05-28 Internet of things equipment disposal method and method for setting equipment resources in internet of things equipment

Country Status (2)

Country Link
CN (1) CN113347171B (en)
WO (1) WO2022247525A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022247525A1 (en) * 2021-05-28 2022-12-01 杭州萤石软件有限公司 Method for handling internet of things device, and method for setting device resource in internet of things device

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE10048979A1 (en) * 2000-09-27 2002-04-11 Bernhard Walke Software development method for mobile telecommunications combines generic protocol stack for several system types with required standard specific module
CN101470625A (en) * 2007-12-25 2009-07-01 新奥特(北京)视频技术有限公司 Multitask execution method in large software
US20100191870A1 (en) * 2007-06-19 2010-07-29 Beijing Watch Data System ,Co., Ltd. A Corporation Equipment and method to implement adaptive functions of communication protocols
CN104267985A (en) * 2014-09-23 2015-01-07 杭州华三通信技术有限公司 Software loading method and device
CN106250124A (en) * 2016-07-25 2016-12-21 百富计算机技术(深圳)有限公司 The implementation method of the cross-platform operation of functional module and device
CN106416174A (en) * 2014-05-30 2017-02-15 华为技术有限公司 Network protocol configuration method and device
CN206332688U (en) * 2016-12-29 2017-07-14 航天信息股份有限公司 A kind of things-internet gateway
CN110224972A (en) * 2019-04-19 2019-09-10 凯通科技股份有限公司 One kind is towards multi-protocols polymorphic type equipment access system, method and device
US20200028937A1 (en) * 2018-07-20 2020-01-23 Boe Technology Group Co., Ltd. Home gateway and control method thereof
CN110798505A (en) * 2019-09-27 2020-02-14 深圳市火乐科技发展有限公司 Management method and related device of plug-in Internet of things equipment
CN112799825A (en) * 2019-11-13 2021-05-14 中国移动通信有限公司研究院 Task processing method and network equipment

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9900775B2 (en) * 2015-09-02 2018-02-20 International Business Machines Corporation On-device authorization of devices for collaboration and association
CN106528289B (en) * 2015-09-15 2020-10-23 南京中兴软件有限责任公司 Resource operation processing method and device
CN110858838B (en) * 2018-08-24 2021-03-09 Oppo广东移动通信有限公司 Method and apparatus for bridging communications
CN113347171B (en) * 2021-05-28 2022-07-05 杭州萤石软件有限公司 Internet of things equipment disposal method and method for setting equipment resources in internet of things equipment

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE10048979A1 (en) * 2000-09-27 2002-04-11 Bernhard Walke Software development method for mobile telecommunications combines generic protocol stack for several system types with required standard specific module
US20100191870A1 (en) * 2007-06-19 2010-07-29 Beijing Watch Data System ,Co., Ltd. A Corporation Equipment and method to implement adaptive functions of communication protocols
CN101470625A (en) * 2007-12-25 2009-07-01 新奥特(北京)视频技术有限公司 Multitask execution method in large software
CN106416174A (en) * 2014-05-30 2017-02-15 华为技术有限公司 Network protocol configuration method and device
CN104267985A (en) * 2014-09-23 2015-01-07 杭州华三通信技术有限公司 Software loading method and device
CN106250124A (en) * 2016-07-25 2016-12-21 百富计算机技术(深圳)有限公司 The implementation method of the cross-platform operation of functional module and device
CN206332688U (en) * 2016-12-29 2017-07-14 航天信息股份有限公司 A kind of things-internet gateway
US20200028937A1 (en) * 2018-07-20 2020-01-23 Boe Technology Group Co., Ltd. Home gateway and control method thereof
CN110224972A (en) * 2019-04-19 2019-09-10 凯通科技股份有限公司 One kind is towards multi-protocols polymorphic type equipment access system, method and device
CN110798505A (en) * 2019-09-27 2020-02-14 深圳市火乐科技发展有限公司 Management method and related device of plug-in Internet of things equipment
CN112799825A (en) * 2019-11-13 2021-05-14 中国移动通信有限公司研究院 Task processing method and network equipment

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
HOLGER ZELFWANGER: "CANopen通信协议――标准化对于制造商、系统集成商和买家来说是一个有利条件", 《可编程控制器与工厂自动化》 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022247525A1 (en) * 2021-05-28 2022-12-01 杭州萤石软件有限公司 Method for handling internet of things device, and method for setting device resource in internet of things device

Also Published As

Publication number Publication date
CN113347171B (en) 2022-07-05
WO2022247525A1 (en) 2022-12-01

Similar Documents

Publication Publication Date Title
US10218678B2 (en) Method and apparatus for accessing third-party resources
US20210144224A1 (en) Selectively transforming assets returned by a proxy device
US9116893B2 (en) Network connected media gateway for communication networks
CN109145201B (en) Information management method, device, equipment and storage medium based on block chain
EP3694175A1 (en) System and method for delegating authority through coupled devices
US20170371625A1 (en) Content delivery method
US20180007024A1 (en) Methods and apparatus for obtaining a scoped token
US11516279B2 (en) Systems and methods for accessing multiple resources via one identifier
US20230208831A1 (en) Service processing method and apparatus, server, and storage medium
JP2016071561A (en) Service provider apparatus, program, and service providing method
JP2015525384A (en) Method and apparatus for media information access control and digital home multimedia system
CN111371889B (en) Message processing method and device, internet of things system and storage medium
CN113347171B (en) Internet of things equipment disposal method and method for setting equipment resources in internet of things equipment
EP3338408A1 (en) Local compute resources and access terms
CN113489689B (en) Authentication method and device for access request, storage medium and electronic equipment
KR102406501B1 (en) Data sharing method among passengers of vehicle and system thereof
US11321487B2 (en) Contextual privacy policy implementation via digital blurring system
CN117251837A (en) System access method and device, electronic equipment and storage medium
CN110048864B (en) Method and apparatus for authenticating an administrator of a device-specific message group
WO2016091210A1 (en) Content delivery method
WO2018188073A1 (en) Content deployment method and distribution controller
CN114584604B (en) Screen sharing method, system, electronic equipment and storage medium
CN111698324B (en) Data request method, device and system
KR20120071787A (en) Method for providing home network contents information in remote access environment
US20140358881A1 (en) Search Infrastructure Supporting Identification, Setup and Maintenance of Machine to Machine Interactions

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant