CN106850853B - A kind of information channel intelligent selecting method based on load balancing - Google Patents

A kind of information channel intelligent selecting method based on load balancing Download PDF

Info

Publication number
CN106850853B
CN106850853B CN201710181987.5A CN201710181987A CN106850853B CN 106850853 B CN106850853 B CN 106850853B CN 201710181987 A CN201710181987 A CN 201710181987A CN 106850853 B CN106850853 B CN 106850853B
Authority
CN
China
Prior art keywords
data
tables
preposition
isolating device
intranet
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
CN201710181987.5A
Other languages
Chinese (zh)
Other versions
CN106850853A (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.)
State Grid Corp of China SGCC
Jiangsu Fangtian Power Technology Co Ltd
Electric Power Research Institute of State Grid Jiangsu Electric Power Co Ltd
Original Assignee
State Grid Corp of China SGCC
Jiangsu Fangtian Power Technology Co Ltd
Electric Power Research Institute of State Grid Jiangsu 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 State Grid Corp of China SGCC, Jiangsu Fangtian Power Technology Co Ltd, Electric Power Research Institute of State Grid Jiangsu Electric Power Co Ltd filed Critical State Grid Corp of China SGCC
Priority to CN201710181987.5A priority Critical patent/CN106850853B/en
Publication of CN106850853A publication Critical patent/CN106850853A/en
Application granted granted Critical
Publication of CN106850853B publication Critical patent/CN106850853B/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
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1001Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
    • H04L67/1036Load balancing of requests to servers for services different from user content provisioning, e.g. load balancing across domain name servers

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Computer And Data Communications (AREA)

Abstract

The invention discloses a kind of information channel intelligent selecting method based on load balancing, including by load balancing hardware concurrent data to be distributed to multiple outer nets by all kinds of means preposition;In the preposition tables of data that data are inserted into multiple isolating devices of multiple outer nets;The preposition data obtained in multiple isolating device tables of data of multiple Intranets;Treated data are simultaneously stored in intranet data storehouse by Intranet service processing data;Multiple preposition real time scan intranet data storehouses of Intranet format the data in intranet data storehouse;In the preposition tables of data that format data is inserted into multiple isolating devices of multiple Intranets;The preposition format data obtained in multiple isolating device tables of data of multiple outer nets, and it is sent to each channel.The present invention is in the case where generating the requests such as a large amount of consulting, business handling, the case where the ability of data processing is improved using multi-channel intelligent selection method, while can cause whole transmission line roadlock plug to avoid unitary device failure.

Description

A kind of information channel intelligent selecting method based on load balancing
Technical field
The present invention relates to a kind of information channel intelligent selecting method based on load balancing, belongs to power system information technology Field.
Background technique
With the rapid development of mobile Internet, Jiangsu electric power saving customer service system passes through the development of many years, has deposited In a variety of services channels, such as wechat, Alipay, Web, App, each channel communication modes and communications protocol disunity.In order to It is adapted to each channel communications protocol, guaranteeing message, (outer net is internet, and Intranet is electric power local area network) is reliable between intranet and extranet, stablizes Transmission, need to design it is a set of it is easy adaptation, it is expansible, adapt to power network environment, meet safety standard, can be realized real-time perception And the power information scheme of immediate interactive.
Summary of the invention
In order to solve the above-mentioned technical problems, the present invention provides a kind of information channel intelligent selection side based on load balancing Method.
In order to achieve the above object, the technical scheme adopted by the invention is that:
A kind of information channel intelligent selecting method based on load balancing, includes the following steps,
It is preposition that concurrent data is distributed to by multiple outer nets by load balancing hardware by all kinds of means;
In the preposition tables of data that data are inserted into multiple isolating devices of multiple outer nets;
The preposition data obtained in multiple isolating device tables of data of multiple Intranets;
Treated data are simultaneously stored in intranet data storehouse by Intranet service processing data;
Multiple preposition real time scan intranet data storehouses of Intranet format the data in intranet data storehouse;
In the preposition tables of data that format data is inserted into multiple isolating devices of multiple Intranets;
The preposition format data obtained in multiple isolating device tables of data of multiple outer nets, and it is sent to each channel.
Outer net is preposition to be inserted into data in the tables of data of isolating device by hash algorithm.
Intranet is preposition to be inserted into format data in the tables of data of isolating device by hash algorithm.
It is by the process that data are inserted into the tables of data of isolating device by hash algorithm,
The collection for defining isolating device is combined into G={ G0,G1,…,Gn, then define R (Gt) be
Wherein, GtThe isolating device of t is designated as under, t is integer, and n is maximum subscript, W (Gt) it is isolating device GtTables of data Weight;
Include an IP address in each data, a suitable prime number is selected in the range of the integer form of the address P is as golden section point, then HashVal (IP)=(IP × P) mod Σ W, and wherein HashVal (IP) is the cryptographic Hash of IP address, Σ W isWrite a Chinese character in simplified form, W (Gi) it is isolating device GiThe weight of tables of data;
By HashVal (IP) ∈ R (Gt) data be sent to isolating device GtOn.
The preposition data obtained by channel selecting algorithm in isolating device tables of data of Intranet.
The preposition format data obtained by channel selecting algorithm in isolating device tables of data of outer net.
It is by the process that channel selecting algorithm obtains data in isolating device tables of data,
Initialization reads value silently and obtains service number;
The database of scanning storage isolating device tables of data;
It is effective in service number, under the premise of having unallocated data table in database, according to service number and read value request point silently With tables of data.
Advantageous effects of the invention: the present invention is in the case where generating a large amount of consulting, business handling etc. and requesting, The ability of data processing is improved using multi-channel intelligent selection method, while can cause whole transmission to avoid unitary device failure The case where backlog.
Detailed description of the invention
Fig. 1 is logical flow chart of the invention.
Fig. 2 is work flow diagram of the invention.
Fig. 3 is the flow chart for obtaining data in isolating device tables of data.
Specific embodiment
The invention will be further described below in conjunction with the accompanying drawings.Following embodiment is only used for clearly illustrating the present invention Technical solution, and not intended to limit the protection scope of the present invention.
As illustrated in fig. 1 and 2, a kind of information channel intelligent selecting method based on load balancing, comprising the following steps:
Step 1, concurrent data is distributed to by multiple outer nets by load balancing hardware (such as F5 load balancer) by all kinds of means It is preposition.
Step 2, multiple outer nets are preposition is inserted into data in the tables of data of multiple isolating devices by hash algorithm.
By hash algorithm by data be inserted into isolating device tables of data in process are as follows:
S21, the collection for defining isolating device are combined into G={ G0,G1,…,Gn, then define R (Gt) be
Wherein, GtThe isolating device of t is designated as under, t is integer, and n is maximum subscript, W (Gt) it is isolating device GtTables of data Weight, W (Gt)>0;
S22, includes an IP address in each data, and the range of the integer form of the address is [0,232], in the range It is interior to select a suitable prime P as golden section point, so that hashed value is evenly distributed, then HashVal (IP)=(IP × P) Mod ∑ W, wherein HashVal (IP) is the cryptographic Hash of IP address, and codomain range is [0, ∑ W-1], and ∑ W is's It writes a Chinese character in simplified form, W (Gi) it is isolating device GiThe weight of tables of data, W (Gi)>0;
S23 maps HashVal (IP), corresponds in relevant isolating device, i.e., by HashVal (IP) ∈ R (Gt) data be sent to isolating device GtOn.
Outer net is preposition can be filtered using hash algorithm and wherein goes offline or the isolating device of failure, it is therefore an objective to can be allowed single The failure of isolating device does not influence whole transmission line road.
Step 3, the preposition data obtained by channel selecting algorithm in multiple isolating device tables of data of multiple Intranets.
As shown in figure 3, obtaining the process of data in isolating device tables of data by channel selecting algorithm are as follows:
S31, initialization read value silently and obtain service number;
S32, the database of scanning storage isolating device tables of data, generally oracle database;
S33, under the premise of service number effectively (not out of date), in database has unallocated data table, according to service number and Read value request distribution tables of data silently.
Step 4, Intranet service processing data and treated data are stored in intranet data storehouse.
Step 5, the preposition real time scan intranet data storehouse of multiple Intranets formats the data in intranet data storehouse.
Step 6, multiple Intranets are preposition is inserted into format data in the tables of data of multiple isolating devices by hash algorithm; Detailed process is consistent in step 2.
Intranet is preposition can be filtered using hash algorithm and wherein goes offline or the isolating device of failure, it is therefore an objective to can be allowed single The failure of isolating device does not influence whole transmission line road.
Step 7, the preposition format data obtained in multiple isolating device tables of data of multiple outer nets, and it is sent to each canal Road.The process for obtaining data in isolating device tables of data is consistent in step 3.
The above method utilizes multi-channel intelligent selecting party in the case where generating the requests such as a large amount of consulting, business handling Method improves the ability of data processing, and using more outer nets, preposition, more isolating devices, the preposition mesh transmission of more Intranets can be to avoid separate units Plant failure causes the case where whole transmission line roadlock plug.
The above is only a preferred embodiment of the present invention, it is noted that for the ordinary skill people of the art For member, without departing from the technical principles of the invention, several improvement and deformations can also be made, these improvement and deformations Also it should be regarded as protection scope of the present invention.

Claims (1)

1. a kind of information channel intelligent selecting method based on load balancing, it is characterised in that: include the following steps,
It is preposition that concurrent data is distributed to by multiple outer nets by load balancing hardware by all kinds of means;
Multiple outer nets are preposition to be inserted into data in the tables of data of isolating device by hash algorithm
The preposition data obtained by channel selecting algorithm in multiple isolating device tables of data of multiple Intranets;
Treated data are simultaneously stored in intranet data storehouse by Intranet service processing data;
Multiple preposition real time scan intranet data storehouses of Intranet format the data in intranet data storehouse;
Multiple Intranets are preposition to be inserted into format data in the tables of data of isolating device by hash algorithm
The preposition format data obtained by channel selecting algorithm in multiple isolating device tables of data of multiple outer nets, and be sent to Each channel;
It is by the process that data are inserted into the tables of data of isolating device by hash algorithm,
The collection for defining isolating device is combined into G={ G0,G1,…,Gn, then define R (Gt) be
Wherein, GtThe isolating device of t is designated as under, t is integer, and n is maximum subscript, W (Gt) it is isolating device GtThe power of tables of data Value;
It include an IP address in each data, the suitable prime P of selection one is made in the range of the integer form of the address For golden section point, then HashVal (IP)=(IP × P) mod ∑ W, wherein HashVal (IP) is the cryptographic Hash of IP address, ∑ W ForWrite a Chinese character in simplified form, W (Gi) it is isolating device GiThe weight of tables of data;
By HashVal (IP) ∈ R (Gt) data be sent to isolating device GtOn;
It is by the process that channel selecting algorithm obtains data in isolating device tables of data,
Initialization reads value silently and obtains service number;
The database of scanning storage isolating device tables of data;
It is effective in service number, under the premise of having unallocated data table in database, according to service number and read value request distribution number silently According to table.
CN201710181987.5A 2017-03-24 2017-03-24 A kind of information channel intelligent selecting method based on load balancing Active CN106850853B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710181987.5A CN106850853B (en) 2017-03-24 2017-03-24 A kind of information channel intelligent selecting method based on load balancing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710181987.5A CN106850853B (en) 2017-03-24 2017-03-24 A kind of information channel intelligent selecting method based on load balancing

Publications (2)

Publication Number Publication Date
CN106850853A CN106850853A (en) 2017-06-13
CN106850853B true CN106850853B (en) 2019-06-11

Family

ID=59130296

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710181987.5A Active CN106850853B (en) 2017-03-24 2017-03-24 A kind of information channel intelligent selecting method based on load balancing

Country Status (1)

Country Link
CN (1) CN106850853B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107809392A (en) * 2017-10-18 2018-03-16 珠海许继芝电网自动化有限公司 A kind of data transmission method across forward and reverse isolation load balancing and high reliability
CN112685418B (en) * 2020-12-30 2022-06-07 江苏方天电力技术有限公司 Method and system for realizing intelligent scheduling charging engine

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201369744Y (en) * 2008-12-17 2009-12-23 山西省电力公司大同供电分公司 Terminal security device for the separation of inner net and outer net of system
CN102098227A (en) * 2011-03-03 2011-06-15 成都市华为赛门铁克科技有限公司 Packet capture method and kernel module
CN104243334A (en) * 2014-09-26 2014-12-24 杭州华三通信技术有限公司 Method and equipment for preventing link congestion
CN104796496A (en) * 2015-05-12 2015-07-22 国网智能电网研究院 Cloud storage based load balancing calculating method
WO2016204872A1 (en) * 2015-06-19 2016-12-22 Qualcomm Incorporated Mobile communication device performance improvement by optimizing channel hashing

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201369744Y (en) * 2008-12-17 2009-12-23 山西省电力公司大同供电分公司 Terminal security device for the separation of inner net and outer net of system
CN102098227A (en) * 2011-03-03 2011-06-15 成都市华为赛门铁克科技有限公司 Packet capture method and kernel module
CN104243334A (en) * 2014-09-26 2014-12-24 杭州华三通信技术有限公司 Method and equipment for preventing link congestion
CN104796496A (en) * 2015-05-12 2015-07-22 国网智能电网研究院 Cloud storage based load balancing calculating method
WO2016204872A1 (en) * 2015-06-19 2016-12-22 Qualcomm Incorporated Mobile communication device performance improvement by optimizing channel hashing

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
一致性哈希算法在多处理机进程分配的应用;郭宁,张新;《计算机与现代化》;20130930(第217期);第71-74页

Also Published As

Publication number Publication date
CN106850853A (en) 2017-06-13

Similar Documents

Publication Publication Date Title
CN104486743B (en) A method of user information correlation is carried out to each interface XDR data of core net
CN103618733B (en) A kind of data filtering system and method for being applied to mobile Internet
CN102368714B (en) Network alarm processing method, apparatus and system thereof
CA2413232A1 (en) Automatic identification of a set-top box user to a network
HK1095398A1 (en) Method and apparatus for personalization and identity management
CN106850853B (en) A kind of information channel intelligent selecting method based on load balancing
EP4084415A1 (en) Data management method and system, associated subsystem and computer readable medium
CN106254379B (en) The processing system and processing method of network security policy
CN108881203A (en) Data managing method, electronic equipment, storage medium and system based on block chain
CN103327005B (en) Equipment cut-in method based on virtual desktop and device
WO2019120331A3 (en) Retrieving values of digital tickets using smart contracts in blockchain networks
CN103441883B (en) A kind of System-user management method
CN103297963B (en) Based on the method and system without the M2M secret protection of certificate and key management
CN102098166A (en) Gigabit passive optical network system and controllable multicast implementation method thereof
WO2018196775A1 (en) Method and apparatus for balanced processing of sudden hot spot access, medium, and device
CN106161340B (en) Service distribution method and system
CN104539752B (en) Access method and system between multilevel field platform
CN103812707B (en) A kind of method for processing forwarding of line identification message
CN105357332B (en) A kind of method for network address translation and device
CN104065766B (en) One kind bypass caching domain name analytic method
CN107426100A (en) A kind of VPN user access methods and device based on user's group
CN206350107U (en) A kind of set top box of the composite aircraft certification based on WIFI
CN106936606A (en) Service implementation method and system and arranging service equipment
CN102075355A (en) Log system and using method thereof
CN110868450B (en) Dual-computer room multi-entrance session keeping method, system, device and 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