CN110322677A - Data transmission method, device, system and storage medium - Google Patents

Data transmission method, device, system and storage medium Download PDF

Info

Publication number
CN110322677A
CN110322677A CN201910551071.3A CN201910551071A CN110322677A CN 110322677 A CN110322677 A CN 110322677A CN 201910551071 A CN201910551071 A CN 201910551071A CN 110322677 A CN110322677 A CN 110322677A
Authority
CN
China
Prior art keywords
controller
ammeter
user identity
line
front controller
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.)
Granted
Application number
CN201910551071.3A
Other languages
Chinese (zh)
Other versions
CN110322677B (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.)
Guangzhou Huaming Power Technology Co Ltd
Original Assignee
Guangzhou Huaming Power Technology 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 Guangzhou Huaming Power Technology Co Ltd filed Critical Guangzhou Huaming Power Technology Co Ltd
Priority to CN201910551071.3A priority Critical patent/CN110322677B/en
Publication of CN110322677A publication Critical patent/CN110322677A/en
Application granted granted Critical
Publication of CN110322677B publication Critical patent/CN110322677B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G08SIGNALLING
    • G08CTRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
    • G08C19/00Electric signal transmission systems
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J13/00Circuit arrangements for providing remote indication of network conditions, e.g. an instantaneous record of the open or closed condition of each circuitbreaker in the network; Circuit arrangements for providing remote control of switching means in a power distribution network, e.g. switching in and out of current consumers by using a pulse code signal carried by the network
    • H02J13/00006Circuit arrangements for providing remote indication of network conditions, e.g. an instantaneous record of the open or closed condition of each circuitbreaker in the network; Circuit arrangements for providing remote control of switching means in a power distribution network, e.g. switching in and out of current consumers by using a pulse code signal carried by the network characterised by information or instructions transport means between the monitoring, controlling or managing units and monitored, controlled or operated power network element or electrical equipment
    • H02J13/00007Circuit arrangements for providing remote indication of network conditions, e.g. an instantaneous record of the open or closed condition of each circuitbreaker in the network; Circuit arrangements for providing remote control of switching means in a power distribution network, e.g. switching in and out of current consumers by using a pulse code signal carried by the network characterised by information or instructions transport means between the monitoring, controlling or managing units and monitored, controlled or operated power network element or electrical equipment using the power network as support for the transmission
    • H02J13/0075
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02EREDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
    • Y02E60/00Enabling technologies; Technologies with a potential or indirect contribution to GHG emissions mitigation
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y04INFORMATION OR COMMUNICATION TECHNOLOGIES HAVING AN IMPACT ON OTHER TECHNOLOGY AREAS
    • Y04SSYSTEMS INTEGRATING TECHNOLOGIES RELATED TO POWER NETWORK OPERATION, COMMUNICATION OR INFORMATION TECHNOLOGIES FOR IMPROVING THE ELECTRICAL POWER GENERATION, TRANSMISSION, DISTRIBUTION, MANAGEMENT OR USAGE, i.e. SMART GRIDS
    • Y04S40/00Systems for electrical power generation, transmission, distribution or end-user application management characterised by the use of communication or information technologies, or communication or information technology specific aspects supporting them
    • Y04S40/12Systems for electrical power generation, transmission, distribution or end-user application management characterised by the use of communication or information technologies, or communication or information technology specific aspects supporting them characterised by data transport means between the monitoring, controlling or managing units and monitored, controlled or operated electrical equipment
    • Y04S40/126Systems for electrical power generation, transmission, distribution or end-user application management characterised by the use of communication or information technologies, or communication or information technology specific aspects supporting them characterised by data transport means between the monitoring, controlling or managing units and monitored, controlled or operated electrical equipment using wireless data transmission

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Cable Transmission Systems, Equalization Of Radio And Reduction Of Echo (AREA)
  • Selective Calling Equipment (AREA)
  • Remote Monitoring And Control Of Power-Distribution Networks (AREA)
  • Arrangements For Transmission Of Measured Signals (AREA)

Abstract

The embodiment of the invention discloses a kind of data transmission method, device, system and storage mediums, it is related to power circuit detection technique field, comprising: which ammeter controller determines User Identity, the corresponding station address of each User Identity according to the received electric signal of key device;The User Identity is sent to front controller by the ammeter controller, and each corresponding User Identity of the front controller, the ammeter controller after sending User Identity for being arranged in the line of target ammeter;The front controller stores the User Identity, and the front controller is used to be arranged in after storing User Identity in the line of corresponding station address.Using the above method can solve in the prior art ammeter to the line technical problem that it will take a lot of manpower and time and efficiency is lower.

Description

Data transmission method, device, system and storage medium
Technical field
The present embodiments relate to line detection technique field more particularly to a kind of data transmission method, device, it is System and storage medium.
Background technique
Ammeter is the instrument for measuring electric energy, for measuring user power utilization device done electric work (certain within certain a period of time Electric energy is consumed in a period of time).Ammeter is generally installed concentratedly in ammeter box, is connect by line with user.It is using Before ammeter, it is thus necessary to determine that the position where the user of ammeter measurement.
Currently, ammeter and user's uses artificial exclusive method to line method, that is, arrange at least two staff, a work Make personnel at user for zero curve and firewire short circuit, in addition a staff tests every road one by one at ammeter box with multimeter Resistance between the zero curve and firewire of route, the route until finding short circuit, the work people at user is notified by communication equipment Member using communication equipment editor room number and is sent to the communication of staff at ammeter box and set by the staff of user It is standby, so that staff determines the corresponding room number of ammeter at ammeter box.It is double that above-mentioned artificial exclusive method needs at least two people to carry out Line operation such as needs to carry out then needing to input a large amount of station address, labor intensive and time and effect to line to more users Rate is lower.
Summary of the invention
The present invention provides a kind of data transmission method, device, system and storage mediums, to solve ammeter in the prior art To the line technical problem that it will take a lot of manpower and time and efficiency is lower.
In a first aspect, the embodiment of the invention provides a kind of data transmission methods, comprising:
Ammeter controller determines User Identity, each User Identity pair according to the received electric signal of key device Answer a station address;
The User Identity is sent to front controller, each front controller pair by the ammeter controller A User Identity is answered, the ammeter controller is used to be arranged in after sending User Identity the alternating current of target ammeter In route;
The front controller stores the User Identity, and the front controller is used in storage user identity mark It is arranged in the line of corresponding station address after knowledge.
Further, the User Identity is sent to front controller and includes: by the ammeter controller
The second interface of first interface and front controller based on the ammeter controller confirms the ammeter controller It is connected with the conducting wire of the front controller;
The User Identity is written in the first power carrier signal the ammeter controller;
The ammeter controller is connected by the conducting wire, and first power carrier signal is sent to front-end control Device.
Further, the User Identity is sent to front controller and includes: by the ammeter controller
Wireless signal is written in the User Identity by the ammeter controller;
Wireless signal is sent to front controller by way of near-field communication by the ammeter controller.
Further, after the front controller storage User Identity, further includes:
The front controller sends the second power carrier signal to line, and second power carrier signal includes The User Identity, the front controller are arranged in the line of corresponding station address;
When the ammeter controller receives the second power carrier signal, user's body in the second power carrier signal is obtained Part mark, the ammeter controller are arranged in the line of target ammeter, and the target ammeter is located in ammeter box, described It include multiple ammeters in ammeter box;
The ammeter controller shows the User Identity, with determining electric with target based on the User Identity The corresponding station address of table.
Further, the front controller is to before sending the second power carrier signal to line, further includes:
The power state of line where the ammeter controller determines front controller;
If line where front controller is in energized state, the ammeter controller is set as direct current supply;
If line where front controller is in off-position, the ammeter controller is set as Alternating Current Power Supply, with Line provides power supply where front-end directors.
Further, include: before the front controller stores the User Identity
The operating voltage of line is down to target operating voltage, the mesh using dropping equipment by the front controller Mark the operating voltage that operating voltage is master control set in the front controller.
Further, before the ammeter controller acquisition received electric signal of key device, further includes:
The ammeter controller obtaining mode selection instruction, and data edition mould is entered according to the mode selection command Formula.
Second aspect, the embodiment of the invention also provides a kind of data transmission devices, comprising:
Determining module is identified, ammeter controller is configured at, for determining user's body according to the received electric signal of key device Part mark, the corresponding station address of each User Identity;
Sending module is identified, the ammeter controller is configured at, for the User Identity to be sent to front end control Device processed, each corresponding User Identity of the front controller, the ammeter controller are used to send user identity It is arranged in the line of target ammeter after mark;
Memory module is identified, the front controller is configured at, for storing the User Identity, the front end control Device processed is used to be arranged in after storing User Identity in the line of corresponding station address.
The third aspect, the embodiment of the invention also provides a kind of data transmission systems, comprising: ammeter controller and it is multiple before Side controller, the ammeter controller include: the first master control set, first communication device and key device, first master control Device is connected with the first communication device and the key device respectively;
The key device, for receiving electric signal and being sent to first master control set;
First master control set for determining User Identity according to the electric signal, and is sent to the first communication Device, the corresponding station address of each User Identity;
The first communication device, for the User Identity to be sent to front controller, each front end Controller corresponds to a User Identity, and it is electric in target that the ammeter controller is used for the setting after sending User Identity In the line of table;
The front controller includes: the second master control set and secondary communication device of interconnection,
The secondary communication device, for receiving User Identity and being sent to second master control set;
Second master control set, for storing the User Identity, the front controller is used to use in storage It is accessed after the identity of family in the line of corresponding station address.
Fourth aspect, the embodiment of the invention also provides a kind of computer readable storage mediums, are stored thereon with computer Program realizes data transmission method as described in relation to the first aspect when the program is executed by master control set.
Above-mentioned data transmission method, device, system and storage medium, it is received according to key device by ammeter controller Electric signal determines User Identity, the corresponding station address of each User Identity, and User Identity is sent To front controller, so that the technical solution of front controller storage User Identity, is controlled by ammeter controller and front end It is respectively written into User Identity in device processed, and different user address is distinguished by User Identity, convenient for subsequent Ammeter is carried out to line based on User Identity, and User Identity has reusability, no longer needs to be manually entered every time, saves It manpower and time, improves to line efficiency.
Detailed description of the invention
Fig. 1 is a kind of flow chart for data transmission method that the embodiment of the present invention one provides;
Fig. 2 is ammeter controller front view provided in an embodiment of the present invention;
Fig. 3 is front controller front view provided in an embodiment of the present invention;
Fig. 4 is a kind of flow chart of data transmission method provided by Embodiment 2 of the present invention;
Fig. 5 is ammeter controller right side view provided in an embodiment of the present invention;
Fig. 6 is a kind of structural schematic diagram for data transmission device that the embodiment of the present invention three provides;
Fig. 7 is a kind of structural schematic diagram for data transmission system that the embodiment of the present invention four provides;
Fig. 8 is ammeter controller architecture schematic diagram provided in an embodiment of the present invention;
Fig. 9 is front controller structural schematic diagram provided in an embodiment of the present invention.
Specific embodiment
The present invention is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched The specific embodiment stated is used to explain the present invention, rather than limitation of the invention.It also should be noted that for the ease of retouching It states, only the parts related to the present invention are shown in attached drawing rather than entire infrastructure.
Embodiment one
Fig. 1 is a kind of flow chart for data transmission method that the embodiment of the present invention one provides.The data provided in embodiment Transmission method can be executed by data transmission system, which includes ammeter controller and multiple front controllers.
With reference to Fig. 1, which is specifically included:
Step 110, ammeter controller determine User Identity, each user's body according to the received electric signal of key device Part identifies a corresponding station address.
In general, the corresponding user of each ammeter in ammeter box.User can be understood as an electricity unit, such as a list Each house in first building is a user.One electricity unit is provided with a distribution box, ammeter and distribution box line Connection, so that the electricity consumption data of the clear user of ammeter.Specifically, ammeter controller is for configuring when carrying out ammeter to line It in the line of ammeter, is communicated with front controller of the configuration in the line of relative users address, to help Staff determines the corresponding station address of ammeter.At this point, the corresponding station address of ammeter is determined for the ease of staff, it is real It applies and sets ammeter controller generation User Identity in example.Wherein, User Identity has uniqueness, specific to generate Regular embodiment is not construed as limiting.Further, each with there is a station address per family.In embodiment, setting generates user's body After part mark, the corresponding User Identity of each station address.
Optionally, when generating User Identity, setting ammeter controller is true according to the received electric signal of key device Determine User Identity.Specifically, Fig. 2 is ammeter controller front view provided in an embodiment of the present invention, with reference to Fig. 2, ammeter control Key device 01 and display screen 02 are provided on device processed.Staff can input the data needed by key device 01, it Afterwards, the data of staff's input are shown in display screen 02.Typically, User Identity can be by number and/or alphabetical group At staff is inputted by respective keys in click keys device, after key device detects clicking operation, generates phase The electric signal answered, and it is transmitted to the master control set of ammeter controller, after the master control set of ammeter controller receives electric signal, really Determine the number or letter of staff's input, and controls display screen and shown.Key quilt is determined in key device when detecting After click, determine that a User Identity input operation is completed, at this point, ammeter controller saves the User Identity.It can Choosing, after the completion of the preservation of ammeter controller, show that storage is completed, in display screen to prompt staff that can exit Operation.After detecting that exiting key in key device is clicked, it is defeated to determine that staff has exited this User Identity Enter operation.Later, if showing user's body of this input in display screen after detecting that reading key in key device is clicked Part mark.
Optionally, under data edition mode, the electric signal that could be inputted based on key device is determined to be used ammeter controller Family identity.I.e. before this step, further includes: ammeter controller obtaining mode selection instruction, and according to the model selection Instruction enters data edition mode.Wherein, it is provided with data edition mode selection button in the key device of ammeter controller, when Detection determines when the key is clicked and gets mode selection command, and enters data edition mode.
For example, with reference to Fig. 2, key device 01 includes key 1- key 16, and key 1 is function button, in number According under edit pattern, selection inputs letter or number;Key 2 is used for log-on data edit pattern, i.e., for generating model selection Instruction;Key 3 is to exit key;Key 4 is the key delete button under data edition mode;Key 5- key 13 respectively corresponds Digital 1-9, and the corresponding letter of key 5 " A, B, C ", the corresponding letter of key 6 " D, E, F ", and so on, the corresponding letter of key 13 " Y, Z " and symbol "-";Key 14 is to read key, for when ammeter controller is in main interface, realizing in display screen display Show the data of input;The corresponding number 0 of key 15;Key 16 is write-in key, or key is determined, in data edition The data of the master control set storage write-in of indication electric meter controller under mode.
Further, " Welcome " is shown in display screen when setting main interface, to prompt staff to be currently at master Interface.In general, showing main interface after ammeter controller powers on booting.At this point, only key 2 and key 14 are effective key. Later, after ammeter controller determines that key 2 is clicked, into data edition mode.Later, key 5- key 13 is often detected And in key 15 when any key receives clicking operation, electric signal is generated, later, ammeter controller is based on electric signal determination Corresponding number, and be shown in display screen, when detecting that key 1 is clicked, determines and enter alphabetic entry mode, at this point, When often detecting that any key receives clicking operation in key 5- key 13, the number of clicks received according to key is generated pair The electric signal answered, wherein different numbers of clicks correspond to different electric signals, and different electric signals corresponds to word different in the key It is female.Later, ammeter controller determines corresponding letter based on electric signal, and is shown in display screen.When detecting key 16 by point After hitting, determine that the input of some User Identity is completed, and stored.
Optionally, staff's record has station address, and when inputting User Identity, staff confirms user's body Part identifies corresponding station address.
User Identity is sent to front controller, each front controller corresponding one by step 120, ammeter controller A User Identity, ammeter controller after sending User Identity for being arranged in the line of target ammeter.
Specifically, the corresponding User Identity of each front controller, when ammeter controller sends user identity mark When knowledge, staff records the received User Identity of the front controller, and then determines the corresponding user of front controller Address.Optionally, after ammeter controller sends User Identity, any ammeter of ammeter box is arranged in by dismountable mode Line in, in embodiment, by access ammeter controller ammeter be denoted as target ammeter, optionally, with reference to Fig. 2, ammeter First interface is provided on controller comprising fire-wire interfaces 031 and zero line interface 032.Electricity can be accessed by first interface In the line of table.
Optionally, it when sending User Identity, can be sent out by wired mode and/or wirelessly It send.
Specifically, the step specifically includes step 121- step 123 when being sent by wired mode:
The second interface of step 121, the first interface based on ammeter controller and front controller confirms ammeter controller It is connected with the conducting wire of front controller.
Specifically, Fig. 3 is that front controller front view provided in an embodiment of the present invention is set on front controller with reference to Fig. 3 Second interface is set, including fire-wire interfaces 041 and zero line interface 042.Later, staff can be in first interface and second Conducting wire is accessed in interface, to realize that ammeter controller is connected with the conducting wire of front controller.Wherein, the specific access way of conducting wire Embodiment is not construed as limiting.After ammeter controller, which is determined, can be sent out by first interface and receive electric signal, determine It is connected at conducting wire.
User Identity is written in the first power carrier signal for step 122, ammeter controller.
Specifically, the first power carrier signal is written in the User Identity currently saved by ammeter controller, wherein the The modulating rule embodiment of one power carrier signal is not construed as limiting.It should be noted that power carrier is that electric system is distinctive Communication mode, power carrier communication refer to using existing power line, and analog or digital signal is carried out high speed by carrier system The technology of transmission, as long as live wire, can be carried out data transmitting its biggest characteristic is that not needing to set up network again
Step 123, ammeter controller are connected by conducting wire, and the first power carrier signal is sent to front controller.
Illustratively, the first power carrier signal is sent to front controller by first interface by ammeter controller.Before Side controller receives the first power carrier signal by second interface, and parses to the first power carrier signal, to obtain User Identity.
Specifically, the step specifically includes step 124- step 125 when wirelessly sending:
Wireless signal is written in User Identity by step 124, ammeter controller.
Specifically, being separately installed with near-field communication (near field in ammeter controller and front controller Communication, NFC) device.At this point, in order to transmit User Identity, User Identity is written ammeter controller In wireless signal, which is the identifiable signal of NFC device.
Wireless signal is sent to front controller by way of near-field communication by step 125, ammeter controller.
Specifically, wireless signal is sent to the NFC device of itself by ammeter controller, later, by the NFC of ammeter controller Wireless signal is sent to the NFC device of front controller by device.Front controller obtains the received wireless communication of itself NFC device Number, and wireless signal is parsed, to obtain User Identity.
It is understood that above-mentioned User Identity sending method is merely illustrative description.It, can be in practical application Be: ammeter controller sends User Identity in a broadcast manner;Front controller receives broadcast singal, and confirms that itself is It is no to have had User Identity, if not having, obtain the User Identity in broadcast singal.Otherwise, the broadcast is abandoned Signal.
Step 130, front controller store User Identity, and front controller is used for after storing User Identity It is arranged in the line of corresponding station address.
Specifically, front controller stores User Identity by master control set.And user is stored in front controller After identity, which can be detachably arranged in User Identity and correspond to station address by staff In line, to realize ammeter to line subsequently through front controller and ammeter controller.At this point, since each front end is controlled Device processed has a User Identity, subsequent every time in line process, it is only necessary to which the staff of ammeter control terminal voluntarily sets The corresponding station address of each User Identity is set, and then front controller is installed based on station address, that is, before realizing The multiplexing of side controller.
Further, front controller is inactive component, therefore, can be in order to guarantee the normal work of front controller Power-supply device is accessed by the second interface of front controller, either, when second interface is connected with first interface conducting wire, is led to The power supply device front-end directors for crossing ammeter controller provide power supply.The master control set in front controller is set as 51 monolithics Machine, in order to guarantee that 51 single-chip microcontrollers accurately store User Identity, before setting this step in embodiment, further includes: front end control The operating voltage of line is down to target operating voltage using dropping equipment by device processed, and target operating voltage is front controller The operating voltage of interior master control set.Specifically, the voltage that dropping equipment accesses for reducing second interface.Target operating voltage is The operating voltage of master control set, in embodiment, target operating voltage is the operating voltage of 51 single-chip microcontrollers, wherein 51 single-chip microcontrollers Operating voltage is 5 volts.The voltage that second interface accesses is down to by 5V by dropping equipment, to guarantee the normal work of 51 single-chip microcontrollers Make, and then realizes the storage of User Identity.Wherein, the internal structure embodiment of dropping equipment is not construed as limiting.
It is above-mentioned, User Identity, each user are determined according to the received electric signal of key device by ammeter controller Identity corresponds to a station address, and User Identity is sent to front controller, so that front controller stores The technical solution of User Identity by being respectively written into User Identity in ammeter controller and front controller, and is led to It crosses User Identity to distinguish different user address, ammeter is carried out to line based on User Identity convenient for subsequent, and User Identity has reusability, no longer needs to be manually entered every time, saves manpower and time, improves to line efficiency.
Embodiment two
Fig. 4 is a kind of flow chart of data transmission method provided by Embodiment 2 of the present invention, and the present embodiment is in above-mentioned reality It applies and is embodied on the basis of example.With reference to Fig. 4, data transmission method provided in this embodiment is specifically included:
Step 210, ammeter controller determine User Identity, each user's body according to the received electric signal of key device Part identifies a corresponding station address.
User Identity is sent to front controller, each front controller corresponding one by step 220, ammeter controller A User Identity, ammeter controller after sending User Identity for being arranged in the line of target ammeter.
Step 230, front controller store User Identity, and front controller is used for after storing User Identity It is arranged in the line of corresponding station address.
Specifically, the quantity of ammeter is equal with number of users and front controller quantity in ammeter box.Staff according to The corresponding relationship of User Identity and station address determines the corresponding station address of User Identity, later based on user Location is accessed front controller in the line of corresponding user.At this point, front controller passes through second interface accessing user's In line.Later, staff can access ammeter controller in ammeter box in the line of any ammeter, this When, ammeter controller is accessed by first interface in the line of ammeter.After ammeter controller is completed once to line, again It accesses in the line of other ammeters.Further, when ammeter controller accesses the line of a certain ammeter, Ke Yijin Row ammeter is to line.Detailed process is as follows for it:
Step 240, front controller send the second power carrier signal to line, and the second power carrier signal includes User Identity, front controller are arranged in the line of corresponding station address.
Specifically, being described by taking the front controller being connect with ammeter controller power circuit as an example in this step.Before User Identity is written in the second power carrier signal side controller, and the second power carrier signal is sent to access In line, wherein the modulating rule embodiment of the second power carrier signal is not construed as limiting.It should be noted that front end is controlled Device processed can not specify receiving end, therefore, be only capable of power carrier signal being written in line.Optionally, work as front controller When confirming ammeter controller access line, the second power carrier signal that User Identity is written is sent to access In line, wherein the concrete mode embodiment of front controller confirmation ammeter controller access line is not construed as limiting. For example, front controller is in off-position, at this point, preceding when the line of front controller access is in off-position When side controller receives power supply signal, determine that ammeter controller accesses line.It is understood that working as ammeter controller When detecting that front controller is in off-position, front-end directors provide power supply.For another example, ammeter controller access target electricity After the line of table, mark is sent automatically by line front-end directors and sends instruction, front controller receives When mark sends instruction, determine that ammeter controller accesses line.
It is understood that being only capable of receiving what a front controller was sent after ammeter controller access target ammeter Identity.
When step 250, ammeter controller receive the second power carrier signal, the use in the second power carrier signal is obtained Family identity, ammeter controller are arranged in the line of target ammeter, and target ammeter is located in ammeter box, in ammeter box Include multiple ammeters.
Since ammeter controller is connected with front controller by line, ammeter controller can receive The second power carrier signal in line.Further, ammeter controller receives second comprising User Identity After power carrier signal, which is parsed, to obtain User Identity.
Step 260, ammeter controller show User Identity, based on User Identity determination and target ammeter pair The station address answered.
After ammeter controller receives User Identity, User Identity is shown in display screen.Later, by ammeter The staff of controller side determines corresponding station address based on User Identity, and then basic station address determines ammeter With the incidence relation of user, and station address is write on to the outer surface of ammeter.Either, it is previously stored in ammeter controller each The station address and station address of user and the corresponding relationship of User Identity.Optionally, corresponding relationship is with the shape of table Formula record, or recorded in the form of document, it specifically records form embodiment and is not construed as limiting.Typically, when ammeter controller After getting User Identity, according to the corresponding relationship of User Identity and station address, searches and currently get The corresponding station address of User Identity later shows station address in the display screen of ammeter controller, so that ammeter The incidence relation of the staff of controller side clear ammeter and user.Optionally, after determining station address, ammeter controller will The ammeter number of target ammeter is associated with preservation with station address.Later, ammeter number and station address are sent to control equipment In.Wherein, the smart machine etc. that control equipment can be server or staff uses.
It is understood that after each front controller write-in User Identity, can be answered in practical application With.For example, station address when staff records front controller access line can pass through ammeter control later Device processed shows the mode of the User Identity, determines ammeter and the incidence relation of user.
It is above-mentioned, the second power carrier letter for carrying User Identity is sent by line by front controller Number, later, ammeter controller parses the User Identity that the second power carrier signal carries, and shows User Identity Technical solution can make staff confirm address information corresponding with identity quickly through ammeter controller, then build Vertical ammeter and the incidence relation of user, without being tested one by one in ammeter box and the equal configuration work personnel of user side, saving Manpower realizes intelligence to line, improves to line efficiency.
On the basis of the above embodiments, it is contemplated that user exist power-off the case where, will lead in this way front controller without Method carries out data communication by line and ammeter.Accordingly, front controller is set in embodiment to send to line Before second power carrier signal, further includes:
The power state of line where step 270, ammeter controller determine front controller.If front controller institute It is in energized state in line, executes step 280.If line where front controller is in off-position, execute Step 290.
Illustratively, the power state of line includes energized state and off-position, and energized state refers to that front end is controlled The line of device access processed is in energized state, can provide power supply for front controller.Off-position refers to front-end control The line of device access is in off-position, can not provide power supply for front controller.
Specifically, ammeter controller determines that the mode embodiment of the power supply status of front controller is not construed as limiting.For example, inspection Whether survey on the line of user has voltage, if so, determine that line where front controller is in energized state, it is no Then, determine that line where front controller is in off-position.For another example, one is sent by line front-end directors A indication signal, and determine whether the feedback signal that front controller transmission is received in line.If receiving Feedback signal, it is determined that line where front controller is in energized state, otherwise, it determines alternating current where front controller Route is in off-position.
Step 280, ammeter controller are set as direct current supply.
Specifically, be provided with power supply device in ammeter controller, which, which includes direct current supply gear, is supplied with exchanging Electric gear, Fig. 5 are ammeter controller right side view provided in an embodiment of the present invention, with reference to Fig. 5, indicate that exchange supplies by key 17 Electric gear or direct current supply gear.One grade of expression Alternating Current Power Supply gear is set, second gear indicates direct current supply gear.Further , direct current supply gear output voltage values are 24 volts, and Alternating Current Power Supply gear output voltage values are 220 volts.Front controller is in When energized state, power supply is provided without ammeter controller, at this point, power supply device is set direct current supply shelves by ammeter controller Position, i.e. realization direct current supply, to provide power supply for the line of itself and ammeter.
Step 290, ammeter controller are set as Alternating Current Power Supply, provide power supply with line where front-end directors.
Specifically, power supply device is set Alternating Current Power Supply by ammeter controller when front controller is in off-position Gear, i.e., realization Alternating Current Power Supply, at this point, by 220 volts of alternating currents can for front-end directors place line provide Power supply, and then realize and power carrier signal is transmitted by line.
It is above-mentioned, by be arranged ammeter controller direct current supply and Alternating Current Power Supply, it is ensured that no matter city's electric wire of user Whether road is in energized state, and ammeter controller and front controller can be achieved by line and transmit power carrier letter Number.
Embodiment three
Fig. 6 is a kind of structural schematic diagram for data transmission device that the embodiment of the present invention three provides.With reference to Fig. 6, the data Transmitting device includes: mark determining module 301, mark sending module 302 and mark memory module 303.
Wherein, determining module 301 is identified, ammeter controller is configured at, for true according to the received electric signal of key device Determine User Identity, the corresponding station address of each User Identity;Sending module 302 is identified, the electricity is configured at Table controller, for the User Identity to be sent to front controller, each corresponding use of the front controller Family identity, the ammeter controller after sending User Identity for being arranged in the line of target ammeter; Memory module 303 is identified, the front controller is configured at, is configured at the front controller, for storing user's body Part mark, the front controller are used to be arranged in after storing User Identity in the line of corresponding station address.
On the basis of the above embodiments, mark sending module 302 includes: confirmation connection unit, for being based on the electricity The first interface of table controller and the second interface of front controller confirm the ammeter controller and the front controller Conducting wire connection;Carrier wave writing unit, for the User Identity to be written in the first power carrier signal;Carrier wave sends single First power carrier signal is sent to front controller for connecting by the conducting wire by member.
On the basis of the above embodiments, mark sending module 302 includes: signal writing unit, is used for the user Wireless signal is written in identity;Signal transmitting unit, for wireless signal to be sent to front end by way of near-field communication Controller.
On the basis of the above embodiments, further includes: identity sending module is configured at the front controller, uses After front controller stores the User Identity, the second power carrier signal is sent to line, described second Power carrier signal includes the User Identity, and the line of corresponding station address is arranged in the front controller In;Determining module is identified, ammeter controller is configured at, when for receiving the second power carrier signal, the second electric power is obtained and carrying User Identity in wave signal, the ammeter controller are arranged in the line of target ammeter, the target ammeter It include multiple ammeters in the ammeter box in ammeter box;Display module is identified, ammeter controller is configured at, for showing The User Identity, to determine station address corresponding with target ammeter based on the User Identity.
On the basis of the above embodiments, further includes: voltage status determining module is configured at ammeter controller, before being used for Side controller is to before sending the second power carrier signal to line, the electric power of line where determining front controller State;First power supply module is configured at ammeter controller, if line where front controller is in energized state, is arranged For direct current supply;Second power supply module is configured at ammeter controller, if being in power-off for line where front controller State is set as Alternating Current Power Supply, provides power supply with line where front-end directors.
On the basis of the above embodiments, further includes: voltage reduction module is configured at front controller, is used for front controller Before storing the User Identity, the operating voltage of line is down to target operating voltage using dropping equipment, institute State the operating voltage that target operating voltage is master control set in the front controller.
On the basis of the above embodiments, further includes: mode selection module is configured at ammeter controller, is used for ammeter control Before device processed obtains the received electric signal of key device, obtaining mode selection instruction, and entered according to the mode selection command Data edition mode.
Data transmission device provided in an embodiment of the present invention can be used for executing the data transmission that above-mentioned any embodiment provides Method has corresponding function and beneficial effect.
Example IV
Fig. 7 is a kind of structural schematic diagram for data transmission system that the embodiment of the present invention four provides.As shown in fig. 7, the number It include ammeter controller 40 and multiple front controllers 41 according to Transmission system.
Fig. 8 is ammeter controller architecture schematic diagram provided in an embodiment of the present invention, and with reference to Fig. 8, which includes: First master control set 51, first communication device 52 and key device 01, first master control set 51 are logical with described first respectively T unit 52 and the key device 01 are connected.
The key device 01, for receiving electric signal and being sent to first master control set 51;First master control Device 51 for determining User Identity according to the electric signal, and is sent to first communication device 52, each user identity Identify a corresponding station address;The first communication device 52, for the User Identity to be sent to front-end control Device 41, each corresponding User Identity of the front controller 41, the ammeter controller 40 are used to send user It is arranged in the line of target ammeter after identity.
Specifically, the function of 51 integrated processor of the first master control set and memory, can be STM32 single-chip microcontroller, The electric signal that can be sent based on key device 01 determine User Identity, and be sent to first communication device 52, can be with Execute the data processing operation that ammeter controller executes in data transmission method.First communication device 52 be integrated with fire-wire interfaces and Zero line interface, for accessing line or being connect with ammeter controller line, to receive or send power carrier signal.First Communication device 52 can also be integrated with wireless communication device (such as NFC device), to realize and other equipment (such as front controller) Module carries out wireless communication by wireless communication.
Further, ammeter controller further include: the first dropping equipment 53, the first dropping equipment 53 and the first master control set 51 are connected, and the operating voltage of the line for accessing ammeter is reduced to the operating voltage of the first master control set.
Further, ammeter controller further include: first carrier device 54, first carrier device 54 respectively with the first master control Device 51 is connected with first communication device 52, and the User Identity or other data for generating the first master control set 51 are write Enter power carrier signal, and be sent in line or conducting wire by first communication device, is also used to receive line base In the power carrier signal that first communication device 52 is sent, and obtain (such as the second power carrier of the data in power carrier signal User Identity in signal), later, the data that will acquire are sent in the first master control set 51.
Further, ammeter controller further include: the first trap 55, respectively with the first master control set 51 and first carrier Device 54 is connected, the transmission range of power carrier signal in the line for promoting ammeter.
Further, ammeter controller further include: display device 56 is connected with the first master control set 51, for according to the The instruction of one master control set 51 shows data.Wherein, display device can be display screen 02.
Optionally, ammeter controller further includes power supply device 57, and power supply device 57 and the first master control set 51 and first carry Wave apparatus 54 is connected, and for providing Alternating Current Power Supply or direct current supply, ammeter controller further includes power button 17, the power button 17 are connected with power supply device 57, are used to indicate ammeter controller and are in Alternating Current Power Supply gear or direct current supply gear.
Fig. 9 is front controller structural schematic diagram provided in an embodiment of the present invention, and with reference to Fig. 9, which includes The second master control set 61 and secondary communication device 62 interconnected;
The secondary communication device 62, for receiving User Identity and being sent to second master control set 61;
Second master control set 61, for storing the User Identity, the front controller is for storing It is accessed after User Identity in the line of corresponding station address.
It can be 51 single-chip microcontrollers specifically, the function of 61 integrated processor of the second master control set and memory, it can be with For executing the data processing operation that front controller executes in data transmission method.Secondary communication device 62 is integrated with firewire and connects Mouth and zero line interface, for accessing line or being connect with ammeter controller line, to receive or send power carrier signal. Secondary communication device 62 can also be integrated with wireless communication device (such as NFC device), to realize and other equipment (such as front-end control Device) by wireless communication module carry out wireless communication.
Optionally, front controller further include: the second carrier equipment 63, the second carrier equipment 63 are filled with the second master control respectively It sets 61 to be connected with secondary communication device 62, for the second power carrier signal for carrying identity will to be generated, is also used to locate Received first power carrier signal of secondary communication device 62 is managed, and obtains the user identity mark in the first power carrier signal Know.
Optionally, front controller further include: the second dropping equipment 64, the second dropping equipment 64 and the second master control set 61 It is connected, for the operating voltage of the line of user to be reduced to target operating voltage.
Optionally, front controller further include: the second trap 65 is filled with the second master control set 61 and the second carrier wave respectively It sets 63 to be connected, the transmission range of power carrier signal in the line for promoting user.
Above-mentioned data transmission system is used to execute the data transmission method that above-mentioned any embodiment provides, and has corresponding function Energy and beneficial effect.
Embodiment five
The embodiment of the present invention also provides a kind of storage medium comprising computer executable instructions, and the computer is executable Instruction by master control set (including the first master control set and the second master control set) when being executed for executing a kind of transmission side data Method, this method comprises:
Ammeter controller determines User Identity, each User Identity pair according to the received electric signal of key device Answer a station address;
The User Identity is sent to front controller, each front controller pair by the ammeter controller A User Identity is answered, the ammeter controller is used to be arranged in after sending User Identity the alternating current of target ammeter In route;
The front controller stores the User Identity, and the front controller is used in storage user identity mark It is arranged in the line of corresponding station address after knowledge.
Certainly, a kind of storage medium comprising computer executable instructions, computer provided by the embodiment of the present invention Data transmission provided by any embodiment of the invention can also be performed in the method operation that executable instruction is not limited to the described above Relevant operation in method.
By the description above with respect to embodiment, it is apparent to those skilled in the art that, the present invention It can be realized by software and required common hardware, naturally it is also possible to which by hardware realization, but in many cases, the former is more Good embodiment.Based on this understanding, technical solution of the present invention substantially in other words contributes to the prior art Part can be embodied in the form of software products, which can store in computer readable storage medium In, floppy disk, read-only memory (Read-Only Memory, ROM), random access memory (Random such as computer Access Memory, RAM), flash memory (FLASH), hard disk or CD etc., including some instructions are with so that a computer is set Standby (can be personal computer, server or the network equipment etc.) executes method described in each embodiment of the present invention.
Note that the above is only a better embodiment of the present invention and the applied technical principle.It will be appreciated by those skilled in the art that The invention is not limited to the specific embodiments described herein, be able to carry out for a person skilled in the art it is various it is apparent variation, It readjusts and substitutes without departing from protection scope of the present invention.Therefore, although being carried out by above embodiments to the present invention It is described in further detail, but the present invention is not limited to the above embodiments only, without departing from the inventive concept, also It may include more other equivalent embodiments, and the scope of the invention is determined by the scope of the appended claims.

Claims (10)

1. a kind of data transmission method characterized by comprising
Ammeter controller determines User Identity, each User Identity corresponding one according to the received electric signal of key device A station address;
The User Identity is sent to front controller, each front controller corresponding one by the ammeter controller A User Identity, the ammeter controller are used to be arranged in after sending User Identity the line of target ammeter In;
The front controller stores the User Identity, and the front controller is used for after storing User Identity It is arranged in the line of corresponding station address.
2. data transmission method according to claim 1, which is characterized in that the ammeter controller is by the user identity Mark is sent to front controller and includes:
The second interface of first interface and front controller based on the ammeter controller confirms the ammeter controller and institute State the conducting wire connection of front controller;
The User Identity is written in the first power carrier signal the ammeter controller;
The ammeter controller is connected by the conducting wire, and first power carrier signal is sent to front controller.
3. data transmission method according to claim 1, which is characterized in that the ammeter controller is by the user identity Mark is sent to front controller and includes:
Wireless signal is written in the User Identity by the ammeter controller;
Wireless signal is sent to front controller by way of near-field communication by the ammeter controller.
4. data transmission method according to claim 1, which is characterized in that the front controller stores user's body After part mark, further includes:
The front controller sends the second power carrier signal to line, and second power carrier signal includes described User Identity, the front controller are arranged in the line of corresponding station address;
When the ammeter controller receives the second power carrier signal, the user identity mark in the second power carrier signal is obtained Know, the ammeter controller is arranged in the line of target ammeter, and the target ammeter is located in ammeter box, the ammeter It include multiple ammeters in case;
The ammeter controller shows the User Identity, based on User Identity determination and target ammeter pair The station address answered.
5. data transmission method according to claim 4, which is characterized in that the front controller is sent out to line Before sending the second power carrier signal, further includes:
The power state of line where the ammeter controller determines front controller;
If line where front controller is in energized state, the ammeter controller is set as direct current supply;
If line where front controller is in off-position, the ammeter controller is set as Alternating Current Power Supply, with forward Line provides power supply where side controller.
6. data transmission method according to claim 1, which is characterized in that the front controller stores user's body Include: before part mark
The operating voltage of line is down to target operating voltage, the target work using dropping equipment by the front controller Make the operating voltage that voltage is master control set in the front controller.
7. data transmission method according to claim 1, which is characterized in that the ammeter controller obtains key device and connects Before the electric signal of receipts, further includes:
The ammeter controller obtaining mode selection instruction, and data edition mode is entered according to the mode selection command.
8. a kind of data transmission device characterized by comprising
Determining module is identified, ammeter controller is configured at, for determining user identity mark according to the received electric signal of key device Know, the corresponding station address of each User Identity;
Sending module is identified, the ammeter controller is configured at, for the User Identity to be sent to front controller, Each corresponding User Identity of the front controller, the ammeter controller are used for after sending User Identity It is arranged in the line of target ammeter;
Memory module is identified, the front controller is configured at, for storing the User Identity, the front controller For being arranged in the line of corresponding station address after storing User Identity.
9. a kind of data transmission system characterized by comprising ammeter controller and multiple front controllers, the ammeter control Device processed includes: the first master control set, first communication device and key device, and first master control set is logical with described first respectively T unit and the key device are connected;
The key device, for receiving electric signal and being sent to first master control set;
First master control set, for determining User Identity according to the electric signal, and is sent to first communication device, The corresponding station address of each User Identity;
The first communication device, for the User Identity to be sent to front controller, each front-end control Device corresponds to a User Identity, and the ammeter controller is for being arranged in target ammeter after sending User Identity In line;
The front controller includes: the second master control set and secondary communication device of interconnection,
The secondary communication device, for receiving User Identity and being sent to second master control set;
Second master control set, for storing the User Identity, the front controller is used in storage user's body It is accessed after part mark in the line of corresponding station address.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the program is filled by master control Set the data transmission method realized as described in any in claim 1-7 when execution.
CN201910551071.3A 2019-06-24 2019-06-24 Data transmission method, device, system and storage medium Active CN110322677B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910551071.3A CN110322677B (en) 2019-06-24 2019-06-24 Data transmission method, device, system and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910551071.3A CN110322677B (en) 2019-06-24 2019-06-24 Data transmission method, device, system and storage medium

Publications (2)

Publication Number Publication Date
CN110322677A true CN110322677A (en) 2019-10-11
CN110322677B CN110322677B (en) 2021-06-29

Family

ID=68121285

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910551071.3A Active CN110322677B (en) 2019-06-24 2019-06-24 Data transmission method, device, system and storage medium

Country Status (1)

Country Link
CN (1) CN110322677B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104502782A (en) * 2014-12-31 2015-04-08 重庆布鲁杰科技有限公司 Circuit detecting system for household distribution box
CN204925305U (en) * 2015-09-14 2015-12-30 国网山东省电力公司济宁供电公司 Cable intelligence is to line equipment
KR101594434B1 (en) * 2014-10-29 2016-02-26 박후곤 Potable cable identifier
CN107808507A (en) * 2017-10-21 2018-03-16 南京民联仪器制造有限公司 It is a kind of with being wirelessly transferred anti-visit one house after another check meter and its method of work
CN108761261A (en) * 2018-04-17 2018-11-06 国家电网公司 A kind of low-pressure metering box distribution line matching method and its contrast means
CN108802664A (en) * 2018-06-20 2018-11-13 国网四川省电力公司广元供电公司 A kind of family table examination device
CN109407038A (en) * 2018-10-25 2019-03-01 国网浙江乐清市供电有限公司 A kind of device detecting wrong wiring of electric energy meter

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101594434B1 (en) * 2014-10-29 2016-02-26 박후곤 Potable cable identifier
CN104502782A (en) * 2014-12-31 2015-04-08 重庆布鲁杰科技有限公司 Circuit detecting system for household distribution box
CN204925305U (en) * 2015-09-14 2015-12-30 国网山东省电力公司济宁供电公司 Cable intelligence is to line equipment
CN107808507A (en) * 2017-10-21 2018-03-16 南京民联仪器制造有限公司 It is a kind of with being wirelessly transferred anti-visit one house after another check meter and its method of work
CN108761261A (en) * 2018-04-17 2018-11-06 国家电网公司 A kind of low-pressure metering box distribution line matching method and its contrast means
CN108802664A (en) * 2018-06-20 2018-11-13 国网四川省电力公司广元供电公司 A kind of family table examination device
CN109407038A (en) * 2018-10-25 2019-03-01 国网浙江乐清市供电有限公司 A kind of device detecting wrong wiring of electric energy meter

Also Published As

Publication number Publication date
CN110322677B (en) 2021-06-29

Similar Documents

Publication Publication Date Title
CN110299763B (en) Automatic low-voltage distribution area line topology identification system and method
US10409251B2 (en) Automatic inspection and monitoring method based on time domain slotting control
CN202794497U (en) On-site comprehensive detection equipment for electric energy information acquisition terminal
CN104135520B (en) A kind of method and device for identifying android terminal
CN111124775A (en) Power-on time sequence abnormality detection method and device, MCU and storage medium
CN104182345A (en) Computer software testing system
CN103441861A (en) Method and device for generating data records
CN110134593A (en) Method for testing software, device, electronic equipment and storage medium
CN107076797A (en) Test based on performed visit order to semiconductor storage power consumption
CN109992269A (en) A kind of development approach and device of operation platform
CN113407393A (en) Chip verification method, terminal device, verification platform and storage medium
CN107277193A (en) A kind of baseboard management controller address management method, device and system
CN110492610B (en) Topology identification system allowing live-wire operation
CN105356955A (en) Business simulation device applicable to network performance test and method
CN110322677A (en) Data transmission method, device, system and storage medium
CN106940648A (en) A kind of method, equipment and the test system of automatic loading test item
CN104035902B (en) A kind of method and communication system for accessing data
CN116737640A (en) Information acquisition method, device, equipment and storage medium
CN113728668A (en) Master-slave module pairing processing system, device and method
CN113890845B (en) PSE test method and device, storage medium and electronic equipment
CN115664005A (en) Rapid communication point establishing method and system based on new energy electrical equipment model
CN110733037B (en) Signal processing method and device, storage medium and processor
CN107132391A (en) A kind of intelligent electric meter
CN110224403B (en) Dual-power household meter alignment method, device and system
CN110401586B (en) Bus communication method, device, equipment and readable storage medium

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
GR01 Patent grant
GR01 Patent grant