WO2014194807A1 - Method and device for automatically generating and sending first draft of contract based on e-mail - Google Patents

Method and device for automatically generating and sending first draft of contract based on e-mail Download PDF

Info

Publication number
WO2014194807A1
WO2014194807A1 PCT/CN2014/079094 CN2014079094W WO2014194807A1 WO 2014194807 A1 WO2014194807 A1 WO 2014194807A1 CN 2014079094 W CN2014079094 W CN 2014079094W WO 2014194807 A1 WO2014194807 A1 WO 2014194807A1
Authority
WO
WIPO (PCT)
Prior art keywords
contract
data
email
draft
production data
Prior art date
Application number
PCT/CN2014/079094
Other languages
French (fr)
Chinese (zh)
Inventor
曾宪雄
Original Assignee
深圳市百能信息技术有限公司
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 深圳市百能信息技术有限公司 filed Critical 深圳市百能信息技术有限公司
Publication of WO2014194807A1 publication Critical patent/WO2014194807A1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR 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
    • G06Q10/00Administration; Management
    • G06Q10/10Office automation; Time management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR 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
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/10Services
    • G06Q50/18Legal services

Definitions

  • the present invention relates to the field of application of network electronic technologies, and in particular, to a method and apparatus for automatically generating a preliminary draft of a transmission contract based on an email.
  • the Gerber file carrying the PCB board design information needs to be sent to the manufacturer. After the manufacturer analyzes the Gerber file, the quotation is issued. The two parties negotiate on the basis of the quotation, and the manual is successful after the negotiation.
  • the process of generating contracts there are many materials that need to be manually filled in the process of contract formation, which are inefficient and inconvenient to communicate during the negotiation process.
  • the present invention provides a method and apparatus for automatically generating a preliminary draft of a delivery contract by reducing the time for manual contracting and improving the efficiency of contract generation.
  • a method for automatically generating a preliminary draft of a delivery contract based on an email comprising:
  • the engineering parameters of the PCB board carried in the Gerber file are obtained by parsing the separated Gerber file as follows:
  • the file review module parses the Gerber file by using a preset parameter extraction rule and/or a general engineering parameter description language rule base;
  • the engineering parameters include: PCB format, layer, line, minimum line width and line spacing, drill hole structure, minimum aperture, total number of holes, and size.
  • the calculating the price data according to the engineering parameter and the production data is specifically:
  • the production data includes a product quantity, a delivery address, and a delivery date.
  • An apparatus for automatically generating a first draft of a delivery contract based on an email comprising:
  • a mail receiving unit configured to receive an order email carrying a Gerber file and production data
  • a data separating unit configured to separate the Gerber file and the production data from the order email
  • a file parsing unit configured to parse the separated Gerber file to obtain engineering parameters of the PCB board carried in the Gerber file
  • a data calculation unit configured to calculate price data according to the engineering parameter and the production data
  • a first draft generating unit configured to generate the draft contract in the preset format by using the production data, the engineering parameter and the price data of the PCB board;
  • a first draft sending unit configured to send the first draft of the contract to the body of the contract email to The outbox of the order email
  • the data in the preliminary draft of the contract email is attached to the modifiable plug-in and returned directly by the contract email.
  • the file parsing unit includes:
  • a file parsing module wherein the file auditing module parses the Gerber file by using a preset parameter extraction rule and/or a general engineering parameter description language rule base;
  • a parameter generation module is configured to generate engineering parameters of the PCB obtained by parsing the Gerber file.
  • the engineering parameters include: PCB format, layer, line, minimum line width and line spacing, drill hole structure, minimum aperture, total number of holes, and size.
  • the data calculation unit includes:
  • the unit price calculation module is configured to query the unit price data in the price database according to the engineering parameter; and the price calculation module is configured to calculate the price data according to the unit price data and the production data.
  • the production data includes a product quantity, a delivery address, and a delivery date.
  • the invention has the beneficial effects of: receiving the mail carrying the Gerber file and the production data, extracting the Gerber file in the mail and parsing the Gerber file, obtaining the engineering parameters, determining the unit price according to the engineering parameters, and automatically generating and transmitting according to the preset format.
  • Contract e-mail complete the generation and delivery of the contract, reduce the time for manual contracting, improve the efficiency of contract generation, and generate contracts to facilitate subsequent negotiations.
  • FIG. 1 is a flow chart of a first embodiment of a method for automatically generating a transmission contract according to the present invention
  • FIG. 2 is a flow chart of a second embodiment of a method for automatically generating a transmission contract according to the present invention
  • 4 is a block diagram showing the structure of a file parsing unit of an apparatus for automatically generating a transmission contract according to the present invention
  • 5 is a structural block diagram of a data calculation unit of an apparatus for automatically generating a transmission contract according to the present invention
  • FIG. 1 is a flow chart of a first embodiment of a method for automatically generating a transmission contract according to the present invention. As shown in the figure, the method includes:
  • Step S1 receiving an order email carrying a Gerber file and production data
  • Step S2 separating the Gerber file and the production data from the order email;
  • Step S3 parsing the separated Gerber file to obtain engineering parameters of the PCB board carried in the Gerber file;
  • Step S4 calculating price data according to the engineering parameters and production data
  • Step S5 generating, according to the production data, engineering parameters and price data of the PCB board, a preliminary draft of the contract in a preset format;
  • Step S6 sending the preliminary draft of the contract to the outbox of the order email by means of the body of the contract email;
  • the data in the preliminary draft of the contract email is attached to the modifiable plug-in and returned directly by the contract email.
  • the mail by receiving the mail carrying the Gerber file and the production data, extracting the Gerber file in the mail and parsing the Gerber file, obtaining the engineering parameter, determining the unit price according to the engineering parameter, and automatically generating the sending contract electronic according to the preset format.
  • the mail complete the generation and delivery of the contract, reduce the time for manual contracting, and improve the efficiency of contract generation.
  • the price data and production data of the first draft in the contract email body can be directly modified in the mail and returned directly. There is no need to resend the mail, and the communication between the customer and the manufacturer is more convenient.
  • FIG. 2 Show A flow chart of a second embodiment of a method for automatically generating a contract management draft is shown in FIG. 2 Show, including:
  • Step S201 Receiving an order email carrying the Gerber file and the production data; the customer needs to send the Gerber file and the production data when the order is placed, and the first draft of the contract is generated on the basis of the order email, and the production data includes the number of products. , the delivery address, the delivery date, in order to generate a comprehensive draft of the contract.
  • Step S202 separating the Gerber file and production data from the order email; traversing the order email, separating the Gerber file and the production data in the order email, and the Gerber file may be sent directly or packaged, Affect the separation of Gerber files.
  • Step S203 Send the separated Gerber file for parsing
  • the dedicated Gerber file parsing module waits for the task to arrive at any time, and immediately parses the Gerber file.
  • Step S204 Parsing the Gerber file by using a preset parameter extraction rule and/or a general engineering parameter description language rule base;
  • Step S205 Generate engineering parameters of the PCB board obtained by parsing the Gerber file
  • the engineering parameters included in the Gerber file including PCB format, layer, line, minimum line width and line spacing, drilling structure, minimum aperture, total number of holes and size will be obtained, reflecting the customer's in the most intuitive way. Production requirements, and judge the difficulty of production.
  • Step S206 querying the unit price data in the price database according to the engineering parameter
  • step S205 the production difficulty is judged, and the unit price data of such PCB boards is inquired in the quotation.
  • Step S207 Calculate price data according to the unit price data and production data
  • step S202 According to the production data obtained in step S202, combined with the unit price data, the number of products, the place of receipt The specific price for completing this order is calculated by the address, delivery date, etc.
  • Step S208 Generate the draft contract in the preset format by using the production data, the engineering parameters and the price data of the PCB board;
  • Step S209 Send the preliminary draft of the contract to the outbox of the order email in the form of the body of the contract email;
  • the data in the preliminary draft of the contract email is attached to the modifiable plug-in and returned directly by the contract email.
  • the customer increases or decreases the number of products, changes the delivery address, modifies the delivery date, and modifies the price.
  • This information can be directly modified in the email and directly in the contract.
  • the manufacturer can also modify it in the contract email.
  • the communication between the two parties can be completed in the contract email. When the two parties reach an agreement, the content of the contract email can be directly used.
  • the formal contract has greatly improved the communication efficiency of both parties.
  • FIG. 3 is a structural block diagram of an apparatus for automatically generating a preliminary draft of a transmission contract based on an email according to the present invention. As shown, the apparatus includes:
  • the mail receiving unit 110 is configured to receive an order email carrying the Gerber file and the production data
  • a data separation unit 120 configured to separate a Gerber file and production data from the order email
  • the file parsing unit 130 is configured to parse the separated Gerber file to obtain engineering parameters of the PCB board carried in the Gerber file.
  • a data calculation unit 140 configured to calculate price data according to the engineering parameter and the production data
  • a preliminary draft generating unit 150 configured to use the production data, the engineering parameter and the price of the PCB board The first draft of the contract is generated in a preset format
  • the first draft sending unit 160 is configured to send the preliminary draft of the contract to the outbox of the order email in the form of the body of the contract email;
  • the data in the preliminary draft of the contract email is attached to the modifiable plug-in and returned directly by the contract email.
  • the generation of the transmission reduces the time for manual contracting and improves the efficiency of contract generation.
  • the price data and production data of the first draft in the contract email body can be directly modified in the mail and returned directly. There is no need to resend the mail, and the communication between the customer and the manufacturer is more convenient.
  • the file parsing unit 130 includes:
  • the file parsing module 131 parses the Gerber file by using a preset parameter extraction rule and/or a general engineering parameter description language rule base;
  • the parameter generation module 132 is configured to generate engineering parameters of the PCB obtained by parsing the Gerber file. Specifically, as shown in FIG. 5, the data calculation unit 140 includes:
  • the unit price calculation module 141 is configured to query the price data in the price database according to the engineering parameter; the price calculation module 142 is configured to calculate the price data according to the unit price data and the production data.
  • the engineering parameters include: PCB format, layer, line, minimum line width and line spacing, drilled structure, minimum aperture, total number of holes, and size.
  • the production data includes the number of products, the delivery address, and the delivery date.

Landscapes

  • Business, Economics & Management (AREA)
  • Engineering & Computer Science (AREA)
  • Strategic Management (AREA)
  • Tourism & Hospitality (AREA)
  • Human Resources & Organizations (AREA)
  • Economics (AREA)
  • General Business, Economics & Management (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Marketing (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Primary Health Care (AREA)
  • Technology Law (AREA)
  • General Health & Medical Sciences (AREA)
  • Data Mining & Analysis (AREA)
  • Health & Medical Sciences (AREA)
  • Operations Research (AREA)
  • Quality & Reliability (AREA)
  • Information Transfer Between Computers (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

Disclosed are a method and device for automatically generating and sending a first draft of a contract based on an e-mail. The method comprises: receiving an order e-mail carrying a Gerber file and production data; separating the Gerber file and the production data from the order e-mail; parsing the separated Gerber file, to obtain PCB engineering parameters carried in the Gerber file; according to the engineering parameters and the production data, calculating price data; generating the production data, the PCB engineering parameters and the price data into a first draft of a contract in a preset format; and sending the first draft of the contract to an outbox of the order e-mail in the form of a text of a contract e-mail, wherein the data in the first draft of the contract in the contract e-mail is attached into a revisable plug-in unit and is directly returned by means of the contract e-mail. The method reduces the labour time in the process of formulating the contract and improves the efficiency of generating the contract, and the generated contract also provides convenience for subsequent negotiation.

Description

说 明 书  Description
一种基于电子邮件的自动生成发送合同初稿的方法和装置 技术领域  Method and device for automatically generating first draft of sending contract based on email
本发明涉及网络电子技术应用领域, 尤其涉及一种基于电子邮件的自动生 成发送合同初稿的方法和装置。  The present invention relates to the field of application of network electronic technologies, and in particular, to a method and apparatus for automatically generating a preliminary draft of a transmission contract based on an email.
背景技术 Background technique
现有的客户需要印刷 PCB板时, 需要将携带有 PCB板设计信息的 Gerber文 件发送到厂家, 在厂家对 Gerber文件解析后开出报价, 双方在报价的基础上进 行协商, 协商成功之后再人工生成合同, 合同生成过程中需要人工填入的资料 较多, 效率低下, 协商过程中沟通不便。  When an existing customer needs to print a PCB board, the Gerber file carrying the PCB board design information needs to be sent to the manufacturer. After the manufacturer analyzes the Gerber file, the quotation is issued. The two parties negotiate on the basis of the quotation, and the manual is successful after the negotiation. In the process of generating contracts, there are many materials that need to be manually filled in the process of contract formation, which are inefficient and inconvenient to communicate during the negotiation process.
发明内容 Summary of the invention
本发明提供了一种减少人工制定合同的时间, 提高合同的生成效率的自动 生成发送合同初稿的方法和装置。  The present invention provides a method and apparatus for automatically generating a preliminary draft of a delivery contract by reducing the time for manual contracting and improving the efficiency of contract generation.
本发明采用以下技术方案:  The invention adopts the following technical solutions:
一种基于电子邮件的自动生成发送合同初稿的方法, 包括:  A method for automatically generating a preliminary draft of a delivery contract based on an email, comprising:
接收携带有 Gerber文件和生产数据的订单电子邮件;  Receive order emails carrying Gerber files and production data;
从所述订单电子邮件中分离出所述 Gerber文件和生产数据;  Separating the Gerber file and production data from the order email;
对分离出的所述 Gerber文件进行解析, 获得所述 Gerber文件中携带的 PCB 板的工程参数;  Parsing the separated Gerber file to obtain engineering parameters of the PCB board carried in the Gerber file;
根据所述工程参数以及生产数据计算价格数据;  Calculating price data based on the engineering parameters and production data;
将所述生产数据、 所述 PCB板的工程参数和价格数据以预设的格式生成合 同初稿;  Generating the production data, the engineering parameters of the PCB board, and the price data into a preliminary draft of the contract in a preset format;
将所述合同初稿以合同电子邮件的正文的方式发送到所述订单电子邮件的 发件箱; 其中, 所述合同电子邮件中的合同初稿中数据附于可修改插件中并通过合 同电子邮件直接返回。 Sending the first draft of the contract to the outbox of the order email in the form of the body of the contract email; The data in the preliminary draft of the contract email is attached to the modifiable plug-in and directly returned by the contract email.
其中, 所述对分离出的所述 Gerber文件进行解析, 获得所述 Gerber文件 中携带的 PCB板的工程参数具体为:  The engineering parameters of the PCB board carried in the Gerber file are obtained by parsing the separated Gerber file as follows:
所述文件审核模块利用预置的参数提取规则和 /或通用工程参数描述语言 规则库对 Gerber文件进行解析;  The file review module parses the Gerber file by using a preset parameter extraction rule and/or a general engineering parameter description language rule base;
生成解析 Gerber文件获得的 PCB板的工程参数。  Generates the engineering parameters of the PCB board obtained by parsing the Gerber file.
其中, 所述工程参数包括: PCB 格式、 层别、 线路、 最小线宽和线距、 钻 孔结构、 最小孔径、 总孔数及尺寸。  The engineering parameters include: PCB format, layer, line, minimum line width and line spacing, drill hole structure, minimum aperture, total number of holes, and size.
其中, 所述根据工程参数以及生产数据计算价格数据具体为:  Wherein, the calculating the price data according to the engineering parameter and the production data is specifically:
根据工程参数在价格数据库中查询单价数据;  Query the unit price data in the price database according to the engineering parameters;
根据所述单价数据和生产数据计算价格数据;  Calculating price data based on the unit price data and production data;
其中, 所述生产数据包括产品数目、 收货地址、 交货日期。  The production data includes a product quantity, a delivery address, and a delivery date.
一种基于电子邮件的自动生成发送合同初稿的装置, 包括:  An apparatus for automatically generating a first draft of a delivery contract based on an email, comprising:
邮件接收单元, 用于接收携带有 Gerber文件和生产数据的订单电子邮件; 数据分离单元, 用于从所述订单电子邮件中分离出 Gerber 文件和生产数 据;  a mail receiving unit, configured to receive an order email carrying a Gerber file and production data; a data separating unit, configured to separate the Gerber file and the production data from the order email;
文件解析单元, 用于对分离出的 Gerber文件进行解析, 获得 Gerber文件 中携带的 PCB板的工程参数;  a file parsing unit, configured to parse the separated Gerber file to obtain engineering parameters of the PCB board carried in the Gerber file;
数据计算单元, 用于根据所述工程参数以及生产数据计算价格数据; 初稿生成单元, 用于将所述生产数据、 所述 PCB板的工程参数和价格数据 以预设的格式生成合同初稿;  a data calculation unit, configured to calculate price data according to the engineering parameter and the production data; a first draft generating unit, configured to generate the draft contract in the preset format by using the production data, the engineering parameter and the price data of the PCB board;
初稿发送单元, 用于将所述合同初稿以合同电子邮件的正文的方式发送到 所述订单电子邮件的发件箱; a first draft sending unit, configured to send the first draft of the contract to the body of the contract email to The outbox of the order email;
其中, 所述合同电子邮件中的合同初稿中数据附于可修改插件中并通过合 同电子邮件直接返回。  The data in the preliminary draft of the contract email is attached to the modifiable plug-in and returned directly by the contract email.
其中, 所述文件解析单元包括:  The file parsing unit includes:
文件解析模块, 所述文件审核模块利用预置的参数提取规则和 /或通用工 程参数描述语言规则库对 Gerber文件进行解析;  a file parsing module, wherein the file auditing module parses the Gerber file by using a preset parameter extraction rule and/or a general engineering parameter description language rule base;
参数生成模块, 用于生成解析 Gerber文件获得的 PCB板的工程参数。 其中, 所述工程参数包括: PCB 格式、 层别、 线路、 最小线宽和线距、 钻 孔结构、 最小孔径、 总孔数及尺寸。  A parameter generation module is configured to generate engineering parameters of the PCB obtained by parsing the Gerber file. The engineering parameters include: PCB format, layer, line, minimum line width and line spacing, drill hole structure, minimum aperture, total number of holes, and size.
其中, 所述数据计算单元包括:  The data calculation unit includes:
单价计算模块, 用于根据工程参数在价格数据库中查询单价数据; 价格计算模块, 用于根据所述单价数据和生产数据计算价格数据。  The unit price calculation module is configured to query the unit price data in the price database according to the engineering parameter; and the price calculation module is configured to calculate the price data according to the unit price data and the production data.
其中, 所述生产数据包括产品数目、 收货地址、 交货日期。  The production data includes a product quantity, a delivery address, and a delivery date.
本发明的有益效果在于: 通过接收携带有 Gerber文件和生产数据的邮件, 然后提取邮件中的 Gerber文件并对 Gerber文件进行解析, 获得工程参数, 根 据工程参数确定单价, 根据预设格式自动生成发送合同电子邮件, 完成合同初 稿的生成发送, 减少人工制定合同的时间, 提高了合同的生成效率, 生成的合 同也为后续协商提供便利。  The invention has the beneficial effects of: receiving the mail carrying the Gerber file and the production data, extracting the Gerber file in the mail and parsing the Gerber file, obtaining the engineering parameters, determining the unit price according to the engineering parameters, and automatically generating and transmitting according to the preset format. Contract e-mail, complete the generation and delivery of the contract, reduce the time for manual contracting, improve the efficiency of contract generation, and generate contracts to facilitate subsequent negotiations.
附图说明 DRAWINGS
图 1是本发明一种自动生成发送合同的方法的第一实施例流程图; 图 2是本发明一种自动生成发送合同的方法的第二实施例流程图; 图 3是本发明一种自动生成发送合同的装置的结构框图;  1 is a flow chart of a first embodiment of a method for automatically generating a transmission contract according to the present invention; FIG. 2 is a flow chart of a second embodiment of a method for automatically generating a transmission contract according to the present invention; A block diagram of a device that generates a transmission contract;
图 4是本发明一种自动生成发送合同的装置的文件解析单元的结构框图; 图 5是本发明一种自动生成发送合同的装置的数据计算单元的结构框图; 具体实施方式 4 is a block diagram showing the structure of a file parsing unit of an apparatus for automatically generating a transmission contract according to the present invention; 5 is a structural block diagram of a data calculation unit of an apparatus for automatically generating a transmission contract according to the present invention;
下面结合附图并通过具体实施方式来进一歩说明本发明的技术方案。  The technical solution of the present invention will be further described below with reference to the accompanying drawings and specific embodiments.
图 1 是本发明一种自动生成发送合同的方法的第一实施例流程图, 如图所 示, 该方法包括:  1 is a flow chart of a first embodiment of a method for automatically generating a transmission contract according to the present invention. As shown in the figure, the method includes:
歩骤 S1 : 接收携带有 Gerber文件和生产数据的订单电子邮件;  Step S1: receiving an order email carrying a Gerber file and production data;
歩骤 S2 : 从所述订单电子邮件中分离出所述 Gerber文件和生产数据; 歩骤 S3 : 对分离出的所述 Gerber文件进行解析, 获得所述 Gerber文件中 携带的 PCB板的工程参数;  Step S2: separating the Gerber file and the production data from the order email; Step S3: parsing the separated Gerber file to obtain engineering parameters of the PCB board carried in the Gerber file;
歩骤 S4: 根据所述工程参数以及生产数据计算价格数据;  Step S4: calculating price data according to the engineering parameters and production data;
歩骤 S5 : 将所述生产数据、 所述 PCB板的工程参数和价格数据以预设的格 式生成合同初稿;  Step S5: generating, according to the production data, engineering parameters and price data of the PCB board, a preliminary draft of the contract in a preset format;
歩骤 S6 : 将所述合同初稿以合同电子邮件的正文的方式发送到所述订单电 子邮件的发件箱;  Step S6: sending the preliminary draft of the contract to the outbox of the order email by means of the body of the contract email;
其中, 所述合同电子邮件中的合同初稿中数据附于可修改插件中并通过合 同电子邮件直接返回。  The data in the preliminary draft of the contract email is attached to the modifiable plug-in and returned directly by the contract email.
本实施例中, 通过接收携带有 Gerber文件和生产数据的邮件, 然后提取邮 件中的 Gerber文件并对 Gerber文件进行解析, 获得工程参数, 根据工程参数 确定单价, 根据预设格式自动生成发送合同电子邮件, 完成合同初稿的生成发 送, 减少人工制定合同的时间, 提高了合同的生成效率。 同时合同电子邮件正 文中初稿的价格数据和生产数据可以直接在邮件中修改并直接返回, 无需重新 发送邮件, 客户与厂家的沟通更加方便。  In this embodiment, by receiving the mail carrying the Gerber file and the production data, extracting the Gerber file in the mail and parsing the Gerber file, obtaining the engineering parameter, determining the unit price according to the engineering parameter, and automatically generating the sending contract electronic according to the preset format. The mail, complete the generation and delivery of the contract, reduce the time for manual contracting, and improve the efficiency of contract generation. At the same time, the price data and production data of the first draft in the contract email body can be directly modified in the mail and returned directly. There is no need to resend the mail, and the communication between the customer and the manufacturer is more convenient.
本发明一种自动生成合同管理初稿的方法的第二实施例的流程图如图 2所 示, 包括: A flow chart of a second embodiment of a method for automatically generating a contract management draft is shown in FIG. 2 Show, including:
歩骤 S201 : 接收携带有 Gerber文件和生产数据的订单电子邮件; 客户在下订单时即需要发送 Gerber文件和生产数据, 合同初稿都是订单电 子邮件的基础上产生, 所述生产数据包括产品的数目、 收货地址、 交货日期, 以便生成全面规范的合同初稿。  Step S201: Receiving an order email carrying the Gerber file and the production data; the customer needs to send the Gerber file and the production data when the order is placed, and the first draft of the contract is generated on the basis of the order email, and the production data includes the number of products. , the delivery address, the delivery date, in order to generate a comprehensive draft of the contract.
歩骤 S202 : 从订单电子邮件中分离出所述 Gerber文件和生产数据; 遍历订单电子邮件, 对订单电子邮件中的 Gerber 文件和生产数据进行分 离, Gerber文件为直接发送或打包发送均可, 不影响对 Gerber文件的分离。  Step S202: separating the Gerber file and production data from the order email; traversing the order email, separating the Gerber file and the production data in the order email, and the Gerber file may be sent directly or packaged, Affect the separation of Gerber files.
歩骤 S203 : 将分离出的所述 Gerber文件发送以解析;  Step S203: Send the separated Gerber file for parsing;
专用的 Gerber文件解析模块随时等待任务的到来, 一旦收到 Gerber文件 立即进行解析。  The dedicated Gerber file parsing module waits for the task to arrive at any time, and immediately parses the Gerber file.
歩骤 S204: 利用预置的参数提取规则和 /或通用工程参数描述语言规则库 对 Gerber文件进行解析;  Step S204: Parsing the Gerber file by using a preset parameter extraction rule and/or a general engineering parameter description language rule base;
Gerber文件的更具体的解析过程现有技术中已有说明, 此处不再赘述。 歩骤 S205 : 生成解析 Gerber文件获得的 PCB板的工程参数;  A more specific parsing process of the Gerber file has been described in the prior art and will not be described here. Step S205: Generate engineering parameters of the PCB board obtained by parsing the Gerber file;
解析之后将会获得包括 PCB格式、 层别、 线路、 最小线宽和线距、 钻孔结 构、 最小孔径、 总孔数及尺寸等 Gerber文件中包含的工程参数, 以最直观的方 式体现客户的生产要求, 并判断生产难度。  After analysis, the engineering parameters included in the Gerber file including PCB format, layer, line, minimum line width and line spacing, drilling structure, minimum aperture, total number of holes and size will be obtained, reflecting the customer's in the most intuitive way. Production requirements, and judge the difficulty of production.
歩骤 S206: 根据工程参数在价格数据库中查询单价数据;  Step S206: querying the unit price data in the price database according to the engineering parameter;
根据歩骤 S205中得到的工程参数, 判断其生产难度, 在报价单中查询生产 此类 PCB板的单价数据。  According to the engineering parameters obtained in step S205, the production difficulty is judged, and the unit price data of such PCB boards is inquired in the quotation.
歩骤 S207: 根据所述单价数据和生产数据计算价格数据;  Step S207: Calculate price data according to the unit price data and production data;
根据歩骤 S202中得到的生产数据, 结合单价数据, 由产品的数目、 收货地 址、 交货日期等计算出完成此订单的具体报价。 According to the production data obtained in step S202, combined with the unit price data, the number of products, the place of receipt The specific price for completing this order is calculated by the address, delivery date, etc.
歩骤 S208: 将所述生产数据、 所述 PCB板的工程参数和价格数据以预设的 格式生成合同初稿;  Step S208: Generate the draft contract in the preset format by using the production data, the engineering parameters and the price data of the PCB board;
歩骤 S209: 将所述合同初稿以合同电子邮件的正文的方式发送到所述订单 电子邮件的发件箱;  Step S209: Send the preliminary draft of the contract to the outbox of the order email in the form of the body of the contract email;
其中, 所述合同电子邮件中的合同初稿中数据附于可修改插件中并通过合 同电子邮件直接返回。  The data in the preliminary draft of the contract email is attached to the modifiable plug-in and returned directly by the contract email.
为保证后期合同协商过程中的操作方便, 例如客户增加或减少产品数目, 变换交货地址, 修改交货日期, 对价格进行异议修改, 这些信息可以直接在电 子邮件中进行修改, 并直接在合同电子邮件中返回, 无需另外发送电子邮件, 同样, 厂家亦可在合同电子邮件中修改, 双方的交流都可在合同电子邮件中完 成, 当双方达成协议, 即可直接将合同电子邮件的内容作为正式合同, 大大提 高了双方的沟通效率。  In order to ensure the convenience of the operation in the later contract negotiation process, for example, the customer increases or decreases the number of products, changes the delivery address, modifies the delivery date, and modifies the price. This information can be directly modified in the email and directly in the contract. Returning in the email, there is no need to send another email. Similarly, the manufacturer can also modify it in the contract email. The communication between the two parties can be completed in the contract email. When the two parties reach an agreement, the content of the contract email can be directly used. The formal contract has greatly improved the communication efficiency of both parties.
图 3 是本发明一种基于电子邮件的自动生成发送合同初稿的装置的结构框 图, 如图所示, 该装置包括:  3 is a structural block diagram of an apparatus for automatically generating a preliminary draft of a transmission contract based on an email according to the present invention. As shown, the apparatus includes:
邮件接收单元 110 , 用于接收携带有 Gerber文件和生产数据的订单电子邮 件;  The mail receiving unit 110 is configured to receive an order email carrying the Gerber file and the production data;
数据分离单元 120, 用于从所述订单电子邮件中分离出 Gerber文件和生产 数据;  a data separation unit 120, configured to separate a Gerber file and production data from the order email;
文件解析单元 130, 用于对分离出的 Gerber文件进行解析, 获得 Gerber文 件中携带的 PCB板的工程参数;  The file parsing unit 130 is configured to parse the separated Gerber file to obtain engineering parameters of the PCB board carried in the Gerber file.
数据计算单元 140, 用于根据所述工程参数以及生产数据计算价格数据; 初稿生成单元 150, 用于将所述生产数据、 所述 PCB板的工程参数和价格数 据以预设的格式生成合同初稿; a data calculation unit 140, configured to calculate price data according to the engineering parameter and the production data; a preliminary draft generating unit 150, configured to use the production data, the engineering parameter and the price of the PCB board The first draft of the contract is generated in a preset format;
初稿发送单元 160, 用于将所述合同初稿以合同电子邮件的正文的方式发 送到所述订单电子邮件的发件箱;  The first draft sending unit 160 is configured to send the preliminary draft of the contract to the outbox of the order email in the form of the body of the contract email;
其中, 所述合同电子邮件中的合同初稿中数据附于可修改插件中并通过合 同电子邮件直接返回。  The data in the preliminary draft of the contract email is attached to the modifiable plug-in and returned directly by the contract email.
通过接收携带有 Gerber文件和生产数据的邮件, 然后提取邮件中的 Gerber 文件并对 Gerber文件进行解析, 获得工程参数, 根据工程参数确定单价, 根据 预设格式自动生成发送合同电子邮件, 完成合同初稿的生成发送, 减少人工制 定合同的时间, 提高了合同的生成效率。 同时合同电子邮件正文中初稿的价格 数据和生产数据可以直接在邮件中修改并直接返回, 无需重新发送邮件, 客户 与厂家的沟通更加方便。  By receiving the mail carrying the Gerber file and the production data, and then extracting the Gerber file in the mail and parsing the Gerber file, obtaining the engineering parameters, determining the unit price according to the engineering parameters, automatically generating the sending contract email according to the preset format, and completing the preliminary draft of the contract. The generation of the transmission reduces the time for manual contracting and improves the efficiency of contract generation. At the same time, the price data and production data of the first draft in the contract email body can be directly modified in the mail and returned directly. There is no need to resend the mail, and the communication between the customer and the manufacturer is more convenient.
具体的, 如图 4所示, 文件解析单元 130包括:  Specifically, as shown in FIG. 4, the file parsing unit 130 includes:
文件解析模块 131, 所述文件审核模块利用预置的参数提取规则和 /或通用 工程参数描述语言规则库对 Gerber文件进行解析;  The file parsing module 131, the file auditing module parses the Gerber file by using a preset parameter extraction rule and/or a general engineering parameter description language rule base;
参数生成模块 132, 用于生成解析 Gerber文件获得的 PCB板的工程参数。 具体的, 如图 5所示, 数据计算单元 140包括:  The parameter generation module 132 is configured to generate engineering parameters of the PCB obtained by parsing the Gerber file. Specifically, as shown in FIG. 5, the data calculation unit 140 includes:
单价计算模块 141, 用于根据工程参数在价格数据库中查询单价数据; 价格计算模块 142, 用于根据所述单价数据和生产数据计算价格数据。 所述工程参数包括: PCB 格式、 层别、 线路、 最小线宽和线距、 钻孔结 构、 最小孔径、 总孔数及尺寸。 所述生产数据包括产品数目、 收货地址、 交货 日期。  The unit price calculation module 141 is configured to query the price data in the price database according to the engineering parameter; the price calculation module 142 is configured to calculate the price data according to the unit price data and the production data. The engineering parameters include: PCB format, layer, line, minimum line width and line spacing, drilled structure, minimum aperture, total number of holes, and size. The production data includes the number of products, the delivery address, and the delivery date.
以上所述, 仅为本发明较佳的具体实施方式, 但本发明的保护范围并不局 限于此, 任何熟悉该技术的人在本发明所揭露的技术范围内, 可轻易想到的变 化或替换, 都应涵盖在本发明的保护范围之内。 因此, 本发明的保护范围应该 以权利要求的保护范围为准。 The above description is only a preferred embodiment of the present invention, but the scope of protection of the present invention is not limited thereto, and anyone skilled in the art can easily think of changes within the technical scope disclosed by the present invention. Modifications or substitutions are intended to be included within the scope of the invention. Therefore, the scope of protection of the present invention should be determined by the scope of the claims.

Claims

权 利 要 求 书 Claim
1.一种基于电子邮件的自动生成发送合同初稿的方法, 其特征在于, 包 括:  A method for automatically generating a preliminary draft of a delivery contract based on an email, characterized in that it comprises:
接收携带有 Gerber文件和生产数据的订单电子邮件;  Receive order emails carrying Gerber files and production data;
从所述订单电子邮件中分离出所述 Gerber文件和生产数据;  Separating the Gerber file and production data from the order email;
对分离出的所述 Gerber文件进行解析, 获得所述 Gerber文件中携带的 PCB 板的工程参数;  Parsing the separated Gerber file to obtain engineering parameters of the PCB board carried in the Gerber file;
根据所述工程参数以及生产数据计算价格数据;  Calculating price data based on the engineering parameters and production data;
将所述生产数据、 所述 PCB板的工程参数和价格数据以预设的格式生成合 同初稿;  Generating the production data, the engineering parameters of the PCB board, and the price data into a preliminary draft of the contract in a preset format;
将所述合同初稿以合同电子邮件的正文的方式发送到所述订单电子邮件的 发件箱;  Sending the first draft of the contract to the outbox of the order email in the form of the body of the contract email;
其中, 所述合同电子邮件中的合同初稿中数据附于可修改插件中并通过合 同电子邮件直接返回。  The data in the preliminary draft of the contract email is attached to the modifiable plug-in and returned directly by the contract email.
2.根据权利要求 1 所述的一种基于电子邮件的自动生成发送合同初稿的方 法, 其特征在于, 所述对分离出的所述 Gerber文件进行解析, 获得所述 Gerber 文件中携带的 PCB板的工程参数具体为:  2 . The method according to claim 1 , wherein the method for automatically generating a preliminary draft of a transmission contract is characterized in that: the separated Gerber file is parsed to obtain a PCB board carried in the Gerber file. The engineering parameters are specifically:
利用预置的参数提取规则和 /或通用工程参数描述语言规则库对 Gerber文 件进行解析;  Parsing Gerber files using preset parameter extraction rules and/or general engineering parameter description language rule bases;
生成解析 Gerber文件获得的 PCB板的工程参数。  Generates the engineering parameters of the PCB board obtained by parsing the Gerber file.
3.根据权利要求 1或 2所述的一种基于电子邮件的自动生成发送合同初稿 的方法, 其特征在于, 所述工程参数包括: PCB 格式、 层别、 线路、 最小线宽 和线距、 钻孔结构、 最小孔径、 总孔数及尺寸。  The method according to claim 1 or 2, wherein the engineering parameter comprises: a PCB format, a layer, a line, a minimum line width and a line spacing, Drilling structure, minimum aperture, total number of holes and dimensions.
4.根据权利要求 3所述的一种基于电子邮件的自动生成发送合同初稿的方 法, 其特征在于, 所述根据工程参数以及生产数据计算价格数据具体为: 根据工程参数在价格数据库中查询单价数据; 4. The method for automatically generating an initial draft of a delivery contract based on an email according to claim 3. The method is characterized in that: calculating the price data according to the engineering parameter and the production data is specifically: querying the unit price data in the price database according to the engineering parameter;
根据所述单价数据和生产数据计算价格数据;  Calculating price data based on the unit price data and production data;
5.根据权利要求 1 所述的一种基于电子邮件的自动生成发送合同初稿的方 法, 其特征在于, 所述生产数据包括产品数目、 收货地址、 交货日期。  The method according to claim 1, wherein the production data includes a product quantity, a delivery address, and a delivery date.
6.—种基于电子邮件的自动生成发送合同初稿的装置, 其特征在于, 包 括:  6. An apparatus for automatically generating a preliminary draft of a delivery contract based on an email, characterized in that it comprises:
邮件接收单元, 用于接收携带有 Gerber文件和生产数据的订单电子邮件; 数据分离单元, 用于从所述订单电子邮件中分离出 Gerber 文件和生产数 据;  a mail receiving unit, configured to receive an order email carrying a Gerber file and production data; a data separating unit, configured to separate the Gerber file and the production data from the order email;
文件解析单元, 用于对分离出的 Gerber文件进行解析, 获得 Gerber文件 中携带的 PCB板的工程参数;  a file parsing unit, configured to parse the separated Gerber file to obtain engineering parameters of the PCB board carried in the Gerber file;
数据计算单元, 用于根据所述工程参数以及生产数据计算价格数据; 初稿生成单元, 用于将所述生产数据、 所述 PCB板的工程参数和价格数据 以预设的格式生成合同初稿;  a data calculation unit, configured to calculate price data according to the engineering parameter and the production data; a first draft generating unit, configured to generate the draft contract in the preset format by using the production data, the engineering parameter and the price data of the PCB board;
初稿发送单元, 用于将所述合同初稿以合同电子邮件的正文的方式发送到 所述订单电子邮件的发件箱;  a first draft sending unit, configured to send the draft contract to the outbox of the order email in the form of a contract email;
其中, 所述合同电子邮件中的合同初稿中数据附于可修改插件中并通过合 同电子邮件直接返回。  The data in the preliminary draft of the contract email is attached to the modifiable plug-in and returned directly by the contract email.
7.根据权利要求 6所述的一种基于电子邮件的自动生成发送合同初稿的装 置, 其特征在于, 所述文件解析单元包括:  The apparatus for automatically generating a preliminary draft of a transmission contract based on an email according to claim 6, wherein the file parsing unit comprises:
文件解析模块, 所述文件审核模块利用预置的参数提取规则和 /或通用工 程参数描述语言规则库对 Gerber文件进行解析; 参数生成模块, 用于生成解析 Gerber文件获得的 PCB板的工程参数。 a file parsing module, wherein the file auditing module parses the Gerber file by using a preset parameter extraction rule and/or a general engineering parameter description language rule base; The parameter generation module is configured to generate engineering parameters of the PCB board obtained by parsing the Gerber file.
8.根据权利要求 6或 7所述的一种基于电子邮件的自动生成发送合同初稿 的装置, 其特征在于, 所述工程参数包括: PCB 格式、 层别、 线路、 最小线宽 和线距、 钻孔结构、 最小孔径、 总孔数及尺寸。  8. An apparatus for automatically generating a preliminary draft of a transmission contract based on an email according to claim 6 or claim 7, wherein the engineering parameters comprise: a PCB format, a layer, a line, a minimum line width, and a line spacing, Drilling structure, minimum aperture, total number of holes and dimensions.
9.根据权利要求 8所述的一种基于电子邮件的自动生成发送合同初稿的装 置, 其特征在于, 所述数据计算单元包括:  The apparatus for automatically generating a preliminary draft of a transmission contract based on an email according to claim 8, wherein the data calculation unit comprises:
单价计算模块, 用于根据工程参数在价格数据库中查询单价数据; 价格计算模块, 用于根据所述单价数据和生产数据计算价格数据。  The unit price calculation module is configured to query the unit price data in the price database according to the engineering parameter; and the price calculation module is configured to calculate the price data according to the unit price data and the production data.
10.根据权利要求 6所述的一种基于电子邮件的自动生成发送合同初稿的装 置, 其特征在于, 所述生产数据包括产品数目、 收货地址、 交货日期。  The apparatus according to claim 6, wherein the production data includes a product number, a delivery address, and a delivery date.
PCT/CN2014/079094 2013-06-04 2014-06-03 Method and device for automatically generating and sending first draft of contract based on e-mail WO2014194807A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201310219055.7 2013-06-04
CN2013102190557A CN103279862A (en) 2013-06-04 2013-06-04 Method and device for automatically generating and sending contract first draft based on E-mail

Publications (1)

Publication Number Publication Date
WO2014194807A1 true WO2014194807A1 (en) 2014-12-11

Family

ID=49062373

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/079094 WO2014194807A1 (en) 2013-06-04 2014-06-03 Method and device for automatically generating and sending first draft of contract based on e-mail

Country Status (2)

Country Link
CN (1) CN103279862A (en)
WO (1) WO2014194807A1 (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103279862A (en) * 2013-06-04 2013-09-04 深圳市百能信息技术有限公司 Method and device for automatically generating and sending contract first draft based on E-mail
CN103713980A (en) * 2013-12-26 2014-04-09 谢虹 Mail reminder
CN103729741A (en) * 2013-12-31 2014-04-16 广东兰贝斯信息科技有限公司 Method for supervising organic food authentication
CN105279638A (en) * 2015-09-30 2016-01-27 浪潮电子信息产业股份有限公司 Method for achieving checking of on-line file through email
CN109146427A (en) * 2018-08-31 2019-01-04 万翼科技有限公司 Mail communication method, device and the computer readable storage medium of calibration
CN109359948A (en) * 2018-10-26 2019-02-19 深圳市元征科技股份有限公司 A kind of measure of managing contract and relevant device based on block chain
CN109636522A (en) * 2018-12-10 2019-04-16 深圳市联硕精密电子有限公司 A kind of PCB circuit board is offered platform automatically

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101299256A (en) * 2008-06-18 2008-11-05 深圳市永达电子有限公司 Method and system for recognizing electric contract based on grid computing and data integration
CN102819552A (en) * 2012-06-26 2012-12-12 深圳市百能信息技术有限公司 Method and system for automatically examining and verifying Printed Circuit Board (PCB) project files
CN103279861A (en) * 2013-06-04 2013-09-04 深圳市百能信息技术有限公司 PCB engineering problem contrastive analysis and PCB engineering problem contrastive analysis result sending method and device
CN103279862A (en) * 2013-06-04 2013-09-04 深圳市百能信息技术有限公司 Method and device for automatically generating and sending contract first draft based on E-mail
CN103823882A (en) * 2014-03-03 2014-05-28 深圳市百能信息技术有限公司 Method and system for automatically auditing PCB project files

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101364955B (en) * 2008-09-28 2010-10-20 杭州电子科技大学 Method for analyzing and extracting evidence of e-mail customer terminal
CN103092821A (en) * 2011-10-27 2013-05-08 镇江金软计算机科技有限责任公司 Electronic contract correction recording implementing method
CN102930114B (en) * 2012-11-14 2015-12-16 常州奥施特信息科技有限公司 Electronic product EDA designs the visible detection method of manufacturability
CN103116851B (en) * 2013-03-11 2016-08-17 深圳市京兆电子商务有限公司 The method and system that electronic contract is concluded online

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101299256A (en) * 2008-06-18 2008-11-05 深圳市永达电子有限公司 Method and system for recognizing electric contract based on grid computing and data integration
CN102819552A (en) * 2012-06-26 2012-12-12 深圳市百能信息技术有限公司 Method and system for automatically examining and verifying Printed Circuit Board (PCB) project files
CN103279861A (en) * 2013-06-04 2013-09-04 深圳市百能信息技术有限公司 PCB engineering problem contrastive analysis and PCB engineering problem contrastive analysis result sending method and device
CN103279862A (en) * 2013-06-04 2013-09-04 深圳市百能信息技术有限公司 Method and device for automatically generating and sending contract first draft based on E-mail
CN103823882A (en) * 2014-03-03 2014-05-28 深圳市百能信息技术有限公司 Method and system for automatically auditing PCB project files

Also Published As

Publication number Publication date
CN103279862A (en) 2013-09-04

Similar Documents

Publication Publication Date Title
WO2014194807A1 (en) Method and device for automatically generating and sending first draft of contract based on e-mail
KR101117396B1 (en) Platform for rendering content for a remote device
KR101584675B1 (en) Method and device for posting microblog message
WO2015161760A1 (en) Method and device for residing short message verification code
EP3448042A1 (en) Media presentation description
CN102737065B (en) Method and device for acquiring data
US9846730B2 (en) Interacting with resources exchanged using open data protocol
WO2015135305A1 (en) Method and device for verifying authenticity of a terminal
WO2014194808A1 (en) Method and device for comparing and analysing pcb engineering problems and for sending results thereof
WO2016137650A1 (en) Integration of cloud-based services to create custom business processes
CA2832447C (en) Document management system using printer emulation
CN102368261A (en) Expandable running maintenance report generation method
CN112822286B (en) Message pushing method and device
CN103136226A (en) Method and device capable of searching user
US10810256B1 (en) Per-user search strategies
WO2017066811A2 (en) Third-party documented trust linkages for email streams
CN104050204B (en) Merge the method and mobile device of network data
CN102810103A (en) Search result sharing method and system
AU2002317807A1 (en) Capturing data attribute of predefined type from user
CN103530351A (en) Network data information search method
CN107423446A (en) New media based on cloud storage automates credible deployment system and method
RU2014146752A (en) METHOD FOR SYNTACTIC SERVICE ANALYSIS, FLEXIBLE ADAPTED TO IMS SYSTEM TAG
CN104750694A (en) Traceability method and device of mobile network information
CN107193982A (en) Suitable for the classifying method of government's distribution platform publicity information
US11385954B2 (en) Graphical management of big data pipelines

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 14807889

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 14807889

Country of ref document: EP

Kind code of ref document: A1