CN109238385A - Water meter apparatus control method, system, computer equipment and storage medium - Google Patents
Water meter apparatus control method, system, computer equipment and storage medium Download PDFInfo
- Publication number
- CN109238385A CN109238385A CN201810804977.7A CN201810804977A CN109238385A CN 109238385 A CN109238385 A CN 109238385A CN 201810804977 A CN201810804977 A CN 201810804977A CN 109238385 A CN109238385 A CN 109238385A
- Authority
- CN
- China
- Prior art keywords
- water meter
- terminal device
- server
- service feature
- feature code
- 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.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01F—MEASURING VOLUME, VOLUME FLOW, MASS FLOW OR LIQUID LEVEL; METERING BY VOLUME
- G01F15/00—Details of, or accessories for, apparatus of groups G01F1/00 - G01F13/00 insofar as such details or appliances are not adapted to particular types of such apparatus
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/12—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/80—Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Health & Medical Sciences (AREA)
- Computing Systems (AREA)
- General Health & Medical Sciences (AREA)
- Medical Informatics (AREA)
- Physics & Mathematics (AREA)
- Fluid Mechanics (AREA)
- General Physics & Mathematics (AREA)
- Selective Calling Equipment (AREA)
- Arrangements For Transmission Of Measured Signals (AREA)
Abstract
This application involves a kind of Internet of Things water meter control method, system, computer equipment and storage mediums.The described method includes: Internet of Things water meter is broadcast periodically the service feature code generated by server according to logic of propositions to terminal device;Internet of Things water meter receives the monitoring that the server is sent according to the terminal device and instructs generated execute instruction, wherein the service feature code is used to indicate the terminal device and generates monitoring instruction corresponding with the service feature code;Internet of Things water meter executes instruction monitoring itself running according to described, itself running is locking and/or unlock, request generates new service feature code after to the server feedback implementing result, and indicates that the server feeds back the implementing result or state of monitoring instruction to the terminal device.The list-directed safety of Internet of Things water can be improved using this method.
Description
Technical field
This application involves internet of things field, set more particularly to a kind of water meter apparatus control method, system, computer
Standby and storage medium.
Background technique
Smart phone has been popularized at present, and most smart phones have Bluetooth function, correspondingly, it is logical to increase bluetooth
The water meter device of communication function also largely uses.These water meter devices with blue tooth communication function are divided into several:
1, terminal and equipment need Bluetooth pairing to establish connection to be communicated.
2, terminal and equipment are mutually broadcasted using Bluetooth broadcast technology is communicated.
The equipment to be worked using Bluetooth pairing mode is needed to match and keeps connecting, this just needs relatively high power consumption.
Terminal and equipment mutually broadcast the mode communicated using Bluetooth broadcast technology and have great safety wind at present
Danger.
Summary of the invention
Based on this, it is necessary in view of the above technical problems, provide one kind be able to solve the prior art by Bluetooth pairing or
Person realizes communication by mutual Bluetooth broadcast, the not high water meter apparatus control method of safety, system, computer equipment and deposits
Storage media.
The present invention adopts the following technical scheme that realization:
A kind of water meter apparatus control method, which comprises
Water meter device is broadcast periodically the service feature code generated by server according to logic of propositions to terminal device;
Water meter device receives that monitoring instruction that the server sends according to the terminal device is generated to be executed instruction,
In, the service feature code is used to indicate the terminal device and generates monitoring instruction corresponding with the service feature code;
Water meter device executes instruction monitoring itself running according to described, to the server feedback implementing result after request generate it is new
Service feature code, and indicate the server to the terminal device feed back monitoring instruction implementing result or state.
A kind of water meter apparatus control method is also provided, comprising steps of
Terminal device opens Bluetooth receiving function according to the specific action of the operator detected;
Terminal device receives water meter device and is broadcast periodically the service feature code generated by server according to logic of propositions;
Terminal device sends monitoring instruction to the server according to the service feature code and indicates the server according to institute
It states monitoring instruction to execute instruction to water meter device transmission, wherein the water meter device executes instruction monitoring certainly according to
Body running, itself usual running is locking and/or unlock, and is generated to request after the server feedback implementing result or state
New service feature code;
Terminal device receives the implementing result or state of the monitoring instruction of the server feedback.
A kind of water meter apparatus control method is also provided, comprising steps of
The service feature code that server is generated by water meter devices broadcasting according to logic of propositions is to terminal device;
Receiving terminal apparatus is instructed according to the monitoring that the service feature code generates, and is instructed according to the monitoring to the water meter
Device transmission executes instruction instruction water meter assembly monitor itself running, and usually itself running is locking and/or unlock;
The implementing result or state of the monitoring instruction of the water meter device feedback are received, and it is fed back into the terminal and is set
It is standby;
Receive the water meter device transmission generates the request of new service feature code, and new business is generated according to logic of propositions
Pass through the water meter devices broadcasting after condition code.
A kind of water meter apparatus control system, comprising:
Server, for generating service feature code;
Water meter device, for receiving the service feature code of the server generation and broadcasting;
Terminal device, for sending monitoring instruction to the server according to the service feature code and indicating the server root
It is executed instruction according to monitoring instruction to water meter device transmission, the monitoring for being also used to receive the server feedback refers to
The implementing result or state of order.
A kind of computer equipment, including memory and processor, the memory are stored with computer program, the processing
Device performs the steps of when executing the computer program
Terminal device opens Bluetooth receiving function according to the specific action of the operator detected;
Terminal device receives water meter device and is broadcast periodically the service feature code generated by server according to logic of propositions;
Terminal device sends monitoring instruction to the server according to the service feature code and indicates the server according to institute
It states monitoring instruction to execute instruction to water meter device transmission, wherein the water meter device executes instruction monitoring certainly according to
Body running, itself usual running is locking and/or unlock, and is generated to request after the server feedback implementing result or state
New service feature code;
Terminal device receives the implementing result or state of the monitoring instruction of the server feedback.
A kind of computer readable storage medium, is stored thereon with computer program, and the computer program is held by processor
It is performed the steps of when row
Terminal device opens Bluetooth receiving function according to the specific action of the operator detected;
Terminal device receives the service feature that water meter device is broadcast periodically the encryption generated by server according to logic of propositions
Code;
Terminal device sends monitoring instruction to the server according to the service feature code and indicates the server according to institute
It states monitoring instruction to execute instruction to water meter device transmission, wherein the water meter device executes instruction monitoring certainly according to
Body running, and new service feature code is generated to request after the server feedback implementing result or state;
Terminal device receives the implementing result or state of the monitoring instruction of the server feedback.
Above-mentioned water meter apparatus control method, system, computer equipment and storage medium, by being continuously updated service feature
Code greatly improves terminal device in the safety manipulated to water meter device;Also by being set according to water meter device with terminal
The method that standby distance/position determines priority can carry out priority ranking to the multiple water meter devices to be controlled, improve
User experience can also avoid multiple terminal devices from operating simultaneously to the same water meter device, avoid conflict.
It can determine whether terminal device receives service feature code and initiate to monitor by distance/position, correspondingly, water meter
Device can also determine whether terminal device have the right to initiate monitoring by distance/location information, improve the intelligence, just of water meter
Victory and safety.
Detailed description of the invention
Fig. 1 is the applied environment figure of water meter apparatus control method in one embodiment;
Fig. 2 is the flow diagram of water meter apparatus control method in one embodiment;
Fig. 3 is the flow diagram of water meter device rate-determining steps in one embodiment;
Fig. 4 is the flow diagram of water meter apparatus control method in another embodiment;
Fig. 5 is the structural block diagram of water meter apparatus control system in one embodiment;
Fig. 6 is the structural block diagram of computer equipment in one embodiment;
Fig. 7 is the internal structure chart of computer equipment in another embodiment.
Specific embodiment
It is with reference to the accompanying drawings and embodiments, right in order to which the objects, technical solutions and advantages of the application are more clearly understood
The application is further elaborated.It should be appreciated that specific embodiment described herein is only used to explain the application, not
For limiting the application.
Water meter apparatus control method provided by the present application, can be applied in application environment as shown in Figure 1.Wherein, eventually
End 102, water meter device 106 are communicated by network with server 104, and water meter device 106 has the function of wire/radio network
With Bluetooth broadcast function, unlock/mechanism for locking up and water meter state sensor are had.Water meter device 106 is in a manner of Bluetooth broadcast
Variable, encryption the service feature code that broadcasting server generates, terminal 102 receive service feature code later according to business spy
Sign code generates corresponding monitoring and instructs and be sent to server 104 by wired or wireless network, finally receives server 104 again
The implementing result or operating status of feedback., wherein terminal 102 can be, but not limited to be various personal computers, notebook electricity
Brain, smart phone, tablet computer and portable wearable device, server 104 can be either multiple with independent server
The server cluster of server composition is realized.
In one embodiment, as shown in Fig. 2, providing a kind of water meter apparatus control method, it is applied to Fig. 1 in this way
In terminal for be illustrated, comprising the following steps:
Water meter device is broadcast periodically variable, encryption the service feature code generated by server according to logic of propositions to eventually
End equipment;
Water meter device receives that monitoring instruction that the server sends according to the terminal device is generated to be executed instruction,
In, the service feature code is used to indicate the terminal device and generates monitoring instruction corresponding with the service feature code;
Water meter device executes instruction monitoring itself running according to described, to the server feedback implementing result after request generate it is new
Service feature code, and indicate the server to the terminal device feed back monitoring instruction implementing result or state.
Step 202, water meter device is broadcast periodically variable, encryption the industry generated by server according to logic of propositions
Condition code of being engaged in is to terminal device.
Specifically, water meter device receives variable, encryption the service feature code that server is generated according to logic of propositions
Ceaselessly the service feature code is broadcasted later, the mode of general broadcast is by the Bluetooth broadcast mould on water meter device
Block is broadcasted.
Step 204, it is generated to receive the monitoring instruction that the server is sent according to the terminal device for water meter device
It executes instruction, wherein service feature code is used to indicate the terminal device and generates monitoring corresponding with the service feature code
Instruction.
Specifically, terminal device, which receives, is decrypted after the service feature code of water meter devices broadcasting etc. after processing,
A monitoring instruction corresponding with service feature code is generated, and sends server for this monitoring instruction, server receives
To after this monitoring instruction, send one with monitor that instruction is corresponding executes instruction water meter device, then water meter device according to
This is executed instruction, and executes the operation of monitoring instruction, such as the operating status of monitoring water meter device itself, and operating status is anti-
It is fed to server, then is checked and accepted by server feedback to terminal device.
Step 206, water meter device executes instruction monitoring itself running according to described, to the server feedback implementing result
Request generates new service feature code afterwards, and the implementing result or shape of monitoring instruction are fed back from the server to the terminal device
State.
In above-mentioned water meter apparatus control method, by after the operation for having carried out a service feature code, server
New service feature code is generated, prevents from carrying out security attack to it according to fixed service feature code, substantially increases Internet of Things
The safety of equipment control;Changeless service feature code is easy to cause Denial of Service attack or Encryption Algorithm to be cracked, and draws
Play security risk.In one embodiment, based on the above embodiment, the present embodiment provides a kind of water meter apparatus control method, packets
Include step:
Water meter device is broadcast periodically variable, encryption the service feature code generated by server according to logic of propositions to eventually
End equipment;
Water meter device receives that monitoring instruction that the server sends according to the terminal device is generated to be executed instruction,
In, the service feature code is used to indicate the terminal device and generates monitoring instruction corresponding with the service feature code;
Water meter device executes instruction monitoring itself running according to described, to the server feedback implementing result after request generate it is new
Service feature code, and from the server to the terminal device feed back monitoring instruction implementing result or state.
Wherein, water meter device can enter dormant state or wake-up according to logic of propositions.With bluetooth after water meter device wake
The mode of broadcast sends service feature code automatically into dormant state, saves self-energy consumption.
Water meter device is waken up until meeting a certain condition, this condition can be water meter device and sense transducing signal, if
Meet above-mentioned condition, then water meter device is waken up, and is started to work again, enters dormant state after the completion of processing again.
Wherein, the water meter device can also by wire/radio network in real time/timing wake-up waken up, prevent institute
State the problems such as water meter device is constantly in reduced lifespan caused by standby mode, power consumption and power consumption.
In one embodiment, as shown in figure 3, based on the above embodiment, the present embodiment provides a kind of controls of water meter device
Method, comprising steps of
Step 302, terminal device opens Bluetooth receiving function according to the specific action of the operator detected, that is, the terminal
The transducing signal that equipment obtains acceleration transducer judges the specific operation movement of user;Specifically, the terminal device detection
Whether the acceleration magnitude on the acceleration direction of the acceleration transducer is more than preset threshold and the acceleration direction
Whether variation is more than pre-determined number, if so, the terminal device determines that operator produces specific operation.
For example, terminal device detects that operator has done a double swerve to terminal device or teetertottered dynamic
Make, and double swerve or the acceleration magnitude on a certain acceleration direction of the movement moved up and down have been more than preset value,
Or the variation in acceleration direction has been more than preset value, then terminal device decision person performs specific action, opens blue
Tooth receive capabilities, the automatic service feature code for receiving water meter devices broadcasting.
It is whether terminal device can perform specific behaviour by third party's program detection operator there are also a kind of situation
It acts, if so, opening Bluetooth receiving function, receives the service feature code of water meter devices broadcasting.
The Bluetooth receiving function for the equipment that just opens a terminal when operator's trigger switch, reduces the power consumption of terminal device.
Step 304, terminal device receive water meter device be broadcast periodically by server according to logic of propositions generate can
Service feature code become, encryption.
Step 306, terminal device sends monitoring instruction to the server according to the service feature code and indicates described
Server is instructed to water meter device transmission according to the monitoring and is executed instruction, wherein the water meter device is held according to
Row instruction monitoring itself running, and new service feature code is generated to request after the server feedback implementing result or state.
Specifically, terminal device according to the power of the Bluetooth broadcast signal received determine the distance of the water meter device/
Position.
Specifically, terminal device can determine water meter device and which terminal device according to the distance/position of water meter device
Distance it is nearest, however, it is determined that distance of certain terminal device A apart from water meter device is nearest, then water meter device determines terminal device A
With highest priority, then terminal device A can initiate to monitor to the water meter device.
It is of course also possible to be that the strong and weak of the Bluetooth signal that water meter device is received according to terminal device determines that different terminals are set
The terminal device setting nearest apart from water meter device is had priority, can filled to water meter by the standby distance apart from water meter device
It sets and is monitored.It avoids different terminal devices while obtaining what service feature code later operated the same water meter device
Conflict.
By the intensity of the Bluetooth broadcast signal received, server can determine the distance/location information of terminal device,
To determine whether terminal device has the right/need to initiate to monitor and initiate the priority of monitoring, improve system safety,
Convenience and intelligence.
Step 308, terminal device receives the implementing result or state of the monitoring instruction of the server feedback.
Specifically, if completing the operation of monitoring instruction to terminal device, implementing result is just fed back into server, then via
Server feedback is to terminal device.Operator can monitor the operating status of water meter device in real time, improve working efficiency.
Wherein, the monitoring instruction includes that can identify the Terminal Equipment Identifier information, position coordinates and session information
Coding;The monitoring instruction is used to indicate the server and makes corresponding processing.
For terminal device by server and water meter device exchange monitoring instruction/information, this transmission channel can be using each
Kind mode encrypts, and further improves the safety of system.
In one embodiment, as shown in figure 4, the present embodiment provides a kind of water meter control methods, comprising:
Step 402, the service feature code that server is generated by water meter devices broadcasting according to logic of propositions is to terminal device;
Server is periodically broadcast to terminal device by water meter device according to after logic of propositions generation service feature code.Step
404, receiving terminal apparatus is instructed according to the monitoring that the service feature code generates, and is instructed according to the monitoring to the water meter
Device transmission executes instruction instruction water meter assembly monitor itself running.
Further, power determination and the water meter device of the terminal device according to the Bluetooth broadcast signal received
Relative distance/position, and according to relative distance/location confirmation water meter device priority;
The terminal device sends to be instructed according to the monitoring and generate by the server to the water meter device for having priority
Execute instruction.Wherein, server according to the monitoring instruction make respective handling, these processing may include certification, authentication,
Decoding, coding, log etc. processing;Server can also determine that terminal device is according to the distance/location information of terminal device
It is no to have the right/need to initiate to monitor and initiate the priority of monitoring, it can also send and execute instruction to water meter device.
Step 406, the implementing result or state of the monitoring instruction of the water meter device feedback are received, and it is fed back
To the terminal device.
Step 408, the request for generating new service feature code that the water meter device is sent is received, and according to logic of propositions
Pass through the water meter devices broadcasting after generating new service feature code.
It should be understood that although each step in the flow chart of Fig. 2-4 is successively shown according to the instruction of arrow,
These steps are not that the inevitable sequence according to arrow instruction successively executes.Unless expressly stating otherwise herein, these steps
Execution there is no stringent sequences to limit, these steps can execute in other order.Moreover, at least one in Fig. 2-4
Part steps may include that perhaps these sub-steps of multiple stages or stage are not necessarily in synchronization to multiple sub-steps
Completion is executed, but can be executed at different times, the execution sequence in these sub-steps or stage is also not necessarily successively
It carries out, but can be at least part of the sub-step or stage of other steps or other steps in turn or alternately
It executes.
In one embodiment, as shown, providing a kind of water meter apparatus control system, comprising:
Server 506, for generating service feature code;
Water meter device 504, for receiving the service feature code of the generation of server 506 and broadcasting;
Terminal device 502, for sending monitoring instruction to the server 506 according to the service feature code and indicating the clothes
Business device 506 is instructed to the water meter device 504 transmission according to the monitoring and is executed instruction, and is also used to receive the server 506
The implementing result or state of the monitoring instruction of feedback.
Specifically, which includes terminal device 502, server 506, water meter device 504, and terminal is set
Standby 502 can be such as computer, the electronic equipment of smart phone, tablet computer and E-book reader etc.Terminal device 502
In Bluetooth function module is installed, the Bluetooth function module can receive water meter device 504 broadcast information, terminal device 502
It is also equipped with wire/radio network function.
Server 506 can be connected by wireless or cable network with terminal device 502.Can also by wireless or
Person's cable network is connected with water meter device 504, and water meter device 504 can send bluetooth to terminal device 502 by blueteeth network
Broadcast packet.Server 506 can be one or multiple servers, be also possible to one or more router, can also be one
A cloud computing center.In other words, server 506 can be realized by a server, can also be combined by multiple servers real
Existing, every server undertakes same or different function, for example has the server for registering and logging, for saving user
The server of head portrait, server for saving picture or video etc.;Server 506 can also be real using cloud computing center
Existing, cloud computing center is that whole piece service cluster is formed by virtual computing platforms.
Water meter device 504 has the function of Bluetooth function and wire/radio network simultaneously, can pass through wired or wireless mode
It is connected with server 506, one or more sensors/executing agency can be had, for completing signal acquisition or supervisory control action.
Communication between terminal device 502 and server 506 can be it is two-way, server 506 and water meter device 504 it
Between communication be also possible to two-way, but the bluetooth communication between water meter device 504 and terminal device 502 is One-to-All Broadcast
's.
Water meter device 504 can be to the service feature encoded information that terminal device 502 is broadcasted and be encrypted using Encryption Algorithm
Encoded information;
Water meter device 504 is also possible to according to application scenarios to the service feature code that terminal device 502 is broadcasted, the monitoring period, refers to
Enable the encoded information in period, service period or time cycle variation.
Water meter device 504 to the service feature code that terminal device 502 is broadcasted be to be generated according to logic of propositions and pass through water meter
Bluetooth broadcast (according to Bluetooth protocol) mode of device 504 issues.
There can be more than one terminal device 502 to initiate to monitor to water meter device 504 simultaneously, each terminal device 502
The Bluetooth broadcast that multiple water meter devices 504 issue can also be received simultaneously.Terminal device 502 can be believed according to Bluetooth broadcast is received
Number Strength co-mputation go out the distance between itself and each water meter device 504, to realize positioning function, terminal device 502 can
To determine the order of priority for the water meter device 504 to be monitored according to itself distance/position, can also be determined by distance/position
Whether initiation monitors.
The position/distance information of the available terminal device 502 of server 506, can also believe according to these distance/positions
It ceases to determine to participate in the priority of the terminal device 502 of monitoring, can also determine terminal device by these position/distance informations
Whether 502, which have the right/need, is initiated to monitor.
Specific about water meter apparatus control system limits the limit that may refer to above for water meter apparatus control method
Fixed, details are not described herein.All parts in above-mentioned water meter apparatus control system can part by software, hardware and combinations thereof come
It realizes.Above-mentioned each component can be embedded in the form of hardware or independently of in the processor in computer equipment, can also be with software
Form is stored in the memory in computer equipment, executes the corresponding operation of the above modules in order to which processor calls.
In one embodiment, as shown in fig. 6, present embodiments providing a kind of computer equipment, which can
To be server, internal structure chart can be as shown in Figure 6.The computer equipment includes the processing connected by system bus
Device, memory, network interface, bluetooth module and database.Wherein, the processor of the computer equipment is calculated and is controlled for providing
Ability processed.The memory of the computer equipment includes non-volatile memory medium, built-in storage.The non-volatile memory medium is deposited
Contain operating system, computer program and database.The built-in storage is operating system and meter in non-volatile memory medium
The operation of calculation machine program provides environment.The database of the computer equipment is used for storage service condition code.The computer equipment
Network interface is used to communicate with external terminal by network connection.The bluetooth module of the computer equipment is wide for sending bluetooth
Broadcast packet.To realize a kind of water meter apparatus control method when the computer program is executed by processor.
In one embodiment, a kind of computer equipment is provided, which can be terminal, internal structure
Figure can be as shown in Figure 7.The computer equipment includes processor, the memory, network interface, bluetooth connected by system bus
Module, display screen and input unit.Wherein, the processor of the computer equipment is for providing calculating and control ability.The calculating
The memory of machine equipment includes non-volatile memory medium, built-in storage.The non-volatile memory medium is stored with operating system
And computer program.The built-in storage provides ring for the operation of operating system and computer program in non-volatile memory medium
Border.The network interface of the computer equipment is used to communicate with external terminal by network connection.The bluetooth of the computer equipment
Module is for receiving and dispatching Bluetooth broadcast packet.To realize a kind of water meter apparatus control method when the computer program is executed by processor.
The display screen of the computer equipment can be liquid crystal display or electric ink display screen, the input unit of the computer equipment
It can be the touch layer covered on display screen, be also possible to the key being arranged on computer equipment shell, trace ball or Trackpad,
It can also be external keyboard, Trackpad or mouse etc..
It will be understood by those skilled in the art that structure shown in Fig. 7, only part relevant to application scheme is tied
The block diagram of structure does not constitute the restriction for the computer equipment being applied thereon to application scheme, specific computer equipment
It may include perhaps combining certain components or with different component layouts than more or fewer components as shown in the figure.
In one embodiment, it is also performed the steps of when processor executes computer program
Terminal device opens Bluetooth function according to the specific action of the operator detected;
Terminal device receives water meter device and is broadcast periodically the service feature code generated by server according to logic of propositions;
Terminal device sends monitoring instruction to the server according to the service feature code and indicates the server according to institute
It states monitoring instruction to execute instruction to water meter device transmission, wherein the water meter device executes instruction monitoring certainly according to
Body running, and new service feature code is generated to request after the server feedback implementing result or state;
Specifically, terminal device can also according to the Bluetooth broadcast signal received power determine water meter device position or
It obtains and the distance between water meter device size, and the location information that will acquire, as whether being carried out to the water meter device
The condition of operation.Terminal device can calculate the distance/position relationship with water meter device, thus decide whether initiate monitoring with
And the priority of monitoring device, improve safety, convenience and the intelligence of system.
Terminal device receives the implementing result or state of the monitoring instruction of the server feedback.
Specifically, the terminal device includes: according to the specific action of the operator detected unlatching Bluetooth function
The transducing signal that the terminal device obtains acceleration transducer judges the specific operation movement of user.
More specifically, the transducing signal that the terminal device obtains acceleration transducer judges the specific operation movement of user
Activation Bluetooth receiving function include:
The terminal device detects whether the acceleration magnitude on the acceleration direction of the acceleration transducer is more than default threshold
Whether value and the acceleration direction change are more than pre-determined number, if so, the terminal device determines that operator produces
Specific operation.
Still further aspect, the terminal device open Bluetooth receiving function according to the specific action of the operator detected
Realize that the specific operation that operator can also be detected by third party's programming interface acts.
In one embodiment, it is also performed the steps of when processor executes computer program
Server is set according to variable, encryption the service feature code that logic of propositions generates to terminal by water meter devices broadcasting
It is standby;
Receiving terminal apparatus is instructed according to the monitoring that the service feature code generates, and is instructed according to the monitoring to the water meter
Device transmission executes instruction instruction water meter assembly monitor itself running;
The implementing result or state of the monitoring instruction of the water meter device feedback are received, and it is fed back into the terminal and is set
It is standby;
Receive the water meter device transmission generates the request of new service feature code, and new business is generated according to logic of propositions
Pass through the water meter devices broadcasting after condition code.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with
Relevant hardware is instructed to complete by computer program, the computer program can be stored in a non-volatile computer
In read/write memory medium, the computer program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein,
To any reference of memory, storage, database or other media used in each embodiment provided herein,
Including non-volatile and/or volatile memory.Nonvolatile memory may include read-only memory (ROM), programming ROM
(PROM), electrically programmable ROM(EPROM), electrically erasable ROM(EEPROM) or flash memory (FLASH).Volatile memory
It may include random-access memory (ram) or external cache.By way of illustration and not limitation, RAM is with a variety of shapes
Shi Ke get, such as static state RAM(SRAM), dynamic ram (DRAM), synchronous dram (SDRAM), double data rate sdram
(DDRSDRAM), enhanced SDRAM(ESDRAM), synchronization link (Synchlink) DRAM(SLDRAM), memory bus
(Rambus) direct RAM(RDRAM), direct memory bus dynamic ram (DRDRAM) and memory bus dynamic ram
(RDRAM) etc..
Each technical characteristic of above embodiments can be combined arbitrarily, for simplicity of description, not to above-described embodiment
In each technical characteristic it is all possible combination be all described, as long as however, the combination of these technical characteristics be not present lance
Shield all should be considered as described in this specification.
The several embodiments of the application above described embodiment only expresses, the description thereof is more specific and detailed, but simultaneously
It cannot therefore be construed as limiting the scope of the patent.It should be pointed out that coming for those of ordinary skill in the art
It says, without departing from the concept of this application, various modifications and improvements can be made, these belong to the protection of the application
Range.Therefore, the scope of protection shall be subject to the appended claims for the application patent.
Claims (13)
1. a kind of water meter apparatus control method, which is characterized in that the described method includes:
Water meter device is broadcast periodically the service feature code generated by server according to logic of propositions to terminal device;
Water meter device receives that monitoring instruction that the server sends according to the terminal device is generated to be executed instruction,
In, the service feature code is used to indicate the terminal device and generates monitoring instruction corresponding with the service feature code;
Water meter device executes instruction monitoring itself running according to described, to the server feedback implementing result after request generate it is new
Service feature code, and indicate the server to the terminal device feed back monitoring instruction implementing result or state.
2. the method according to claim 1, wherein
The water meter device can enter dormant state according to logic of propositions, and be waken up by the server.
3. the method according to claim 1, wherein the water meter device be broadcast periodically by server according to
The service feature code that logic of propositions generates is to terminal device, comprising:
The water meter device obtains relative distance/position of the terminal device relative to the water meter device, and according to described
Whether terminal device described in relative distance/location confirmation has the right to receive the service feature code;
The water meter device sends service feature code to the terminal device having the right.
4. a kind of water meter apparatus control method, which is characterized in that the described method includes:
Terminal device opens Bluetooth receiving function according to the specific action of the operator detected;
Terminal device receives water meter device and is broadcast periodically the service feature code generated by server according to logic of propositions;
Terminal device sends monitoring instruction to the server according to the service feature code and indicates the server according to institute
It states monitoring instruction to execute instruction to water meter device transmission, wherein the water meter device executes instruction monitoring certainly according to
Body running, and new service feature code is generated to request after the server feedback implementing result or state;
Terminal device receives the implementing result or state of the monitoring instruction of the server feedback.
5. according to the method described in claim 4, it is characterized in that, the terminal device is according to the specific of the operator detected
Bluetooth receiving function is opened in movement, comprising:
The transducing signal that the terminal device obtains acceleration transducer judges the specific operation movement of user.
6. according to the method described in claim 5, it is characterized in that, the terminal device obtains the sensing letter of acceleration transducer
Number judge that Bluetooth receiving function is opened in the specific operation movement of user, comprising:
The terminal device detects whether the acceleration magnitude on the acceleration direction of the acceleration transducer is more than default threshold
Whether value and the acceleration direction change are more than pre-determined number, if so, the terminal device determines that operator produces
Specific operation.
7. according to the method described in claim 4, it is characterized in that, the terminal device is according to the specific of the operator detected
Bluetooth receiving function is opened in movement, comprising:
The terminal device detects the specific operation movement of operator by third party's programming interface.
8. the terminal device according to the determining relative distance with the water meter device of the power of the Bluetooth broadcast signal received/
Position, and according to relative distance/location confirmation water meter device priority;
The terminal device sends to be instructed according to the monitoring and generate by the server to the water meter device for having priority
Execute instruction.
9. according to the method described in claim 5, it is characterized in that,
The monitoring instruction includes the coding that can identify the Terminal Equipment Identifier information, position coordinates and session information;
The monitoring instruction is used to indicate the server and makes corresponding processing.
10. a kind of water meter assembly monitor method characterized by comprising
The service feature code that can be encrypted that server is generated by water meter devices broadcasting according to logic of propositions is to terminal device;
Receiving terminal apparatus is instructed according to the monitoring that the service feature code generates, and is instructed according to the monitoring to the water meter
Device transmission executes instruction instruction water meter assembly monitor itself running;
The implementing result or state of the monitoring instruction of the water meter device feedback are received, and it is fed back into the terminal and is set
It is standby;
Receive the water meter device transmission generates the request of new service feature code, and new business is generated according to logic of propositions
Pass through the water meter devices broadcasting after condition code.
11. a kind of water meter apparatus control system characterized by comprising
Server, for generating service feature code;
Water meter device, for receiving the service feature code of the server generation and broadcasting;
Terminal device, for sending monitoring instruction to the server according to the service feature code and indicating the server root
It is executed instruction according to monitoring instruction to water meter device transmission, the monitoring for being also used to receive the server feedback refers to
The implementing result or state of order.
12. a kind of computer equipment, including memory and processor, the memory are stored with computer program, feature exists
In the step of processor realizes any one of claims 1 to 10 the method when executing the computer program.
13. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program
The step of method described in any one of claims 1 to 10 is realized when being executed by processor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810804977.7A CN109238385A (en) | 2018-07-20 | 2018-07-20 | Water meter apparatus control method, system, computer equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810804977.7A CN109238385A (en) | 2018-07-20 | 2018-07-20 | Water meter apparatus control method, system, computer equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109238385A true CN109238385A (en) | 2019-01-18 |
Family
ID=65072775
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810804977.7A Pending CN109238385A (en) | 2018-07-20 | 2018-07-20 | Water meter apparatus control method, system, computer equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109238385A (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1864146A (en) * | 2003-10-03 | 2006-11-15 | 摩托罗拉公司(在特拉华州注册的公司) | Interprocessor communication protocol providing intelligent targeting of nodes |
CN103021045A (en) * | 2011-09-25 | 2013-04-03 | 边高伟 | Intelligent entrance guard system for mobile terminal user verification |
CN107103673A (en) * | 2017-05-24 | 2017-08-29 | 广州跨行网络科技有限公司 | Automatic sensing gate control system and its implementation based on Bluetooth of mobile phone |
CN107985258A (en) * | 2017-11-20 | 2018-05-04 | 东峡大通(北京)管理咨询有限公司 | Vehicle unlocking management method, vehicle and server |
CN108039057A (en) * | 2017-10-31 | 2018-05-15 | 南京极佳物联网科技有限公司 | A kind of parking stall shared system and implementation |
CN108280903A (en) * | 2017-12-29 | 2018-07-13 | 中国船舶重工集团公司第七八研究所 | A kind of blue-tooth intelligence door lock open system and its open method based on mobile phone action |
-
2018
- 2018-07-20 CN CN201810804977.7A patent/CN109238385A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1864146A (en) * | 2003-10-03 | 2006-11-15 | 摩托罗拉公司(在特拉华州注册的公司) | Interprocessor communication protocol providing intelligent targeting of nodes |
CN103021045A (en) * | 2011-09-25 | 2013-04-03 | 边高伟 | Intelligent entrance guard system for mobile terminal user verification |
CN107103673A (en) * | 2017-05-24 | 2017-08-29 | 广州跨行网络科技有限公司 | Automatic sensing gate control system and its implementation based on Bluetooth of mobile phone |
CN108039057A (en) * | 2017-10-31 | 2018-05-15 | 南京极佳物联网科技有限公司 | A kind of parking stall shared system and implementation |
CN107985258A (en) * | 2017-11-20 | 2018-05-04 | 东峡大通(北京)管理咨询有限公司 | Vehicle unlocking management method, vehicle and server |
CN108280903A (en) * | 2017-12-29 | 2018-07-13 | 中国船舶重工集团公司第七八研究所 | A kind of blue-tooth intelligence door lock open system and its open method based on mobile phone action |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11216549B2 (en) | Security verification method and device | |
CA3121023C (en) | Wireless access credential system | |
CN107637039B (en) | System for performing owner transfer and method and system for transferring ownership of device | |
CN111193695B (en) | Encryption method and device for third party account login and storage medium | |
CN105978917B (en) | A kind of system and method for trusted application safety certification | |
CN101313511B (en) | Method, system and apparatus implementing security of multi-party communication | |
CN110177354A (en) | A kind of wireless control method and system of vehicle | |
US20170171746A1 (en) | Wireless dongle and method for wirelessly transmitting data from a computer to at least one field device | |
CN104573473A (en) | Method and authentication device for unlocking administration authority | |
CN109525989A (en) | Data processing, identity identifying method and system, terminal | |
CN106605230A (en) | Securing sensor data | |
CN103152732B (en) | Cloud password system and operation method thereof | |
CN109120675A (en) | Internet of things equipment control method, system, computer equipment and storage medium | |
CN112969159A (en) | Vehicle control method and vehicle remote control driving system | |
CN108876969A (en) | A kind of passive assets control external member, unlocking control method and unlocking control system | |
CN112101595A (en) | Remote monitoring method, system and device for electric control of drilling machine and storage medium | |
CN101810017A (en) | Selective security termination in next generation mobile networks | |
CN104951366A (en) | Mobile terminal application program login method and equipment | |
CN110351225A (en) | A kind of networking method of hardware device, device, system and storage medium | |
CN111405016A (en) | User information acquisition method and related equipment | |
CN107872315A (en) | Data processing method and intelligent terminal | |
CN104408360A (en) | Encryption equipment and method based on mobile terminal | |
CN113259376A (en) | Control method of Internet of things equipment based on block chain | |
CN109238385A (en) | Water meter apparatus control method, system, computer equipment and storage medium | |
CN105323245A (en) | Intelligent terminal, authorization method and system thereof |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190118 |