CN106373358B - Data forwarding method for concentrator and collector - Google Patents

Data forwarding method for concentrator and collector Download PDF

Info

Publication number
CN106373358B
CN106373358B CN201610794276.0A CN201610794276A CN106373358B CN 106373358 B CN106373358 B CN 106373358B CN 201610794276 A CN201610794276 A CN 201610794276A CN 106373358 B CN106373358 B CN 106373358B
Authority
CN
China
Prior art keywords
collector
concentrator
judging whether
data
yes
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201610794276.0A
Other languages
Chinese (zh)
Other versions
CN106373358A (en
Inventor
曾世尧
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Chengdu Chiffo Electronics Instruments Co Ltd
Original Assignee
Chengdu Chiffo Electronics Instruments Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Chengdu Chiffo Electronics Instruments Co Ltd filed Critical Chengdu Chiffo Electronics Instruments Co Ltd
Priority to CN201610794276.0A priority Critical patent/CN106373358B/en
Publication of CN106373358A publication Critical patent/CN106373358A/en
Application granted granted Critical
Publication of CN106373358B publication Critical patent/CN106373358B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G08SIGNALLING
    • G08CTRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
    • G08C17/00Arrangements for transmitting signals characterised by the use of a wireless electrical link
    • G08C17/02Arrangements for transmitting signals characterised by the use of a wireless electrical link using a radio link
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07FCOIN-FREED OR LIKE APPARATUS
    • G07F15/00Coin-freed apparatus with meter-controlled dispensing of liquid, gas or electricity
    • G07F15/06Coin-freed apparatus with meter-controlled dispensing of liquid, gas or electricity with means for prepaying basic charges, e.g. rent for meters

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a data forwarding method of a concentrator and a collector, wherein all data of the collector are transmitted to a data center through the concentrator; when the data center calls the collector, the concentrator transmits the information through the corresponding concentrator, whether the collector is legal or not is judged by the concentrator, and when the collector is legal, the concentrator and the collector communicate on an RF default frequency band; the data transmission process of the concentrator and the collector comprises the following steps: the concentrator receives the command of the data center, transmits the command to the corresponding collector through a default frequency band, the collector transmits the command back to the concentrator after processing, and the concentrator transmits the command to the data center.

Description

Data forwarding method for concentrator and collector
Technical Field
The invention belongs to the field of intelligent gas meters, and particularly relates to a data forwarding technology of a concentrator and a collector.
Background
Along with the development of intelligent gas meters, wireless remote transmission technology is beginning to be applied to intelligent gas meters, and the problem that gas companies are difficult to read is solved. When a concentrator is built for reading, one concentrator cannot read the wireless gas meters of the whole cell, and in order to reduce the management of a gas company on the SIM card of the concentrator and the expenditure of flow cost, a collector needs to be built, and data and related instructions of the collector need to be forwarded to a data center by the concentrator. At present, the concentrator and the collector are separated in the general situation, which is not beneficial to product management.
The following two problems exist between the existing concentrator and collector:
1. in order to reduce the management of a gas company on a concentrator SIM card and the expenditure of flow cost, a collector needs to be built, data and related instructions of the collector need to be forwarded to a data center by the concentrator, and the data forwarding pressure of the concentrator is reduced at home;
2. the concentrator is separated from the collector, which is not beneficial to the management of the gas company on the product.
Disclosure of Invention
The invention provides a data forwarding method of a concentrator and a collector for solving the technical problems, the collector and the concentrator can be mutually converted, and when an SIM card is installed, the concentrator is used, otherwise, the concentrator is used; all data of the collector are transmitted to a data center through a concentrator; when the data center calls the collector, the data center transmits the data through the corresponding concentrator, and the concentrator and the collector communicate on the RF default frequency band; the data transmission process of the concentrator and the collector comprises the following steps: the concentrator receives the command of the data center, transmits the command to the corresponding collector through a default frequency band, the collector transmits the command back to the concentrator after processing, and the concentrator transmits the command to the data center.
The technical scheme adopted by the invention is as follows: a data forwarding method of a concentrator and a collector comprises the following steps: the data forwarding step from the concentrator to the collector and the data forwarding step from the collector to the concentrator;
the data forwarding step from the concentrator to the collector comprises the following steps:
a1, the concentrator receives an operation command sent by the data center through the GPRS network, and executes the step A2;
a2, judging whether the command is the operation of the concentrator or the collector, and if the command is the operation of the concentrator, carrying out corresponding operation on the concentrator; otherwise, turning to the step A3 to operate the collector;
a3, judging whether the collector is legal, if not, reporting abnormal information through a GPRS network; otherwise go to step A4;
a4, judging whether the RF small wireless exists communication, if yes, turning to step A5; otherwise go to step A7;
a5, judging whether the RF small wireless is in a communication state in continuous maximum protection time; if yes, go to step A6; otherwise go to step A7;
a6, judging whether the maximum operation times of the collector are reached; if yes, uploading abnormal information through a GPRS network; otherwise go to step A4;
a7, the RF small wireless is in the maximum idle waiting state, then the step A8 is executed;
a8, judging whether the RF small wireless is in an idle state; if yes, go to step A10; otherwise go to step A9;
a9, judging whether the collector reaches the maximum operation times, if so, reporting abnormal information through GPRS abnormity; otherwise go to step A4;
a10, the concentrator decomposes the GPRS data sent by the concentrator and loads the RF data;
a11, the concentrator sends RF data to the collector;
a12, judging whether the concentrator correctly receives a return result; if yes, ending; otherwise go to step A13;
a13, judging whether the maximum operation times of the collector are reached; if so, reporting abnormal information through a GPRS network; otherwise go to step A11;
the data forwarding step from the collector to the concentrator comprises the following steps:
b1, judging whether data sent to the concentrator exist or not; if yes, go to step B2; otherwise, continuing to execute the step B1;
b2, switching the RF small wireless to the default frequency band;
b3, judging whether the RF small radio and the radio have communication, if yes, turning to the step B4; otherwise go to step B6;
b4, judging whether the RF small and infinite is in a communication state in the continuous maximum protection time length; if yes, go to step B5; otherwise go to step B6;
b5, judging whether the maximum operation times of the collector is reached; if yes, uploading abnormal information through a GPRS network; otherwise go to step B3;
b6, the RF small wireless is in the maximum idle waiting state, and then the step B7 is executed;
b7, judging whether the RF small radio is in an idle state or not; if yes, go to step B9; otherwise go to step B8;
b8, judging whether the maximum operation times of the collector is reached, if so, reporting abnormal information through GPRS abnormity; otherwise go to step B3;
b9, decomposing GPRS data by the collector and loading RF data;
b10, the collector sends RF data to the concentrator;
b11, judging whether the collector correctly receives the returned result; if yes, ending; otherwise go to step B12;
b12, judging whether the maximum operation times of the collector is reached; if so, reporting abnormal information through a GPRS network; otherwise go to step B10.
Further, step a12 is preceded by: the concentrator is at maximum duration protection waiting for return.
Further, step B11 is preceded by: the collector is in the maximum duration protection and waits for return.
The invention has the beneficial effects that: according to the data forwarding method of the concentrator and the collector, all data of the collector are transmitted to the data center through the concentrator; when the data center calls the collector, the concentrator transmits the information through the corresponding concentrator, whether the collector is legal or not is judged by the concentrator, and when the collector is legal, the concentrator and the collector communicate on an RF default frequency band; the data transmission process of the concentrator and the collector comprises the following steps: the concentrator receives the command of the data center, transmits the command to the corresponding collector through a default frequency band, the collector transmits the command back to the concentrator after processing, and the concentrator transmits the command to the data center.
Drawings
Fig. 1 is a flowchart of data forwarding from a concentrator to a collector according to the present application.
Fig. 2 is a flowchart of data forwarding from a collector to a concentrator according to the present application.
Detailed Description
In order to facilitate the understanding of the technical contents of the present invention by those skilled in the art, the present invention will be further explained with reference to the accompanying drawings.
The collector and the concentrator can be mutually converted, and when the SIM card is installed, the collector is the concentrator, otherwise, the collector is the collector; all data of the collector are transmitted to a data center through a concentrator; when the data center calls the collector, the data center transmits the data through the corresponding concentrator, and the concentrator and the collector communicate on the RF default frequency band; the data transmission process of the concentrator and the collector comprises the following steps: the concentrator receives the command of the data center, transmits the corresponding collector through the default frequency band, the collector transmits the command back to the concentrator after processing, and the concentrator transmits the command to the data center.
As shown in fig. 1, the data forwarding process from the concentrator to the collector includes:
a1, the concentrator receives an operation command sent by the data center through the GPRS network, and executes the step A2; the concentrator detects whether an operation command issued by the data center is received through the GPRS network or not at intervals of a time interval T, and the time interval T is set according to actual needs.
A2, judging whether the command is the operation of the concentrator or the collector, and if the command is the operation of the concentrator, carrying out corresponding operation on the concentrator; otherwise, turning to the step A3 to operate the collector; after receiving an operation command issued by a data center, the concentrator judges whether the command is directed to the concentrator or the collector; if the operation command of the concentrator is directed, performing corresponding operation processing on the concentrator without issuing; and if the command is an operation command for the collector, the command is sent to the designated collector through RF communication.
A3, judging whether the collector is legal, if not, reporting abnormal information through a GPRS network; otherwise go to step A4; in practical application, for the purposes of product management and usability and reliability of a gas meter company, the concentrator and the acquisition can be exchanged, and the difference is whether an SIM card is inserted or not; therefore, whether the collector exceeds the SIM card or not needs to be judged, if so, the collector is illegal, and the concentrator reports abnormal information to the data center through the GPRS network.
A4, judging whether the RF small wireless exists communication, if yes, turning to step A5; otherwise go to step A7; judging whether the RF small wireless exists communication, if so, further judging that the RF small wireless is in a communication state in continuous maximum protection time; if the continuous maximum protection duration is in the communication state, further judging whether the collector reaches the maximum operation times; if the collector reaches the maximum operation times, the operation command cannot be completed, and the concentrator needs to report abnormal information to the data center through the GPRS network. Otherwise, go to step A7 to set the RF small wireless to the maximum idle waiting state.
A5, judging whether the RF small wireless is in a communication state in continuous maximum protection time; if yes, go to step A6; otherwise go to step A7;
a6, judging whether the maximum operation times of the collector are reached; if yes, uploading abnormal information through a GPRS network; otherwise go to step A4;
a7, the small wireless is in the maximum idle waiting state, and then step A8 is executed;
a8, judging whether the RF small wireless is in an idle state; if yes, go to step A10; otherwise go to step A9;
a9, judging whether the collector reaches the maximum operation times, if so, reporting abnormal information through GPRS abnormity; otherwise go to step A4;
a10, the concentrator decomposes GPRS data and loads RF data; when the RF small wireless is in an idle state and the collector does not reach the maximum operation times, the concentrator decomposes the GPRS data, loads the RF data and sends the RF data to the collector through RF communication.
A11, the concentrator sends RF data to the collector;
a12, the concentrator is protected in the maximum time length to wait for returning, and whether the concentrator correctly receives the return result is judged; if yes, ending; otherwise go to step A13;
a13, judging whether the maximum operation times of the collector are reached; if so, reporting abnormal information through a GPRS network; otherwise go to step A11; if the return result is not correctly received, the collector is checked again whether the maximum operation times is reached, and if not, the concentrator sends the RF data again.
As shown in fig. 2, the step of forwarding the data from the collector to the concentrator includes:
b1, judging whether data sent to the concentrator exist or not; if yes, go to step B2; otherwise, continuing to execute the step B1;
b2, switching the RF small wireless to the default frequency band;
b3, judging whether the RF small radio and the radio have communication, if yes, turning to the step B4; otherwise go to step B6; if yes, further judgment is needed to be made that the continuous maximum protection duration is in a communication state; if the continuous maximum protection duration is in the communication state, further judging whether the collector reaches the maximum operation times; if the collector reaches the maximum operation times, the operation cannot be completed, and the concentrator needs to report abnormal information to the data center through the GPRS network. Otherwise, step B6 is entered, and the RF small radio is set to the maximum idle waiting state.
B4, judging whether the RF small and infinite is in a communication state in the continuous maximum protection time length; if yes, go to step B5; otherwise go to step B6;
b5, judging whether the maximum operation times of the collector is reached; if yes, uploading abnormal information through a GPRS network; otherwise go to step B3;
b6, the small wireless is in the maximum idle waiting state, and then the step B7 is executed; when the RF small radio is in an idle state and the collector does not reach the maximum number of operations, the collector can transmit data to the value concentrator.
B7, judging whether the RF small radio is in an idle state or not; if yes, go to step B9; otherwise go to step B8;
b8, judging whether the maximum operation times of the collector is reached, if so, reporting abnormal information through GPRS abnormity; otherwise go to step B3;
b9, decomposing GPRS data by the collector and loading RF data;
b10, the collector sends RF data to the concentrator;
b11, the collector is in the maximum time length protection waiting for returning, and whether the collector correctly receives the returned result is judged; if yes, ending; otherwise go to step B12; if the collector does not correctly receive the return result, the data is not successfully sent, whether the collector reaches the maximum operation times is checked again, and if the collector does not receive the return result, the concentrator sends the RF data again.
B12, judging whether the maximum operation times of the collector is reached; if so, reporting abnormal information through a GPRS network; otherwise go to step B10.
It will be appreciated by those of ordinary skill in the art that the embodiments described herein are intended to assist the reader in understanding the principles of the invention and are to be construed as being without limitation to such specifically recited embodiments and examples. Various modifications and alterations to this invention will become apparent to those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the scope of the claims of the present invention.

Claims (3)

1. A data forwarding method of a concentrator and a collector is characterized by comprising the following steps: the data forwarding step from the concentrator to the collector and the data forwarding step from the collector to the concentrator;
the data forwarding step from the concentrator to the collector comprises the following steps:
a1, the concentrator receives an operation command sent by the data center through the GPRS network, and executes the step A2;
a2, judging whether the command is the operation of the concentrator or the collector, and if the command is the operation of the concentrator, carrying out corresponding operation on the concentrator; otherwise, turning to the step A3 to operate the collector;
a3, judging whether the SIM card is inserted into the collector, if so, reporting abnormal information through a GPRS network; otherwise go to step A4;
a4, judging whether the RF small wireless exists communication, if yes, turning to step A5; otherwise go to step A7;
a5, judging whether the RF small wireless is in a communication state in continuous maximum protection time; if yes, go to step A6; otherwise go to step A7;
a6, judging whether the maximum operation times of the collector are reached; if yes, uploading abnormal information through a GPRS network; otherwise go to step A4;
a7, the RF small wireless is in the maximum idle waiting state, then the step A8 is executed;
a8, judging whether the RF small wireless is in an idle state; if yes, go to step A10; otherwise go to step A9;
a9, judging whether the collector reaches the maximum operation times, if so, reporting abnormal information through GPRS abnormity; otherwise go to step A4;
a10, the concentrator decomposes GPRS data and loads RF data;
a11, the concentrator sends RF data to the collector;
a12, judging whether the concentrator correctly receives a return result; if yes, ending; otherwise go to step A13;
a13, judging whether the maximum operation times of the collector are reached; if so, reporting abnormal information through a GPRS network; otherwise go to step A11;
the data forwarding step from the collector to the concentrator comprises the following steps:
b1, judging whether data sent to the concentrator exist or not; if yes, go to step B2; otherwise, continuing to execute the step B1;
b2, switching the RF small wireless to the default frequency band;
b3, judging whether the RF small wireless exists communication, if yes, turning to the step B4; otherwise go to step B6;
b4, judging whether the RF small wireless is in a communication state in the continuous maximum protection time length; if yes, go to step B5; otherwise go to step B6;
b5, judging whether the maximum operation times of the collector is reached; if yes, uploading abnormal information through a GPRS network; otherwise go to step B3;
b6, the RF small wireless is in the maximum idle waiting state, and then the step B7 is executed;
b7, judging whether the RF small wireless is in an idle state; if yes, go to step B9; otherwise go to step B8;
b8, judging whether the maximum operation times of the collector is reached, if so, reporting abnormal information through GPRS abnormity; otherwise go to step B3;
b9, decomposing GPRS data by the collector and loading RF data;
b10, the collector sends RF data to the concentrator;
b11, judging whether the collector correctly receives the returned result; if yes, ending; otherwise go to step B12;
b12, judging whether the maximum operation times of the collector is reached; if so, reporting abnormal information through a GPRS network; otherwise go to step B10.
2. The method for forwarding data of a concentrator and a collector according to claim 1, wherein step a12 is preceded by: the concentrator is at maximum duration protection waiting for return.
3. The method for forwarding data of a concentrator and a collector according to claim 1, wherein step B11 is preceded by: the collector is in the maximum duration protection and waits for return.
CN201610794276.0A 2016-08-31 2016-08-31 Data forwarding method for concentrator and collector Active CN106373358B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610794276.0A CN106373358B (en) 2016-08-31 2016-08-31 Data forwarding method for concentrator and collector

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610794276.0A CN106373358B (en) 2016-08-31 2016-08-31 Data forwarding method for concentrator and collector

Publications (2)

Publication Number Publication Date
CN106373358A CN106373358A (en) 2017-02-01
CN106373358B true CN106373358B (en) 2020-06-02

Family

ID=57899861

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610794276.0A Active CN106373358B (en) 2016-08-31 2016-08-31 Data forwarding method for concentrator and collector

Country Status (1)

Country Link
CN (1) CN106373358B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101236594A (en) * 2008-01-25 2008-08-06 北京华海隆科贸有限公司 Rapid response long distance recognition radio frequency label
CN101859479A (en) * 2010-05-04 2010-10-13 东营市同天电子科技有限公司 Remote wireless meter reading device for prepayment
US8838038B1 (en) * 2006-07-14 2014-09-16 Marvell International Ltd. Clear-channel assessment in 40 MHz wireless receivers
CN104900026A (en) * 2014-03-04 2015-09-09 国网上海市电力公司 Monitoring method for collector in centralized meter reading system
CN105206010A (en) * 2014-05-29 2015-12-30 国家电网公司 Method and device for controlling communication of wireless centralized meter reading network
CN105934984A (en) * 2014-01-28 2016-09-07 诺基亚通信公司 Control of semi-persistent channel occupation for device-to-device (d2d) wireless communications

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102087132B (en) * 2009-12-04 2012-07-11 山东三龙智能技术有限公司 Wireless communication processing method for water meter
CN102036439B (en) * 2010-09-21 2014-09-03 浙江大学 Automatic equipment identification and maintenance supported DMX512 (Digital Multiplex 512) landscape lighting control system and method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8838038B1 (en) * 2006-07-14 2014-09-16 Marvell International Ltd. Clear-channel assessment in 40 MHz wireless receivers
CN101236594A (en) * 2008-01-25 2008-08-06 北京华海隆科贸有限公司 Rapid response long distance recognition radio frequency label
CN101859479A (en) * 2010-05-04 2010-10-13 东营市同天电子科技有限公司 Remote wireless meter reading device for prepayment
CN105934984A (en) * 2014-01-28 2016-09-07 诺基亚通信公司 Control of semi-persistent channel occupation for device-to-device (d2d) wireless communications
CN104900026A (en) * 2014-03-04 2015-09-09 国网上海市电力公司 Monitoring method for collector in centralized meter reading system
CN105206010A (en) * 2014-05-29 2015-12-30 国家电网公司 Method and device for controlling communication of wireless centralized meter reading network

Also Published As

Publication number Publication date
CN106373358A (en) 2017-02-01

Similar Documents

Publication Publication Date Title
CN107657689A (en) A kind of gate inhibition's method for unlocking, mobile terminal and computer-readable medium
CN105306591A (en) Internet of Things intelligent gas meter communication method communicating through concentrator
CN103716781A (en) Card writing method, device and system for mobile terminal intelligent card
CN103795440A (en) Data processing device for power line communication and data processing method thereof
CN102136085A (en) Telecom smart card and telecom smart card-based non-contact application management method
CN102271157A (en) Power monitoring system, method, wireless fidelity (WIFI) transceiver and intelligent power equipment
CN104380569A (en) Power delivery including out-of-band communication
CN102324707A (en) Method and system for patrolling and maintaining power distribution network automatic terminal
Ramanathan et al. NFC in industrial applications for monitoring plant information
CN105201290A (en) Logistics tracking and monitoring anti-theft device
CN103793816A (en) NFC equipment payment method and NFC equipment
CN108923935A (en) A kind of narrowband internet of things data analysis management control system, method and application
CN102867347A (en) RFID (radio frequency identification) wireless interconnection safety control intelligent terminal management system
CN102324076A (en) Unification all-purpose card payment system based on cloud calculation and method thereof
CN101588553B (en) System, computer remotely controlled by short message and method thereof
CN103514003B (en) Program installation method and device
CN106373358B (en) Data forwarding method for concentrator and collector
CN112885061B (en) Method for realizing multi-device time-sharing communication based on electric meter
CN104168145B (en) A kind of system and method that radio upgrade is carried out to wireless communication unit
CN105307134A (en) Short message monitoring method and device
CN103152464A (en) Equipment, method and system of obtaining fixed phone calling information through wireless way
CN103138809A (en) Communication method between electronic appliances, and corresponding appliances
CN104933453A (en) Information management system and method of ring main unit (RMU)
CN101877653A (en) Method and system for judging whether alarm variable information is lost or not as well as master control board
CN103763687A (en) Intelligent information receiving and sending method and system special for electric power with encryption function

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant