Control method and device of Bluetooth gas meter

文档序号:1673802 发布日期:2019-12-31 浏览:24次 中文

阅读说明:本技术 一种蓝牙燃气表的控制方法及装置 (Control method and device of Bluetooth gas meter ) 是由 杨铮 李龙 杨小光 董胜龙 魏磊 于 2018-06-21 设计创作,主要内容包括:本发明提供一种蓝牙燃气表的控制方法及装置,其中方法包括:接收客户端发送的连接请求;根据所述连接请求,确定是否与所述客户端发送的密钥匹配;当所述密钥匹配时,接收所述客户端发送的功能指令;利用所述功能指令,进行功能控制;以解决对蓝牙燃气表的全生命周期的控制和管理问题,能够有效提高天然气公司的管理效率和经济效益,同时能够有效提高用户使用蓝牙燃气表的用户体验,及时全面地掌握蓝牙燃气表的状态,并且大大提高了蓝牙燃气表的换表过程的数据转移准确率和便捷性。(The invention provides a control method and a control device of a Bluetooth gas meter, wherein the method comprises the following steps: receiving a connection request sent by a client; determining whether the key is matched with a key sent by the client side or not according to the connection request; when the keys are matched, receiving a function instruction sent by the client; performing function control by using the function instruction; the control and management problem to the full life cycle of bluetooth gas table is solved in order to solve, can effectively improve natural gas company's managerial efficiency and economic benefits, can effectively improve the user experience that the user used the bluetooth gas table simultaneously, in time master the state of bluetooth gas table comprehensively to the data transfer rate of accuracy and the convenience of the change of table process of bluetooth gas table have been improved greatly.)

1. A control method of a Bluetooth gas meter is characterized by comprising the following steps:

receiving a connection request sent by a client;

determining whether the key is matched with a key sent by the client side or not according to the connection request;

when the keys are matched, receiving a function instruction sent by the client;

and performing function control by using the function instruction.

2. The method of claim 1, wherein determining whether the key sent by the client matches the request comprises:

and when the client feeds back the information of successful account opening, determining that the key is matched with the key sent by the client.

3. The method of claim 2, wherein using the function instruction to perform function control comprises:

responding to a functional instruction sent by the client;

feeding back current function information to the client according to the function instruction;

receiving a request sent by the client according to the feedback current function information, and performing function control;

the function information at least comprises a query function and a replacement function of the gas meter.

4. The method of claim 3, wherein receiving the request sent by the client according to the feedback current function information, and performing function control comprises:

after the zero clearing instruction issued by the client is executed, timing and parameter setting are carried out;

and feeding back the set timing and parameter information to the client.

5. A control method of a Bluetooth gas meter is characterized by comprising the following steps:

scanning a two-dimensional code of a Bluetooth gas meter to acquire an ID of the Bluetooth gas meter;

according to the ID, connecting with the Bluetooth gas meter;

when the connection is successful, a function instruction is sent to the Bluetooth gas meter;

feedback information received in response to the Bluetooth gas for a functional instruction;

and performing function control on the Bluetooth gas meter.

6. A control method of a Bluetooth gas meter is characterized by comprising the following steps:

receiving a request of a client;

according to the request of the client, verifying whether the application information of the client is matched with the application information of a prestored Bluetooth gas meter;

if the client side is matched with the server side, sending confirmation information to the client side;

the application information comprises client registration information, account opening information and function state information.

7. A control device of a Bluetooth gas meter is characterized by comprising:

the receiving module is used for receiving a connection request sent by a client;

the determining module is used for determining whether the key is matched with the key sent by the client side according to the request;

the matching module is used for receiving the functional instruction sent by the client when the keys are matched;

and the control module is used for performing function control by using the function instruction.

8. The apparatus of claim 7, wherein the control module comprises:

the response submodule is used for responding to the functional instruction sent by the client;

the sending submodule is used for feeding back current function information to the client according to the function instruction; the function information at least comprises a query function and a replacement function of the gas meter;

and the control submodule is used for receiving a request sent by the client according to the feedback current function information and carrying out function control.

9. A control device of a Bluetooth gas meter is characterized by comprising:

the scanning module is used for scanning the two-dimensional code of the Bluetooth gas meter to acquire the ID of the Bluetooth gas meter;

the connecting module is used for connecting the Bluetooth gas meter according to the ID;

the transmitting module is used for transmitting a function instruction to the Bluetooth gas meter when the connection is successful;

the receiving module is used for responding to feedback information received by the Bluetooth gas aiming at the functional instruction;

and the control module is used for carrying out function control on the dental gas meter.

10. A control device of a Bluetooth gas meter is characterized by comprising:

the receiving module is used for receiving a request of a client;

the judging module is used for verifying whether the application information of the client is matched with the application information of the prestored Bluetooth gas meter or not according to the request of the client;

the sending module is used for sending confirmation information to the client if the client is matched with the server;

the application information comprises client registration information, account opening information and function state information.

Technical Field

The invention relates to the technical field of instruments and meters, in particular to a control method and device of a Bluetooth gas meter.

Background

The existing intelligent gas meters mainly comprise IC card intelligent gas meters, CPU card intelligent gas meters, radio frequency card intelligent gas meters, direct-reading remote gas meters, wireless remote gas meters and the like. The patent publication No. CN204926306U discloses a Bluetooth gas meter, which comprises a shell, wherein a detection reed pipe, a counter, an alarm input socket and an IC card socket are arranged in the shell; the plastic shell is arranged on the front side of the shell, and the display panel, the label and the battery box are arranged on the plastic shell; still install the controller circuit board in the casing, install the bluetooth circuit on the controller circuit board, controller circuit board connection counter, alarm input socket, IC-card socket and battery case have solved the gas table among the prior art and have the user and can not master the gas usability circumstances in real time, can not in time supplement with money, cause the arrearage to stop using the problem, and the user can in time know the service information of gas through the bluetooth function, in time supplement with money when the arrearage, facilitates the use. The patent publication No. CN 205317282U discloses a Bluetooth wireless remote gas meter, wherein a main control MCU is connected with a power module and a Bluetooth communication module, the Bluetooth recharging mode based on the Bluetooth wireless technology greatly improves the gas purchasing efficiency of users, the gas purchasing can be realized at any time when the users can not go out of households, the use convenience and adaptability are greatly improved, and the real-time data updating and statistical analysis of gas companies are facilitated; the Bluetooth wireless remote gas meter can transmit the data of the gas meter to an operator background server by installing intelligent equipment such as a mobile phone, a PAD or a household Bluetooth intelligent housekeeper, a radio frequency card, a mobile phone with an NFC function and the like corresponding to APP application, so that the data of the gas meter can be transmitted; the APP installed on the intelligent equipment such as a mobile phone, a PAD or a family Bluetooth intelligent housekeeper can enable a user to pay for the gas fee on line, the traditional gas purchasing mode is reserved by the application of the IC card, and the gas fee is paid and stored by different user groups conveniently. .

However, most of the existing bluetooth gas meters are connected with a mobile phone bluetooth only through a bluetooth module in the gas meter, and only the function of online recharging and paying is simply realized, but a complete control flow method in a full life cycle is not provided, and the bluetooth gas meters are difficult to be well applied and managed.

The whole life cycle of the gas meter comprises business modules, such as first meter hanging of the gas meter, daily meter changing, due meter changing, meter adding, meter disassembling management, whole building dismantling, weekly inspection management and daily maintenance of a flow meter of a commercial company, scrapping meter verification and marketing and the like. For gas enterprises and users, the economic benefits of the enterprises are directly influenced by the operation conditions of the meters due to the good and bad operation of the gas meter equipment. Therefore, the method for controlling the whole life cycle of the inquiry, payment and charging system for the Bluetooth gas meter is established, is very slow for enterprises and users, and is beneficial to improving the user experience and the economic benefit of the enterprises.

Disclosure of Invention

The invention provides a control method of a Bluetooth gas meter, which is mainly used for implementing the full life cycle control application of a meter query, payment and recharging system of the Bluetooth gas meter, and specifically comprises an account opening process, a using process and a meter changing process of the Bluetooth gas meter, and the full life cycle of the Bluetooth gas meter is controlled and managed. Correspondingly, the full-life-cycle control system comprises a Bluetooth gas meter, a gas company employee APP, a user APP and a data processing background.

A control method of a Bluetooth gas meter comprises the following steps:

receiving a connection request sent by a client;

determining whether the key is matched with a key sent by the client side or not according to the request;

when the keys are matched, receiving a function instruction sent by the client;

and performing function control by using the function instruction.

A control method of a Bluetooth gas meter comprises the following steps:

scanning a two-dimensional code of a Bluetooth gas meter to acquire an ID of the Bluetooth gas meter;

according to the ID, connecting with the Bluetooth gas meter;

when the connection is successful, a function instruction is sent to the Bluetooth gas meter;

responding to feedback information received by the Bluetooth gas meter aiming at the functional instruction;

and performing function control on the Bluetooth gas meter.

A control method of a Bluetooth gas meter comprises the following steps:

receiving a request of a client;

according to the request of the client, verifying whether the application information of the client is matched with the application information of a prestored Bluetooth gas meter;

if the client side is matched with the server side, sending confirmation information to the client side;

the application information comprises client registration information, account opening information and function state information.

A control device of a Bluetooth gas meter comprises:

the receiving module is used for receiving a connection request sent by a client;

the determining module is used for determining whether the key is matched with the key sent by the client side according to the request;

the matching module is used for receiving the functional instruction sent by the client when the keys are matched;

and the control module is used for performing function control by using the function instruction.

A control device of a Bluetooth gas meter comprises:

the scanning module is used for scanning the two-dimensional code of the Bluetooth gas meter to acquire the ID of the Bluetooth gas meter;

the connecting module is used for connecting the Bluetooth gas meter according to the ID;

the transmitting module is used for transmitting a function instruction to the Bluetooth gas meter when the connection is successful;

the receiving module is used for responding to feedback information received by the Bluetooth gas aiming at the functional instruction;

and the control module is used for carrying out function control on the Bluetooth gas meter.

A control device of a Bluetooth gas meter comprises:

the receiving module is used for receiving a request of a client;

the judging module is used for verifying whether the application information of the client is matched with the application information of the prestored Bluetooth gas meter or not according to the request of the client;

the sending module is used for sending confirmation information to the client if the client is matched with the server;

the application information comprises client registration information, account opening information and function state information.

Compared with the prior art, the invention has at least the following beneficial effects:

the invention provides a full life cycle control method of a Bluetooth gas meter, perfects an online monitoring and control method for each stage of account opening, recharging, paying and meter changing in the full life cycle of the Bluetooth gas meter, and manages the Bluetooth gas meter more conveniently and rapidly. The account opening operation of the Bluetooth gas meter and the data transfer process in the meter changing process of the new and old Bluetooth gas meters can be easily realized through the APP of the staff; the information inquiry, payment and recharging process of the Bluetooth gas meter can be easily realized through the user APP.

Through establishing control and management of the full life cycle of the Bluetooth gas meter, the management efficiency and the economic benefit of a natural gas company can be effectively improved, meanwhile, the user experience of a user using the Bluetooth gas meter can be effectively improved, the state of the Bluetooth gas meter can be timely and comprehensively mastered, and the data transfer accuracy and the convenience of the Bluetooth gas meter in the meter changing process are greatly improved.

Drawings

In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.

Fig. 1 is a flowchart of a method for controlling a bluetooth gas meter according to an embodiment of the present invention;

fig. 2 is a flowchart of a method for controlling a bluetooth gas meter according to an embodiment of the present invention;

fig. 3 is a flowchart of a method for controlling a bluetooth gas meter according to an embodiment of the present invention;

fig. 4 is a schematic view of an account opening process of a bluetooth gas meter according to an embodiment of the present invention;

fig. 5 is a schematic view of a usage flow of a bluetooth gas meter for querying, paying and recharging according to an embodiment of the present invention;

fig. 6 is a schematic diagram of a table changing process of a new and old bluetooth gas meter according to an embodiment of the present invention.

Detailed Description

In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer and more complete, the technical solutions in the embodiments of the present invention will be described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention, and based on the embodiments of the present invention, all other embodiments obtained by a person of ordinary skill in the art without creative efforts belong to the scope of the present invention.

As shown in fig. 1, the present invention provides a method for controlling a bluetooth gas meter, where an embodiment of the present invention describes a scheme of the present invention with a bluetooth gas meter as an execution subject, and the following details are provided:

s11, the Bluetooth gas meter receives a connection request sent by the client;

specifically, before the bluetooth gas meter receives a connection request sent by a client, a two-dimensional code of the bluetooth gas meter or other identification codes capable of identifying the bluetooth gas meter need to be provided to the client.

S12, the Bluetooth gas meter determines whether to match the key sent by the client according to the connection request sent by the client; when matching, executing step S13, otherwise, ending;

specifically, after the bluetooth gas meter successfully opens an account in the background, a secret key sent by the client is received, the bluetooth gas meter receives the secret key, and if the receiving is successful, the client establishes credit registration with the background service of the bluetooth gas meter under the condition that the client establishes connection with the bluetooth gas meter. Therefore, when the client feeds back the account opening success information, the client can determine that the client sends the key matching with the key.

And S13, receiving the function instruction sent by the client when the keys are matched.

S14, utilizing the function command to control the function;

specifically, the functional instruction may be a pressurizing instruction and a replacing instruction for controlling the bluetooth gas meter; wherein, the step S14 can be realized by the following steps:

firstly, the Bluetooth gas meter responds to a functional instruction sent by a client;

secondly, feeding back current function information to the client according to the function instruction;

thirdly, receiving a request sent by the client according to the feedback current function information, and performing function control; the function information at least comprises an inquiry function and a replacement function of the Bluetooth gas meter.

Further, receiving a request sent by the client according to the feedback current function information, and performing function control may be implemented in the following manner: after the Bluetooth gas meter executes the zero clearing instruction issued by the client, timing and parameter setting are carried out; and feeding back the set timing and parameter information to the client.

The control method of the bluetooth gas meter provided by the embodiment of the invention as shown in fig. 1 can improve the efficiency of managing the bluetooth gas meter by setting the whole life cycle process of the bluetooth gas meter.

As shown in fig. 2, the present invention provides a method for controlling a bluetooth gas meter, wherein an embodiment of the present invention describes a scheme of the present invention with a client as an execution subject, specifically as follows:

s21, scanning the two-dimensional code of the Bluetooth gas meter to acquire the ID of the Bluetooth gas meter;

s22, connecting the Bluetooth gas meter according to the ID;

s23, when the connection is successful, a function instruction is sent to the Bluetooth gas meter;

s24, responding to feedback information received by the Bluetooth gas aiming at the function instruction;

and S25, performing function control on the Bluetooth gas meter.

The control method of the bluetooth gas meter provided by the embodiment of the invention as shown in fig. 2 can improve the efficiency of managing the bluetooth gas meter by setting the whole life cycle process of the bluetooth gas meter.

As shown in fig. 3, the present invention provides a method for controlling a bluetooth gas meter, wherein an embodiment of the present invention is described with a background server as an execution subject, specifically as follows:

s31 receiving the request of the client;

s32, according to the request of the client, verifying whether the application information of the client is matched with the application information of a prestored Bluetooth gas meter;

if so, go to step S33; otherwise, ending.

S33, if matching, sending confirmation information to the client;

the application information comprises client registration information, account opening information and function state information.

As shown in fig. 4, the embodiment of the present invention provides an account opening process for a bluetooth gas meter, specifically, an account opening operation is performed on a bluetooth gas meter by using a staff APP used by a gas company, in the account opening process, the staff APP is installed on a mobile phone of the gas company, the installation process is completed by scanning a relevant two-dimensional code in a specification of the bluetooth gas meter and obtaining a download link of the APP, and before an account is opened, the bluetooth gas meter should be input in advance on the staff APP to obtain relevant parameters, and the relevant parameters are stored; wherein, the client is staff APP, the bluetooth gas table (be referred to as "bluetooth table") for short:

step one, scanning a two-dimensional code on a Bluetooth watch by an employee APP to obtain an ID of the Bluetooth watch

Secondly, connecting an employee APP with a Bluetooth watch;

thirdly, the employee APP sends the information to a background;

step four, the Bluetooth list information is successfully opened at the background;

step five, the background issues the secret key to the employee APP, and the employee APP forwards the secret key to the Bluetooth table to complete issuing of the secret key;

step six, the employee APP sends a pressurization and replacement command to the gas meter, and a small amount of gas is input for the Bluetooth meter replacement process (replacement: removing air in a pipeline to prevent explosion);

step seven, the employee APP sends a zero clearing command to the gas meter, and the residual gas amount of the Bluetooth meter is cleared;

step eight, the employee APP sends a timing and parameter issuing instruction, the time in the Bluetooth watch is calibrated, and relevant parameters of the Bluetooth watch are issued.

Further explanation is as follows: firstly, scanning a two-dimensional code on a Bluetooth gas meter through an APP (application) of a staff on a mobile phone of a gas company to obtain ID (identity) information of the Bluetooth gas meter; the employee APP searches a Bluetooth gas meter corresponding to the ID information in a database of the employee APP, a connection request is initiated through Bluetooth, and after receiving the connection request, the Bluetooth gas meter is matched with the employee APP initiating the connection request to establish connection; subsequently, the employee APP sends a handshaking request to the Bluetooth gas meter through Bluetooth, and the Bluetooth gas meter processes the handshaking request after receiving the handshaking request and realizes successful handshaking.

Then, filling related ID information of the Bluetooth gas meter in a corresponding interface of the APP of the employee, and sending the ID information of the Bluetooth gas meter to a data processing background through a network; the data processing background receives the ID information of the Bluetooth gas meter and then carries out verification processing, the ID information of the Bluetooth gas meter is registered in the data processing background, account opening is successful, and the account opening success information is fed back to the employee APP;

secondly, the employee APP sends a secret key request to a data processing background through a network, the data processing background generates a secret key after data is verified to be correct after receiving the secret key request, the generated secret key is issued to the employee APP through the network, the employee APP issues the secret key to a Bluetooth gas meter through Bluetooth, and the Bluetooth gas meter feeds back information of successfully receiving the secret key to the employee APP after receiving the secret key, so that an issuing process of the secret key is completed;

secondly, the employee APP sends a pressurizing and replacing instruction to the Bluetooth gas meter through Bluetooth, the Bluetooth gas meter feeds back information of successful receiving to the employee APP after receiving the pressurizing and replacing instruction, and a small amount of natural gas is input into the Bluetooth gas meter to replace air in the Bluetooth gas meter and a pipeline thereof, so that explosion is prevented, and a replacing process is completed;

then, the employee APP sends a reset instruction to the Bluetooth gas meter through Bluetooth, the residual gas amount in the Bluetooth gas meter is reset, and after the reset is completed, the Bluetooth gas meter feeds back information of successful reset to the employee APP through Bluetooth; staff APP sends the time correction and parameter setting instructions to the Bluetooth gas meter through the Bluetooth, the time of the Bluetooth gas meter is calibrated, the parameters are issued to the Bluetooth gas meter to be executed, and after the time correction and parameter setting are completed, the Bluetooth gas meter feeds back the information of the time correction and parameter setting success to the staff APP. And then, completing the account opening operation of the Bluetooth gas meter.

As shown in fig. 5, an embodiment of the present invention provides a usage flow for querying, paying and recharging a bluetooth gas meter, specifically, a user APP used by a user is used to query information of the bluetooth gas meter, including querying parameters such as gas consumption and the like, and performing operations of wireless paying and recharging. The use flow is at first to install user APP on user's cell-phone, and the installation is through the relevant two-dimensional code in the description of scanning bluetooth gas table, and through the download link that acquires APP to accomplish user APP's installation, after the successful user APP of installation, inputing in advance and storing user personal information at user APP's corresponding interface. Then, the user APP is used for inquiring, paying and recharging processes, and the specific processes comprise:

1. the user APP scans the two-dimensional code on the Bluetooth table, acquires the Bluetooth table ID, fills in user personal information and sends the user personal information to the background, the registration process is completed, and the user information and the Bluetooth table information are bound;

2. the user APP is connected with the Bluetooth watch;

3. the user APP sends query information to the Bluetooth table to query relevant information such as Bluetooth table balance and the like;

4. according to the user requirements, the user APP sends a payment request to a background;

5. after background confirmation, sending ciphertext recharging information to the user APP;

6. the user APP forwards the ciphertext recharging information to the Bluetooth table;

7. the Bluetooth table decrypts the ciphertext recharging information and feeds back success information to the user APP;

8. and the APP of the user feeds back recharging success information to the background system.

Further explanation is as follows: firstly, scanning a two-dimensional code on a Bluetooth gas meter through a user APP on a mobile phone of a user to obtain ID information of the Bluetooth gas meter, filling user personal information in a user interface, sending the ID information of the Bluetooth gas meter and the user personal information to a data processing background through a network to request for registration operation of the user personal information, namely binding operation between the user personal information and the Bluetooth gas meter, checking and binding data after the data processing background receives the binding request, and feeding back success of registration to the user APP, thereby completing binding between the information of the Bluetooth gas meter and the user personal information, and successfully realizing the binding of the Bluetooth gas meter on the user APP; the method comprises the steps that a user APP initiates a connection request to a Bluetooth gas meter through Bluetooth, the Bluetooth gas meter performs pairing operation after receiving the connection request, connection with the user APP is achieved, and information of successful connection is fed back to the user APP; then, the user APP sends a handshake request to the Bluetooth gas meter, the Bluetooth gas meter receives the handshake request, and handshake success information is fed back to the user APP;

secondly, a user inputs query information on a user APP interface, wherein the query information comprises residual gas, accumulated gas, historical gas consumption records, accumulated gas consumption records, gas purchase records and the like, the user APP sends a query instruction to the Bluetooth gas meter through Bluetooth to complete query operation on the Bluetooth gas meter, the Bluetooth gas meter receives the query instruction, feeds back a query result to the user APP according to query contents, and displays the query result on the user APP interface; according to the requirements of the user, when the user needs to carry out payment and recharging operations, the user inputs payment and recharging information on a payment and recharging interface of the user APP, and the user APP sends payment and recharging requests to the data processing background through the network; the data processing background confirms payment and recharging requests uploaded by the user APP, then sends the ciphertext recharging information to the user APP through the network, and meanwhile, the user APP confirms payment and recharging data to be successfully issued to the data processing background;

secondly, the user APP confirms that ciphertext recharging information sent by the data processing background is received, and sends payment and recharging requests to the Bluetooth gas meter through Bluetooth, and the Bluetooth gas meter processes the received payment and recharging requests and feeds back the request success to the user APP; the user APP sends a secret key authentication request to the Bluetooth gas meter, the Bluetooth gas meter receives and authenticates the secret key authentication request, and after the secret key authentication request is successfully authenticated, secret key authentication success information is sent to the user APP; then, the user APP forwards the ciphertext recharging information to the Bluetooth gas meter; the Bluetooth gas meter confirms and receives ciphertext recharging information forwarded by the user APP, carries out decryption operation on the ciphertext recharging information, completes payment and recharging operation on the Bluetooth gas meter after decryption is successful, and feeds back the successful information to the user APP through Bluetooth.

The user APP receives the payment and recharging success information fed back by the Bluetooth gas meter, and feeds back the payment and recharging success information to the data processing background through the network; thereby completing the whole process of paying and charging.

As shown in fig. 6, an embodiment of the present invention provides a table exchange process for a new and old bluetooth gas meter, specifically, data of an old bluetooth gas meter is exported to a data processing background through an employee APP of a gas company, and then the data is transferred to the new bluetooth gas meter through the employee APP, and an accounting process of the data in the data processing background is completed. The specific process comprises the following steps:

1. the employee APP is connected with the old Bluetooth watch;

2. reading related data of an old bluetooth table by an employee APP;

3. the employee APP sends the data of the old Bluetooth watch to the background;

4. opening an account for the new bluetooth watch by utilizing the account opening and the process;

5. the background system issues the data after the accounting to the employee APP;

6. the employee APP connects to the new Bluetooth watch and forwards the background data to the new Bluetooth watch.

With respect to the above examples, further explanation is provided:

3.1 scanning the corresponding two-dimensional code of the old Bluetooth gas meter by using the employee APP of the gas company, selecting the bound old Bluetooth gas meter, initiating a connection request to the old Bluetooth gas meter, responding the request by the old Bluetooth gas meter, establishing connection, and feeding back the successful connection to the employee APP; the employee APP sends a handshake request to the old Bluetooth gas meter through Bluetooth, the old Bluetooth gas meter responds to the handshake request, the handshake is successful, and meanwhile handshake success information is fed back to the employee APP;

3.2 after the employee APP is connected with the old Bluetooth gas meter, sending a data reading request to the old Bluetooth gas meter through Bluetooth, responding to the request by the old Bluetooth gas meter, reading relevant data in the old Bluetooth gas meter, including residual gas, accumulated gas, historical gas record, accumulated gas purchasing record, gas purchasing record and the like, and feeding the data back to the employee APP;

3.3 the APP of the staff uploads the related data in the old Bluetooth gas meter, including the data of residual gas, accumulated gas, historical gas records, accumulated gas purchasing records, gas purchasing records and the like, to a data processing background through a network; the data processing background stores the data;

and 3.4 after the new Bluetooth gas meter is connected into the gas pipeline, opening an account for the new Bluetooth gas meter, wherein the process of opening an account refers to the operation of opening an account for the new Bluetooth gas meter by utilizing the employee APP used by the gas company, and the specific process of opening an account can refer to the step of opening an account shown in FIG. 1, so that the process of opening an account for the new Bluetooth gas meter is completed, the new Bluetooth gas meter is ensured to be capable of establishing normal Bluetooth connection with the employee APP, and the new Bluetooth gas meter and the data processing background can be in data connection.

3.5 the employee APP sends a data issuing request to the data processing background, the data processing background responds to the data request and performs accounting on the stored data of the old Bluetooth gas meter, and after the accounting is completed, the data after the accounting is issued to the employee APP;

3.6 ensure that staff APP and new bluetooth gas table establish the bluetooth and connect, staff APP with above-mentioned data after accounting forward to new bluetooth gas table through the bluetooth, new bluetooth gas table receives this data after accounting and responds. And finishing the meter changing process of the new and old Bluetooth gas meters. The user can establish a bluetooth connection with a new bluetooth gas meter through the user APP and perform related inquiry, payment and recharging processes according to the use steps shown in fig. 2.

The invention also provides a control device of the Bluetooth gas meter, which comprises: the device comprises a receiving module, a determining module, a matching module and a control module, and specifically comprises the following components:

the receiving module is used for receiving a connection request sent by a client;

the determining module is used for determining whether the key is matched with the key sent by the client side according to the request;

the matching module is used for receiving the functional instruction sent by the client when the keys are matched;

and the control module is used for performing function control by using the function instruction.

Wherein the control module comprises: the response submodule, the sending submodule and the control submodule; specifically, the method comprises the following steps:

the response submodule is used for responding to the functional instruction sent by the client;

the sending submodule is used for feeding back current function information to the client according to the function instruction; the function information at least comprises a query function and a replacement function of the gas meter;

and the control submodule is used for receiving a request sent by the client according to the feedback current function information and carrying out function control.

The invention also provides a control device of the Bluetooth gas meter, which comprises: scanning module, connection module, sending module, receiving module, control module specifically as follows:

the scanning module is used for scanning the two-dimensional code of the Bluetooth gas meter to acquire the ID of the Bluetooth gas meter;

the connecting module is used for connecting the Bluetooth gas meter according to the ID;

the transmitting module is used for transmitting a function instruction to the Bluetooth gas meter when the connection is successful;

the receiving module is used for responding to feedback information received by the Bluetooth gas aiming at the functional instruction;

and the control module is used for carrying out function control on the Bluetooth gas meter.

The invention also provides a control device of the Bluetooth gas meter, which comprises: the device comprises a receiving module, a judging module and a sending module, and specifically comprises the following steps:

the receiving module is used for receiving a request of a client;

the judging module is used for verifying whether the application information of the client is matched with the application information of the prestored Bluetooth gas meter or not according to the request of the client;

the sending module is used for sending confirmation information to the client if the client is matched with the server;

the application information comprises client registration information, account opening information and function state information.

Finally, it is to be noted that: the above description is only a preferred embodiment of the present invention, and is only used to illustrate the technical solutions of the present invention, and not to limit the protection scope of the present invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention shall fall within the protection scope of the present invention.

17页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:共享单车调度方法

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!