CN111125648B - Equipment change method and device - Google Patents

Equipment change method and device Download PDF

Info

Publication number
CN111125648B
CN111125648B CN201811296687.2A CN201811296687A CN111125648B CN 111125648 B CN111125648 B CN 111125648B CN 201811296687 A CN201811296687 A CN 201811296687A CN 111125648 B CN111125648 B CN 111125648B
Authority
CN
China
Prior art keywords
equipment
internet
things
platform
request
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
CN201811296687.2A
Other languages
Chinese (zh)
Other versions
CN111125648A (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.)
Datang Mobile Communications Equipment Co Ltd
Original Assignee
Datang Mobile Communications Equipment 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 Datang Mobile Communications Equipment Co Ltd filed Critical Datang Mobile Communications Equipment Co Ltd
Priority to CN201811296687.2A priority Critical patent/CN111125648B/en
Publication of CN111125648A publication Critical patent/CN111125648A/en
Application granted granted Critical
Publication of CN111125648B publication Critical patent/CN111125648B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/54Presence management, e.g. monitoring or registration for receipt of user log-on information, or the connection status of the users

Abstract

The embodiment of the invention provides a device changing method and a device, wherein the method specifically comprises the following steps: the method comprises the steps that an equipment monitoring application platform receives an equipment change message sent by an Internet of things platform, wherein the equipment change message is generated when at least one piece of Internet of things equipment in the Internet of things platform is changed; generating a corresponding equipment information request according to the equipment change message, and sending the equipment information request to the Internet of things platform; receiving equipment information corresponding to the equipment information request, wherein the equipment information comprises changed equipment information corresponding to equipment in the Internet of things platform and is issued after the Internet of things platform calls an authorization authentication module to successfully authenticate the equipment information request; updating the equipment information in the equipment monitoring application platform according to the equipment information corresponding to the equipment information request so as to change at least one piece of equipment of the Internet of things; thereby improving the device change efficiency.

Description

Equipment change method and device
Technical Field
The present invention relates to the field of data processing technologies, and in particular, to an apparatus changing method and an apparatus changing device.
Background
At present, in order to prevent the well lid from being stolen, an electronic anti-theft device is installed in the well lid when the well lid is deployed, and the inclination, the displacement, the damage and the underground water level state of the well lid are detected through the electronic anti-theft device; the detected data can be reported to the Internet of things platform, and the Internet of things platform can issue the data to the well lid monitoring application platform, so that a user can conveniently monitor the well lid in real time.
With the continuous promotion of urban construction, the well covers need to be added in certain areas, and the well covers need to be reduced in certain areas; wherein, every time increase a well lid, all need add corresponding equipment information in thing networking platform and well lid control application platform respectively to insert thing networking platform and well lid control application platform with the well lid. Correspondingly, a well lid is cut down, and corresponding equipment information also needs to be deleted in the internet of things platform and the well lid monitoring application platform respectively so as to remove the well lid from the internet of things platform and the well lid application platform. The method comprises the following steps that equipment information is added/deleted in a well lid monitoring application platform through manual operation, in the operation process, only equipment information of one intelligent well lid can be added/deleted each time, and the equipment information of one intelligent well lid is verified once through an Internet of things platform; when the number of the manhole covers which are increased and/or reduced at the same time is large, a large amount of time is consumed for adding/deleting the equipment information in the manhole cover application platform, and the equipment changing efficiency is low.
Disclosure of Invention
The embodiment of the invention provides an equipment changing method, which is used for improving equipment changing efficiency.
Correspondingly, the embodiment of the invention also provides a device changing device which is used for ensuring the realization and the application of the method.
In order to solve the above problems, the present invention discloses an equipment change method, which is applied to an internet of things system, wherein the internet of things system comprises an internet of things platform, an equipment monitoring application platform and an internet of things equipment, and specifically comprises: the method comprises the steps that an equipment monitoring application platform receives an equipment change message sent by an Internet of things platform, wherein the equipment change message is generated when at least one piece of Internet of things equipment in the Internet of things platform is changed; generating a corresponding equipment information request according to the equipment change message, and sending the equipment information request to the Internet of things platform; receiving equipment information corresponding to the equipment information request, wherein the equipment information comprises changed equipment information corresponding to equipment in the Internet of things platform and is issued after the Internet of things platform calls an authorization authentication module to successfully authenticate the equipment information request; and updating the equipment information in the equipment monitoring application platform according to the equipment information corresponding to the equipment information request so as to change at least one piece of equipment of the Internet of things.
Optionally, the device information request includes a token request and a device information change request, and the generating a corresponding device information request according to the device change message includes: generating a token request according to the equipment change message, and sending the token request to the Internet of things platform; receiving a token corresponding to the token request, wherein the token is issued after the platform of the internet of things calls an authorization authentication module to successfully authenticate the token request; and generating a device information change request according to the token, and sending the device information change request to the Internet of things platform.
Optionally, the device information is issued by the platform of the internet of things after the token in the request for changing the device information is successfully authenticated by calling the authorization authentication module.
Optionally, the device change message includes a device addition message, and the updating of the device information in the device monitoring application platform according to the device information corresponding to the device information request includes: adding the equipment information corresponding to the equipment information request to a database of an equipment monitoring application platform; and adding the equipment identifier corresponding to the equipment information in an equipment list of the equipment monitoring application platform.
Optionally, the device change message includes a device delete message, and the updating of the device information in the device monitoring application platform according to the device information corresponding to the device information request includes: deleting the equipment information and the corresponding equipment detection data from the database of the equipment monitoring application platform; and deleting the equipment identifier corresponding to the equipment information in an equipment list of the equipment monitoring application platform.
The embodiment of the invention also provides an equipment changing device, which is applied to an internet of things system, wherein the internet of things system comprises an internet of things platform, an equipment monitoring application platform and internet of things equipment, and the equipment changing device specifically comprises the following components: the device comprises a first message receiving module, a first message sending module and a second message sending module, wherein the first message receiving module is used for receiving a device change message sent by an Internet of things platform, and the device change message is generated when at least one piece of Internet of things device in the Internet of things platform is changed; the request sending module is used for generating a corresponding equipment information request according to the equipment change message and sending the equipment information request to the Internet of things platform; the second message receiving module is used for receiving the equipment information corresponding to the equipment information request, wherein the equipment information comprises the equipment information corresponding to the changed equipment in the Internet of things platform, and is issued after the Internet of things platform calls the authorization authentication module to successfully authenticate the equipment information request; and the updating module is used for updating the equipment information in the equipment monitoring application platform according to the equipment information corresponding to the equipment information request so as to change at least one piece of equipment of the Internet of things.
Optionally, the device information request includes a token request and a device information change request, and the request sending module is specifically configured to generate a token request according to the device change message, and send the token request to the internet of things platform; receiving a token corresponding to the token request, wherein the token is issued after the platform of the internet of things calls an authorization authentication module to successfully authenticate the token request; and generating a device information change request according to the token, and sending the device information change request to the Internet of things platform.
Optionally, the device information is issued by the platform of the internet of things after the token in the request for changing the device information is successfully authenticated by calling the authorization authentication module.
Optionally, the device change message includes a device add message, and the update module includes: the adding submodule is used for adding the equipment information corresponding to the equipment information request into a database of an equipment monitoring application platform; and adding the equipment identifier corresponding to the equipment information in an equipment list of the equipment monitoring application platform.
Optionally, the device change message includes a device delete message, and the update module includes: the deleting submodule is used for deleting the equipment information and the corresponding equipment detection data from a database of the equipment monitoring application platform; and deleting the equipment identifier corresponding to the equipment information in an equipment list of the equipment monitoring application platform.
Compared with the prior art, the embodiment of the invention has the following advantages:
in the embodiment of the invention, when at least one piece of internet-of-things equipment in an internet-of-things platform is changed, an equipment change message can be sent to an equipment monitoring application, the equipment monitoring application platform can receive the equipment change message sent by the internet-of-things platform, then a corresponding equipment information request is generated according to the equipment change message, and the equipment information request is sent to the internet-of-things platform; when the internet of things platform calls the authorization authentication module to successfully authenticate the equipment information request and issues the equipment information corresponding to the equipment information request, the equipment monitoring application platform can receive the equipment information corresponding to the equipment information request, and then updates the equipment information in the equipment monitoring application platform according to the equipment information corresponding to the equipment information request, so that at least one internet of things equipment is changed. Therefore, when the number of the changed internet of things devices is large, the internet of things platform only needs to carry out verification once, and the device information of all the changed internet of things devices can be issued to the device monitoring application platform at one time, so that the device monitoring application platform can rapidly acquire a large amount of device information of the changed internet of things devices, and the change efficiency of the devices in the device monitoring application platform is improved.
Drawings
Fig. 1 is a block diagram of an internet of things system according to an embodiment of the present invention;
FIG. 2 is a flow chart of the steps of an embodiment of a method of device change of the present invention;
FIG. 3 is a flow chart of steps of another method embodiment of an apparatus change of the present invention;
fig. 4 is a schematic data interaction diagram of an internet of things platform and an equipment monitoring application platform according to an embodiment of the present invention;
FIG. 5 is a block diagram of an embodiment of a device change apparatus according to the present invention;
fig. 6 is a block diagram showing another embodiment of the device changing apparatus according to the present invention.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in further detail below.
One of the core concepts of the embodiments of the present invention is to provide an equipment change method based on an internet of things system, which is capable of issuing an equipment change message to an equipment monitoring platform when an internet of things equipment in an internet of things platform is changed, and then the equipment monitoring application platform can send an equipment information request to the internet of things platform according to the equipment change message; after the device information request is determined to be successfully verified in the Internet of things platform, the device information of the changed device is returned to the device monitoring application platform, and then the device monitoring application platform can update the Internet of things device; therefore, when the number of the changed internet of things devices is large, the internet of things platform only needs to carry out verification once, and the device information of all the changed internet of things devices can be issued to the device monitoring application platform at one time, so that the device monitoring application platform can rapidly acquire a large amount of device information of the changed internet of things devices, and the change efficiency of the devices in the device monitoring application platform is improved.
The internet of things system can comprise an internet of things platform, an equipment monitoring platform and internet of things equipment, wherein the internet of things platform comprises an authorization authentication module, as shown in fig. 1; the equipment monitoring platform is connected with the Internet of things platform; the equipment monitoring platform can realize the change of the Internet of things equipment through the Internet of things platform and acquire the detection data reported by the Internet of things equipment.
Referring to fig. 2, a flowchart illustrating steps of an embodiment of an apparatus changing method according to the present invention is shown, which may specifically include the following steps:
step 201, an equipment monitoring application platform receives an equipment change message sent by an internet of things platform, wherein the equipment change message is generated when at least one internet of things equipment in the internet of things platform is changed.
In the embodiment of the invention, when the internet of things equipment is changed (such as newly added and reduced), the equipment information of the changed equipment can be updated in the internet of things platform, for example, the equipment information of the newly added internet of things equipment is added in a database in the internet of things platform, and the equipment information of the reduced internet of things equipment is deleted in the internet of things platform. The equipment information of the equipment can be updated and changed in batches in the platform of the Internet of things. The device information may include information describing devices of the internet of things, such as device ID, device name, device deployment address, device model, device class, and so on. When the information of the corresponding equipment of the internet of things equipment in the internet of things platform is updated, the corresponding equipment change information can be generated and then sent to the equipment monitoring application platform; and then the equipment monitoring application platform can receive the equipment change message from the Internet of things platform and then can request the Internet of things platform to acquire the equipment information of the equipment change corresponding to the equipment change message.
Step 202, generating a corresponding device information request according to the device change message, and sending the device information request to the internet of things platform.
In the embodiment of the invention, the equipment monitoring application platform can generate a corresponding equipment information request according to the equipment change message, and then send the equipment information request to the internet of things platform; the equipment information request can be used for indicating the Internet of things platform to return corresponding equipment information. The internet of things platform can receive the equipment information request, and in order to ensure data security, the equipment information request can be authenticated; after the authentication is successful, the device information corresponding to the device information request can be issued to the device monitoring platform. The physical network platform can call an authorization and authentication module to authenticate the equipment information request.
Step 203, receiving the device information corresponding to the device information request, where the device information includes device information corresponding to a device that is changed in the platform of the internet of things, and is issued after the platform of the internet of things calls an authorization authentication module to successfully authenticate the device information request.
And 204, updating the equipment information in the equipment monitoring application platform according to the equipment information corresponding to the equipment information request so as to change at least one piece of equipment of the internet of things.
The equipment monitoring application platform can receive the equipment information corresponding to the equipment information request, and then can update the equipment information in the equipment monitoring application platform according to the equipment information, so that the change of the equipment of the internet of things in the equipment monitoring application platform is realized; for example, a device ID (identification number) of the newly added internet of things device is added to the device list of the device monitoring application platform, and a device ID of the subtracted internet of things device is deleted from the device list of the device monitoring application platform, for example.
In the embodiment of the invention, when at least one piece of internet-of-things equipment in an internet-of-things platform is changed, an equipment change message can be sent to an equipment monitoring application, the equipment monitoring application platform can receive the equipment change message sent by the internet-of-things platform, then a corresponding equipment information request is generated according to the equipment change message, and the equipment information request is sent to the internet-of-things platform; when the internet of things platform calls the authorization authentication module to successfully authenticate the equipment information request and issues the equipment information corresponding to the equipment information request, the equipment monitoring application platform can receive the equipment information corresponding to the equipment information request, and then updates the equipment information in the equipment monitoring application platform according to the equipment information corresponding to the equipment information request, so that at least one internet of things equipment is changed. Therefore, when the number of the changed internet of things devices is large, the internet of things platform only needs to carry out verification once, and the device information of all the changed internet of things devices can be issued to the device monitoring application platform at one time, so that the device monitoring application platform can rapidly acquire a large amount of device information of the changed internet of things devices, and the change efficiency of the devices in the device monitoring application platform is improved.
In another embodiment of the present invention, the authentication of the internet of things platform on the device information request may include at least two steps of authentication, where one step may be authentication of platform information of the device monitoring application platform, and the other step may be authentication of a token of the device monitoring application platform, so as to improve data security.
An authorization and authentication module can be deployed in an internet of things platform to call the authorization and authentication module to authenticate the equipment information request; certainly, when the device monitoring application platform sends another request, such as a request for acquiring other data (e.g., internet of things device detection data), the internet of things platform may also call the authorization model to authenticate the other request; and after the request is successfully authenticated by the Internet of things platform, returning the corresponding data to the equipment monitoring application platform to ensure data safety.
Referring to fig. 3, a flowchart illustrating steps of another embodiment of an apparatus modification method according to the present invention is shown, which may specifically include the following steps:
step 301, the device monitoring application platform receives a device change message sent by the internet of things platform.
In the embodiment of the invention, when the internet of things equipment is changed (such as newly added and reduced), the equipment information of the changed equipment can be updated in the internet of things platform, for example, the equipment information of the newly added internet of things equipment is added in a database in the internet of things platform, and the equipment information of the reduced internet of things equipment is deleted in the internet of things platform. The internet of things platform can generate a corresponding device change message after determining that the device information of the changed device is updated, and then the internet of things platform can issue the generated device change message to the device monitoring application platform; the device change message may be one or more devices of the internet of things that are changed correspondingly. And then the equipment monitoring application platform can receive the equipment change message from the Internet of things platform, and then can request the Internet of things platform to acquire the equipment information of the equipment change message corresponding to the change equipment, wherein the equipment monitoring application platform can generate an equipment information request according to the equipment change message, and then sends the equipment information to the Internet of things platform so as to acquire the corresponding equipment information.
In this embodiment of the present invention, the device information request may include a token request and a device information change request, where the step of generating a corresponding device information request according to the device change message and sending the device information request to the internet of things platform may specifically refer to steps 302 to 304:
step 302, generating a token request according to the device change message, and sending the token request to the internet of things platform.
Step 303, receiving a token corresponding to the token request, where the token is issued after the internet of things platform calls an authorization and authentication module to successfully authenticate the token request.
And 304, generating a device information change request according to the token, and sending the device information change request to the Internet of things platform.
After receiving the device change message, the device monitoring application platform may generate a token request according to the device change message, where the token request may be used to instruct the internet of things platform to return a token; the token request may include platform information of the device monitoring application platform, where the platform information is used to uniquely identify the device monitoring application platform and may include a client ID and a client key. And then the internet of things platform can receive the token request, then the platform information in the token request can be verified, and when the client corresponding to the equipment monitoring application platform is determined to have the right of acquiring data, the corresponding token can be returned to the equipment monitoring application platform. The internet of things platform can adopt an authorization and authentication module to authenticate the token request.
Therefore, the device monitoring application platform can receive the token corresponding to the token request, and then generate a device information change request according to the token so as to request device information corresponding to the device change from the internet of things platform; the device monitoring application platform may carry the token in the request for changing the device information. And then the internet of things platform can authenticate the token in the equipment changing information request after receiving the equipment changing information request, and can return the equipment information corresponding to the equipment changing information request to the equipment monitoring application platform after successfully authenticating the token. The Internet of things platform can call an authorization and authentication module to authenticate the equipment change information request. Of course, the internet of things platform may also return the device information of the internet of things device having the right of the device monitoring platform to the device monitoring platform.
Of course, the device monitoring application platform may also carry the token when requesting data from the internet of things platform each time, so that the internet of things platform returns corresponding data to the device monitoring application platform after successfully authenticating the token.
And 305, updating the equipment information in the equipment monitoring application platform according to the equipment information corresponding to the equipment information change request.
In the embodiment of the invention, the change of the equipment can comprise the new addition and the reduction of the equipment, so that the equipment change message sent by the internet of things platform to the equipment monitoring platform can comprise an equipment addition message and an equipment deletion message; therefore, if the device monitoring application platform receives the device adding message, the corresponding device information can be added to the device monitoring application platform when the device information in the device monitoring application platform is updated according to the device information corresponding to the device information changing request. The device information corresponding to the device information request may be added to a database of the device monitoring application platform, and the device identifier corresponding to the device information may be added to a device list of the device monitoring application platform. If the equipment monitoring application platform receives the equipment deletion message, the corresponding equipment information can be deleted in the equipment monitoring application platform when the equipment information in the equipment monitoring application platform is updated according to the equipment information corresponding to the equipment information change request; the device information and the corresponding device detection data may be deleted from the database of the device monitoring application platform, and the device identifier corresponding to the device information may be deleted from the device list of the device monitoring application platform.
In an example of the present invention, the device monitoring application platform may include a plurality of service functions: user overview, device management, alarm management, statistical analysis, and system management modules, etc., wherein,
1. user overview: the interface presented after the user enters the system.
2. Equipment management: the management system is responsible for the whole life cycle management from access to deletion of the equipment, and specifically comprises basic management, visual management and state management.
3. And (3) alarm management: the system is responsible for real-time monitoring of well lid alarm, dispatching, business processing, historical alarm statistics and equipment alarm distribution.
4. Statistical analysis: and performing statistical analysis of each dimension on the administration equipment from the decision angle, and providing abundant visual presentation for subsequent business decisions for personnel.
5. And (3) system management: and providing software data, service authority and safety control authority of the Internet of things platform.
In another example of the present invention, referring to fig. 4, a schematic diagram of data interaction between an internet of things platform and an equipment monitoring application platform according to an embodiment of the present invention is shown, where the schematic diagram may include:
1. the Internet of things platform issues an equipment change message;
2. the device monitoring application platform reports a token request;
3. the Internet of things platform authenticates the token request;
4. the Internet of things platform issues a token;
5. the equipment monitoring application reports a request for changing the equipment information;
6. the platform of the Internet of things is changed to authenticate the equipment information request;
7. the Internet of things platform issues equipment information of the change equipment;
8. the device monitoring application platform updates the database and the device list.
In the embodiment of the invention, when at least one piece of internet-of-things equipment in an internet-of-things platform is changed, an equipment change message can be sent to an equipment monitoring application, the equipment monitoring application platform can receive the equipment change message sent by the internet-of-things platform, then a corresponding equipment information request is generated according to the equipment change message, and the equipment information request is sent to the internet-of-things platform; when the internet of things platform calls the authorization authentication module to successfully authenticate the equipment information request and issues the equipment information corresponding to the equipment information request, the equipment monitoring application platform can receive the equipment information corresponding to the equipment information request, and then updates the equipment information in the equipment monitoring application platform according to the equipment information corresponding to the equipment information request, so that at least one internet of things equipment is changed. Therefore, when the number of the changed internet of things devices is large, the internet of things platform only needs to carry out verification once, and the device information of all the changed internet of things devices can be issued to the device monitoring application platform at one time, so that the device monitoring application platform can rapidly acquire a large amount of device information of the changed internet of things devices, and the change efficiency of the devices in the device monitoring application platform is improved.
Further, in the embodiment of the present invention, the device information request includes a token request and a device information change request, when the device monitoring application platform generates a corresponding device information request according to the device change message, the device monitoring application platform generates a token request according to the device change message, sends the token request to the internet of things platform, and issues a token corresponding to the token request after the internet of things platform calls an authorization authentication module to authenticate the token request successfully; then generating a device information changing request according to the token, and sending the device information changing request to the Internet of things platform; the internet of things platform calls the authorization authentication module to authenticate the request in the request for changing the equipment information, corresponding equipment information is issued to the equipment monitoring application platform after authentication is successful, and then the internet of things platform can issue the corresponding equipment information after multiple times of successful verification, so that the data security is improved.
It should be noted that, for simplicity of description, the method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present invention is not limited by the illustrated order of acts, as some steps may occur in other orders or concurrently in accordance with the embodiments of the present invention. Further, those skilled in the art will appreciate that the embodiments described in the specification are presently preferred and that no particular act is required to implement the invention.
The embodiment of the invention also provides an equipment changing device, which is applied to the Internet of things system and can be deployed on an equipment monitoring platform of the Internet of things system.
Referring to fig. 5, a block diagram of a structure of an embodiment of an apparatus changing device according to the present invention is shown, and specifically, the apparatus changing device may include the following modules: a first message receiving module 501, a request sending module 502, a second message receiving module 503, and an updating module 504, wherein,
the first message receiving module 501 is configured to receive an equipment change message sent by an internet of things platform, where the equipment change message is generated when at least one internet of things equipment in the internet of things platform changes;
a request sending module 502, configured to generate a corresponding device information request according to the device change message, and send the device information request to the internet of things platform;
a second message receiving module 503, configured to receive device information corresponding to the device information request, where the device information includes device information corresponding to a device that is changed in an internet of things platform, and is issued by the internet of things platform after an authorization authentication module is invoked to successfully authenticate the device information request;
the updating module 504 is configured to update the device information in the device monitoring application platform according to the device information corresponding to the device information request, so as to change at least one internet of things device.
Referring to fig. 6, a block diagram of another embodiment of the device change apparatus of the present invention is shown.
In an optional embodiment of the present invention, the device information request includes a token request and a device information change request, and the request sending module 502 is specifically configured to generate a token request according to the device change message, and send the token request to the internet of things platform; receiving a token corresponding to the token request, wherein the token is issued after the platform of the internet of things calls an authorization authentication module to successfully authenticate the token request; and generating a device information change request according to the token, and sending the device information change request to the Internet of things platform.
In an optional embodiment of the present invention, the device information is issued after the platform of the internet of things calls an authorization and authentication module to successfully authenticate the token in the request for changing the device information.
In an optional embodiment of the present invention, the device change message includes a device add message, and the update module 504 includes:
the adding submodule 5041 is used for adding the device information corresponding to the device information request into a database of a device monitoring application platform; and adding the equipment identifier corresponding to the equipment information in an equipment list of the equipment monitoring application platform.
In an optional embodiment of the present invention, the device change message includes a device delete message, and the update module includes:
a delete sub-module 5042, configured to delete the device information and the corresponding device detection data from the database of the device monitoring application platform; and deleting the equipment identifier corresponding to the equipment information in an equipment list of the equipment monitoring application platform.
In the embodiment of the invention, when at least one piece of internet-of-things equipment in an internet-of-things platform is changed, an equipment change message can be sent to an equipment monitoring application, the equipment monitoring application platform can receive the equipment change message sent by the internet-of-things platform, then a corresponding equipment information request is generated according to the equipment change message, and the equipment information request is sent to the internet-of-things platform; when the internet of things platform calls the authorization authentication module to successfully authenticate the equipment information request and issues the equipment information corresponding to the equipment information request, the equipment monitoring application platform can receive the equipment information corresponding to the equipment information request, and then updates the equipment information in the equipment monitoring application platform according to the equipment information corresponding to the equipment information request, so that at least one internet of things equipment is changed. Therefore, when the number of the changed internet of things devices is large, the internet of things platform only needs to carry out verification once, and the device information of all the changed internet of things devices can be issued to the device monitoring application platform at one time, so that the device monitoring application platform can rapidly acquire a large amount of device information of the changed internet of things devices, and the change efficiency of the devices in the device monitoring application platform is improved.
For the device embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, refer to the partial description of the method embodiment.
The embodiments in the present specification are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, apparatus, or computer program product. Accordingly, embodiments of the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, embodiments of the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
Embodiments of the present invention are described with reference to flowchart illustrations and/or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing terminal to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing terminal to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing terminal to cause a series of operational steps to be performed on the computer or other programmable terminal to produce a computer implemented process such that the instructions which execute on the computer or other programmable terminal provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications of these embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the embodiments of the invention.
Finally, it should also be noted that, herein, 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 terminal 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 terminal. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or terminal that comprises the element.
The above detailed description is provided for a device changing method and a device changing apparatus, and the principle and the implementation of the present invention are explained in detail by applying specific examples, and the description of the above embodiments is only used to help understanding the method and the core idea of the present invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (10)

1. An equipment change method is applied to an Internet of things system, the Internet of things system comprises an Internet of things platform, an equipment monitoring application platform and Internet of things equipment, wherein the Internet of things platform comprises an authorization authentication module, and the method comprises the following steps:
the method comprises the steps that an equipment monitoring application platform receives an equipment change message sent by an Internet of things platform, wherein the equipment change message is generated when at least one piece of Internet of things equipment in the Internet of things platform is changed;
generating a corresponding equipment information request according to the equipment change message, and sending the equipment information request to the Internet of things platform;
receiving equipment information corresponding to the equipment information request, wherein the equipment information comprises changed equipment information corresponding to equipment in the Internet of things platform and is issued after the Internet of things platform calls an authorization authentication module to successfully authenticate the equipment information request;
and updating the equipment information in the equipment monitoring application platform according to the equipment information corresponding to the equipment information request so as to change at least one piece of equipment of the Internet of things.
2. The method of claim 1, wherein the device information request comprises a token request and a change device information request,
the generating of the corresponding device information request according to the device change message includes:
generating a token request according to the equipment change message, and sending the token request to the Internet of things platform;
receiving a token corresponding to the token request, wherein the token is issued after the platform of the internet of things calls an authorization authentication module to successfully authenticate the token request;
and generating a device information change request according to the token, and sending the device information change request to the Internet of things platform.
3. The method according to claim 2, wherein the device information is issued by the platform of the internet of things after the token in the request for changing the device information is successfully authenticated by calling an authorization and authentication module.
4. The method of claim 1, wherein the device change message comprises a device add message,
the updating the device information in the device monitoring application platform according to the device information corresponding to the device information request comprises:
adding the equipment information corresponding to the equipment information request to a database of an equipment monitoring application platform;
and adding the equipment identifier corresponding to the equipment information in an equipment list of the equipment monitoring application platform.
5. The method of claim 1, wherein the device change message comprises a device delete message,
the updating the device information in the device monitoring application platform according to the device information corresponding to the device information request comprises:
deleting the equipment information and the corresponding equipment detection data from the database of the equipment monitoring application platform;
and deleting the equipment identifier corresponding to the equipment information in an equipment list of the equipment monitoring application platform.
6. An equipment change device is applied to an Internet of things system, the Internet of things system comprises an Internet of things platform, an equipment monitoring application platform and Internet of things equipment, wherein the Internet of things platform comprises an authorization authentication module, and the device comprises:
the device comprises a first message receiving module, a first message sending module and a second message sending module, wherein the first message receiving module is used for receiving a device change message sent by an Internet of things platform, and the device change message is generated when at least one piece of Internet of things device in the Internet of things platform is changed;
the request sending module is used for generating a corresponding equipment information request according to the equipment change message and sending the equipment information request to the Internet of things platform;
the second message receiving module is used for receiving the equipment information corresponding to the equipment information request, wherein the equipment information comprises the equipment information corresponding to the changed equipment in the Internet of things platform, and is issued after the Internet of things platform calls the authorization authentication module to successfully authenticate the equipment information request;
and the updating module is used for updating the equipment information in the equipment monitoring application platform according to the equipment information corresponding to the equipment information request so as to change at least one piece of equipment of the Internet of things.
7. The apparatus of claim 6, wherein the device information request comprises a token request and a change device information request,
the request sending module is specifically configured to generate a token request according to the device change message, and send the token request to the internet of things platform; receiving a token corresponding to the token request, wherein the token is issued after the platform of the internet of things calls an authorization authentication module to successfully authenticate the token request; and generating a device information change request according to the token, and sending the device information change request to the Internet of things platform.
8. The apparatus according to claim 7, wherein the device information is issued by the platform of the internet of things after the token in the request for changing the device information is successfully authenticated by calling an authorization and authentication module.
9. The apparatus of claim 6, wherein the device change message comprises a device add message, and wherein the update module comprises:
the adding submodule is used for adding the equipment information corresponding to the equipment information request into a database of an equipment monitoring application platform; and adding the equipment identifier corresponding to the equipment information in an equipment list of the equipment monitoring application platform.
10. The apparatus of claim 6, wherein the device change message comprises a device delete message, and wherein the update module comprises:
the deleting submodule is used for deleting the equipment information and the corresponding equipment detection data from a database of the equipment monitoring application platform; and deleting the equipment identifier corresponding to the equipment information in an equipment list of the equipment monitoring application platform.
CN201811296687.2A 2018-11-01 2018-11-01 Equipment change method and device Active CN111125648B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811296687.2A CN111125648B (en) 2018-11-01 2018-11-01 Equipment change method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811296687.2A CN111125648B (en) 2018-11-01 2018-11-01 Equipment change method and device

Publications (2)

Publication Number Publication Date
CN111125648A CN111125648A (en) 2020-05-08
CN111125648B true CN111125648B (en) 2022-03-29

Family

ID=70494913

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811296687.2A Active CN111125648B (en) 2018-11-01 2018-11-01 Equipment change method and device

Country Status (1)

Country Link
CN (1) CN111125648B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113778026A (en) * 2021-07-30 2021-12-10 苏州集云云信息科技有限公司 Monitoring method and system based on industrial Internet of things
CN113691593B (en) * 2021-08-10 2023-10-27 青岛海信智慧生活科技股份有限公司 Internet of things monitoring equipment and Internet of things monitoring method
WO2023065354A1 (en) * 2021-10-22 2023-04-27 Oppo广东移动通信有限公司 Information reporting method and apparatus, and device and storage medium

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102342142A (en) * 2009-03-06 2012-02-01 交互数字专利控股公司 Platform validation and management of wireless devices
CN103458004A (en) * 2013-08-15 2013-12-18 中国联合网络通信集团有限公司 Internet of things-based device subscription information changing method and equipment
CN103517273A (en) * 2013-10-09 2014-01-15 中国联合网络通信集团有限公司 Authentication method, managing platform and Internet-of-Things equipment
CN103532963A (en) * 2013-10-22 2014-01-22 中国联合网络通信集团有限公司 IOT (Internet of Things) based equipment authentication method, device and system
CN107124433A (en) * 2017-07-04 2017-09-01 中国联合网络通信集团有限公司 Internet of things system, internet of things equipment access method, access authorization methods and equipment
CN108076030A (en) * 2016-11-14 2018-05-25 北京视联动力国际信息技术有限公司 A kind of visual scheduling system and method for regarding networking
CN108173803A (en) * 2016-12-07 2018-06-15 北京视联动力国际信息技术有限公司 It is a kind of to access the method for internet and regarding connection cat server-side by regarding networking
CN108259164A (en) * 2016-12-29 2018-07-06 华为技术有限公司 The identity identifying method and equipment of a kind of internet of things equipment
CN108293067A (en) * 2015-12-23 2018-07-17 英特尔公司 Traffic congestion is managed for internet of things equipment
CN108628901A (en) * 2017-03-23 2018-10-09 深圳市优朋普乐传媒发展有限公司 A kind of data-updating method and device
CN108632231A (en) * 2017-03-24 2018-10-09 中移(杭州)信息技术有限公司 A kind of internet of things equipment, Internet of Things authentication platform, authentication method and system
CN108712485A (en) * 2018-05-10 2018-10-26 海信集团有限公司 A kind of resource subscription method and apparatus of internet of things equipment

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10057150B2 (en) * 2015-12-23 2018-08-21 Intel Corporation Managing communication congestion for internet of things devices

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102342142A (en) * 2009-03-06 2012-02-01 交互数字专利控股公司 Platform validation and management of wireless devices
CN103458004A (en) * 2013-08-15 2013-12-18 中国联合网络通信集团有限公司 Internet of things-based device subscription information changing method and equipment
CN103517273A (en) * 2013-10-09 2014-01-15 中国联合网络通信集团有限公司 Authentication method, managing platform and Internet-of-Things equipment
CN103532963A (en) * 2013-10-22 2014-01-22 中国联合网络通信集团有限公司 IOT (Internet of Things) based equipment authentication method, device and system
CN108293067A (en) * 2015-12-23 2018-07-17 英特尔公司 Traffic congestion is managed for internet of things equipment
CN108076030A (en) * 2016-11-14 2018-05-25 北京视联动力国际信息技术有限公司 A kind of visual scheduling system and method for regarding networking
CN108173803A (en) * 2016-12-07 2018-06-15 北京视联动力国际信息技术有限公司 It is a kind of to access the method for internet and regarding connection cat server-side by regarding networking
CN108259164A (en) * 2016-12-29 2018-07-06 华为技术有限公司 The identity identifying method and equipment of a kind of internet of things equipment
CN108628901A (en) * 2017-03-23 2018-10-09 深圳市优朋普乐传媒发展有限公司 A kind of data-updating method and device
CN108632231A (en) * 2017-03-24 2018-10-09 中移(杭州)信息技术有限公司 A kind of internet of things equipment, Internet of Things authentication platform, authentication method and system
CN107124433A (en) * 2017-07-04 2017-09-01 中国联合网络通信集团有限公司 Internet of things system, internet of things equipment access method, access authorization methods and equipment
CN108712485A (en) * 2018-05-10 2018-10-26 海信集团有限公司 A kind of resource subscription method and apparatus of internet of things equipment

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于物联网的输变电设备全寿命周期管理系统;乔月妮;《中国优秀硕士学位论文全文数据库》;20160229;全文 *

Also Published As

Publication number Publication date
CN111125648A (en) 2020-05-08

Similar Documents

Publication Publication Date Title
CN111125648B (en) Equipment change method and device
CN111291060B (en) Method, device and computer readable medium for managing blockchain nodes
CN105553920B (en) Data interaction method, device and system
CN109005142B (en) Website security detection method, device, system, computer equipment and storage medium
CN108696356B (en) Block chain-based digital certificate deleting method, device and system
CN110909379B (en) Storage cluster permission determination method, device, equipment and storage medium
CN105243252A (en) Account risk evaluation method and apparatus
CN110866265A (en) Data storage method, device and storage medium based on block chain
CN112995357B (en) Domain name management method, device, medium and electronic equipment based on cloud hosting service
CN113572619B (en) Container cloud mirror image credible implementation method and system based on nottry
CN104917737B (en) User account protection method and device
CN110378120A (en) Application programming interfaces attack detection method, device and readable storage medium storing program for executing
CN116070193A (en) Authority auditing method, system and storage medium for operation and maintenance personnel
CN216122450U (en) Power grid safety audit system
CN111698204B (en) Bidirectional identity authentication method and device
CN111667210A (en) Intelligent warehouse management method and device
CN112039839A (en) Operation and maintenance method and device based on customer premise examination and approval authorization
CN111106956A (en) Sensor information adding method, device, equipment and storage medium of Internet of things
CN110958267A (en) Method and system for monitoring threat behaviors in virtual network
CN117040930B (en) Resource processing method, device, product, equipment and medium of block chain network
CN117040929B (en) Access processing method, device, equipment, medium and program product
CN115860696B (en) Electronic job ticket management method and system based on block chain
CN115426198B (en) Information processing method, device, equipment and storage medium
CN107204843B (en) Public key processing method and device
CN116756189A (en) Data analysis method, device and medium for base layer jurisdiction

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