CN105610965A - Cross-system batch data transmission method based on OSB (Operation Service Bus) interface specification - Google Patents

Cross-system batch data transmission method based on OSB (Operation Service Bus) interface specification Download PDF

Info

Publication number
CN105610965A
CN105610965A CN201610038789.9A CN201610038789A CN105610965A CN 105610965 A CN105610965 A CN 105610965A CN 201610038789 A CN201610038789 A CN 201610038789A CN 105610965 A CN105610965 A CN 105610965A
Authority
CN
China
Prior art keywords
data
osb
interface
interface specification
sent
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.)
Pending
Application number
CN201610038789.9A
Other languages
Chinese (zh)
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 Electric Power Research Institute
Original Assignee
Guangdong Power Grid Co Ltd
Nari Information and Communication Technology Co
Nanjing NARI Group Corp
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 Guangdong Power Grid Co Ltd, Nari Information and Communication Technology Co, Nanjing NARI Group Corp filed Critical Guangdong Power Grid Co Ltd
Priority to CN201610038789.9A priority Critical patent/CN105610965A/en
Publication of CN105610965A publication Critical patent/CN105610965A/en
Pending legal-status Critical Current

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/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]

Abstract

The invention discloses a cross-system batch data transmission method based on an OSB (Operation Service Bus) interface specification. Asynchronous service invokingis carried outat a foreground client through an Ajax; after batch requests are received by WebService interface service, data is taken out from a processing queue and is sent out; after the data is processed, result logs are recorded; accurate interaction results are fed back to a user; a more reliable batch interaction mode is provided for a multi-data interaction business scene; the pressure of the client is relieved through asynchronously invoking the interface service; the user experience in batch data interaction is improved; the user experience in batch data interaction is improved; many business scenes with great data interaction quantities in the actual power grid businesses are satisfied; and the method provided by the invention has good application prospects.

Description

Cross-system bulk data transmission method based on OSB interface specification
Technical field
The present invention relates to Regulation technical field, be specifically related to a kind of cross-system bulk data transmission method based on OSB interface specification.
Background technology
At present, Southern Power Grid Company has formulated the OSB(OperationServiceBus of WebService form, operation service bus) interface protocol specification. OMS(Regulation system) the existing data transfer mode based on OSB interface specification of system is to adopt wall scroll send mode, but, in actual electric network business, there is the larger business scenario of a lot of data interaction amounts, adopt once the mode that sends a business datum when mutual obviously cannot meet these demands, therefore need to be based on existing specification optimisation technique solution, thus meet these specific business demands. The requirement of existing OSB protocol specification, comprise specific as follows,
(1) data communication solution, agreement provides a side of interface service as interface service end, uses a side of interface service interface service that end provides as interface-client. In WebService interface communication scheme, adopt point-to-point data communication mode, ISP is carried out service describing and is issued by wsdl document, and service requester carries out service call according to the corresponding service describing of service end, thereby completes data communication. All data interactions adopt the service of same issue, and different business is distinguished by different GUID, and message data need to be through encapsulation and the encryption of OSB form;
(2) message format specification, comprises request message format specification and response message format specification, adopts xml format organization message data, the i.e. data of the corresponding packet of each xml message. For sending request of many data, generally adopt mode that client repeatedly asks to call to carry out batch data mutual.
In sum,, there is following shortcoming in the interactive mode under existing OSB protocol specification: first, specification itself is using data as message data unit, processes not clear and definite specification for batch data; Secondly, client is repeatedly asked the mode of calling, and causes client process pressure to increase, and has affected user's experience; Finally, the safety and stablization of operation of power networks need to be related in Regulation system, therefore, for the mutual business datum of cross-system, the interaction mode of each business datum need to be accurately known, so that user makes correct decisions.
How solving the shortcoming that the interactive mode under existing OSB protocol specification exists, is current urgent problem.
Summary of the invention
The object of the invention is the shortcoming that the interactive mode in order to overcome under existing OSB protocol specification exists. Cross-system bulk data transmission method based on OSB interface specification of the present invention, to the business scenario of many data interactions, the mutual mode of batch is more reliably provided, by asynchronous call interface service, alleviate the pressure of client, the user while having improved interaction data in batches experiences, result to batch data processing is charged to daily record, and accurately feed back to user, and meet and in actual electric network business, have the larger business scenario of a lot of data interaction amounts, have a good application prospect.
To achieve the above object, the technical solution adopted in the present invention is:
Cross-system bulk data transmission method based on OSB interface specification, is characterized in that: comprises the following steps,
Step (1), choose out all data to be sent at the front page layout of Regulation system, in the time clicking transmission, carry out by Ajax the WebService interface service that asynchronous call meets OSB interface specification, carry out batch data transmission processing, data to be sent are put into processing queue;
Step (2), many Organization of Datas to be sent in queue are become XML formatted data by the WebService interface that meets OSB interface specification, sends service request to external system;
Step (3), the WebService interface that meets OSB interface specification obtains external system and sends after business request response, carries out the transmission of XML formatted data, and detect queue and whether have untreated data to be sent, if exist, execution step (2); If do not exist, execution step (4);
The WebService interface service that step (4) meets OSB interface specification is recorded to the result of external system in daily record, and the accurate result of Batch sending is returned to the foreground client of Regulation system, and foreground client shows user.
The aforesaid cross-system bulk data transmission method based on OSB interface specification, step (2), many Organization of Datas to be sent are become XML formatted data by the WebService interface that meets OSB interface specification, WebService interface adopts the data to be sent in polling mode processing queue, is organized into XML formatted data.
The invention has the beneficial effects as follows: the cross-system bulk data transmission method based on OSB interface specification of the present invention, to the business scenario of many data interactions, the mutual mode of batch is more reliably provided, by asynchronous call interface service, alleviate the pressure of client, user while having improved interaction data in batches experiences, result to batch data processing is charged to daily record, and accurately feed back to user, meet and in actual electric network business, have the larger business scenario of a lot of data interaction amounts, have a good application prospect.
Brief description of the drawings
Fig. 1 is the flow chart of the cross-system bulk data transmission method based on OSB interface specification of the present invention.
Fig. 2 is the process schematic diagram that cross-system batch data of the present invention sends.
Detailed description of the invention
Below in conjunction with Figure of description, the present invention is further illustrated.
Cross-system bulk data transmission method based on OSB interface specification of the present invention, as shown in Figure 1, comprises the following steps,
Step (1), choose out all data to be sent at the front page layout of Regulation system, in the time clicking transmission, carry out by Ajax the WebService interface service that asynchronous call meets OSB interface specification, carry out batch data transmission processing, data to be sent are put into processing queue, for electrical network business scenario, in this exemplary scene, OMS(Regulation system) system need to pass through WebService interface service, send many business datums to energy-saving power generation dispatching system, first the document quantity of pointing out user to choose, after user confirms, by Ajax Asynchronous Invoke Technology, call WebService interface and carry out batch data transmission processing,
Step (2), many Organization of Datas to be sent in queue are become XML formatted data by the WebService interface that meets OSB interface specification, send service request to external system, wbService interface adopts the data to be sent in polling mode processing queue, is organized into XML formatted data;
Step (3), the WebService interface that meets OSB interface specification obtains external system and sends after business request response, carries out the transmission of XML formatted data, and detect queue and whether have untreated data to be sent, if exist, execution step (2); If do not exist, execution step (4);
The WebService interface service that step (4) meets OSB interface specification is recorded to the result of external system in daily record, and the accurate result of Batch sending is returned to the foreground client of Regulation system, and foreground client shows user.
Cross-system bulk data transmission method based on OSB interface specification of the present invention, the process schematic diagram that cross-system batch data sends, as shown in Figure 2.
The present invention adopts front page layout to call backstage WebService interface by the mode of Ajax Asynchronous Request, guarantee that user can not feel data sending processing overlong time, all data to be sent once encapsulate, repeatedly send, owing to cannot accomplishing under existing interface if failed all data rewinds alternately, can review failure cause so adopt the mode repeatedly sending, be recorded to one voice in interactive log, and feed back in time accurate result to user, client is repeatedly asked, the present situation that receives repeatedly response is changed into once request, receive a secondary response, having reduced like this client resource takies, can bring better user to experience to user.
In sum, cross-system bulk data transmission method based on OSB interface specification of the present invention, to the business scenario of many data interactions, provide the mutual mode of batch more reliably, by asynchronous call interface service, alleviate the pressure of client, user while having improved interaction data in batches experiences, and the result of batch data processing is charged to daily record, and accurately feed back to user, meet and in actual electric network business, have the larger business scenario of a lot of data interaction amounts, have a good application prospect.
More than show and described general principle of the present invention, principal character and advantage. The technical staff of the industry should understand; the present invention is not restricted to the described embodiments; that in above-described embodiment and description, describes just illustrates principle of the present invention; without departing from the spirit and scope of the present invention; the present invention also has various changes and modifications, and these changes and improvements all fall in the claimed scope of the invention. The claimed scope of the present invention is defined by appending claims and equivalent thereof.

Claims (2)

1. the cross-system bulk data transmission method based on OSB interface specification, is characterized in that: comprises the following steps,
Step (1), choose out all data to be sent at the front page layout of Regulation system, in the time clicking transmission, carry out by Ajax the WebService interface service that asynchronous call meets OSB interface specification, carry out batch data transmission processing, data to be sent are put into processing queue;
Step (2), many Organization of Datas to be sent in queue are become XML formatted data by the WebService interface that meets OSB interface specification, sends service request to external system;
Step (3), the WebService interface that meets OSB interface specification obtains external system and sends after business request response, carries out the transmission of XML formatted data, and detect queue and whether have untreated data to be sent, if exist, execution step (2); If do not exist, execution step (4);
The WebService interface service that step (4) meets OSB interface specification is recorded to the result of external system in daily record, and the accurate result of Batch sending is returned to the foreground client of Regulation system, and foreground client shows user.
2. the cross-system bulk data transmission method based on OSB interface specification according to claim 1, step (2), many Organization of Datas to be sent are become XML formatted data by the WebService interface that meets OSB interface specification, WebService interface adopts the data to be sent in polling mode processing queue, is organized into XML formatted data.
CN201610038789.9A 2016-01-21 2016-01-21 Cross-system batch data transmission method based on OSB (Operation Service Bus) interface specification Pending CN105610965A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610038789.9A CN105610965A (en) 2016-01-21 2016-01-21 Cross-system batch data transmission method based on OSB (Operation Service Bus) interface specification

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610038789.9A CN105610965A (en) 2016-01-21 2016-01-21 Cross-system batch data transmission method based on OSB (Operation Service Bus) interface specification

Publications (1)

Publication Number Publication Date
CN105610965A true CN105610965A (en) 2016-05-25

Family

ID=55990499

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610038789.9A Pending CN105610965A (en) 2016-01-21 2016-01-21 Cross-system batch data transmission method based on OSB (Operation Service Bus) interface specification

Country Status (1)

Country Link
CN (1) CN105610965A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101719929A (en) * 2009-11-20 2010-06-02 山东中创软件商用中间件股份有限公司 Method for realizing real-time data transmission under Web Service
CN101964739A (en) * 2009-07-22 2011-02-02 中国移动通信集团公司 Data transmission method, device and system
CN102970112A (en) * 2012-11-30 2013-03-13 中国电子科技集团公司第十五研究所 System and method for transmitting system data
CN104102973A (en) * 2014-07-04 2014-10-15 云南电力调度控制中心 Realization method of integral operation and distributed deployment provincial and prefectural electric power scheduling data center
CN104821958A (en) * 2015-04-17 2015-08-05 国家电网公司 WebService-based power utilization data packet interactive interface method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101964739A (en) * 2009-07-22 2011-02-02 中国移动通信集团公司 Data transmission method, device and system
CN101719929A (en) * 2009-11-20 2010-06-02 山东中创软件商用中间件股份有限公司 Method for realizing real-time data transmission under Web Service
CN102970112A (en) * 2012-11-30 2013-03-13 中国电子科技集团公司第十五研究所 System and method for transmitting system data
CN104102973A (en) * 2014-07-04 2014-10-15 云南电力调度控制中心 Realization method of integral operation and distributed deployment provincial and prefectural electric power scheduling data center
CN104821958A (en) * 2015-04-17 2015-08-05 国家电网公司 WebService-based power utilization data packet interactive interface method

Similar Documents

Publication Publication Date Title
CN101894059B (en) A kind of detection method of running status and system
CN104156832A (en) Intersystem data verification method and device
CN109451072A (en) A kind of message caching system and method based on Kafka
CN113938516A (en) Method and system for synchronously realizing transaction processing of heterogeneous system
CN106569789B (en) Task submission method and device
CN104167817B (en) Power equipment real-time information integration system and method
CN104734983A (en) Scheduling system, method and device for service data request
CN110932393A (en) Substation information protection master station system and data initialization method thereof
CN111131499A (en) Concurrent and asynchronous task processing method and device thereof
CN102238505B (en) Method and system for processing multi-user parallel signalling tracking at client
CN111064726A (en) Method and system for realizing data conversion between GOOSE protocol and HDLC protocol
CN108932182B (en) Message bus performance test method and system
CN109038824B (en) Distributed feeder automation method
CN104915823A (en) Electric power dispatching conference system and control method thereof
CN105610965A (en) Cross-system batch data transmission method based on OSB (Operation Service Bus) interface specification
CN105227639A (en) A kind of transformer station's remote pictures transfer approach and the alarm of a kind of transformer station direct transfer method
CN108289165A (en) A kind of implementation method, device and terminal device controlling camera based on mobile phone
CN113067833A (en) Collaborative configuration service method and related components
CN111835558A (en) Edge cloud platform multi-resource visual control method
CN111585344B (en) Substation intelligent checking method and device based on total station IED simulation
CN112688921A (en) Industrial data acquisition system
CN112817761A (en) Energy-saving method for enhancing cloud computing environment
CN112667393A (en) Method and device for building distributed task computing scheduling framework and computer equipment
CN109413083B (en) Transparent data transmission method and system for intelligent station communication gateway machine
CN111652605A (en) Creation system and creation method for creating cloud service package by public cloud service

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: 20170413

Address after: 510600 Plum Blossom Road, Guangzhou, Guangdong, No. 75, No.

Applicant after: GUANGDONG STATE GRID CO., LTD.

Applicant after: Nanjing Nari Co., Ltd.

Applicant after: State Grid Electric Power Research Insititute

Address before: 510600 Plum Blossom Road, Guangzhou, Guangdong, No. 75, No.

Applicant before: GUANGDONG STATE GRID CO., LTD.

Applicant before: Nanjing Nari Co., Ltd.

Applicant before: NANJING NARI INFORMATION COMMUNICATION SCIENCE & TECHNOLOGY CO., LTD.

RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20160525