Disclosure of Invention
The embodiment of the invention provides an information interaction method, device and system, which at least solve the technical problem.
The invention provides an information interaction method applied to water meter equipment, which comprises the following steps: in an online state, sending first output information to an equipment management platform, and indicating the equipment management platform to feed back first input information aiming at the first output information, wherein the first output information comprises basic information of the water meter equipment, and the first input information comprises online response information; under the condition that the first input information is received, sending second output information to the equipment management platform, and indicating the equipment management platform to feed back second input information aiming at the second output information, wherein the second output information comprises water meter data measured by water meter equipment, and the second input information comprises receiving confirmation information of the water meter data; receiving third input information sent by the equipment management platform, wherein the third input information comprises an equipment control command; and feeding back third output information to the equipment management platform aiming at the third input information, wherein the third output information represents an execution result corresponding to the equipment control command.
In an embodiment, the method further comprises: and sending fourth output information to the equipment management platform under the condition that the water meter equipment is abnormal, and indicating the equipment management platform to feed back fourth input information aiming at the fourth output information, wherein the fourth output information comprises equipment abnormality warning information, and the fourth input and output information comprises abnormality warning confirmation information.
In an embodiment, in the case that the execution result represents an execution failure, the method further includes: instructing the device management platform to repeatedly send the third input information.
In an embodiment, in the process of instructing the device management platform to repeatedly send the third input information, the method further includes: instructing the equipment management platform to record the repeated sending times; and instructing the equipment management platform to stop sending the third input information when the recorded times exceed a preset threshold value.
In an embodiment, in the case that the device management platform stops sending the third input information, the method further includes: and when the first output information is sent to the equipment management platform next time, indicating the equipment management platform to continue sending the third input information.
In an implementation manner, the third input information includes device parameter setting, water meter data acquisition, and data acquisition frequency setting.
The invention also provides an information interaction method, which is applied to an equipment management platform and comprises the following steps: receiving first output information sent by water meter equipment in an online state of the water meter equipment, and feeding back first input information aiming at the first output information, wherein the first output information comprises basic information of the water meter equipment, and the first input information comprises online response information; under the condition that the water meter equipment receives the first input information, receiving second output information sent by the water meter equipment, and feeding back second input information aiming at the second output information, wherein the second output information comprises water meter data measured by the water meter equipment, and the second input information comprises receiving confirmation information of the water meter data; and sending third input information to the water meter equipment, and indicating the water meter equipment to feed back third output information aiming at the third input information, wherein the third input information comprises an equipment control command, and the third output information represents an execution result corresponding to the equipment control command.
Another aspect of the present invention provides an information interaction apparatus, which is applied to a water meter device, and the apparatus includes: the first sending module is used for sending first output information to an equipment management platform in an online state and indicating the equipment management platform to feed back first input information aiming at the first output information, wherein the first output information comprises basic information of the water meter equipment, and the first input information comprises online response information; the second sending module is configured to send second output information to the equipment management platform and instruct the equipment management platform to feed back second input information according to the second output information when the first input information is received, where the second output information includes water meter data measured by the water meter equipment, and the second input information includes reception confirmation information of the water meter data; the first receiving module is used for receiving third input information sent by the equipment management platform, wherein the third input information comprises an equipment control command; and the third sending module is used for feeding back third output information to the equipment management platform according to the third input information, wherein the third output information represents an execution result corresponding to the equipment control command.
Another aspect of the present invention provides an information interaction apparatus, applied to a device management platform, where the apparatus includes: the first receiving module is used for receiving first output information sent by the water meter equipment in an online state of the water meter equipment and feeding back first input information aiming at the first output information, wherein the first output information comprises basic information of the water meter equipment, and the first input information comprises online response information; the second receiving module is configured to receive second output information sent by the water meter device and feed back second input information for the second output information under the condition that the water meter device receives the first input information, where the second output information includes water meter data measured by the water meter device, and the second input information includes reception confirmation information of the water meter data; the first sending module is used for sending third input information to the water meter equipment and indicating the water meter equipment to feed back third output information aiming at the third input information, wherein the third input information comprises an equipment control command, and the third output information represents an execution result corresponding to the equipment control command.
The invention provides an information interaction system on the other hand, and the device comprises water meter equipment and an equipment management platform: the method comprises the steps that when the water meter equipment is in an online state, first output information is sent to an equipment management platform, and the equipment management platform feeds back first input information aiming at the first output information, wherein the first output information comprises basic information of the water meter equipment, and the first input information comprises online response information; the water meter equipment sends second output information to the equipment management platform under the condition that the first input information is received, and the equipment management platform feeds back second input information aiming at the second output information, wherein the second output information comprises water meter data measured by the water meter equipment, and the second input information comprises receiving confirmation information of the water meter data; and the water meter equipment receives third input information sent by the equipment management platform, and feeds third output information back to the equipment management platform aiming at the third input information, wherein the third input information comprises an equipment control command, and the third output information represents an execution result corresponding to the equipment control command.
In the embodiment of the invention, through the application of the Internet of things on the water meter equipment, the data of the water meter can be transmitted to the background platform through the network, the platform side can control the water meter according to the water meter data, manual intervention on the water meter equipment is not needed in the process, and efficient work is realized.
Detailed Description
In order to make the objects, features and advantages of the present invention more obvious and understandable, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is apparent that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. 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 and fig. 2, in one aspect, the present invention provides an information interaction method applied to a water meter device, where the method includes:
step 101, in an online state, sending first output information to an equipment management platform, and instructing the equipment management platform to feed back first input information aiming at the first output information, wherein the first output information comprises basic information of water meter equipment, and the first input information comprises online response information;
102, sending second output information to the equipment management platform under the condition of receiving the first input information, and instructing the equipment management platform to feed back second input information aiming at the second output information, wherein the second output information comprises water meter data measured by the water meter equipment, and the second input information comprises receiving confirmation information of the water meter data;
103, receiving third input information sent by the device management platform, wherein the third input information comprises a device control command;
and 104, feeding back third output information to the equipment management platform according to the third input information, wherein the third output information represents an execution result of the corresponding equipment control command.
In this embodiment, the water meter equipment is mainly intelligent water meter to the assembly communication module, water meter equipment accessible network carries out information interaction with external equipment promptly.
Instep 101, when the water meter device is on-line or awakened, the water meter device first sends first output information to the device management platform to inform the device management platform that the water meter device is on-line, wherein the device management platform integrates water meter application platforms of various manufacturers and is used for uniformly managing the water meter devices of various manufacturers, and the first output information sent by the water meter device mainly includes basic information of the water meter device, such as initialization parameter information of various modules. After receiving the first output information, the equipment management platform checks the first output information, if the basic information of the water meter equipment is checked to be correct, the first input information which represents the online response information is fed back to the water meter equipment, and if the basic information of the water meter equipment is wrong, no information can be fed back to the water meter equipment.
Instep 102, after the water meter device answers online, at this time, the water meter device may perform transmission of water meter data with the device management platform, that is, the water meter device may send second output information to the device management platform, where the second output data specifically includes water meter data, the water meter data may be periodic data or dense data, and the data specifically includes device status data, real-time or periodic service data, and the like.
And the equipment management platform receives the second output information and feeds back second input information indicating that the water meter data confirms to be received.
Instep 103, the device management platform may then perform analysis according to the acquired water meter data to perform corresponding control on the water meter device, and the specific process is as follows: and the equipment management platform sends third input information to the water meter equipment, wherein the third input information mainly comprises an operation instruction of the equipment, such as equipment parameter setting, water meter data acquisition, data acquisition frequency setting, factory setting restoration command and the like.
Instep 104, the water meter device receives the third input information, and performs corresponding operations, such as factory reset, time parameter setting, and the like, and after the execution is completed, feeds back third output information indicating success or failure of the execution to the device management platform.
From this, through the application of thing networking on water meter equipment, can make self data that the water gauge recorded can convey the backstage platform through the network, the platform side can carry out the control of water gauge according to water gauge data, need not the manual work during and intervene water meter equipment, and then realized high-efficient work.
In an embodiment, the method further comprises:
and sending fourth output information to the equipment management platform under the condition that the water meter equipment is abnormal, and instructing the equipment management platform to feed back fourth input information aiming at the fourth output information, wherein the fourth output information comprises equipment abnormality warning information, and the fourth input and output information comprises abnormality warning confirmation information.
In this embodiment, when the water meter device has the device abnormality warning information, for example, the measured water temperature is significantly higher than the daily temperature, or the hardware of the water meter device has a problem, the water meter device may actively send fourth output information to the device management platform, where the fourth output information mainly includes the device abnormality warning information of the current device.
The device management platform receives the fourth output information and feeds back fourth input information indicating that the abnormal warning has been confirmed to be received. After receiving the information, the equipment management platform can analyze the information manually so as to dispatch personnel to repair or replace the abnormal equipment.
Therefore, when the water meter equipment is abnormal, the abnormal warning information is actively sent to the equipment management platform, so that the increase of the abnormal problem can be avoided in time, and the abnormal warning can be quickly corrected.
In an implementation manner, in the case that the execution result represents that the execution fails, the method further includes:
and instructing the equipment management platform to repeatedly send the third input information.
In this embodiment, the water meter device may have a failure in execution, for example, a failure in setting parameters of the water meter, in response to a command sent by the device management platform, and in this case, there may be an error in information sent by the device management platform, at this time, the water meter device sends third output information indicating the failure in execution back to the device management platform, and instructs the device management platform to repeatedly send the third input information, so that the water meter device executes the command again in an attempt.
In an implementation manner, in the process of instructing the device management platform to repeatedly send the third input information, the method further includes:
indicating the equipment management platform to record the repeated sending times;
and instructing the equipment management platform to stop sending the third input information when the recorded times exceed a preset threshold value.
In this embodiment, the device management platform records the number of times of the repeated sending while repeatedly sending the third input information, and stops sending the third input information when the recorded number of times of the repeated sending exceeds a preset threshold, where the preset threshold is preferably set to three times, so that it can be confirmed that there is no error in the information sent by the device management platform, and a worker can perform further problem troubleshooting with respect to the water meter device itself.
In an embodiment, in the case that the device management platform stops sending the third input information, the method further includes:
and when the first output information is sent to the equipment management platform next time, indicating the equipment management platform to continue to send the third input information.
In this embodiment, when the device management platform stops sending the third input information, after the first output information is sent when the water meter device is next on-line or awakened, the previous third input information is sent to the water meter device, so as to perform trial operation on the water meter.
As shown in fig. 3, another aspect of the present invention provides an information interaction method applied to a device management platform, where the method includes:
step 201, receiving first output information sent by water meter equipment in an online state of the water meter equipment, and feeding back first input information aiming at the first output information, wherein the first output information comprises basic information of the water meter equipment, and the first input information comprises online response information;
step 202, receiving second output information sent by the water meter equipment under the condition that the water meter equipment receives the first input information, and feeding back the second input information aiming at the second output information, wherein the second output information comprises water meter data measured by the water meter equipment, and the second input information comprises receiving confirmation information of the water meter data;
step 203, sending third input information to the water meter device, and instructing the water meter device to feed back third output information according to the third input information, where the third input information includes a device control command, and the third output information represents an execution result of the corresponding device control command.
In this embodiment, compared to the foregoing solutions, the difference between the solutions is that the foregoing solution uses the water meter device side as an execution main body, and the present solution uses the device management platform side as an execution main body, and the substantial contents of the two are the same, so that the solution using the device management platform side is not repeatedly described.
As shown in fig. 4, another aspect of the present invention provides an information interaction device, applied to a water meter device, where the device includes:
thefirst sending module 301 is configured to send first output information to the device management platform in an online state, and instruct the device management platform to feed back first input information according to the first output information, where the first output information includes basic information of the water meter device, and the first input information includes online response information;
asecond sending module 302, configured to send second output information to the device management platform and instruct the device management platform to feed back second input information according to the second output information when the first input information is received, where the second output information includes water meter data measured by the water meter device, and the second input information includes reception confirmation information of the water meter data;
thefirst receiving module 303 is configured to receive third input information sent by the device management platform, where the third input information includes a device control command;
thethird sending module 304 is configured to feed back third output information to the device management platform according to the third input information, where the third output information represents an execution result of the corresponding device control command.
In this embodiment, in thefirst sending module 301, when the water meter device is online or awakened, the water meter device first sends first output information to the device management platform to notify the device management platform that the water meter device is online, where the device management platform integrates water meter application platforms of various manufacturers and is used to manage the water meter devices of various manufacturers in a unified manner, and the first output information sent by the water meter device mainly includes basic information of the water meter device, for example, initialization parameter information of various modules. After receiving the first output information, the equipment management platform checks the first output information, if the basic information of the water meter equipment is checked to be correct, the first input information which represents the online response information is fed back to the water meter equipment, and if the basic information of the water meter equipment is wrong, no information can be fed back to the water meter equipment.
In thesecond sending module 302, after the water meter device responds online, at this time, the water meter device may perform transmission of water meter data with the device management platform, that is, the water meter device may send second output information to the device management platform, where the second output data specifically includes water meter data, and the water meter data may be periodic data or dense data, and the data specifically includes device status data, real-time or periodic service data, and the like.
And the equipment management platform receives the second output information and feeds back second input information indicating that the water meter data confirms to be received.
In thefirst receiving module 303, the device management platform may then perform analysis according to the acquired water meter data to perform corresponding control on the water meter device, and the specific process is as follows: and the equipment management platform sends third input information to the water meter equipment, wherein the third input information mainly comprises an operation instruction of the equipment, such as equipment parameter setting, water meter data acquisition, data acquisition frequency setting, factory setting restoration command and the like.
In thethird sending module 304, the water meter device receives the third input information, executes corresponding operations, such as factory reset, time parameter setting, and the like, and after the execution is completed, feeds back third output information indicating that the execution is successful or failed to the device management platform.
From this, through the application of thing networking on water meter equipment, can make self data that the water gauge recorded can convey the backstage platform through the network, the platform side can carry out the control of water gauge according to water gauge data, need not the manual work during and intervene water meter equipment, and then realized high-efficient work.
As shown in fig. 5, another aspect of the present invention provides an information interaction apparatus, applied to a device management platform, the apparatus including:
thefirst receiving module 401 is configured to receive first output information sent by the water meter device in an online state of the water meter device, and feed back first input information for the first output information, where the first output information includes basic information of the water meter device, and the first input information includes online response information;
asecond receiving module 402, configured to receive second output information sent by the water meter device and feed back second input information for the second output information when the water meter device receives the first input information, where the second output information includes water meter data measured by the water meter device, and the second input information includes reception confirmation information of the water meter data;
thefirst sending module 403 is configured to send third input information to the water meter device, and instruct the water meter device to feed back third output information according to the third input information, where the third input information includes a device control command, and the third output information represents an execution result of the corresponding device control command.
In this embodiment, compared to the foregoing solutions, the difference between the solutions is that the foregoing solution uses the water meter device side as an execution main body, and the present solution uses the device management platform side as an execution main body, and the substantial contents of the two are the same, so that the solution using the device management platform side is not repeatedly described.
The invention provides an information interaction system on the other hand, and the device comprises water meter equipment and an equipment management platform:
the method comprises the steps that when the water meter equipment is in an online state, first output information is sent to an equipment management platform, and the equipment management platform feeds back first input information aiming at the first output information, wherein the first output information comprises basic information of the water meter equipment, and the first input information comprises online response information;
the method comprises the steps that under the condition that the water meter equipment receives first input information, second output information is sent to an equipment management platform, and the equipment management platform feeds back the second input information aiming at the second output information, wherein the second output information comprises water meter data measured by the water meter equipment, and the second input information comprises receiving confirmation information of the water meter data;
the water meter equipment receives third input information sent by the equipment management platform, and feeds third output information back to the equipment management platform aiming at the third input information, wherein the third input information comprises an equipment control command, and the third output information represents an execution result of the corresponding equipment control command.
In this embodiment, this scheme is for aforementioned scheme, and this scheme has contained the execution main part of water gauge equipment side and equipment management platform side simultaneously, but the substantive content is the same with aforementioned water gauge equipment side or equipment management platform side, consequently, this scheme is no longer repeated and is repeated repeatedly.
In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, various embodiments or examples and features of different embodiments or examples described in this specification can be combined and combined by one skilled in the art without contradiction.
Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In the description of the present invention, "a plurality" means two or more unless specifically defined otherwise.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.