CN108564456A - A kind of the automation exchange method and system of power market transaction bidding data - Google Patents

A kind of the automation exchange method and system of power market transaction bidding data Download PDF

Info

Publication number
CN108564456A
CN108564456A CN201810166536.9A CN201810166536A CN108564456A CN 108564456 A CN108564456 A CN 108564456A CN 201810166536 A CN201810166536 A CN 201810166536A CN 108564456 A CN108564456 A CN 108564456A
Authority
CN
China
Prior art keywords
data
quotation
file
electricity
encrypted
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
CN201810166536.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.)
China Electric Power Research Institute Co Ltd CEPRI
State Grid Tianjin Electric Power Co Ltd
Original Assignee
China Electric Power Research Institute Co Ltd CEPRI
State Grid Tianjin 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 China Electric Power Research Institute Co Ltd CEPRI, State Grid Tianjin Electric Power Co Ltd filed Critical China Electric Power Research Institute Co Ltd CEPRI
Priority to CN201810166536.9A priority Critical patent/CN108564456A/en
Publication of CN108564456A publication Critical patent/CN108564456A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/06Buying, selling or leasing transactions
    • G06Q30/08Auctions
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/602Providing cryptographic facilities or services
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/64Protecting data integrity, e.g. using checksums, certificates or signatures

Landscapes

  • Business, Economics & Management (AREA)
  • Finance (AREA)
  • Accounting & Taxation (AREA)
  • Marketing (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Strategic Management (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The present invention relates to a kind of automation exchange method of power market transaction bidding data and systems, and quote data is obtained from electricity market;The preassigned data of both parties in the quote data got are carried out to generate quotation file after individually encrypting;Encrypted quotation file is transferred to the quote data that recognizable format is resolved to after specified interface by transmission channel.Electricity transaction quotation information is stored encrypted in the mode in file by technical solution provided by the invention, is transferred to transaction system by the handshake interface of safety and is parsed, and large-scale batch-automated quotation is realized.

Description

一种电力市场交易竞价数据的自动化交互方法及系统An automated interactive method and system for electricity market transaction bidding data

技术领域technical field

本发明涉及电力自动化领域,具体涉及一种电力市场交易竞价数据的自动化交互方法及系统。The invention relates to the field of electric power automation, in particular to an automatic interaction method and system for transaction bidding data in an electric power market.

背景技术Background technique

电力市场化改革的不断推进,截止目前,全国已经注册成立超过1700家售电公司。国家发改委、能源局发布的《关于推进售电侧改革的实施意见》,给出了售电公司的准入条件,各省交易中心也开始进行售电公司的准入。以江苏电力交易中心的准入规定为例,售电公司需要配备技术信息支持系统,能够满足参加市场交易的报价、信息报送等功能。With the continuous advancement of electricity market reform, as of now, more than 1,700 electricity sales companies have been registered and established nationwide. The "Implementation Opinions on Promoting the Reform of the Power Sales Side" issued by the National Development and Reform Commission and the Energy Bureau provides the access conditions for electricity sales companies, and provincial trading centers have also begun to admit electricity sales companies. Taking the access regulations of the Jiangsu Power Trading Center as an example, electricity sales companies need to be equipped with a technical information support system that can meet the functions of quotation and information submission for participating in market transactions.

售电技术信息支持系统(以下简称售电系统)和电力交易系统(以下简称交易系统)紧密对接,但是各厂商开发的交易系统以及售电系统的架构和技术实现不尽相同,无法进行直接互联。在交易系统端,目前尚无支持电力市场交易竞价的信息交换接口,所有电力交易竞价操作,都需要人工通过Web浏览器登录系统,进行手动报价,操作繁琐,无法满足大批量自动化报价的需要。在售电系统段,随着售电公司逐渐参与电力市场交易,且其代理的用户数量越来越多,需要根据其代理的用户的实际用电情况、公司运营成本、电价等信息,生成报价信息,并在交易开始后自动尽快传输到交易平台参与竞价,以此获得更好的竞价排名。The power sales technical information support system (hereinafter referred to as the power sales system) is closely connected with the power trading system (hereinafter referred to as the trading system), but the trading systems and power sales systems developed by various manufacturers have different architectures and technical implementations, and cannot be directly interconnected . At the trading system side, there is currently no information exchange interface that supports trading bidding in the electricity market. All bidding operations for power trading require manual login to the system through a web browser to perform manual quotations. The operation is cumbersome and cannot meet the needs of large-scale automated quotations. In the electricity sales system segment, as electricity sales companies gradually participate in electricity market transactions, and the number of users they represent increases, it is necessary to generate quotations based on the actual electricity consumption of the users they represent, company operating costs, and electricity prices. The information will be automatically transmitted to the trading platform as soon as possible after the transaction starts to participate in the bidding, so as to obtain a better bidding ranking.

因此,亟需一种电力交易竞价的数据交互方法及系统。Therefore, there is an urgent need for a data interaction method and system for power transaction bidding.

发明内容Contents of the invention

为解决上述现有技术中的不足,本发明的目的是提供一种电力市场交易竞价数据的自动化交互方法及系统,支持不同文件格式、不同传输方式,并且满足加密和身份认证要求,来适应异构的售电系统和交易系统进行报价信息交互的需求。In order to solve the above-mentioned deficiencies in the prior art, the object of the present invention is to provide an automatic interactive method and system for transaction bidding data in the electricity market, which supports different file formats and different transmission methods, and meets the requirements of encryption and identity authentication to adapt to different The demand for quotation information interaction between the electricity sales system and the transaction system of the structure.

本发明的目的是采用下述技术方案实现的:The object of the present invention is to adopt following technical scheme to realize:

本发明提供一种电力市场交易竞价数据的交互方法,其改进之处在于:The present invention provides an interactive method for transaction bidding data in an electric power market, the improvement of which lies in:

从电力市场中获取报价数据;Obtain quotation data from the electricity market;

将获取到的报价数据中交易双方预先指定的数据进行单独加密后生成报价文件;Separately encrypt the data pre-specified by both parties in the obtained quotation data to generate a quotation file;

加密后的报价文件通过传输通道被传输至指定接口后被解析为可识别格式的报价数据。The encrypted quotation file is transmitted to the specified interface through the transmission channel and then parsed into quotation data in a recognizable format.

进一步地:所述将获取到的报价数据中预先指定的数据进行单独加密后生成报价文件,包括:Further: said pre-specified data in the obtained quotation data is separately encrypted to generate a quotation file, including:

将报价数据中的交易双方预先指定的数据中每一个数据分别进行加密;Encrypt each of the pre-specified data of the transaction parties in the quotation data;

将加密后的报价数据按照预先设定的XML、JSON或CIM/E格式生成报价文件。Generate quotation files from the encrypted quotation data according to the preset XML, JSON or CIM/E format.

进一步地:所述交易双方预先指定的数据包括电价、电量和电力数据。Further: the data pre-specified by both parties to the transaction includes electricity price, electricity quantity and electricity data.

进一步地:在所述加密后的报价文件通过传输通道被传输至指定接口后被解析为可识别格式的报价数据之前,还包括使用SM3、SHA-256算法计算Hash散列值对所述报价文件进行数据完整性校核,使用SM2、RSA算法对报价文件进行数字签名校验。Further: before the encrypted quotation file is transmitted to the specified interface through the transmission channel and is parsed into quotation data in a recognizable format, it also includes using the SM3, SHA-256 algorithm to calculate the Hash hash value of the quotation file Perform data integrity verification, and use SM2 and RSA algorithms to verify the digital signature of the quotation file.

进一步地:所述加密后的报价文件通过传输通道被传输至指定接口后被解析为可识别格式的报价数据,包括:Further: after the encrypted quotation file is transmitted to a designated interface through a transmission channel, it is parsed into quotation data in a recognizable format, including:

对传输到的加密报价文件进行数据校核;Perform data verification on the transmitted encrypted quotation file;

解析数据校核通过的加密报价文件;Analyze the encrypted quotation file whose data verification has passed;

通过预先约定的解密密钥对解析后的加密报价文件中的预先指定的数据进行解密,形成可识别格式的报价数据。The pre-specified data in the parsed encrypted quotation file is decrypted by a pre-agreed decryption key to form quotation data in an identifiable format.

进一步地:所述数据校核包括:Further: the data verification includes:

身份验证和完整性校核;Identity verification and integrity check;

业务数据校核。Check business data.

进一步地:所述身份验证和完整性校核,包括:验证报价文件的数字签名,判断是否来自于与其交易的售电系统,并通过Hash散列值,验证报价文件的完整性。Further: the identity verification and integrity checking include: verifying the digital signature of the quotation file, judging whether it comes from the electricity sales system with which it trades, and verifying the integrity of the quotation file through the hash value.

进一步地:所述业务数据校核,包括:Further: the verification of the business data includes:

加密后的报价文件中的各个字段数据是否符合格式要求;Whether the data in each field in the encrypted quotation file meets the format requirements;

加密后的报价文件的市场成员是否在准入名单中、报价时间是否在规定时间内;Whether the market member of the encrypted quotation file is in the access list, and whether the quotation time is within the specified time;

加密后的报价文件中的电价、电量、电力数据是否符合交易的业务要求。Whether the electricity price, electricity, and electricity data in the encrypted quotation file meet the business requirements of the transaction.

进一步地:所述在所述加密后的报价文件通过传输通道被传输至指定接口后被解析为可识别格式的报价数据时,传输通道的传输方式包括:实时交互方式和单次交互方式;Further: when the encrypted quotation file is transmitted to the specified interface through the transmission channel and then parsed into quotation data in a recognizable format, the transmission mode of the transmission channel includes: real-time interaction mode and single interaction mode;

所述实时交互方式包括:提供应用程序WebService或网络协议WebSocket形式的API接口,售电系统通过API接口连接到交易平台,自动将预先设定的XML、JSON或CIM/E格式报价文件以数据报文的形式,实时传送到交易系统;The real-time interaction method includes: providing an API interface in the form of application program WebService or network protocol WebSocket, the electricity sales system is connected to the trading platform through the API interface, and automatically sends the preset quotation file in XML, JSON or CIM/E format as a data report In the form of text, it is sent to the trading system in real time;

所述单次交互方式提供SFTP服务,包括:通过用户名/口令或者数字证书的形式进行身份认证,登录SFTP服务,并将预先设定的XML、JSON或CIM/E格式存储于本地的报价文件上传到指定目录下,完成报价。The single interaction method provides SFTP service, including: performing identity authentication in the form of user name/password or digital certificate, logging in to SFTP service, and storing the preset XML, JSON or CIM/E format in the local quotation file Upload to the specified directory to complete the quotation.

进一步地:在形成可识别格式的报价数据后,将所述报价数据存入报价数据库。Further: after forming the quotation data in a recognizable format, storing the quotation data into the quotation database.

本发明还提供一种电力市场交易竞价数据的交互系统,其改进之处在于:The present invention also provides an interactive system for transaction bidding data in an electric power market, the improvement of which lies in:

获取模块,用于从电力市场中获取报价数据;The obtaining module is used to obtain quotation data from the electricity market;

加密模块,用于将获取到的报价数据中交易双方预先指定的数据进行单独加密后生成报价文件;The encryption module is used to separately encrypt the data pre-specified by both parties in the obtained quotation data to generate a quotation file;

解析模块,用于加密后的报价文件通过传输通道被传输至指定接口后被解析为可识别格式的报价数据。The parsing module is used for parsing the encrypted quotation file into quotation data in a recognizable format after being transmitted to the specified interface through the transmission channel.

进一步地:所述加密模块,包括:Further: the encryption module includes:

加密单元,用于将报价数据中的交易双方预先指定的数据中每一个数据分别进行加密;The encryption unit is used to encrypt each data in the data pre-specified by both parties in the quotation data;

生成单元,用于将加密后的报价数据按照预先设定的XML、JSON或CIM/E格式生成报价文件。The generation unit is used to generate the quotation file from the encrypted quotation data according to the preset XML, JSON or CIM/E format.

进一步地:所述敏感数据包括电价、电量和电力数据。Further: the sensitive data includes electricity price, electricity quantity and electricity data.

进一步地:还包括数字签名和完整性校核模块,用于在所述加密后的报价文件通过传输通道被传输至指定接口后被解析为可识别格式的报价数据之前,还包括使用SM3、SHA-256算法计算Hash散列值对所述报价文件进行数据完整性校核,使用SM2、RSA算法对报价文件进行数字签名校验。Further: it also includes a digital signature and integrity verification module, which is used to use SM3, SHA before the encrypted quotation file is transmitted to the specified interface through the transmission channel and is parsed into quotation data in a recognizable format. The -256 algorithm calculates the Hash hash value to check the data integrity of the quotation file, and uses the SM2 and RSA algorithms to check the digital signature of the quotation file.

进一步地:所述解析模块,包括:Further: the parsing module includes:

数据校核单元,用于对传输到的加密报价文件进行数据校核;A data verification unit is used for data verification of the encrypted quotation file transmitted;

解析单元,用于解析数据校核通过的加密报价文件;A parsing unit is used for parsing encrypted quotation files whose data has been verified;

解密单元,用于通过预先约定的密钥对解析后的加密报文文件中的敏感数据进行解密,形成可识别格式的报价数据。The decryption unit is used to decrypt the sensitive data in the parsed encrypted message file through a pre-agreed key to form quotation data in an identifiable format.

进一步地:所述数据校核单元,包括:Further: the data checking unit includes:

身份验证和完整性校核子单元,用于验证报价文件的数字签名,判断是否来自于其声称的售电系统,并通过Hash散列值,验证报价文件的完整性;The identity verification and integrity checking sub-unit is used to verify the digital signature of the quotation file, judge whether it comes from the electricity sales system it claims, and verify the integrity of the quotation file through the Hash hash value;

业务数据校核子单元,包括:Business data verification sub-unit, including:

第一判断子单元,用于判断加密后的报价文件中的各个字段数据是否符合格式要求;The first judging subunit is used to judge whether each field data in the encrypted quotation file meets the format requirements;

第二判断子单元,用于判断加密后的报价文件的市场成员是否在准入名单中、报价时间是否在规定时间内;The second judging subunit is used to judge whether the market member of the encrypted quotation file is in the access list, and whether the quotation time is within the specified time;

第三判断子单元,用于判断加密后的报价文件中的电价、电量、电力数据是否符合交易的业务要求。The third judging subunit is used to judge whether the electricity price, electricity quantity, and power data in the encrypted quotation file meet the business requirements of the transaction.

进一步地:还包括存储模块,用于在形成可识别格式的报价数据后,将所述报价数据存入报价数据库。Further: a storage module is also included, used for storing the quotation data in the quotation database after forming the quotation data in a recognizable format.

与最接近的现有技术相比,本发明提供的技术方案达到的有益效果是:Compared with the closest prior art, the beneficial effects achieved by the technical solution provided by the present invention are:

本发明提供一种电力市场交易竞价数据的自动化交互方法及系统,从电力市场中获取报价数据;将获取到的报价数据中交易双方预先指定的数据进行单独加密后生成报价文件;加密后的报价文件通过传输通道被传输至指定接口后被解析为可识别格式的报价数据。对指定的数据单独加密解密,保证了数据的保密性和数据安全,避免造成商业机密的泄露。The present invention provides an automatic interaction method and system for transaction bidding data in the electric power market, which acquires quotation data from the electric power market; separately encrypts the data pre-specified by both transaction parties in the obtained quotation data, and then generates a quotation file; the encrypted quotation After the file is transmitted to the specified interface through the transmission channel, it is parsed into quotation data in a recognizable format. Encrypt and decrypt the specified data separately to ensure the confidentiality and security of the data and avoid the leakage of commercial secrets.

为便于异构的交易系统和售电系统进行交易报价的信息的交互,设计了由售电系统将电价、电量、电力等信息加密保存为报价文件的方式,通过网络接口传输到交易系统,再由交易系统进行解析,从而实现大规模自动批量竞价信息交互。In order to facilitate the information interaction between the heterogeneous trading system and the electricity sales system for transaction quotations, a method is designed in which the electricity sales system encrypts and saves information such as electricity prices, electricity, and electricity as quotation files, and transmits them to the transaction system through the network interface, and then It is analyzed by the trading system to realize large-scale automatic batch bidding information interaction.

本发明的突出特点在于为现有的异构交易系统和售电系统提供了竞价数据交互的方法,解决了当前只能通过浏览器进行人工手动申报交易信息的问题,可满足自动化报价的需求。为了保证报价信息的保密性,将报价文件中的敏感数据域(例如电价、电量、电力等)进行单独加密,避免造成商业机密的泄露。此外,由于报价信息通过文件的形式传输,在售电系统意外宕机的情况下,仍可由人工生成报价文件,并手工传输到交易平台,参与交易竞价,减少因IT系统问题带来的风险。The outstanding feature of the present invention is that it provides a bidding data interaction method for the existing heterogeneous trading system and electricity selling system, which solves the problem that the current transaction information can only be declared manually through a browser, and can meet the demand for automatic quotation. In order to ensure the confidentiality of the quotation information, the sensitive data fields (such as electricity price, electricity, electricity, etc.) in the quotation file are encrypted separately to avoid the leakage of commercial secrets. In addition, since the quotation information is transmitted in the form of files, in the case of an unexpected downtime of the electricity sales system, the quotation file can still be manually generated and manually transmitted to the trading platform to participate in transaction bidding and reduce the risk caused by IT system problems.

附图说明Description of drawings

图1是本发明提供的接口工具示意图;Fig. 1 is a schematic diagram of an interface tool provided by the present invention;

图2是本发明提供的接口工具流程图;Fig. 2 is the flow chart of the interface tool provided by the present invention;

图3是本发明提供的一种电力市场交易竞价数据的交互方法的简易流程图。Fig. 3 is a simplified flow chart of an interaction method for electricity market transaction bidding data provided by the present invention.

具体实施方式Detailed ways

下面结合附图对本发明的具体实施方式作进一步的详细说明。The specific implementation manners of the present invention will be further described in detail below in conjunction with the accompanying drawings.

以下描述和附图充分地示出本发明的具体实施方案,以使本领域的技术人员能够实践它们。其他实施方案可以包括结构的、逻辑的、电气的、过程的以及其他的改变。实施例仅代表可能的变化。除非明确要求,否则单独的组件和功能是可选的,并且操作的顺序可以变化。一些实施方案的部分和特征可以被包括在或替换其他实施方案的部分和特征。本发明的实施方案的范围包括权利要求书的整个范围,以及权利要求书的所有可获得的等同物。在本文中,本发明的这些实施方案可以被单独地或总地用术语“发明”来表示,这仅仅是为了方便,并且如果事实上公开了超过一个的发明,不是要自动地限制该应用的范围为任何单个发明或发明构思。The following description and drawings illustrate specific embodiments of the invention sufficiently to enable those skilled in the art to practice them. Other embodiments may incorporate structural, logical, electrical, process, and other changes. The examples merely represent possible variations. Individual components and functions are optional unless explicitly required, and the order of operations may vary. Portions and features of some embodiments may be included in or substituted for those of other embodiments. The scope of embodiments of the present invention includes the full scope of the claims, and all available equivalents of the claims. These embodiments of the present invention may be referred to herein, individually or collectively, by the term "invention", which is for convenience only and is not intended to automatically limit the application if in fact more than one invention is disclosed The scope is any individual invention or inventive concept.

实施例一、Embodiment one,

本发明设计实现了一种电力市场交易竞价数据的自动化交互方法及系统,实现电力交易竞价的自动化接口交互,满足随时随地大批量自动化申报电量、电力、电价的需求,实现不同厂商的电力交易系统和售电系统之间交易竞价的灵活交互。如图3所示,主要包含如下步骤:The present invention designs and implements an automatic interaction method and system for electricity market transaction bidding data, realizes automatic interface interaction of electricity transaction bidding, meets the demand for large-scale automatic declaration of electricity, electricity, and electricity prices anytime and anywhere, and realizes electricity transaction systems of different manufacturers Flexible interaction between transaction bidding and electricity sales system. As shown in Figure 3, it mainly includes the following steps:

从电力市场中获取报价数据;Obtain quotation data from the electricity market;

将获取到的报价数据中交易双方预先指定的数据进行单独加密后生成报价文件;Separately encrypt the data pre-specified by both parties in the obtained quotation data to generate a quotation file;

加密后的报价文件通过传输通道被传输至指定接口后被解析为可识别格式的报价数据。The encrypted quotation file is transmitted to the specified interface through the transmission channel and then parsed into quotation data in a recognizable format.

进一步地:所述将获取到的报价数据中预先指定的数据进行单独加密后生成报价文件,包括:Further: said pre-specified data in the obtained quotation data is separately encrypted to generate a quotation file, including:

将报价数据中的交易双方预先指定的数据中每一个数据分别进行加密;Encrypt each of the pre-specified data of the transaction parties in the quotation data;

将加密后的报价数据按照预先设定的XML、JSON或CIM/E格式生成报价文件。Generate quotation files from the encrypted quotation data according to the preset XML, JSON or CIM/E format.

进一步地:所述交易双方预先指定的数据包括电价、电量和电力数据。Further: the data pre-specified by both parties to the transaction includes electricity price, electricity quantity and electricity data.

进一步地:在所述加密后的报价文件通过传输通道被传输至指定接口后被解析为可识别格式的报价数据之前,还包括使用SM3、SHA-256算法计算Hash散列值对所述报价文件进行数据完整性校核,使用SM2、RSA算法对报价文件进行数字签名校验。Further: before the encrypted quotation file is transmitted to the specified interface through the transmission channel and is parsed into quotation data in a recognizable format, it also includes using the SM3, SHA-256 algorithm to calculate the Hash hash value of the quotation file Perform data integrity verification, and use SM2 and RSA algorithms to verify the digital signature of the quotation file.

进一步地:所述加密后的报价文件通过传输通道被传输至指定接口后被解析为可识别格式的报价数据,包括:Further: after the encrypted quotation file is transmitted to a designated interface through a transmission channel, it is parsed into quotation data in a recognizable format, including:

对传输到的加密报价文件进行数据校核;Perform data verification on the transmitted encrypted quotation file;

解析数据校核通过的加密报价文件;Analyze the encrypted quotation file whose data verification has passed;

通过预先约定的解密密钥对解析后的加密报价文件中的预先指定的数据进行解密,形成可识别格式的报价数据。The pre-specified data in the parsed encrypted quotation file is decrypted by a pre-agreed decryption key to form quotation data in an identifiable format.

进一步地:所述数据校核包括:Further: the data verification includes:

身份验证和完整性校核;Identity verification and integrity check;

业务数据校核。Check business data.

进一步地:所述身份验证和完整性校核,包括:验证报价文件的数字签名,判断是否来自于与其交易的售电系统,并通过Hash散列值,验证报价文件的完整性。Further: the identity verification and integrity checking include: verifying the digital signature of the quotation file, judging whether it comes from the electricity sales system with which it trades, and verifying the integrity of the quotation file through the hash value.

进一步地:所述业务数据校核,包括:Further: the verification of the business data includes:

加密后的报价文件中的各个字段数据是否符合格式要求;Whether the data in each field in the encrypted quotation file meets the format requirements;

加密后的报价文件的市场成员是否在准入名单中、报价时间是否在规定时间内;Whether the market member of the encrypted quotation file is in the access list, and whether the quotation time is within the specified time;

加密后的报价文件中的电价、电量、电力数据是否符合交易的业务要求。Whether the electricity price, electricity, and electricity data in the encrypted quotation file meet the business requirements of the transaction.

进一步地:所述在所述加密后的报价文件通过传输通道被传输至指定接口后被解析为可识别格式的报价数据时,传输通道的传输方式包括:实时交互方式和单次交互方式;Further: when the encrypted quotation file is transmitted to the specified interface through the transmission channel and then parsed into quotation data in a recognizable format, the transmission mode of the transmission channel includes: real-time interaction mode and single interaction mode;

所述实时交互方式包括:提供应用程序WebService或网络协议WebSocket形式的API接口,售电系统通过API接口连接到交易平台,自动将预先设定的XML、JSON或CIM/E格式报价文件以数据报文的形式,实时传送到交易系统;The real-time interaction method includes: providing an API interface in the form of application program WebService or network protocol WebSocket, the electricity sales system is connected to the trading platform through the API interface, and automatically sends the preset quotation file in XML, JSON or CIM/E format as a data report In the form of text, it is sent to the trading system in real time;

所述单次交互方式提供SFTP服务,包括:通过用户名/口令或者数字证书的形式进行身份认证,登录SFTP服务,并将预先设定的XML、JSON或CIM/E格式存储于本地的报价文件上传到指定目录下,完成报价。The single interaction method provides SFTP service, including: performing identity authentication in the form of user name/password or digital certificate, logging in to SFTP service, and storing the preset XML, JSON or CIM/E format in the local quotation file Upload to the specified directory to complete the quotation.

进一步地:在形成可识别格式的报价数据后,将所述报价数据存入报价数据库。Further: after forming the quotation data in a recognizable format, storing the quotation data into the quotation database.

实施例二、Embodiment two,

如图1和2所示,为本发明提供的接口工具示意图及其流程图,图3中的各个步骤由图的接口工具按照2的流程图进行实时,具体包括下述步骤:As shown in Figures 1 and 2, for the interface tool schematic diagram and flow chart thereof provided by the present invention, each step in Figure 3 is carried out in real time according to the flow chart of 2 by the interface tool of figure, specifically comprises the following steps:

1)售电系统首先生成报价文件。具体的:在售电系统端,将报价信息生成文本文件,文件的格式包括但不限于XML、JSON、CIM/E等,文件的内容包括交易序列ID、市场成员ID、时间、段号、电价、电量、电力等。其中的电价、电量、电力等涉及到企业机密的敏感数据域,根据售电系统与交易系统事先约定的方式,使用对称密钥或者非对称密钥进行加密。敏感数据加密:1) The electricity sales system first generates a quotation file. Specifically: at the end of the electricity sales system, the quotation information is generated into a text file. The format of the file includes but is not limited to XML, JSON, CIM/E, etc. The content of the file includes the transaction sequence ID, market member ID, time, segment number, and electricity price , electricity, electricity, etc. Among them, electricity price, electricity quantity, electric power and other sensitive data fields related to enterprise secrets are encrypted with symmetric key or asymmetric key according to the method agreed in advance between the electricity sales system and the transaction system. Sensitive data encryption:

1.交易系统与售电系统事先约定“敏感数据加密密钥”,不同售电系统的密钥各不相同;1. The trading system and the electricity sales system agree in advance on the "sensitive data encryption key", and the keys of different electricity sales systems are different;

2.售电系统将需要进行报价的数据生成报价文件,并使用“敏感数据加密密钥”对敏感数据字段进行加密。2. The electricity sales system will generate a quotation file for the data that needs to be quoted, and use the "sensitive data encryption key" to encrypt the sensitive data fields.

3.交易系统收到报价文件后,进行解析,并保持敏感数据的加密状态,存入数据库。3. After the transaction system receives the quotation file, it analyzes it, keeps the encrypted state of sensitive data, and stores it in the database.

4.当需要进行报价出清时,才将加密的数据取出并解密,参与出清排序。4. When it is necessary to clear the quotation, the encrypted data is taken out and decrypted to participate in the clearing sort.

优点:1.仅仅对敏感字段加密,而不是针对整个报价文件加密:在保证安全的前提下,提高加密解密处理速度。2.存入数据库时保持数据加密,避免数据库安全问题造成的商业机密泄露。Advantages: 1. Encrypt sensitive fields only, instead of encrypting the entire quotation file: under the premise of ensuring security, the processing speed of encryption and decryption is improved. 2. Keep the data encrypted when storing in the database to avoid the leakage of commercial secrets caused by database security issues.

2)将交易序列ID、市场成员ID、时间、段号、电价、电量、电力等报价信息保存在文本文件中,可以实现跨平台传输,且便于人工阅读和修改,在特定的情况下,仍可由人工手动生成报价文件传输到交易系统,减少应售电系统宕机造成的无法参与电力交易的风险。2) Save quotation information such as transaction sequence ID, market member ID, time, segment number, electricity price, electricity, electricity, etc. in a text file, which can realize cross-platform transmission and is convenient for manual reading and modification. The quotation file can be manually generated and transmitted to the trading system to reduce the risk of being unable to participate in power trading caused by the downtime of the electricity sales system.

生成的报价文件可以为XML、JSON、CIM/E等多种文件格式,便于不同开发厂商的异构系统进行数据交互。The generated quotation file can be in various file formats such as XML, JSON, CIM/E, etc., which is convenient for data interaction between heterogeneous systems of different developers.

将报价文件中的敏感数据域,例如电价、电量、电力等信息单独加密,避免传输过程中带来的企业机密泄露的风险。Separately encrypt the sensitive data fields in the quotation file, such as electricity price, electricity, electricity and other information, to avoid the risk of corporate secret leakage during the transmission process.

以下是一个使用CIM/E格式的“月度竞价电量分段申报”的报价文件例子。The following is an example of a quotation file for "Monthly Bidding Electricity Segmentation Declaration" in CIM/E format.

以下是一个使用JSON格式的“日电量96点电量曲线申报”的报价文件例子。The following is an example of a quotation file for "declaration of 96-point daily electricity consumption curve" in JSON format.

以下是一个使用XML格式、并对报价内容进行加密和签名的报价文件例子。The following is an example of an offer file in XML format with encrypted and signed offer content.

2)通过传输通道传输报价文件。支持将报价文件由售电系统传输至电力交易系统,传输过程中,使用用户名/口令、SSH、数字证书、SSL/TLS等技术进行身份认证、传输加密等,保证报价文件的保密性、完整性和抗抵赖性。传输通道:同时提供自动交互和手动交互两种方式,并取最后的文件传输时间作为报价时间。其中:2) Transfer the quotation file through the transmission channel. Support the transmission of quotation files from the electricity sales system to the electricity trading system. During the transmission process, use user name/password, SSH, digital certificate, SSL/TLS and other technologies for identity authentication, transmission encryption, etc., to ensure the confidentiality and integrity of quotation files sex and non-repudiation. Transmission channel: Both automatic interaction and manual interaction are provided, and the last file transmission time is taken as the quotation time. in:

1、传输通道的自动交互方式提供WebService或者WebSocket形式的API接口,供售电系统程序自动调用并传输。1. The automatic interaction mode of the transmission channel provides an API interface in the form of WebService or WebSocket, which is automatically called and transmitted by the electricity sales system program.

2、手动交互方式提供SFTP服务,可人工登录SFTP服务,并将报价文件上传到指定的目录下完成报价。2. Provide SFTP service in manual interactive mode, you can manually log in to the SFTP service, and upload the quotation file to the specified directory to complete the quotation.

3、当某个售电系统通过多种方式进行报价文件传输时,取最晚收到的报价文件时间作为最终报价时间。3. When a certain electricity sales system transmits the quotation file through multiple methods, the time of the quotation file received latest is taken as the final quotation time.

优点:1.自动交互方式可以满足大批量数据快速申报。电力交易报价的重要排序参数就是报价时间,由于是通过API自动交互,所以可以更早地完成报价,从而取得靠前的排名,提高中标几率。2.手动交互方式可以满足在售电系统故障的情况下,人工提交报价文件,避免由于外部不可控的原因导致无法参与报价,造成售电企业经济损失。Advantages: 1. The automatic interactive method can satisfy the rapid declaration of large quantities of data. An important sorting parameter for power trading quotations is the quotation time. Since it is automatically interacted through the API, the quotation can be completed earlier, so as to obtain a higher ranking and increase the probability of winning the bid. 2. The manual interaction method can meet the requirements of manual submission of quotation documents in the case of a failure of the electricity sales system, so as to avoid the failure to participate in the quotation due to external uncontrollable reasons, which will cause economic losses to the electricity sales company.

身份认证采用数字证书双向身份认证方法,包括:Identity authentication adopts digital certificate two-way identity authentication method, including:

①售电系统发送一个连接请求给交易系统。①The electricity sales system sends a connection request to the trading system.

②交易系统将自己的证书,以及同证书相关的信息发送给售电系统。②The trading system sends its own certificate and information related to the certificate to the electricity sales system.

③售电系统检查服务器送过来的证书是否是由自己信赖的CA中心所签发的。如果是,就继续执行协议;如果不是,则中断连接,返回身份认证失败信息。③The electricity sales system checks whether the certificate sent by the server is issued by a trusted CA center. If yes, continue to execute the protocol; if not, terminate the connection and return identity authentication failure information.

④接着售电系统比较证书里的消息,例如域名和公钥,与交易系统刚刚发送的相关消息是否一致,如果是一致的,售电系统认可交易系统的合法身份。④ Then the electricity sales system compares the information in the certificate, such as the domain name and public key, with the relevant information just sent by the trading system. If they are consistent, the electricity sales system recognizes the legal identity of the trading system.

⑤交易系统要求售电系统发送售电系统的证书。收到后,交易系统验证售电系统的证书,如果没有通过验证,拒绝连接;如果通过验证,交易系统认可售电系统的合法身份,并获得售电系统的公钥。⑤The trading system requires the electricity sales system to send the certificate of the electricity sales system. After receiving it, the trading system verifies the certificate of the electricity selling system, and if it fails the verification, it refuses to connect; if it passes the verification, the trading system recognizes the legal identity of the electricity selling system and obtains the public key of the electricity selling system.

⑥由此,售电系统和交易系统完成身份验证过程,并获得了对方的公钥,可以用于后续加密通讯。⑥ As a result, the electricity sales system and the trading system complete the identity verification process and obtain the public key of the other party, which can be used for subsequent encrypted communication.

使用FTP时,应使用SFTP或者FTP over SSL等安全的传输协议(以下皆用FTP指代)。由交易系统端运行FTP服务端程序,为所有售电系统开设用户名口令(或者数字证书),并准备上传接口;售电系统通过FTP客户端程序,使用口令(或者数字证书)建立与服务端的安全连接,然后在指定时间内将符合要求的报价文件传输到指定的接口。When using FTP, you should use a secure transmission protocol such as SFTP or FTP over SSL (hereinafter referred to as FTP). The trading system runs the FTP server program to set up a user name and password (or digital certificate) for all electricity sales systems, and prepares to upload the interface; Securely connect and then transfer the compliant offer file to the specified interface within the specified time.

使用WebService或者WebSocket时,应使用SSL/TLS等安全传输方式。由交易中心端提供WebService或者WebSocket接口,指定交互API,并为所有售电系统开设AppKey和AppSecret(或者数字证书)作为身份认证措施;售电系统使用HTTP协议连接到相应API接口,并在指定时间内上传符合要求的报价文件。When using WebService or WebSocket, secure transmission methods such as SSL/TLS should be used. The transaction center provides the WebService or WebSocket interface, specifies the interactive API, and sets up AppKey and AppSecret (or digital certificate) for all electricity sales systems as identity authentication measures; the electricity sales system uses the HTTP protocol to connect to the corresponding API interface, and at the specified time Upload the quotation file that meets the requirements.

3)交易系统解析报价文件。在电力交易系统端,支持通过传输接口,自动读取报价文件,将敏感字段解密并解析为可识别的格式,判断指定报价信息数据域的合规性,最后录入报价数据库。3) The trading system parses the quotation file. On the power trading system side, it supports automatic reading of quotation files through the transmission interface, decrypts and parses sensitive fields into recognizable formats, judges the compliance of specified quotation information data fields, and finally enters the quotation database.

在电力交易系统端,接受到售电系统传输的报价文件后,首先进行数据校核,包括验证数字签名和散列值,确保传输过程中不被伪造和篡改,并针对电量、电价、电力、报价时间、段数等数据域进行合规性验证。接下来解析报价文件,并通过事先约定的密钥解密敏感数据域,确认报价信息符合交易公告的规定。最后将报价数据录入交易系统报价数据库,可满足自动化大批量竞价信息提交的需要。由此完成整个报价数据交互过程。On the power trading system side, after receiving the quotation file transmitted by the power sales system, data verification is first performed, including verifying digital signatures and hash values, to ensure that the transmission process is not forged and tampered, and for electricity, electricity price, electricity, Data fields such as quotation time and segment number are used for compliance verification. Next, the quotation file is parsed, and the sensitive data field is decrypted through the pre-agreed key to confirm that the quotation information complies with the regulations of the transaction announcement. Finally, the quotation data is entered into the quotation database of the trading system, which can meet the needs of automatic large-scale bidding information submission. This completes the entire quotation data interaction process.

实施例二、Embodiment two,

基于同样的发明构思,本发明还提供一种电力市场交易竞价数据的自动化交互系统,包括:Based on the same inventive concept, the present invention also provides an automated interactive system for electricity market transaction bidding data, including:

获取模块,用于从电力市场中获取报价数据;The obtaining module is used to obtain quotation data from the electricity market;

加密模块,用于将获取到的报价数据中交易双方预先指定的数据进行单独加密后生成报价文件;The encryption module is used to separately encrypt the data pre-specified by both parties in the obtained quotation data to generate a quotation file;

解析模块,用于加密后的报价文件通过传输通道被传输至指定接口后被解析为可识别格式的报价数据Parsing module, used for the encrypted quotation file to be transmitted to the specified interface through the transmission channel and then parsed into quotation data in a recognizable format

进一步地:所述加密模块,包括:Further: the encryption module includes:

加密单元,用于将报价数据中的交易双方预先指定的数据中每一个数据分别进行加密;The encryption unit is used to encrypt each data in the data pre-specified by both parties in the quotation data;

生成单元,用于将加密后的报价数据按照预先设定的XML、JSON或CIM/E格式生成报价文件。The generation unit is used to generate the quotation file from the encrypted quotation data according to the preset XML, JSON or CIM/E format.

进一步地:所述敏感数据包括电价、电量和电力数据。Further: the sensitive data includes electricity price, electricity quantity and electricity data.

进一步地:还包括数字签名和完整性校核模块,用于在所述加密后的报价文件通过传输通道被传输至指定接口后被解析为可识别格式的报价数据之前,还包括使用SM3、SHA-256算法计算Hash散列值对所述报价文件进行数据完整性校核,使用SM2、RSA算法对报价文件进行数字签名校验。Further: it also includes a digital signature and integrity verification module, which is used to use SM3, SHA before the encrypted quotation file is transmitted to the specified interface through the transmission channel and is parsed into quotation data in a recognizable format. The -256 algorithm calculates the Hash hash value to check the data integrity of the quotation file, and uses the SM2 and RSA algorithms to check the digital signature of the quotation file.

进一步地:所述解析模块,包括:Further: the parsing module includes:

数据校核单元,用于对传输到的加密报价文件进行数据校核;A data verification unit is used for data verification of the encrypted quotation file transmitted;

解析单元,用于解析数据校核通过的加密报价文件;A parsing unit is used for parsing encrypted quotation files whose data has been verified;

解密单元,用于通过预先约定的密钥对解析后的加密报文文件中的敏感数据进行解密,形成可识别格式的报价数据。The decryption unit is used to decrypt the sensitive data in the parsed encrypted message file through a pre-agreed key to form quotation data in an identifiable format.

进一步地:所述数据校核单元,包括:Further: the data checking unit includes:

身份验证和完整性校核子单元,用于验证报价文件的数字签名,判断是否来自于其声称的售电系统,并通过Hash散列值,验证报价文件的完整性;The identity verification and integrity checking sub-unit is used to verify the digital signature of the quotation file, judge whether it comes from the electricity sales system it claims, and verify the integrity of the quotation file through the Hash hash value;

业务数据校核子单元,包括:Business data verification sub-unit, including:

第一判断子单元,用于判断加密后的报价文件中的各个字段数据是否符合格式要求;The first judging subunit is used to judge whether each field data in the encrypted quotation file meets the format requirements;

第二判断子单元,用于判断加密后的报价文件的市场成员是否在准入名单中、报价时间是否在规定时间内;The second judging subunit is used to judge whether the market member of the encrypted quotation file is in the access list, and whether the quotation time is within the specified time;

第三判断子单元,用于判断加密后的报价文件中的电价、电量、电力数据是否符合交易的业务要求。The third judging subunit is used to judge whether the electricity price, electricity quantity, and power data in the encrypted quotation file meet the business requirements of the transaction.

进一步地:还包括存储模块,用于在形成可识别格式的报价数据后,将所述报价数据存入报价数据库。Further: a storage module is also included, used for storing the quotation data in the quotation database after forming the quotation data in a recognizable format.

本发明涉及一种电力市场交易竞价数据的自动化交互方法及系统,为便于异构的交易系统和售电系统进行交易报价的信息的交互,设计了由售电系统将电价、电量、电力等信息加密保存为报价文件的方式,通过网络接口传输到交易系统,再由交易系统进行解析,从而实现大规模自动批量竞价信息交互。The invention relates to an automatic interaction method and system for transaction bidding data in an electric power market. In order to facilitate the interaction of transaction quotation information between heterogeneous transaction systems and electricity sales systems, the electricity price, electricity, power and other information are designed by the electricity sales system. Encrypted and saved as quotation files, transmitted to the trading system through the network interface, and then analyzed by the trading system, so as to realize large-scale automatic batch bidding information interaction.

本领域内的技术人员应明白,本申请的实施例可提供为方法、系统、或计算机程序产品。因此,本申请可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本申请可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art should understand that the embodiments of the present application may be provided as methods, systems, or computer program products. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.

本申请是参照根据本申请实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present application is described with reference to flowcharts and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the present application. It should be understood that each procedure and/or block in the flowchart and/or block diagram, and a combination of procedures and/or blocks in the flowchart and/or block diagram can be realized by computer program instructions. These computer program instructions may be provided to a general purpose computer, special purpose computer, embedded processor, or processor of other programmable data processing equipment to produce a machine such that the instructions executed by the processor of the computer or other programmable data processing equipment produce a An apparatus for realizing the functions specified in one or more procedures of the flowchart and/or one or more blocks of the block diagram.

这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing apparatus to operate in a specific manner, such that the instructions stored in the computer-readable memory produce an article of manufacture comprising instruction means, the instructions The device realizes the function specified in one or more procedures of the flowchart and/or one or more blocks of the block diagram.

这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded onto a computer or other programmable data processing device, causing a series of operational steps to be performed on the computer or other programmable device to produce a computer-implemented process, thereby The instructions provide steps for implementing the functions specified in the flow diagram procedure or procedures and/or block diagram procedures or blocks.

以上实施例仅用以说明本发明的技术方案而非对其限制,尽管参照上述实施例对本发明进行了详细的说明,所属领域的普通技术人员依然可以对本发明的具体实施方式进行修改或者等同替换,这些未脱离本发明精神和范围的任何修改或者等同替换,均在申请待批的本发明的权利要求保护范围之内。The above embodiments are only used to illustrate the technical solutions of the present invention and not to limit them. Although the present invention has been described in detail with reference to the above embodiments, those of ordinary skill in the art can still modify or equivalently replace the specific embodiments of the present invention. , any modifications or equivalent replacements that do not deviate from the spirit and scope of the present invention are within the protection scope of the claims of the present invention pending application.

Claims (17)

1. a kind of exchange method of power market transaction bidding data, it is characterised in that:
Quote data is obtained from electricity market;
The preassigned data of both parties in the quote data got are carried out to generate quotation file after individually encrypting;
Encrypted quotation file is transferred to the quotation number that recognizable format is resolved to after specified interface by transmission channel According to.
2. exchange method as described in claim 1, it is characterised in that:It is described will be preassigned in the quote data got Data carry out generating quotation file after individually encrypting, including:
Each data in the preassigned data of both parties in quote data are encrypted respectively;
Encrypted quote data is generated into quotation file according to preset XML, JSON or CIM/E format.
3. exchange method as claimed in claim 2, it is characterised in that:The preassigned data of both parties include electricity Valence, electricity and electric power data.
4. exchange method as claimed in claim 2, it is characterised in that:Pass through transmission channel in the encrypted quotation file It is resolved to before the quote data of recognizable format after being transferred to specified interface, further includes using SM3, SHA-256 algorithm It calculates Hash hashed values and data integrity check is carried out to the quotation file, quotation file is carried out using SM2, RSA Algorithm Digital signature verification.
5. exchange method as described in claim 1, it is characterised in that:The encrypted quotation file passes through transmission channel quilt It is resolved to can recognize that the quote data of format after being transmitted to specified interface, including:
Data check is carried out to the encryption quotation file being transferred to;
Parsing data check the encryption quotation file passed through;
The preassigned data in the encryption quotation file after parsing are decrypted by the decruption key made an appointment, shape At the quote data of recognizable format.
6. exchange method as claimed in claim 5, it is characterised in that:The data are checked:
Identity validation and integrality is checked;
Business datum is checked.
7. exchange method as claimed in claim 6, it is characterised in that:The identity validation and integrality is checked, including:Verification The digital signature of quotation file judges whether to come from the electricity-selling system merchandised with it, and passes through Hash hashed values, and verification is offered The integrality of file.
8. exchange method as claimed in claim 6, it is characterised in that:The business datum is checked, including:
Whether each field data in encrypted quotation file meets call format;
It is encrypted quotation file market member whether in access list, quotation the time whether at the appointed time;
Whether electricity price, electricity in encrypted quotation file, electric power data meet the business need of transaction.
9. exchange method as claimed in claim 6, it is characterised in that:It is described to pass through transmission in the encrypted quotation file When channel is transferred to the quote data for being resolved to recognizable format after specified interface, the transmission mode of transmission channel includes: Real-time, interactive mode and single interactive mode;
The real-time, interactive mode includes:The API for providing application program WebService or procotol WebSocket forms connects Mouthful, electricity-selling system is connected to transaction platform by api interface, and preset XML, JSON or CIM/E format is offered automatically File is transmitted to transaction system in real time in the form of data message;
The single interactive mode provides SFTP services, including:Body is carried out by user name/password or the form of digital certificate Part certification logs in SFTP services, and preset XML, JSON or CIM/E format is stored in local quotation file and is uploaded To under specified directory, quotation is completed.
10. exchange method as claimed in claim 8, it is characterised in that:After forming the quote data that can recognize that format, by institute State quote data deposit quote data library.
11. a kind of interactive system of power market transaction bidding data, it is characterised in that:
Acquisition module, for obtaining quote data from electricity market;
Encrypting module, for by the preassigned data of both parties in the quote data got generate after individually encrypting Quotation file;
Parsing module is transferred to after specified interface by transmission channel for encrypted quotation file and is resolved to can recognize that The quote data of format.
12. interactive system as claimed in claim 11, it is characterised in that:The encrypting module, including:
Encryption unit, for adding each data in the preassigned data of both parties in quote data respectively It is close;
Generation unit is offered for generating encrypted quote data according to preset XML, JSON or CIM/E format File.
13. interactive system as claimed in claim 12, it is characterised in that:The sensitive data includes electricity price, electricity and electric power Data.
14. interactive system as claimed in claim 12, it is characterised in that:Further include digital signature and integrity check module, For being resolved to recognizable format after the encrypted quotation file is transferred to specified interface by transmission channel Further include complete to quotation file progress data using SM3, SHA-256 algorithm calculating Hash hashed values before quote data Whole property is checked, and verification is digitally signed to quotation file using SM2, RSA Algorithm.
15. interactive system as claimed in claim 11, it is characterised in that:The parsing module, including:
Data check unit, and data check is carried out for the encryption quotation file to being transferred to;
Resolution unit checks the encryption passed through quotation file for parsing data;
Decryption unit is solved for the sensitive data in the encryption message file after the key pair parsing by making an appointment It is close, form the quote data that can recognize that format.
16. interactive system as claimed in claim 15, it is characterised in that:The data check unit, including:
Identity validation and integrality checks subelement, and the digital signature for verifying quotation file judges whether to come from its sound The electricity-selling system of title, and pass through Hash hashed values, the integrality of verification quotation file;
Business datum checks subelement, including:
First judgment sub-unit, for judging whether each field data in encrypted quotation file meets call format;
Second judgment sub-unit, when for judging that the market member of encrypted quotation file is whether in access list, quotation Between whether at the appointed time;
Third judgment sub-unit, for judging whether the electricity price in encrypted quotation file, electricity, electric power data meet transaction Business need.
17. interactive system as claimed in claim 11, it is characterised in that:Further include memory module, for recognizable in formation After the quote data of format, by quote data deposit quote data library.
CN201810166536.9A 2018-02-28 2018-02-28 A kind of the automation exchange method and system of power market transaction bidding data Pending CN108564456A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810166536.9A CN108564456A (en) 2018-02-28 2018-02-28 A kind of the automation exchange method and system of power market transaction bidding data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810166536.9A CN108564456A (en) 2018-02-28 2018-02-28 A kind of the automation exchange method and system of power market transaction bidding data

Publications (1)

Publication Number Publication Date
CN108564456A true CN108564456A (en) 2018-09-21

Family

ID=63532310

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810166536.9A Pending CN108564456A (en) 2018-02-28 2018-02-28 A kind of the automation exchange method and system of power market transaction bidding data

Country Status (1)

Country Link
CN (1) CN108564456A (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110148006A (en) * 2019-05-20 2019-08-20 国网天津市电力公司 A Method for Identifying Malicious Bidding Behavior in Electricity Market
CN110519352A (en) * 2019-08-19 2019-11-29 海南电网有限责任公司 A kind of peak regulation data uploading method for power grid
CN111046093A (en) * 2019-11-05 2020-04-21 中国电力科学研究院有限公司 Exchange method for electric power trading platform server, client and clearing case
CN111988325A (en) * 2020-08-25 2020-11-24 中国南方电网有限责任公司 Transaction information processing system, method, apparatus, computer device and storage medium
CN112541826A (en) * 2020-12-16 2021-03-23 国网电力科学研究院有限公司 Security protection method and system based on electric power transaction platform transaction declaration
CN112866317A (en) * 2019-11-28 2021-05-28 中国电力科学研究院有限公司 Electric power transaction high-concurrency declaration front-end response method and system
CN113037787A (en) * 2019-12-09 2021-06-25 北京沃东天骏信息技术有限公司 Data processing method and device
CN113450217A (en) * 2021-06-25 2021-09-28 未鲲(上海)科技服务有限公司 Transaction request processing method and device, electronic equipment and storage medium
CN113485902A (en) * 2021-07-08 2021-10-08 中国建设银行股份有限公司 Method, device, equipment and computer readable medium for testing service platform
CN114677189A (en) * 2020-12-24 2022-06-28 航天信息股份有限公司 A data management system, method, device, electronic device and storage medium
CN116305191A (en) * 2023-02-13 2023-06-23 北京中百信软件技术有限公司 Network bidding cloud service method and system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1661606A (en) * 2004-02-23 2005-08-31 鸿富锦精密工业(深圳)有限公司 Product quotation system and method
CN103177510A (en) * 2006-07-10 2013-06-26 百利国际游戏有限公司 Embedded user interface and system incorporated into gaming device
CN106790106A (en) * 2016-12-26 2017-05-31 贵州电网有限责任公司信息中心 A kind of digital authenticating of electricity transaction system and electronic seal system and implementation method
CN107392736A (en) * 2017-08-16 2017-11-24 南京南瑞继保电气有限公司 A kind of data processing method, device and equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1661606A (en) * 2004-02-23 2005-08-31 鸿富锦精密工业(深圳)有限公司 Product quotation system and method
CN103177510A (en) * 2006-07-10 2013-06-26 百利国际游戏有限公司 Embedded user interface and system incorporated into gaming device
CN106790106A (en) * 2016-12-26 2017-05-31 贵州电网有限责任公司信息中心 A kind of digital authenticating of electricity transaction system and electronic seal system and implementation method
CN107392736A (en) * 2017-08-16 2017-11-24 南京南瑞继保电气有限公司 A kind of data processing method, device and equipment

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110148006A (en) * 2019-05-20 2019-08-20 国网天津市电力公司 A Method for Identifying Malicious Bidding Behavior in Electricity Market
CN110148006B (en) * 2019-05-20 2023-05-12 国网天津市电力公司 A Method for Identifying Malicious Bidding Behavior in Electricity Market
CN110519352B (en) * 2019-08-19 2022-06-28 海南电网有限责任公司 A method for uploading peak regulation data for power grid
CN110519352A (en) * 2019-08-19 2019-11-29 海南电网有限责任公司 A kind of peak regulation data uploading method for power grid
CN111046093A (en) * 2019-11-05 2020-04-21 中国电力科学研究院有限公司 Exchange method for electric power trading platform server, client and clearing case
CN112866317A (en) * 2019-11-28 2021-05-28 中国电力科学研究院有限公司 Electric power transaction high-concurrency declaration front-end response method and system
CN113037787A (en) * 2019-12-09 2021-06-25 北京沃东天骏信息技术有限公司 Data processing method and device
CN111988325A (en) * 2020-08-25 2020-11-24 中国南方电网有限责任公司 Transaction information processing system, method, apparatus, computer device and storage medium
CN111988325B (en) * 2020-08-25 2022-11-11 中国南方电网有限责任公司 Transaction information processing system, method, apparatus, computer device and storage medium
CN112541826A (en) * 2020-12-16 2021-03-23 国网电力科学研究院有限公司 Security protection method and system based on electric power transaction platform transaction declaration
CN114677189A (en) * 2020-12-24 2022-06-28 航天信息股份有限公司 A data management system, method, device, electronic device and storage medium
CN113450217A (en) * 2021-06-25 2021-09-28 未鲲(上海)科技服务有限公司 Transaction request processing method and device, electronic equipment and storage medium
CN113485902A (en) * 2021-07-08 2021-10-08 中国建设银行股份有限公司 Method, device, equipment and computer readable medium for testing service platform
CN113485902B (en) * 2021-07-08 2024-05-28 中国建设银行股份有限公司 Method, device, equipment and computer readable medium for testing service platform
CN116305191A (en) * 2023-02-13 2023-06-23 北京中百信软件技术有限公司 Network bidding cloud service method and system

Similar Documents

Publication Publication Date Title
CN108564456A (en) A kind of the automation exchange method and system of power market transaction bidding data
US12273470B2 (en) Data processing method and apparatus, intelligent device, and storage medium
CN104580190B (en) The implementation method and secure browser device of secure browser
WO2022126967A1 (en) Blockchain-based data supervision method, apparatus and device, and storage medium
CN110569666B (en) Block chain-based data statistics method and device
US20240177151A1 (en) Methods and Apparatuses for Generating, Verifying and Storing Transaction Voucher, Devices and System
CN107888656B (en) The calling method and calling device of the server interface
CN106600252A (en) Payment method and system based on block chain
CN104580189A (en) Safety communication system
CN112804217B (en) A method and device for depositing certificates based on blockchain technology
CN114358782A (en) Block chain transaction auditing method, device, equipment and storage medium
CN115619404B (en) Block chain-based enterprise associated transaction business cooperative processing method
CN114997809A (en) Government affairs service intelligent examination and approval center platform based on block chain technology
CN113765968B (en) A file transmission method, device and system
CN115203749A (en) Data transaction method and system based on block chain
CN112862487A (en) Digital certificate authentication method, equipment and storage medium
CN112261002A (en) Data interface docking method and device
CN113328854B (en) Service processing method and system based on block chain
CN108846671B (en) Online secure transaction method and system based on block chain
CN111161061A (en) A distributed energy centralized trading system and method
CN113206746B (en) A digital certificate management method and device
CN113836573B (en) User information processing method and device based on distributed storage
CN115860757A (en) Energy data traceability method and device based on block chain technology
CN115526629A (en) Receipt transaction method and device based on block chain network and identity authentication device
CN114726865A (en) Data pledge method, system, electronic 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
RJ01 Rejection of invention patent application after publication

Application publication date: 20180921

RJ01 Rejection of invention patent application after publication