CN113472587B - Internet of things equipment and object model binding method based on network communication - Google Patents

Internet of things equipment and object model binding method based on network communication Download PDF

Info

Publication number
CN113472587B
CN113472587B CN202110783248.XA CN202110783248A CN113472587B CN 113472587 B CN113472587 B CN 113472587B CN 202110783248 A CN202110783248 A CN 202110783248A CN 113472587 B CN113472587 B CN 113472587B
Authority
CN
China
Prior art keywords
internet
equipment
binding
things equipment
things
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.)
Active
Application number
CN202110783248.XA
Other languages
Chinese (zh)
Other versions
CN113472587A (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.)
Shandong University
Original Assignee
Shandong University
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 Shandong University filed Critical Shandong University
Priority to CN202110783248.XA priority Critical patent/CN113472587B/en
Publication of CN113472587A publication Critical patent/CN113472587A/en
Application granted granted Critical
Publication of CN113472587B publication Critical patent/CN113472587B/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
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/04Network management architectures or arrangements
    • H04L41/042Network management architectures or arrangements comprising distributed management centres cooperatively managing the network
    • 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

Abstract

The invention relates to a method for binding Internet of things equipment and a physical model based on network communication, and belongs to the technical field of Internet of things equipment management. The Internet of things equipment is mapped into an object model at the server side and stored in the database, and a user manages the Internet of things equipment through the object model. Before the operation, the Internet of things equipment and the object model need to be bound, the one-to-one corresponding relation between the Internet of things equipment and the object model is realized, the binding is realized through network communication, a user needs to provide a binding code of the equipment at an equipment end, the binding code is sent to a server end for binding, the server end completes the binding operation, the corresponding relation between the storage networking equipment and the object model is stored in a database, and in the binding process, the user only needs to provide a Bindcode, so that the binding is guaranteed to be completed quickly and conveniently.

Description

Internet of things equipment and object model binding method based on network communication
Technical Field
The invention relates to a method for binding Internet of things equipment and an object model based on network communication, and belongs to the technical field of Internet of things equipment management.
Background
The concept of the Internet of Things (IOT) has been proposed since 1999, has been developed for over 20 years, and finally moves from laboratory to real life. The extension and the expansion of the internet in the internet of things are different in that the terminals of the internet are a PC and a server, and the terminals of the internet of things can be in various forms, such as wearable equipment, environment monitoring equipment, virtual display equipment and the like. That is, the goal of the internet of things is to connect everything to a network, enabling communication between items and people.
The terminals of the internet of things can be in various forms, so that the number of the terminals in the internet of things is not limited to one terminal in the internet of things, and more devices to be networked exist in industrial production and daily life. According to the prediction of a certain mobile phone factory, the quantity of the Internet of things equipment is expected to reach over one billion level in 2025. At present, a plurality of new terminal forms appear in the market, and the terminal form of the Internet of things is identified to be no longer limited to a card form. The application scenes of the internet of things are increasingly abundant due to the prosperity of markets such as intelligent wearing, smart communities, internet of vehicles and the like. Networking modes of the Internet of things are increasingly abundant, and the networking modes are not limited to NFC and RFID card swiping scenes.
People pay more attention to the development and abundance of terminals in the early stage of the development of the internet of things, but the internet of things not only lies in equipment but also comprises the management of the equipment, but the current situation of the internet of things is that the connection is realized for connection at present, the production efficiency cannot be improved, the phenomenon is caused by the deficiency of cloud management, and the problem of '3L', namely long-time, long-distance and low-price, which is proposed by Google Glasses at the same time cannot be solved. The internet of things is regarded as a comprehensive grid, cloud management should be developed, and an ecological closed loop is formed.
Disclosure of Invention
Aiming at the defects of the prior art, the invention provides a method for binding Internet of things equipment and an object model based on network communication. Before the operation, the internet of things equipment and the object model need to be bound, and the one-to-one correspondence relationship between the internet of things equipment and the object model is realized, which is the core of the invention. The binding is realized through network communication, a user needs to provide a binding code (unique code in all internet of things devices) of the device at a device end, the binding code is sent to a server end to request binding, the server end completes the binding operation, and the corresponding relation between the internet of things devices and the object model is stored in a database. In the binding process, a user only needs to provide the Bindcode, so that the binding is quickly and conveniently completed.
Interpretation of terms:
and (3) modeling: the method refers to mapping the internet of things equipment into a data model with a database, namely virtual equipment stored in the database.
bind: binding refers to a process of establishing a one-to-one relationship between real internet-of-things equipment and an object model stored in a database, namely establishing a one-to-one correspondence between deviceId and a BindCode.
deviceId: the device id is a string of globally unique characters capable of identifying the device, and each deviceId represents an internet-of-things device.
Bindcode: the binding code is a string of character strings which need to be provided for a background when physical internet of things equipment performs bind operation, is required to be unique in all equipment of a user, and is customized by the user.
The technical scheme of the invention is as follows:
a method for binding Internet of things equipment and an object model based on network communication comprises the following steps:
(1) after the Internet of things equipment is started, judging whether the Internet of things equipment is bound with a server side object model, if not, performing the step (2), and if so, performing the step (5);
(2) the Internet of things equipment sends an equipment binding request to a server through network communication, wherein the information comprises a globally unique BindCode information;
(3) and after receiving the equipment binding request, the server generates a globally unique deviceId for the equipment of the Internet of things according to the specific information of the equipment of the Internet of things.
(4) After the server stores the one-to-one corresponding relation between the Internet of things equipment and the object model in the database, the one-to-one corresponding relation between the Internet of things equipment and the object model refers to a connection relation established by the Internet of things equipment and the object model through the globally unique deviceId, the deviceId generated in the step (3) is sent to the Internet of things equipment through network communication, and the BindCode and the deviceId are stored locally by the Internet of things equipment.
(5) After the Internet of things equipment is bound, data of the Internet of things equipment is synchronized to a server side physical model, and the server side manages the Internet of things equipment through management of the physical model, wherein the management comprises memory data management, equipment binding management, data persistence and data synchronization management.
Preferably, in the step (1), the determination mode is that locally stored binding information bind.xml is read, and if the reading is successful and the deviceId in the file is not empty, it is proved that the device is bound completely without being bound again; if the reading fails or the reading deviceId is empty, a binding operation needs to be performed.
Preferably, in step (3), the deviceId contains information about the device, and the component format is as follows: affiliated company identification _ device type _ timestamp, affiliated company identification representing which company the device belongs to; the device type indicates the current device category, such as wearing device, monitoring device, etc.; the timestamp is the time the device requested the binding.
The system for binding the Internet of things equipment and the object model based on network communication comprises the Internet of things equipment and a server object model, wherein the Internet of things equipment is Internet-connected Internet of things equipment, such as wearable equipment, environment monitoring equipment, virtual display equipment and the like, and the Internet of things equipment and the server object model are in network communication.
The invention has the beneficial effects that:
1. the deviceId format generated by the invention is as follows: the company id _ device type _ timestamp, and the company id, device type, and binding time of the device can be easily known through the deviceId.
2. The deviceId of the equipment is generated by the server side according to the specific rule, so that the equipment information can be quickly known, and the equipment safety is high. Because the deviceId is generated by the server, the deviceId is not easy to be cracked by a third party, and therefore leakage of related data of the equipment is effectively avoided.
3. According to the invention, the Internet of things equipment and the server side object model are bound, and a one-to-one relation between the Internet of things equipment and the server side object model is established, so that the management of the object model can be synchronized to the Internet of things equipment side, the change of the Internet of things equipment can be synchronized to the object model, and the remote management of the Internet of things equipment by a user is facilitated.
4. The method for binding the Internet of things equipment and the object model has better universality. The binding code in the invention can be specified by the user, and the specific binding code is not compulsorily used, so that the selectivity of the user is higher, and the invention can also be adapted to more Internet of things devices.
5. The invention can save the binding state of the equipment, and the equipment end can judge whether the current equipment of the Internet of things is bound when a user binds, thereby effectively reducing unnecessary time-consuming networking operation and improving the application efficiency.
Drawings
FIG. 1 is a flow chart of the binding of Internet of things equipment and an object model according to the invention;
fig. 2 is a timing diagram illustrating the binding of the internet of things device and the object model according to the present invention.
Detailed Description
The present invention will be further described by way of examples, but not limited thereto, with reference to the accompanying drawings.
Example 1:
a method for binding Internet of things equipment and an object model based on network communication comprises the following processes:
(1) and starting the Internet of things equipment, and judging whether the Internet of things equipment is bound with the server side object model. Reading locally stored binding information bind.xml, and if the reading is successful and the deviceId in the file is not empty, proving that the equipment of the internet of things is bound and does not need to be bound again; if the reading fails or the read deviceId is null, a binding operation needs to be performed.
(2) The Internet of things equipment sends an equipment binding request to the server through network communication, and the message contains a globally unique Bindcode message.
(3) After receiving the request for binding the internet of things equipment, the server generates a globally unique deviceId for the internet of things equipment according to the specific information of the equipment. The deviceId contains related information of the internet of things equipment, and the composition format is as follows: affiliated company identification _ device type _ timestamp, affiliated company identification representing which company the device belongs to; the device type indicates the current device category, such as wearing device, monitoring device, etc.; the timestamp is the time the device requested the binding.
(4) And (3) after the server stores the relation between the Internet of things equipment and the object model in a database, the deviceId generated in the step (3) is sent to the Internet of things equipment through network communication, and the Internet of things equipment stores the Bindcode and deviceId information to the local.
(5) After the internet of things equipment is bound, data of the internet of things equipment can be synchronized to the physical model of the server side, and the server side can manage the internet of things equipment through management of the physical model.
The system for binding the Internet of things equipment and the object model based on network communication comprises the Internet of things equipment and a server object model, wherein the Internet of things equipment is Internet-connected Internet of things equipment, such as wearable equipment, environment monitoring equipment, virtual display equipment and the like, and the Internet of things equipment and the server object model are in network communication.

Claims (2)

1. A method for binding Internet of things equipment and an object model based on network communication is characterized by comprising the following steps:
(1) after the Internet of things equipment is started, judging whether the Internet of things equipment is bound with a server side object model, if not, performing the step (2), and if so, performing the step (5);
(2) the Internet of things equipment sends an equipment binding request to a server through network communication, wherein the information comprises a globally unique Bindcode message;
(3) after receiving the equipment binding request, the server generates a globally unique deviceId for the equipment of the Internet of things according to the specific information of the equipment of the Internet of things;
(4) after the server stores the one-to-one corresponding relation between the Internet of things equipment and the object model in the database, the deviceId generated in the step (3) is sent to the Internet of things equipment through network communication, and the Internet of things equipment stores the Bindcode and the deviceId to the local;
(5) after the Internet of things equipment is bound, synchronizing data of the Internet of things equipment to a server side property model, and managing the Internet of things equipment by the server side through the property model;
in the step (1), the judgment mode is that locally stored binding information bind.xml is read, if the reading is successful and deviceId in the file is not null, the device is proved to be bound completely without being bound again; if the reading fails or the reading deviceId is null, the binding operation is required;
the object model comprises the following steps: the method comprises the steps that the Internet of things equipment is mapped into a data model with a database, namely virtual equipment stored in the database;
bind: binding, namely establishing a one-to-one relation between real internet-of-things equipment and an object model stored in a database, namely establishing a one-to-one correspondence between deviceId and BindCode;
deviceId: the device identification method comprises the following steps that the device identification method is a string of globally unique character strings capable of identifying devices, and each deviceId represents an internet of things device;
bindcode: the binding code is a string of character strings which need to be provided for a background when physical internet of things equipment performs bind operation, is required to be unique in all equipment of a user, and is customized by the user.
2. The method for binding internet-of-things device and object model based on network communication as claimed in claim 1, wherein in step (3), the deviceId contains the relevant information of the device, and the composition format is: affiliated company identification _ device type _ timestamp, affiliated company identification representing which company the device belongs to; the device type indicates the current device class and the timestamp is the time the device requests the binding.
CN202110783248.XA 2021-07-12 2021-07-12 Internet of things equipment and object model binding method based on network communication Active CN113472587B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110783248.XA CN113472587B (en) 2021-07-12 2021-07-12 Internet of things equipment and object model binding method based on network communication

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110783248.XA CN113472587B (en) 2021-07-12 2021-07-12 Internet of things equipment and object model binding method based on network communication

Publications (2)

Publication Number Publication Date
CN113472587A CN113472587A (en) 2021-10-01
CN113472587B true CN113472587B (en) 2022-09-13

Family

ID=77879742

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110783248.XA Active CN113472587B (en) 2021-07-12 2021-07-12 Internet of things equipment and object model binding method based on network communication

Country Status (1)

Country Link
CN (1) CN113472587B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114039997A (en) * 2021-10-22 2022-02-11 阿里云计算有限公司 Data processing method and device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105704116A (en) * 2015-12-31 2016-06-22 深圳市美贝壳科技有限公司 Method for binding intelligent device through binding code
CN113067837A (en) * 2021-04-30 2021-07-02 上海移远通信科技有限公司 Binding and verification method applied to Internet of things system and Internet of things system

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019019014A1 (en) * 2017-07-25 2019-01-31 北京小米移动软件有限公司 Method for binding nb-iot device, and internet of things control system
CN112383891B (en) * 2020-10-02 2022-12-20 中盈优创资讯科技有限公司 Equipment registration method and device based on object model automatic matching
CN112260863A (en) * 2020-10-15 2021-01-22 腾讯科技(深圳)有限公司 Organization-level network equipment connection management method and device and computer equipment

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105704116A (en) * 2015-12-31 2016-06-22 深圳市美贝壳科技有限公司 Method for binding intelligent device through binding code
CN113067837A (en) * 2021-04-30 2021-07-02 上海移远通信科技有限公司 Binding and verification method applied to Internet of things system and Internet of things system

Also Published As

Publication number Publication date
CN113472587A (en) 2021-10-01

Similar Documents

Publication Publication Date Title
US20150189030A1 (en) Message processing method, device and system for Internet of Things
CN104660682A (en) OPC data acquisition and monitoring intelligent terminal based on TD-LTE
CN102833817A (en) Network access method and system based on home gateway and home gateway
CN103605798A (en) Method for directly operating file stored at cloud end
CN113472587B (en) Internet of things equipment and object model binding method based on network communication
CN100416566C (en) Picture data storage and read method
CN108664625B (en) Cross-system data synchronization method and device
CN101673217B (en) Method for realizing remote program call and system thereof
CN103399795A (en) Address book synchronizing method and device
CN101378561A (en) Method for providing terminal appearance contents, appearance customization server and system
CN109219028A (en) Equivalent device Bluetooth communication method and device based on cloud
CN104866650A (en) Abstract equipment creating method and device
CN102457553A (en) Off-line SaaS (software as a service) application software realization method based on B/S (browser/server) mode
US9684938B2 (en) Methods for generating electronic appliance identifier and managing information by using electronic appliance identifier
CN103036861A (en) Relationship match method, system, server-side and client-side of contacts in address book
CN110633318A (en) Data extraction processing method, device, equipment and storage medium
CN102299945A (en) Gateway configuration page registration method, system thereof and portal certificate server
CN113391559A (en) Smart home equipment control method and terminal equipment
CN100525208C (en) Data synchronization method
CN101360034A (en) Digital family data interchanging middleware
CN101951361B (en) Method for accessing intelligent card and server
TW200527291A (en) Automated generation of message exchange pattern simulation code
CN102325043B (en) Topology generation method, device and system
CN105530542B (en) The method and module TV of module TV upgrading
CN105607594A (en) Method for searching equipment by server memory based on smart home appliance

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