CN104506502B - A kind of method that converged communication network is docked with main website - Google Patents

A kind of method that converged communication network is docked with main website Download PDF

Info

Publication number
CN104506502B
CN104506502B CN201410770902.3A CN201410770902A CN104506502B CN 104506502 B CN104506502 B CN 104506502B CN 201410770902 A CN201410770902 A CN 201410770902A CN 104506502 B CN104506502 B CN 104506502B
Authority
CN
China
Prior art keywords
main website
communication network
information
converged communication
data
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
CN201410770902.3A
Other languages
Chinese (zh)
Other versions
CN104506502A (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.)
BEIJING HUITONG JINCAI INFORMATION TECHNOLOGY Co Ltd
State Grid Corp of China SGCC
State Grid Information and Telecommunication Co Ltd
Information and Telecommunication Branch of State Grid Jibei Electric Power Co Ltd
Original Assignee
BEIJING HUITONG JINCAI INFORMATION TECHNOLOGY Co Ltd
State Grid Corp of China SGCC
State Grid Information and Telecommunication Co Ltd
Information and Telecommunication Branch of State Grid Jibei Electric Power 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 BEIJING HUITONG JINCAI INFORMATION TECHNOLOGY Co Ltd, State Grid Corp of China SGCC, State Grid Information and Telecommunication Co Ltd, Information and Telecommunication Branch of State Grid Jibei Electric Power Co Ltd filed Critical BEIJING HUITONG JINCAI INFORMATION TECHNOLOGY Co Ltd
Priority to CN201410770902.3A priority Critical patent/CN104506502B/en
Publication of CN104506502A publication Critical patent/CN104506502A/en
Application granted granted Critical
Publication of CN104506502B publication Critical patent/CN104506502B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/02Network architectures or network communication protocols for network security for separating internal from external traffic, e.g. firewalls
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/0869Network architectures or network communication protocols for network security for authentication of entities for achieving mutual authentication

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Small-Scale Networks (AREA)

Abstract

The invention discloses a kind of methods that converged communication network is docked with main website, including converged communication network to acquire electricity consumption data information, and the identity information of electricity consumption data information and converged communication network is sent to main website fire wall;Main website fire wall verifies the identity information of converged communication network, if the identity information of converged communication network is effective, electricity consumption data information is sent to main website by main website fire wall;Main website carries out analyzing processing to the data information that converged communication network is transmitted, and the identity information by control instruction and main website is sent out to corresponding converged communication network;Converged communication network verifies the identity information of main website, if the identity information of main website is effective, converged communication network executes the correspondence control instruction that main website is sent out.By the present invention in that carrying out the authentication of converged communication network with main website fire wall and using the technical solution of the bidirectional identification verification between main website and converged communication network, effectively increasing the safety that converged communication network is docked with main website.

Description

A kind of method that converged communication network is docked with main website
Technical field
The present invention relates to fields of communication technology, particularly relate to a kind of method that converged communication network is docked with main website.
Background technology
Many tissues of home and abroad had begun working on the key technology of heterogeneous network converged in recent years, European one (Broadband Radio Access for IP-based Network are by Siemens and some other public affairs by research project BRAIN One kind that department's cooperation carries out can provide source address to destination address, merge the service of internet and mobile communication.
Generally it is as the case may be, using not in different levels in the Automation System of Power Network in China is built Same communication mode.Distribution automation system mainly uses modes, the using effects such as optical fiber, wireless, medium-voltage carrier irregular. The content of electricity automation system is concentrated mainly in the construction of power information acquisition system, and telecommunication is using more 230MHz is wireless designated lane and the GPRS/CDMA public network communication technologys, local communication mode use low voltage power line carrier, short distance From communication modes such as wireless communication, RS485.
Therefore, from the prior art it can be seen that both at home and abroad all without good mechanism come complete MT mobile management and The resource management of entire converged network, user are difficult to select best secure accessing mode according to corresponding control signaling.In particular, In converged communication network, to dock problem also to be solved with main website safe.
Invention content
In view of this, it is an object of the invention to propose a kind of method that converged communication network is docked with main website, Neng Goushi Existing converged communication network is docked with the safety of main website.
The method docked with main website based on above-mentioned purpose converged communication network provided by the invention includes:
Converged communication network acquires electricity consumption data information, and the identity of electricity consumption data information and converged communication network is believed Breath is sent to main website fire wall;
Main website fire wall verifies the identity information of converged communication network, main if the identity information of converged communication network is effective Electricity consumption data information is sent to main website by fire wall of standing;
Main website carries out analyzing processing to the data information that converged communication network is transmitted, and is sent out to corresponding converged communication network Go out the identity information by control instruction and main website;
Converged communication network verifies the identity information of main website, if the identity information of main website is effective, converged communication network executes The correspondence control instruction that main website is sent out.
Wherein, converged communication network include sequentially connected electric terminal, information acquisition module, local centralized processing device and GPRS module, information acquisition module acquire the electricity consumption data information of electric terminal, and by the electricity consumption data information of electric terminal In the local centralized processing device converged to, established and connected by GPRS module and GPRS network, by electricity consumption data information with merge The identity information of communication network is sent to main website fire wall.
Also, local centralized processing device is additionally operable to verify the identity information of main website and execute the corresponding control that main website is sent out to refer to It enables.
Also, electric terminal uses Internet of Things framework, in conjunction with internet of things structure and protocol specification, establishes power information transmission With the layer structure data model of equipment room interconnection;It is essential information including the bottom, by all devices within the scope of Internet of Things It receives and perceives, be the type of plant capacity, the ID of equipment and equipment;The second layer is extension information, is asked for electricity consumption It asks, derives from user's operation or intelligent control, need to provide request signal, it is contemplated that time span and request rank are scheduled for journey Sequence analyzing processing;Third layer is high-level information, is response message, derives from miscellaneous equipment;It is also provided with additional information layer, in addition to The equipment is sent to outside the specific information of special equipment, is used for the application layer encryption and verification of information.
Specifically, local centralized processing device is integrated in the mixed-signal system grade microcontroller on chip, can be into line number According to acquisition and communication control;Wherein, local centralized processing device data acquisition is to complete the acquisition to each channel data and storage, For GPRS module data source is provided;The internal RAM for having 4352 bytes inside local centralized processing device, for storing nonce According to;And it distributes 3900 bytes to store and transmit for data, which is divided into 13 pieces, every piece of 300 bytes, wherein 12 pieces of correspondences In the sampled data for storing each channel;Since a power frequency period is sampled as 10 points, so the ephemeral data in RAM is protected always The data in each channel nearest 30 periods are stayed.
Specifically, local centralized processing device communication control flow includes:System clock and port are initialized, and is arranged RAM;Initialization timer generates 6000Hz Interruptions, and initializes serial ports;Start GPRS module, and establishes TCP companies It connects;Order and the parsing of main website are received by GPRS module;Judge the command type after parsing, then if it is upload data command The 6th step is executed, the 7th step is then executed if it is control command;It reads in RAM and needs the data uploaded, by what is acquired in the RAM Data are sent to GPRS module, then send main website to by TCP connection;By control command be sent to corresponding control The electric terminal of system.
Further, GPRS module realization protocol analysis and long-range connection under locally centralized processing device control, and according to The multi-channel information of local centralized processing device acquisition is carried out data encapsulation by the request of main website, and additional mark code forms information frame hair It is sent to GPRS network, and Internet is entered by GGSN gateways and is received by main website.
In a preferred embodiment, GPRS module includes a SIM card, and SIM card passes through SIM card interface with GPRS module Circuit connects, and SIM card realizes authentication;A triple has been used in the subscriber authentication mechanism of GPRS module, including One 128 random parameter RANDs calculate 64 of gained for the A3 arithmetic results SRES of user's checking and by A8 algorithms Key Kc;In network side, this triple is obtained by SGSN from home location register and is stored in inside SGSN;Wherein, Ki The subscriber authentication key being stored in SIM card and HLR, length are 128;First, electric terminal is tested to SGSN propositions After SGSN receives request, a verification information is sent to HLR for card request;After HLR receives the information, occurred with random number Device generates one in 0 and 2128128 random parameter RANDs between -1, and tested using the user of the random number and itself storage Demonstrate,prove key Ki, result SRES is obtained using A3 algorithms, the key K of GPRS Encryption Algorithm is obtained using A8 algorithmsc, and by random number, SRES、KcSGSN is sent back as a triple;Then, SGSN gets up triple storage, and random number therein is sent out Give electric terminal;Electric terminal uses the random number and the authentication secret K being stored in itself SIM cardi, utilize A3 algorithms It calculates result SRES and sends back SGSN;Finally, SGSN beams back the SRES in the triple of storage inside with user SRES is compared, if the two is equal, electric terminal has passed through authentication, and subsequent SGSN will be made whether to need with terminal Will be to negotiation and setting that data transmission is encrypted, and ensure to carry out while encrypting and decrypting between SGSN and electric terminal; After negotiating successfully, authentication process itself terminates.
In a preferred embodiment, the case where main website is according to electric terminal is monitored, control behaviour is carried out to electric terminal Work or transmission data upload request;The Transmission Control Protocol between main website and GPRS module is established, control command or data upload are asked Order is asked to send GPRS module to;Wherein, main website establishes liaison with electric terminal, receives upload data and includes:The first step, Judge whether that the Transmission Control Protocol between the main website and GPRS module has had been established, if second step is then directly carried out, if being otherwise arranged Transmission Control Protocol between main website and GPRS module executes second step again;Second step starts socket and intercepts;Third walks, and judges whether There is the connection request from GPRS module, if then receiving connection executes the 4th step, if otherwise returning to step second step;4th Step, according to connection request, main website receive data.
The identity information of above-mentioned converged communication network includes the IP for the local centralized processing device that can be converged communication network Address, converged communication network GRPS modules MAC Address in it is one or more;The identity information of main website can be main website Static ip address.
From the above it can be seen that the method that a kind of converged communication network provided by the invention is docked with main website, by using Main website fire wall is carried out the authentication of converged communication network and is tested using the bidirectional identification between main website and converged communication network The technical solution of card effectively increases the safety that converged communication network is docked with main website.
Description of the drawings
Fig. 1 is the flow chart of converged communication network of the embodiment of the present invention and main website interconnection method;
Fig. 2 is the structural schematic diagram for the Internet of Things framework that electric terminal of the embodiment of the present invention uses;
Fig. 3 is the peripheral circuit structural schematic diagram that the embodiment of the present invention locally focuses on device;
Fig. 4 is the serial interface circuit structural schematic diagram that the embodiment of the present invention locally focuses on device;
Fig. 5 is the communication control processing flow schematic diagram that the embodiment of the present invention locally focuses on device;
Fig. 6 is the circuit construction of electric power schematic diagram of GPRS module of the embodiment of the present invention;
Fig. 7 is that main website of the embodiment of the present invention receives the flow diagram for uploading data.
Specific implementation mode
To make the objectives, technical solutions, and advantages of the present invention clearer, below in conjunction with specific embodiment, and reference Attached drawing, the present invention is described in more detail.
According to one embodiment of present invention, a kind of method that converged communication network is docked with main website is provided.
As shown in Figure 1, the converged communication network provided according to embodiments of the present invention includes with main website interconnection method:
Step S101, converged communication network acquire electricity consumption data information, and by electricity consumption data information and converged communication net The identity information of network is sent to main website fire wall;
Step S103, main website fire wall verify the identity information of converged communication network, if the identity letter of converged communication network Breath is effective, and electricity consumption data information is sent to main website by main website fire wall;
Step S105, the data information that main website transmits converged communication network carry out analyzing processing, and to corresponding fusion Communication network sends out the identity information by control instruction and main website;
Step S107, converged communication network verify the identity information of main website, if the identity information of main website is effective, converged communication Network executes the correspondence control instruction that main website is sent out.
Wherein, converged communication network include sequentially connected electric terminal, information acquisition module, local centralized processing device and GPRS module, information acquisition module acquire the electricity consumption data information of electric terminal, and by the electricity consumption data information of electric terminal In the local centralized processing device converged to, established and connected by GPRS module and GPRS network, by electricity consumption data information with merge The identity information of communication network is sent to main website fire wall.
Also, local centralized processing device is additionally operable to verify the identity information of main website and execute the corresponding control that main website is sent out to refer to It enables.
In one embodiment of the invention, electric terminal uses Internet of Things framework, as shown in Figure 2.Letter between object Breath perception is the basis of Internet of Things, its main feature is that the Intellisense between object and automatic identification, accomplish plug and play.Electricity consumption is whole End 101 is directly facing user, directly represents the service level of electric power networks, and large number of, complex management.Electricity consumption It can be interconnected with Quick Response Code, RFID, sensor etc. by Sensor Network network layers between terminal 101.In embodiment, Electric terminal 101 uses WIFI and is interconnected, i.e., is provided with WIFI module in each electric terminal 101.Then pass through biography Defeated network layer realizes the transmission and calculating of data that is, by existing internet, Broadcasting Cable Network, communication network.
Preferably, in the communication information model construction of electric terminal 101, it is necessary to realize the equipment interconnections of plug and play System establishes the data model of power information transmission and equipment room interconnection, realizes equipment in conjunction with internet of things structure and protocol specification Perception, identity differentiate and control, defines the protocol analysis specification in facility information transmission process.In embodiment, electric terminal 101 information model such as following table:
101 information model of electric terminal has a typical layer structure, and the encryption of each layer information and transmission can be with It accepts or rejects as needed.Wherein, the bottom is essential information, this is a kind of broadcast message, by all devices within the scope of Internet of Things It receives and perceives.This partial information will periodically be sent and each equipment realizes the basis of plug and play.Meanwhile each equipment Also the broadcast message for receiving miscellaneous equipment, understands the basal conditions for owning " online " equipment, you can be plant capacity, equipment The type etc. of ID and equipment.The second layer is extension information, is mainly used for request for electricity, is probably derived from user's operation or intelligence It can control, need to provide request signal, it is contemplated that time span and request rank are scheduled for program analyzing processing.Third layer is high Grade information, usually response message, derive from miscellaneous equipment, the especially inquiry request of power consumption management equipment, which makes It responds, sends the information such as current operating conditions, energy source, real-time rate.In addition, additional information layer is also provided with, in addition to this Equipment is sent to outside the specific information of special equipment, is mainly used for the application layer encryption and verification of information, reinforces information transmission Reliability.
Preferably, the WIFI module realizes the verification of data encryption and identity using WAPI encryption methods.In reality It applies in example, using the two-way authentication based on digital certificate, mutual authentication scheme is established between electric terminal and wireless access point.Its In, using the public key certificate system based on elliptic curve, wireless client and access point are double by certificate server progress Differentiate to identity.For data encryption, using symmetric cryptographic algorithm the adding into row information of national commercial cipher administration committee Decryption.
In one embodiment of the invention, local centralized processing device is integrated in the mixed-signal system on 1 piece of chip Grade microcontroller has the microcontroller completely compatible with MCS-51 kernels and instruction.Other than the number with 8051 machine of standard If being also integrated with common analog component and other digital peripherals and function part in acquisition and control system outside component, in piece Part includes mainly Multipexer selector, programmable gain amplifier, ADC, DAC, voltage comparator, voltage reference, temperature biography Sensor, SPI, programmable counter/Timer Array, timer, the ports I/O, supply monitor, is seen SMBus/I2C, UART Door dog timer and clock oscillator etc., and this is locally focused on inside device with JTAG and debug circuit, is connect by JATG Mouth can use the microcontroller being mounted in final application system product to carry out non-intruding, full speed and in system debug.
Local centralized processing device is mainly used for the data acquisition and preliminary treatment of front end monitoring signals, and is controlled using serial ports WIFI module simultaneously realizes data transmission.Its main circuit includes:Clock circuit, reset circuit, JTAG artificial mouths circuit, serial interface Mouth level shifting circuit, power circuit etc..Preferably, local centralized processing device is using C8051F020 microcontrollers.
Specifically, the power supply of local centralized processing device includes the digital power and analog power of 3.3V, by LM2937IMP-3.3 is generated.LM2937 is three end low-dropout regulators of ON Semiconductor Corporation's production, has over current protection The functions such as shield, overheating protection, the protection of adjustment pipe safety operation area, also add " anti-packed battery protection " function.
The peripheral circuit of local centralized processing device includes clock circuit, reset circuit and JTAG artificial mouth circuits.Clock is adopted With 22.1184MHz without source crystal oscillator, reset circuit supports electrification reset and button to reset.Jtag interface circuit is using in microcontroller The boundary scan test circuit pin in portion is constituted plus pull-up circuit, as shown in Figure 3.
The serial interface circuit of local centralized processing device realizes 232 level conversions, using P0.0, P0.1 of microcontroller, P4.0, P4.1 realize serial line interface, realize that the Transistor-Transistor Logic level of microcontroller and 232 level turn using SP3223E electrical level transferring chips It changes, as shown in Figure 4.
It should be noted that in one embodiment, the local major function for focusing on device includes that data acquire and lead to Letter control two parts.Wherein, acquisition and storage to each channel data are completed in data acquisition, and number is provided for GPRS module According to source.Since power frequency component is 50Hz, to consider data storage and transmission demand, every road signal is adopted with 500Hz and 8 Sample, then timer overflow frequency take 6000Hz, timer generate interruption when each channel is sampled in turn.Preferably, local collection The internal RAM for having 4352 bytes inside middle processor can be used for storing ephemeral data.In addition, 3900 bytes of distribution are used for data Storage and transmission.The space is divided into 13 pieces, every piece of 300 bytes, wherein 12 pieces correspond to the sampled data for storing each channel.Due to One power frequency period is sampled as 10 points, so the ephemeral data in RAM remains the number in each channel nearest 30 periods always According to.To each channel installation position pointer variable, for newly putting the covering to old point and to provide initial position when data transmission.Separately One piece of 300 byte space is for sending buffering area, when GPRS module, which obtains request, needs transmission data, by the number of dedicated tunnel It is medium to be sent according to buffering area is moved rapidly into, while mark is set during data shift, to prevent capped destruction data suitable Sequence.
The communication control completes system initialization, establishes network connection, the request of main website 107 is parsed, by specified number Data frame is constituted plus flag information and verification information and send according to source.As shown in figure 5, local communicate with focusing on implement body Control flow includes:
S110 initializes system clock and port, and RAM is arranged.
In embodiment, the internal RAM for having 4352 bytes inside local centralized processing device, for storing ephemeral data.
Preferably, being provided with WatchDog Timer in local centralized processing device, needed first before carrying out step S110 Close WatchDog Timer.Wherein, WatchDog Timer is a kind of timer, make after software issue and program fleet occurs be System restarting.WatchDog Timer counts automatically when working normally, and program circuit is periodically resetted clearing, if system exists Somewhere is stuck or race flies, which will overflow, and will execute some in timer interruption into interruption and reset operation, is System restores normal working condition, i.e., in program without during normal operation, it is selected to ensure to reset house dog as scheduled Zero is overflowed in timing, and processor is made to restart.
S111, initialization timer generates 6000Hz Interruptions, and initializes serial ports.
S112 starts GPRS module, and establishes TCP connection.
S113 receives order and the parsing of main website by GPRS module.
S114 judges the command type after parsing, S115 is then executed if it is data command is uploaded, if it is control command Then execute S116.
S115 reads in RAM and needs the data uploaded, the data acquired in the RAM is sent to GPRS module, then pass through TCP connection sends main website to.
The control command is sent to the corresponding electric terminal controlled by S116.
As an embodiment of the present invention, GPRS module realizes protocol analysis and remote under locally centralized processing device control Journey connects, and the multi-channel information of local centralized processing device acquisition is carried out data encapsulation, additional mark according to the request of main website Code composition information frame is sent to GPRS network, and enters Internet by GGSN gateways and received by main website.GPRS module be Increase GPRS service nodes (SGSN), GPRS gateway nodes (GGSN) and series of standards interface on the basis of GSM network to come It realizes.
Preferably, GPRS module includes a SIM card, SIM card is connect with GPRS module by SIM card interface circuit, SIM Card realizes authentication.Used a triple in the subscriber authentication mechanism of GPRS module, including one 128 with Machine number RAND, 64 key K that gained is calculated for the A3 arithmetic results SRES (32) of user's checking and by A8 algorithmsc (the GPRS Encryption Algorithm GEA that will be used in data transmission after for authentication).In network side, this triple by SGSN is obtained at home location register (Home Location Register, HLR) and is stored in inside SGSN.It is specific For, KiThe subscriber authentication key being stored in SIM card and HLR, length are 128.First, electric terminal is to SGSN It proposes checking request, after SGSN receives request, a verification information is sent to HLR.After HLR receives the information, with random Number generator generates one in 0 and 2128128 random parameter RANDs between -1, and the random number and itself is utilized to store User's checking key Ki, result SRES is obtained using A3 algorithms, the key K of GPRS Encryption Algorithm (GEA) is obtained using A8 algorithmsc, And by random number, SRES, KcSGSN is sent back as a triple.Then, SGSN gets up triple storage, and will wherein Random number be sent to electric terminal.Electric terminal uses the random number and the authentication secret K being stored in itself SIM cardi, Result SRES is calculated using A3 algorithms and sends back SGSN;Finally, SGSN is by the SRES and use in the triple of storage inside The SRES that family is beamed back is compared, if the two is equal, electric terminal has passed through authentication.Then, SGSN will be with terminal While being made whether the negotiation and setting that need that data transmission is encrypted, and ensure encrypting and decrypting between SGSN and terminal It carries out.After negotiating successfully, authentication process itself terminates.
Preferably, GPRS module also carries out data encryption work after carrying out authentication success to the data being transmitted Make.In GPRS network data transmission procedure, data and signaling are algorithm protections encrypted, are in logic link control (LLC) layer.
In one embodiment, GPRS module uses MC52i wireless modules, is smallest size of double frequency GSM/GPRS moulds Block.MC52i embeds ICP/IP protocol stack, is easily integrated, and user can develop GPRS wireless networking terminals within the short time, It is widely used in the fields such as remote monitoring, Public CDMA WLL, car-mounted terminal, radio POS terminal.
The peripheral circuit of GPRS module includes power circuit, GPRS module enabling signal generation circuit, SIM card interface circuit And level shifting circuit.Wherein, power circuit uses the positive integrated regulators of ASM1117, is carried for GPRS module interface card For the digital power of 3.3V.Multiple capacitances are for being filtered input and output power supply, two light emitting diodes, wherein one A supply state for being used to refer to power supply, another indicates the communications status of GPRS using the SYNC pins of GPRS, such as Fig. 6 institutes Show.
The enabling signal IGT of GPRS module occurs electric router chip CAT1161 and generates, and is provided for the IGT pins of gsm module One is more than 100ms and level declines the starting impulse signal that the duration is less than 1ms, enters work shape after so that it is powered up State.SIM card interface circuit realizes the interface of GPRS module and SIM card.It will in addition, using SP207E in level shifting circuit 0~5V Transistor-Transistor Logic levels of GPRS module are converted to the RS232 level of -10~+10V, to be led to PC machine in debugging link Letter, while can also be communicated with the SCM system of front.
The case where main website can be according to electric terminal be monitored carries out control operation to electric terminal or transmission data uploads Request.The Transmission Control Protocol between main website and GPRS module is established, sends control command or data upload requests order to GPRS Module.
Additionally as in an alternative embodiment of the invention, main website establishes liaison with electric terminal, receives and uploads number According to specific implementation process it is as shown in Figure 7:
S130 judges whether that the Transmission Control Protocol between the main website and GPRS module has had been established, if then directly carrying out S131, if the Transmission Control Protocol being otherwise arranged between main website and GPRS module executes S131 again.
Preferably, main website needs that IP address and port numbers are arranged, then to establish the server end of a network connection Server calls method Listen enters blocked state, waits for the connection request from GPRS module.
S131 starts socket and intercepts.
S132 judges whether there is the connection request from GPRS module, if then receiving connection executes S133, if otherwise returning Return to step S131.
Preferably, when the server of main website receives connection request, event ConnectionRequest is triggered.Such as clothes Business device is ready offer service, then Accept methods can be called to receive connection.
S133, according to the connection request, the main website receives data.
Preferably, once main website connect foundation with GPRS module, according to the service in the request, the main website can make The reception of data is carried out with GetData.When receiving data, event DataArrival will be triggered, and can carry out data and deposit Storage, processing and the waveform by interface progress parameter are shown.
The identity information of above-mentioned converged communication network includes the IP for the local centralized processing device that can be converged communication network Address, converged communication network GRPS modules MAC Address in it is one or more;The identity information of main website can be main website Static ip address.
In conclusion the method docked with main website of converged communication network provided by the invention by using main website fire wall into The authentication of row converged communication network simultaneously uses the technical side of the bidirectional identification verification between main website and converged communication network Case effectively increases the safety that converged communication network is docked with main website;Meanwhile the present invention can solve electric terminal access Security performance;Under existing wireless communications network environment, the remote transmission of information is realized;Finally, the entire power grid is whole Hold communication system easy, compact, it is easy to accomplish.
Those of ordinary skills in the art should understand that:The above is only a specific embodiment of the present invention, and It is not used in the limitation present invention, all within the spirits and principles of the present invention, any modification, equivalent substitution, improvement and etc. done, It should be included within protection scope of the present invention.

Claims (10)

1. a kind of method that converged communication network is docked with main website, which is characterized in that including:
The converged communication network acquires electricity consumption data information, and by the electricity consumption data information and the converged communication network Identity information be sent to main website fire wall;
The main website fire wall verifies the identity information of the converged communication network, if the identity information of the converged communication network Effectively, the electricity consumption data information is sent to the main website by the main website fire wall;
The main website carries out analyzing processing to the data information that the converged communication network is transmitted, and logical to the corresponding fusion Communication network sends out the identity information of control instruction and the main website;
The converged communication network verifies the identity information of the main website, if the identity information of the main website is effective, the fusion Communication network executes the correspondence control instruction that the main website is sent out.
2. the method that a kind of converged communication network according to claim 1 is docked with main website, which is characterized in that the fusion Communication network includes sequentially connected electric terminal, information acquisition module, local centralized processing device and GPRS module, described information Acquisition module acquires the electricity consumption data information of the electric terminal, and the electricity consumption data converging information of the electric terminal is arrived In the local centralized processing device, is established and connected by the GPRS module and GPRS network, by the electricity consumption data information It is sent to the main website fire wall with the identity information of the converged communication network.
3. the method that a kind of converged communication network according to claim 2 is docked with main website, which is characterized in that the local Centralized processing device is additionally operable to verify the identity information of the main website and executes the correspondence control instruction that the main website is sent out.
4. the method that a kind of converged communication network according to claim 3 is docked with main website, which is characterized in that the use Electric terminals use Internet of Things framework, in conjunction with internet of things structure and protocol specification, establish power information transmission and equipment room interconnection Layer structure data model;It is essential information including the bottom, is received and perceived by all devices within the scope of Internet of Things, i.e., It is the type of plant capacity, the ID of equipment and equipment;The second layer is extension information, is used for request for electricity, is grasped from user Work or intelligent control, need to provide request signal, it is contemplated that time span and request rank are scheduled for program analyzing processing;Third Layer is high-level information, is response message, derives from miscellaneous equipment;It is also provided with additional information layer, in addition to the equipment is sent to specially With outside the specific information of equipment, it to be used for the application layer encryption and verification of information.
5. the method that a kind of converged communication network according to claim 4 is docked with main website, which is characterized in that the local Centralized processing device is integrated in the mixed-signal system grade microcontroller on chip, can carry out data acquisition and communication control;Its In, the local centralized processing device data acquisition is to complete the acquisition to each channel data and storage, is the GPRS moulds Block provides data source;The internal RAM for having 4352 bytes inside the local centralized processing device, for storing ephemeral data;And It distributes 3900 bytes to store and transmit for data, which is divided into 13 pieces, every piece of 300 bytes, wherein 12 pieces correspond to storage The sampled data in each channel;Since a power frequency period is sampled as 10 points, so the ephemeral data in RAM remains respectively always The data in channel nearest 30 periods.
6. the method that a kind of converged communication network according to claim 5 is docked with main website, which is characterized in that the local Focusing on device communication control flow includes:System clock and port are initialized, and RAM is set;Initialization timer generates 6000Hz Interruptions, and initialize serial ports;Start GPRS module, and establishes TCP connection;It is received and is led by GPRS module The order and parsing stood;Judge the command type after parsing, the number for needing to upload in RAM is then read if it is data command is uploaded According to the data acquired in the RAM being sent to GPRS module, then main website is sent to by TCP connection;Then if it is control command The control command is sent to the corresponding electric terminal controlled.
7. the method that a kind of converged communication network according to claim 6 is docked with main website, which is characterized in that the GPRS Module realizes protocol analysis and long-range connection under the local centralized processing device control, and according to the request of the main website by institute The multi-channel information for stating local centralized processing device acquisition carries out data encapsulation, and additional mark code composition information frame is sent to GPRS nets Network, and Internet is entered by GGSN gateways and is received by the main website.
8. the method that a kind of converged communication network according to claim 7 is docked with main website, which is characterized in that the GPRS Module includes a SIM card, and SIM card is connect with the GPRS module by SIM card interface circuit, and SIM card realizes authentication; A triple, including one 128 random parameter RANDs, use have been used in the subscriber authentication mechanism of the GPRS module A3 arithmetic results SRES in user's checking and 64 key Kc by A8 algorithms calculating gained;In network side, this ternary Group is obtained by SGSN from home location register and is stored in inside SGSN;Wherein, user's checking key Ki is stored in SIM Subscriber authentication key in card and HLR, length are 128;First, the electric terminal proposes checking request to SGSN, After SGSN receives request, a verification information is sent to HLR;After HLR receives the information, one is generated with randomizer A 128 random parameter RANDs between 0 and 2128-1, and utilize the random number and the user's checking key of itself storage Ki obtains result SRES using A3 algorithms, and the key Kc of GPRS Encryption Algorithm is obtained using A8 algorithms, and by random number, SRES, Kc sends back SGSN as a triple;Then, SGSN gets up triple storage, and random number therein is sent to use Electric terminals;The electric terminal is calculated using the random number and the user's checking key Ki being stored in itself SIM card using A3 Method calculates result SRES and sends back SGSN;Finally, SGSN beams back the SRES in the triple of storage inside with user SRES is compared, if the two is equal, electric terminal has passed through authentication, and subsequent SGSN will be made whether to need with terminal Will be to negotiation and setting that data transmission is encrypted, and ensure to carry out while encrypting and decrypting between SGSN and electric terminal; After negotiating successfully, authentication process itself terminates.
9. the method that a kind of converged communication network according to claim 8 is docked with main website, which is characterized in that the main website The case where according to being monitored to the electric terminal, carries out control operation or transmission data upload request to the electric terminal;I.e. The Transmission Control Protocol between the main website and the GPRS module is established, sends control command or data upload requests order to institute State GPRS module;Wherein, the main website establishes liaison with the electric terminal, receives upload data and includes:The first step is sentenced The disconnected Transmission Control Protocol whether having had been established between the main website and GPRS module, if then directly carrying out second step, if otherwise setting master The Transmission Control Protocol stood between GPRS module executes second step again;Second step starts socket and intercepts;Third walks, and judges whether there is Connection request from GPRS module, if then receiving connection executes the 4th step, if otherwise returning to step second step;4th Step, according to the connection request, the main website receives data.
10. the method that a kind of converged communication network according to any one of claim 1-9 is docked with main website, feature It is, the identity information of the converged communication network includes at least one of:At the local concentration of the converged communication network Manage the IP address of device, the MAC Address of the GRPS modules of the converged communication network;The identity information of the main website includes the master The static ip address stood.
CN201410770902.3A 2014-12-12 2014-12-12 A kind of method that converged communication network is docked with main website Active CN104506502B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410770902.3A CN104506502B (en) 2014-12-12 2014-12-12 A kind of method that converged communication network is docked with main website

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410770902.3A CN104506502B (en) 2014-12-12 2014-12-12 A kind of method that converged communication network is docked with main website

Publications (2)

Publication Number Publication Date
CN104506502A CN104506502A (en) 2015-04-08
CN104506502B true CN104506502B (en) 2018-08-24

Family

ID=52948217

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410770902.3A Active CN104506502B (en) 2014-12-12 2014-12-12 A kind of method that converged communication network is docked with main website

Country Status (1)

Country Link
CN (1) CN104506502B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107872379A (en) * 2016-09-28 2018-04-03 中兴通讯股份有限公司 A kind of terminal control method and device based on RCS message
EP3637815B1 (en) 2017-07-21 2022-05-25 Huawei International Pte. Ltd. Data transmission method, and device and system related thereto
CN107566373B (en) * 2017-09-07 2020-09-29 中山火炬职业技术学院 Internet of things data fusion method and device, terminal and computer readable storage medium
CN108055308B (en) * 2017-12-06 2021-01-05 北京航天计量测试技术研究所 Certificate uploading method for offline calibration handshake-free mechanism
CN109450091A (en) * 2018-11-19 2019-03-08 国网新疆电力有限公司塔城供电公司 A kind of data transmission system and method
CN111835875B (en) * 2019-04-22 2022-12-30 普天信息技术有限公司 Communication method and device for private network terminal and industry terminal

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201742158U (en) * 2010-03-26 2011-02-09 西安工程大学 Online monitoring device for power transformer
CN203674808U (en) * 2014-01-28 2014-06-25 江苏东能电力科技有限公司 Intelligent power distribution and utilization online monitoring comprehensive communication device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201742158U (en) * 2010-03-26 2011-02-09 西安工程大学 Online monitoring device for power transformer
CN203674808U (en) * 2014-01-28 2014-06-25 江苏东能电力科技有限公司 Intelligent power distribution and utilization online monitoring comprehensive communication device

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
"GPRS网络的安全性能";郑友泉等;《现代电信科技》;20001231(第12期);第7-9页 *
"基于单片机和GPRS的配电变压器远程监测系统设计";游步新等;《数字技术与应用》;20101110(第8期);第18-20页 *
"电力物联网传感器信息模型研究与应用";荆孟春等;《电网技术》;20140228;第532-537页 *

Also Published As

Publication number Publication date
CN104506502A (en) 2015-04-08

Similar Documents

Publication Publication Date Title
CN104506502B (en) A kind of method that converged communication network is docked with main website
CN104506598B (en) A kind of electric power terminal management method of mixed networking
CN205490665U (en) Thing networking systems's communication device
CN104505938B (en) A kind of electric network terminal communication system
CN106899498A (en) Embedded industry intelligent gateway and its real-time data acquisition method based on SoC
CN103891395A (en) Multi-device monitoring and control
CN106878933A (en) A kind of bluetooth equipment network-building method and system
CN105976134A (en) Enterprise energy management information collection system and method based on ZigBee wireless networking technology
CN110061989A (en) A kind of full partition method of data acquisition gateway
CN110244649A (en) PLC internal data acquisition method and system
CN107241291A (en) Internet of Things network security access device, internet-of-things terminal equipment and Internet of things system
CN115079648A (en) Intelligent industrial control system
CN113810788A (en) Intelligent ammeter information transmission method and device and terminal equipment
CN103218876B (en) Information security management module of remote control intelligent electric energy meter
CN103236921A (en) Information security management module of intelligent ammeter of internet of things
CN205283598U (en) Thing networking safe gateway device
CN102905257B (en) Intelligent-terminal-based non-contact information transmission system and transmission method thereof
CN114095311A (en) Power Internet of things gateway, power system and method for configuring newly-added power equipment
CN103152166A (en) Information security management module of remote-control intelligent water meters
CN110278077B (en) Method, device, equipment and storage medium for acquiring data information of electric energy meter
CN103425101A (en) Intelligent control system and method for internet of things
CN106850816A (en) A kind of remote network control system based on VLAN
CN105071974B (en) The method and command terminal of command terminal command and management based on RDSS
CN106066658B (en) Internet of things intelligent household temperature control system
CN108713199A (en) Right management method, system, mobile terminal, shared charging equipment and server

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20180703

Address after: 100031 West Chang'an Avenue, Xicheng District, Xicheng District, Beijing

Applicant after: State Grid Corporation of China

Applicant after: BEIJING HUITONG JINCAI INFORMATION TECHNOLOGY CO., LTD.

Applicant after: Information communication branch company of State Grid Jibei Electric Power Co., Ltd.

Applicant after: STATE GRID INFORMATION & TELECOMMUNICATION GROUP CO., LTD.

Address before: 100031 West Chang'an Avenue, Xicheng District, Xicheng District, Beijing

Applicant before: State Grid Corporation of China

Applicant before: BEIJING HUITONG JINCAI INFORMATION TECHNOLOGY CO., LTD.

Applicant before: Information communication branch company of State Grid Jibei Electric Power Co., Ltd.

GR01 Patent grant
GR01 Patent grant