Disclosure of Invention
The invention aims to provide an energy equipment data association method and system based on the Internet of things identification technology, so that a worker can more conveniently acquire association information of energy equipment, the operation difficulty is reduced, the reconstruction of an original service system is reduced, and the data of a new service system is conveniently accessed.
In order to solve the technical problems, the invention provides the following technical scheme:
an energy equipment data association method based on an Internet of things identification technology is applied to an Internet of things identification management system and comprises the following steps:
after receiving an identification registration request of a target service system, registering a unique corresponding Internet of things identification code for each unregistered energy device in the target service system; the target service system is any service system for carrying out identification registration;
establishing corresponding data codes for each item of data in the target service system;
according to the relevance between the energy equipment and the data, establishing a mapping relation between the Internet of things identification code of the target service system and the data code;
after receiving an identifier analysis request carrying an internet of things identifier sent by a terminal, sending the identifier analysis request to each service system completing identifier registration, so that any service system determines feedback data, corresponding to the internet of things identifier carried in the identifier analysis request, fed back to the terminal by the service system according to the mapping relation of the service system;
and sending the feedback data of each service system to the terminal.
Preferably, after the mapping relationship between the internet of things identifier and the data code of the target service system is established, the method further includes:
receiving a metadata definition instruction for performing authority limitation, and adjusting the mapping relation so that the internet of things identification code of each energy device in the target service system, each authority definition level corresponding to each internet of things identification code, and each data code corresponding to each authority definition level are stored in the adjusted mapping relation;
correspondingly, the feedback data of the target service system received by the terminal is the feedback data which is determined by the target service system and accords with the authority definition level of the terminal.
Preferably, after receiving the identifier registration request of the target service system, the method further includes:
and when the target service system is judged to be subjected to identification registration in the Internet of things identification management system, stopping the identification registration of the target service system at this time and outputting first prompt information.
Preferably, after receiving an identifier resolution request carrying an internet of things identifier sent by a terminal, the method further includes:
and verifying whether the identification analysis request is valid or not, and outputting second prompt information when the identification analysis request is verified to be invalid.
Preferably, the receiving of the identifier resolution request carrying the internet of things identifier sent by the terminal includes:
and receiving an identification analysis request carrying the identification code of the Internet of things, which is sent by the terminal after the two-dimensional code of the energy equipment is scanned.
Preferably, the method further comprises the following steps:
and receiving a data management instruction and performing data management on data stored in the Internet of things identification management system so as to meet the requirement of the data management instruction.
An energy equipment data correlation system based on an internet of things identification technology is applied to an internet of things identification management system and comprises:
the system comprises an Internet of things identification code registration module, a service management module and a service management module, wherein the Internet of things identification code registration module is used for respectively registering a unique corresponding Internet of things identification code for each unregistered energy device in a target service system after receiving an identification registration request of the target service system; the target service system is any service system for carrying out identification registration;
the data code establishing module is used for establishing corresponding data codes for each item of data in the target service system;
the mapping relation establishing module is used for establishing a mapping relation between the Internet of things identification code of the target service system and the data code according to the relevance between the energy equipment and the data;
the identification analysis module is used for sending the identification analysis request to each service system which finishes identification registration after receiving the identification analysis request which is sent by the terminal and carries the identification code of the Internet of things, so that any service system can determine feedback data which is fed back to the terminal by the service system and corresponds to the identification code of the Internet of things carried in the identification analysis request according to the mapping relation of the service system;
and the data feedback module is used for sending the feedback data of each service system to the terminal.
Preferably, the method further comprises the following steps:
the mapping relation adjusting module is used for receiving a metadata definition instruction for permission limitation after the mapping relation establishing module establishes the mapping relation between the Internet of things identification code and the data code of the target service system, and adjusting the mapping relation so that the Internet of things identification code of each energy device in the target service system, each permission definition level corresponding to each Internet of things identification code and each data code corresponding to each permission definition level are stored in the adjusted mapping relation;
correspondingly, the feedback data of the target service system received by the terminal is the feedback data which is determined by the target service system and accords with the authority definition level of the terminal.
Preferably, the method further comprises the following steps:
and the first prompt information output module is used for stopping the current identifier registration of the target service system and outputting first prompt information after judging that the target service system carries out identifier registration in the Internet of things identifier management system.
Preferably, the method further comprises the following steps:
and the second prompt information output module is used for verifying whether the identifier analysis request is valid or not and outputting second prompt information when the identifier analysis request is verified to be invalid.
In the scheme of the application, the information management of the energy equipment is realized by utilizing the technology of the Internet of things. First, the association between the data in the business system and the energy device is realized through identification registration. Specifically, after receiving an identifier registration request of a target service system, the internet of things identifier management system registers a unique corresponding internet of things identifier for each unregistered energy device in the target service system, establishes a corresponding data code for each item of data in the target service system, and further establishes a mapping relationship between the internet of things identifier and the data code of the target service system according to the relevance between the energy device and the data. When a user needs to acquire information of the energy equipment, each service system which is subjected to identifier registration determines feedback data of the service system according to an identifier analysis request sent by a terminal and a mapping relation established by the service system before. That is to say, when a user needs to obtain information of a certain energy device, the user does not need to log in each system as in the conventional scheme, but can receive data of relevance of the energy device in each system through the internet of things identification management system, so that the operation difficulty of workers is reduced. In addition, when each business system is registered, the unique corresponding Internet of things identification code is registered for each unregistered energy device in the business system by the Internet of things identification management system, namely the Internet of things identification code is formulated by adopting a uniform rule, and the repeated condition is avoided, so that the original business system does not need to be changed, and the new business system is conveniently accessed. Therefore, according to the scheme, the staff can conveniently acquire the associated information of the energy equipment, the operation difficulty is reduced, the transformation of the original service system is reduced, and the new service system is conveniently accessed.
Detailed Description
The core of the invention is to provide the energy equipment data association method based on the Internet of things identification technology, so that a worker can conveniently acquire the association information of the energy equipment, the operation difficulty is reduced, the reconstruction of an original service system is reduced, and the access to a new service system is facilitated.
In order that those skilled in the art will better understand the disclosure, the invention will be described in further detail with reference to the accompanying drawings and specific embodiments. It is to be understood that the described embodiments are merely exemplary of the invention, and not restrictive of the full scope of the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, fig. 1 is a flowchart illustrating an implementation of a method for associating energy device data based on an internet of things identification technology in the present invention, where the method for associating energy device data based on the internet of things identification technology is applied to an internet of things identification management system, and may include the following steps:
step S101: after receiving the identification registration request of the target service system, registering a unique corresponding Internet of things identification code for each unregistered energy device in the target service system.
The target business system is any business system for performing identification registration, and may be, for example, an integrated energy service system, a production and manufacturing system, an equipment after-sale service system, or the like.
It should be noted that, for the energy device, data associated with the energy device may exist in different service systems, and in the scheme of the present application, only one corresponding internet of things identification code is configured for each energy device, which is equivalent to a unique identification card of the energy device, so that, after receiving an identification registration request of the target service system, the internet of things identification management system respectively registers the unique corresponding internet of things identification code for each unregistered energy device in the target service system, and for each energy device in the target service system that has registered the internet of things identification code in the internet of things identification management system, the internet of things identification code is not reconfigured.
After step S101 is executed, each energy device in the target service system is registered with the corresponding internet of things identifier code of the energy device, and the internet of things identifier codes are different from each other, so that the energy devices are guaranteed to be distinguished.
Step S102: and establishing corresponding data codes for each item of data in the target business system.
The form of the data coding can be set and adjusted according to actual needs, for example, the data coding can be distinguished by using numbers, letters or a combination of numbers and letters.
Step S103: and establishing a mapping relation between the Internet of things identification code and the data code of the target service system according to the relevance between the energy equipment and the data.
When the mapping relationship between the internet of things identification code and the data code of the target service system is established, a developer usually sends a related instruction, and the internet of things identification management system establishes the mapping relationship between the internet of things identification code and the data code according to the relevance information carried in the instruction.
The established mapping relationship may be stored in a form of a database, so as to facilitate subsequent call and management of the mapping relationship, the database may be stored in the internet of things identification management system and/or the target service system, and the database may be stored in the target service system, in consideration of a subsequent need to call the database, that is, when a user needs to acquire information of a certain energy device, the established mapping relationship needs to be utilized to feed back data associated with the energy device in the target service system to the user.
An energy device may be associated with multiple data items, i.e., an internet of things identification code may be associated with one or more data codes. For example, the internet of things identification code of the energy device is a, and in the target business system, the 30 th to 33 th data are the name of the energy device, the commissioning time of the energy device, the brand of the energy device and the production place of the energy device in turn, and the established data codes are 30, 31, 32 and 33 in turn. The data items 501 to 530 are operation and maintenance record data of the energy device for the last 30 times in sequence, and the established data codes are 501 and 502 … 530 in sequence. The 34 pieces of data are data having an association with the energy device, and the mapping relationship established in the target business system for the energy device may be represented as: a-30-31-32-33-501-502 … -529-530. It should be noted that, in this embodiment, it is convenient to describe the internet of things identification code using a to represent the energy device, and in practical application, the internet of things identification code of each energy device needs to conform to a uniformly formulated internet of things identification code rule.
After step S103 is completed, the target service system is registered. Of course, in a specific implementation situation, some operations may be added to the registration flow of this embodiment according to actual needs, and the implementation of the present invention is not affected. Since the target service system is any service system performing identity registration, the registration of other service systems can refer to the above description.
Step S104: after receiving an identifier analysis request carrying an internet of things identifier sent by a terminal, sending the identifier analysis request to each service system completing identifier registration, so that any service system determines feedback data, corresponding to the internet of things identifier carried in the identifier analysis request, fed back to the terminal by the service system according to the mapping relation of the service system.
For example, the comprehensive energy service system, the production manufacturing system and the after-sale service system of the device are registered on the internet of things identification management system, and the internet of things identification management system sends an identification analysis request carrying an identification code of the internet of things to the 3 service systems after receiving the identification analysis request sent by the terminal.
The terminal may typically be a mobile terminal with an associated program installed to facilitate implementation of the present solution, which may typically be a mobile phone, for example. The user can send out the identification analysis request only by operating on the mobile phone. Further, the receiving of the identifier resolution request carrying the internet of things identifier sent by the terminal in step S104 may specifically be: and receiving an identification analysis request carrying the identification code of the Internet of things, which is sent by the terminal after the two-dimensional code of the energy equipment is scanned. The portability and the wide application of the two-dimensional code are considered in the implementation mode, the two-dimensional code is arranged on the energy equipment in advance, and the information of the Internet of things identification code of the energy equipment is naturally required to be carried in the two-dimensional code, so that after a user scans through the terminal, the identification analysis request carrying the Internet of things identification code can be sent to the Internet of things identification management system by the terminal.
For any service system which receives an identifier analysis request sent by an internet of things identifier management system, the service system can determine feedback data of the service system according to a mapping relation of the service system which is pre-established before, namely data which is stored in the service system and has relevance with energy equipment for which the identifier analysis request is directed are used as the feedback data of the service system.
Step S105: and sending the feedback data of each service system to the terminal.
The internet of things identification management system sends the feedback data of each service system to the terminal, so that the user can see the data, such as the name, commissioning time, brand, production place, operation and maintenance record, fault alarm record and the like of the energy equipment with relevance in each service system, of the energy equipment for which the identification analysis request is directed through the terminal.
In the scheme of the application, the information management of the energy equipment is realized by utilizing the technology of the Internet of things. First, the association between the data in the business system and the energy device is realized through identification registration. Specifically, after receiving an identifier registration request of a target service system, the internet of things identifier management system registers a unique corresponding internet of things identifier for each unregistered energy device in the target service system, establishes a corresponding data code for each item of data in the target service system, and further establishes a mapping relationship between the internet of things identifier and the data code of the target service system according to the relevance between the energy device and the data. When a user needs to acquire information of the energy equipment, each service system which is subjected to identifier registration determines feedback data of the service system according to an identifier analysis request sent by a terminal and a mapping relation established by the service system before. That is to say, when a user needs to obtain information of a certain energy device, the user does not need to log in each system as in the conventional scheme, but can receive data of relevance of the energy device in each system through the internet of things identification management system, so that the operation difficulty of workers is reduced. In addition, when each business system is registered, the unique corresponding Internet of things identification code is registered for each unregistered energy device in the business system by the Internet of things identification management system, namely the Internet of things identification code is formulated by adopting a uniform rule, and the repeated condition is avoided, so that the original business system does not need to be changed, and the new business system is conveniently accessed. Therefore, according to the scheme, the staff can conveniently acquire the associated information of the energy equipment, the operation difficulty is reduced, the transformation of the original service system is reduced, and the new service system is conveniently accessed.
In an embodiment of the present invention, after step S103, the method may further include:
receiving a metadata definition instruction for performing authority limitation, and adjusting the mapping relation so that the internet of things identification code of each energy device in the target service system, each authority definition grade corresponding to each internet of things identification code, and each data code corresponding to each authority definition grade are stored in the adjusted mapping relation;
correspondingly, the feedback data of the target service system received by the terminal is the feedback data which is determined by the target service system and accords with the authority definition level of the terminal.
In practical application, in consideration of data security, a service system usually does not want to share all information in the service system, and in the implementation mode, the service system can define sharable data by itself through metadata definition, so that the data security is ensured, and a user is not influenced to acquire associated data of energy equipment which does not influence the security in the service system.
Specifically, the internet of things identifier management system can receive a metadata definition instruction for limiting the authority, so that the mapping relationship can be adjusted according to information carried in the metadata definition instruction, and the adjusted mapping relationship needs to meet the requirement of the metadata definition instruction.
The adjusted mapping relationship may store the internet of things identification code of each energy device in the target service system, each authority definition level corresponding to each internet of things identification code, and each data code corresponding to each authority definition level. For example, in one embodiment, prior to adjustment, the mapping relationship is represented as: a-30-31-32-33-501-502 … -529-530-600-602. The data codes 600 and 602 are, for example, two times of failure alarm data of the energy device. For example, the service system may wish to set 3 authority definition levels, the lowest of which is denoted a, and may allow the user with the authority definition level to obtain the name of energy device a. The next level, denoted b, allows the user with this level of authority definition to obtain the name of the energy device a, the time of commissioning, the brand and the place of origin. The highest level is denoted c, and the user with the defined level of authority may be allowed to obtain the name, commissioning time, brand, place of origin and operation and maintenance data of the energy device a. The adjusted mapping for the energy device may be denoted as a-30-a, for example; a-30-31-32-33-b; a-30-31-32-33-501-502 … -529-530-c. The two items of data 600 and 602 are not shared outside the business system, but rather sharable items of data, also depending on the user's level of authority definition. The method ensures the security of data, and particularly in business systems with particularly high requirements on data security, the method for setting the authority is usually adopted.
It should be further noted that, in this embodiment, the user sends the identifier resolution request through the terminal, and the identifier resolution request naturally needs to carry the authority definition level of the user, so that each service system can feed back the appropriate data according to the authority definition level. Generally, after a user logs in, a terminal can acquire the authority definition level of the logged-in user, and then place the information into an identifier analysis request.
In addition, in practical application, other functions can be set on the terminal, and the use experience of the user is improved. For example, after a user logs in and scans a two-dimensional code of a certain energy device, the terminal may display an item of the relevance data of the energy device, which can be acquired by the user, that is, prompt the user about the authority the user has, which is beneficial to improving the user experience. For another example, after the user with the permission c scans the energy device a, the terminal displays, through the display screen, that the user can obtain: the name of the energy device, commissioning time, brand, place of origin and operation and maintenance data. After the user inputs a related instruction through the input device, the terminal receives feedback data through the internet of things identification management system, wherein the feedback data only includes the name, the commissioning time and the latest operation and maintenance data of the energy equipment, namely, the user is allowed to select the relevance data of the energy equipment which the user wants to see, and the data which the user does not need to see does not need to be fed back to the terminal. Particularly when the relevance data of the energy equipment is particularly high, the user is allowed to actively screen the data which can be conveniently and accurately acquired by the user.
In a specific embodiment of the present invention, after receiving the identifier registration request of the target service system, the internet of things identifier management system may further include:
and when the target service system is judged to be subjected to identifier registration in the Internet of things identifier management system, stopping the identifier registration of the target service system at this time and outputting first prompt information.
Usually, a service system does not register for many times, and if an abnormal condition, such as misoperation of a worker, occurs, the internet of things identifier management system stops the identifier registration of the target service system this time and outputs first prompt information after judging that the target service system performs the identifier registration in the internet of things identifier management system, so that related workers can timely notice the abnormal condition.
In a specific embodiment of the present invention, after receiving an identifier resolution request carrying an identifier of the internet of things sent by a terminal, the method may further include:
and verifying whether the identifier analysis request is valid or not, and outputting second prompt information when the identifier analysis request is verified to be invalid.
For example, if the internet of things identification code carried in the identification request is not found in the database storing the mapping relationship, it may be determined that the identification analysis request is invalid, and for example, the internet of things identification management system may verify the user identity information in the identification analysis request, and if the verification result is an identity anomaly, it may be determined that the identification analysis request is invalid. In addition, other various verification items can be set in practical application, and the implementation of the invention is not influenced. The form of the second prompt message may also be set and adjusted according to the actual situation, for example, the second prompt message is a text message: the verification fails. The internet of things identification management system can feed the text information back to the terminal and display the text information through the terminal, so that a user can know that the verification fails.
In one embodiment of the present invention, the method further comprises:
and receiving a data management instruction and performing data management on data stored in the Internet of things identification management system so as to meet the requirement of the data management instruction.
For example, management functions such as statistical analysis of identification application data, data mining, and the like may be performed according to the received data management instruction.
Corresponding to the above method embodiment, the embodiment of the invention also provides an energy device data association system based on the internet of things identification technology, which can be referred to in correspondence with the above.
Referring to fig. 2, a schematic structural diagram of an energy device data association system based on an internet of things identification technology according to the present invention is applied to an internet of things identification management system, and includes:
the internet of things identification code registration module 201 is configured to, after receiving an identification registration request of a target service system, register a unique corresponding internet of things identification code for each unregistered energy device in the target service system;
the target service system is any service system for carrying out identification registration;
a data code establishing module 202, configured to establish a corresponding data code for each item of data in the target service system;
the mapping relation establishing module 203 is used for establishing a mapping relation between the internet of things identification code of the target service system and the data code according to the relevance between the energy equipment and the data;
the identifier resolution module 204 is configured to send an identifier resolution request to each service system that completes identifier registration after receiving the identifier resolution request that carries the identifier of the internet of things and is sent by the terminal, so that any service system determines, according to the mapping relationship of the service system, feedback data that is fed back to the terminal by the service system and corresponds to the identifier of the internet of things carried in the identifier resolution request;
and the data feedback module 205 is configured to send feedback data of each service system to the terminal.
In one embodiment of the present invention, the method further comprises:
the mapping relation adjusting module is used for receiving a metadata definition instruction for permission limitation after the mapping relation establishing module establishes the mapping relation between the Internet of things identification code and the data code of the target service system, and adjusting the mapping relation so that the Internet of things identification code of each energy device in the target service system, each permission definition level corresponding to each Internet of things identification code and each data code corresponding to each permission definition level are stored in the adjusted mapping relation;
correspondingly, the feedback data of the target service system received by the terminal is the feedback data which is determined by the target service system and accords with the authority definition level of the terminal.
In one embodiment of the present invention, the method further comprises:
and the first prompt information output module is used for stopping the current identifier registration of the target service system and outputting the first prompt information after judging that the target service system carries out the identifier registration in the Internet of things identifier management system.
In one embodiment of the present invention, the method further comprises:
and the second prompt information output module is used for verifying whether the identifier analysis request is valid or not and outputting second prompt information when the identifier analysis request is verified to be invalid.
In one embodiment of the present invention, the method further comprises:
and the management module is used for receiving the data management instruction and performing data management on the data stored in the Internet of things identification management system so as to meet the requirement of the data management instruction.
Corresponding to the above method and system embodiments, the embodiment of the present invention further provides an energy device data association apparatus based on the internet of things identification technology and a computer readable storage medium, which may be referred to above correspondingly.
Referring to fig. 3, the energy device data association apparatus based on the internet of things identification technology may include:
a memory 301 for storing a computer program;
a processor 302 for executing a computer program to implement the steps of the energy device data association method based on the internet of things identification technology in any of the above embodiments.
The computer readable storage medium stores thereon a computer program, and the computer program, when executed by the processor, implements the steps of the energy device data association method based on the internet of things identification technology in any of the above embodiments. A computer-readable storage medium as referred to herein may include Random Access Memory (RAM), memory, Read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
It is further 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 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.
Those of skill would further appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
The principle and the implementation of the present invention are explained in the present application by using specific examples, and the above description of the embodiments is only used to help understanding the technical solution and the core idea of the present invention. It should be noted that, for those skilled in the art, it is possible to make various improvements and modifications to the present invention without departing from the principle of the present invention, and those improvements and modifications also fall within the scope of the claims of the present invention.