CN107181801A - Electronic attachment storage method and terminal - Google Patents

Electronic attachment storage method and terminal Download PDF

Info

Publication number
CN107181801A
CN107181801A CN201710362984.1A CN201710362984A CN107181801A CN 107181801 A CN107181801 A CN 107181801A CN 201710362984 A CN201710362984 A CN 201710362984A CN 107181801 A CN107181801 A CN 107181801A
Authority
CN
China
Prior art keywords
electronic
accessory
system
electronic accessory
storage
Prior art date
Application number
CN201710362984.1A
Other languages
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 深圳市连用科技有限公司
Priority to CN201710362984.1A priority Critical patent/CN107181801A/en
Publication of CN107181801A publication Critical patent/CN107181801A/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING; COUNTING
    • G06QDATA PROCESSING SYSTEMS OR METHODS, SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL, SUPERVISORY OR FORECASTING PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL, SUPERVISORY OR FORECASTING PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/10Office automation, e.g. computer aided management of electronic mail or groupware; Time management, e.g. calendars, reminders, meetings or time accounting
    • G06Q10/107Computer aided management of electronic mail
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network-specific arrangements or communication protocols supporting networked applications
    • H04L67/06Network-specific arrangements or communication protocols supporting networked applications adapted for file transfer, e.g. file transfer protocol [FTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network-specific arrangements or communication protocols supporting networked applications
    • H04L67/10Network-specific arrangements or communication protocols supporting networked applications in which an application is distributed across nodes in the network
    • H04L67/1002Network-specific arrangements or communication protocols supporting networked applications in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers, e.g. load balancing
    • H04L67/1004Server selection in load balancing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network-specific arrangements or communication protocols supporting networked applications
    • H04L67/10Network-specific arrangements or communication protocols supporting networked applications in which an application is distributed across nodes in the network
    • H04L67/1097Network-specific arrangements or communication protocols supporting networked applications in which an application is distributed across nodes in the network for distributed storage of data in a network, e.g. network file system [NFS], transport mechanisms for storage area networks [SAN] or network attached storage [NAS]

Abstract

The embodiment of the invention provides an electronic attachment storage method and a terminal, belonging to the communication technology field. The method comprises: receiving the uploading request of an electronic attachment sent by an ERP (Enterprise Resource Planning) system application, calling an API interface to upload the electronic attachment to a separating electronic attachment storage system configured for an ERP system in advance; and receiving the storage information of the electronic attachment returned back by the separating electronic attachment storage system, and submitting the storage information to the ERP system, wherein the storage information at least comprises the network storage address of the electronic attachment. According to the embodiment of the invention, the electronic attachment storage method and the terminal perform separation storage of the electronic attachment of the ERP system so as to relieve the network and IO pressure of the ERP system when users upload or download large electronic attachment, reduce the influence on other users' normal operation and improve the ERP system performance.

Description

一种电子附件存储方法及终端 An electronic accessory storage method and a terminal

技术领域 FIELD

[0001] 本发明属于通信技术领域,尤其涉及一种电子附件存储方法及终端。 [0001] The present invention belongs to the field of communication technologies, particularly to a method and a terminal storing electronic accessories.

背景技术 Background technique

[0002] ERP (Enterprise Resource Planning,企业资源计划)系统,由美国Gartner Group公司于1990年提出,是MRP II (Material Require Planning,企业制造资源计划)下一代的制造业系统和资源计划软件。 [0002] ERP (Enterprise Resource Planning, Enterprise Resource Planning) system, proposed by the American firm Gartner Group in 1990, is MRP II (Material Require Planning, enterprise manufacturing resource planning) systems and next-generation manufacturing resource planning software. 除了MRP II已有的生产资源计划、制造、财务、销售、采购等功能外,还有质量管理,实验室管理,业务流程管理,产品数据管理,存货、分销与运输管理,人力资源管理和定期报告系统。 In addition to the existing MRP II manufacturing resource planning, manufacturing, finance, sales, purchasing and other functions, as well as quality management, laboratory management, business process management, product data management, inventory, distribution and transportation management, human resources management and regular reporting system. 目前,在我国ERP所代表的含义已经被扩大,用于企业的各类软件,已经统统被纳入ERP的范畴。 Currently, meaning in our ERP represents has been expanded for enterprises of all types of software, it has all been included in the scope of ERP. 它跳出了传统企业边界,从供应链范围去优化企业的资源,是基于网络经济时代的新一代信息系统。 It jumped out of traditional enterprise boundaries, from the scope of the supply chain to optimize enterprise resources, is a new generation of information systems network based Economy. 它主要用于改善企业业务流程以提高企业核心竞争力。 It is mainly used to improve business processes in order to improve their core competitiveness.

[0003] ERP系统为复杂的系统,一般提供给大型企业机构使用,涉及业务面广,在使用过程产生的电子附件数据量巨大,目前这些电子附件数据一般是直接存储在ERP系统自带的本地文件系统中,这样当用户上传或者下载较大的电子附件时,会对ERP系统造成较大的网络和10压力,或多或少的影响到其他人员并行使用ERP系统,严重影响了ERP系统的性能。 [0003] ERP system is a complex system, generally available to large enterprises use, involving a wide range of business faces enormous amount of data in the course of electronic accessories produced, currently these electronic accessory data is typically stored directly in the ERP system comes with local file system, so that when users upload or download large electronic accessories, the ERP system will result in a larger network and 10 pressure, more or less parallel to other persons using the ERP system, has seriously affected the ERP system performance.

发明内容 SUMMARY

[0004] 有鉴于此,本发明实施例提供了一种电子附件存储方法及终端,以解决现有技术中当用户上传或者下载较大的电子附件时,会对ERP系统造成较大的网络和10压力,或多或少的影响到其他人员并行使用ERP系统,严重影响了ERP系统的性能的问题。 [0004] In view of this, embodiments provide an electronic accessory storage method and a terminal according to the present invention, to solve the prior art, when a user upload or download large electronic accessory, the ERP system will result in a larger network and 10 pressure, more or less parallel to other persons using the ERP system, a serious problem affecting the performance of the ERP system.

[0005] 本发明实施例的第一方面提供了一种电子附件存储方法,包括: [0005] The first aspect of embodiments of the present invention provides an electronic accessory storage method, comprising:

[0006] 接收ERP系统应用发送的电子附件的上传请求,调用API接口将所述电子附件上传至预先为ERP系统配置的分离式电子附件存储系统; [0006] Application of the ERP system receives the upload request transmitted electron attachment, calls the API interface to upload electronic accessory attachments separate electronic storage system configured to advance the ERP system;

[0007] 接收所述分离式电子附件存储系统返回的所述电子附件的存储信息,并将所述存储信息提交至所述ERP系统,所述存储信息至少包括所述电子附件的网络存储地址。 Storing information of the electronic attachment [0007] to receive the separate return electronic accessory storage system, and stores the information submitted to the ERP system, said stored information comprises at least the network address of the electronic storage attachments.

[0008] 本发明实施例的第二方面提供了一种电子附件存储装置,包括: [0008] The second aspect of embodiments of the present invention provides an electronic accessory memory device, comprising:

[0009] 上传请求接收单元,用于接收ERP系统应用发送的电子附件的上传请求; [0009] The upload request receiving unit for receiving an upload request ERP system is application of electronic attachments;

[0010] 电子附件上传单元,用于调用API接口将所述电子附件上传至预先为ERP系统配置的分离式电子附件存储系统; [0010] Electronic accessory upload unit configured to call the API interface to upload electronic accessory attachment to a separate electronic storage system configured to advance the ERP system;

[0011] 附件信息提交单元,用于接收所述分离式电子附件存储系统返回的所述电子附件的存储信息,并将所述存储信息提交至所述ERP系统,所述存储信息至少包括所述电子附件的网络存储地址。 [0011] accessories issuing unit for storing information of said electronic accessory receiving the separate return electronic accessory storage system, and stores the information submitted to the ERP system, said stored information comprises at least network storage address of the electronic accessories.

[0012] 本发明实施例的第三方面提供了一种电子附件存储装置装置,包括存储器、处理器以及存储在所述存储器中并可在所述处理器上运行的计算机程序,其特征在于,所述处理器执行所述计算机程序时实现上述第一方面所述方法的步骤。 [0012] The third aspect of embodiments of the present invention provides an electronic accessory storage means including a memory, a processor and a memory and the computer program running on the processor in the memory, wherein, a first step of the above aspect of the method implemented when executing said computer program processor.

[0013]本发明实施例的第四方面提供了一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,其特征在于,所述计算机程序被处理器执行时实现上述第一方面所述方法的步骤。 [0013] A fourth aspect of an embodiment of the present invention provides a computer-readable storage medium, the computer readable storage medium storing a computer program, characterized in that, to achieve the above first, when executed by a processor of said computer program step aspect of the method.

[0014]本发明实施例与现有技术相比存在的有益效果是: [0014] The advantageous effects compared with the prior art embodiment of the present invention is:

[0015]本发明实施例通过预先为所述ERP系统配置分离式电子附件存储系统,后续在接收到ERP系统应用用户发送的电子附件的上传请求时,通过调用HTTP提供的API接口将电子附件上传并存储至所述分离式电子附件存储系统,并将电子附件在所述分离式电子附件存储系统中的存储信息返回至所述ERP系统,从而可以对ERP系统的电子附件进行分离存储, 减轻用户上传或下载较大的电子附件时,对ERP系统造成的网络和10压力,减少了对其他用户的正常操作造成的影响,提升了ERP系统的性能。 [0015] When the embodiments of the separate pre-configured electronic accessory storage system the ERP system, upon receiving the upload request subsequent electronic accessory application user sends ERP system of the present invention, by calling the API HTTP interface provided by electron attachment upload and stores the separated electronic accessory storage system, and return the electronic information stored in the accessory separate accessory electronic storage system to the ERP system, which can be stored on separate electronic accessory ERP system, reduce user when you upload or download large electronic accessories, on the network caused by the ERP system and 10 pressure to reduce the impact on other users of the normal operation caused enhance the performance of the ERP system.

附图说明 BRIEF DESCRIPTION

[0016]为了更清楚地说明本发明实施例中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。 [0016] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the accompanying drawings briefly described embodiments or the prior art needed to be used in describing the embodiments. Apparently, the drawings described below are merely Some embodiments of the present invention, those of ordinary skill in the art is concerned, without any creative effort, and may also obtain other drawings based on these drawings.

[0017] 图1是本发明一实施例提供的一种电子附件存储装置的外部架构示意图; [0017] FIG. 1 is an external view of an electronic accessory architecture memory device according to an embodiment of the present invention;

[0018] 图2是本发明一实施例提供的一种电子附件存储方法的实现流程示意图; [0018] FIG. 2 is a process implemented method for storing an accessory provided an electronic schematic diagram of one embodiment of the present invention;

[0019]图3是本发明一实施例提供的一种电子附件存储方法的交互流程示意图; [0019] FIG. 3 is an accessory interactive process provided a method for storing an electronic schematic diagram of one embodiment of the present invention;

[0020] 图4是本发明一实施例提供的一种电子附件存储装置的示意性框图; [0020] FIG. 4 is a schematic block diagram of the present invention, an electronic accessory memory device according to an embodiment;

[0021] 图5是本发明一实施例提供的一种电子附件存储装置的示意性框图; [0021] FIG. 5 is a schematic block diagram of an electronic accessory memory device according to an embodiment of the present invention;

[0022]图6是本发明一实施例提供的一种电子附件存储装置的示意性框图。 [0022] FIG. 6 is a schematic block diagram of an electronic accessory memory device according to an embodiment of the present invention.

具体实施方式 Detailed ways

[0023] 以下描述中,为了说明而不是为了限定,提出了诸如特定系统结构、技术之类的具体细节,以便透彻理解本发明实施例。 [0023] In the following description, for purposes of illustration rather than limitation, a system configuration, specific details such as particular techniques and the like, to provide a thorough understanding of embodiments of the present invention. 然而,本领域的技术人员应当清楚,在没有这些具体细节的其它实施例中也可以实现本发明。 However, those skilled in the art will appreciate that, in other embodiments without these specific details of the present invention may be implemented. 在其它情况中,省略对众所周知的系统、装置、电路以及方法的详细说明,以免不必要的细节妨碍本发明的描述。 In other instances, detailed description will be omitted of well-known systems, devices, circuits, and methods, to avoid unnecessary obscure the description of the details of the present invention.

[0024] 为了说明本发明所述的技术方案,下面通过具体实施例来进行说明。 [0024] In order to describe the technical solutions of the present invention will be illustrated by specific examples.

[0025] 图1示出了本发明一实施例提供的电子附件存储装置的外部架构图。 [0025] FIG. 1 shows a schematic diagram of the present invention, an electronic accessory external storage apparatus according to an embodiment. 为了便于说明,仅示出了与本实施例相关的部分。 For ease of description, only a part related to the present embodiment.

[0026] 参照图1,该电子附件存储装置的外部架构包括用户端的浏览器客户端、负载均衡设备、ERP系统、分离式电子附件管理系统以及身份验证系统,其中所述浏览器客户端通过所述负载均衡设备与所述ERP系统、所述分离式电子附件管理系统无线通信连接,所述ERP 系统通过所述负载均衡设备与所述分离式电子附件管理系统和所述身份认证系统无线通信连接,所述身份认证系统用于对登录所述ERP系统的用户进行身份验证。 [0026] Referring to FIG. 1, the external architecture of the electronic accessory memory device includes a user terminal browser client, the load balancing device, ERP systems, separate electronic accessory management system and authentication system, wherein said browser client via the said load balancing apparatus with the ERP system, a separate electronic accessory wireless communication connection management system, ERP system, the said device connecting the load balancing separate accessory management system and the electronic identification system by wireless communication with the authentication system for the ERP system user login authentication.

[0027] 基于图1所示的系统结构,以下结合具体的实施例对本发明实施例提供的电子附件存储方法进行详细阐述: _ [0027] The system configuration shown in FIG. 1 based on the following embodiments with reference to specific embodiments an electronic accessory storage method provided in embodiments of the present invention is explained in greater detail: _

[0028] 图2是本发明一实施例提供的一种电子附件存储方法的不意流程图,该方法的执行主体为图1所示的浏览器客户端。 [0028] FIG 2 is a flowchart illustrating an electronic accessory intended storage method according to an embodiment of the present invention, a subject that performs the method as shown in FIG browser client. 参见图2所示,本实施例提供的一种电子附件存储方法, 可以包括以下步骤: Referring to FIG. 2, the present method of storing an electronic accessory according to an embodiment may include the steps of:

[0029] 步骤S201,接收ERP系统应用发送的电子附件的上传请求,调用API接口将所述电子附件上传至预先为ERP系统配置的分离式电子附件存储系统。 [0029] step S201, the ERP system application receives an upload request transmitted electron attachment, calls the API interface to upload electronic accessory attachments separate electronic storage system configured to advance the ERP system.

[0030] 优选的,在本实施例中,通过基于HTTP协议的浏览器客户端接收ERP系统应用发送的电子附件的上传请求,所述浏览器客户端提供有访问所述分离式电子附件存储系统的API接口,当所述浏览器客户端接收到所述电子附件的上传请求后,会调用所述API接口,通过所述API接口将所述电子附件上传至所述分离式电子附件存储系统进行存储。 [0030] Preferably, in the present embodiment, the browser client HTTP protocol based ERP system receiving an upload request sent from the electronic accessory application, the browser client is provided with access to the separate electronic accessory storage system API interface, when the browser client receives the upload request of the electron attachment, calls the API interface, an interface to upload the electronic accessory attachment to said separate electronic storage system through the API for storage.

[0031]优选的,在本实施例中,在调用所述API接口将所述电子附件上传至所述分离式电子附件存储系统进行存储前还包括: [0031] Preferably, in the present embodiment, the API call interface to upload the electronic accessory attachment to said separate electronic memory storage system before further comprises:

[0032]对所述ERP系统应用进行数字签名验证,确定所述ERP系统应用是否具有调用所述API接口上传电子附件到所述分离式电子附件存储系统的权限; [0032] Digital signature verification system of the ERP application, the ERP system determines whether the application calls the API interface to upload electronic accessory attachment to said separate electronic storage system of rights;

[0033]若数字签名验证通过,则允许所述ERP系统应用调用所述API接口将所述电子附件上传至预先为ERP系统配置的分离式电子附件存储系统; [0033] If the digital signature is verified, the ERP system allowing the application calls the API interface to upload the electronic accessory attachments separate electronic storage system configured to advance the ERP system;

[0034]若数字签名验证失败,则禁止所述ERP系统应用调用所述API接口将所述电子附件上传至预先为ERP系统配置的分离式电子附件存储系统。 [0034] If digital signature verification fails, then the system prohibits the ERP application calls the API interface to upload electronic accessory attachments separate electronic storage system configured to advance the ERP system.

[0035] 优选的,在本实施例中,数据签名验证的具体过程如下: [0035] Preferably, in the present embodiment, the specific data of the signature verification process is as follows:

[0036]预先为所述ERP系统定义应用私钥和应用公钥,分别将所述应用私钥和所述应用公钥存储至所述ERP系统应用和所述浏览器客户端内; [0036] The ERP system is a pre-defined application private key and public applications, the applications are applications in the private key and the public key stored in the application and the ERP system browser client;

[0037] 在所述ERP系统应用向所述浏览器客户端发送电子附件的上传请求前,米用所述应用私钥对所述上传请求中携带的请求参数进行加密; Upload request before the [0037] Application in the ERP system to send an electronic accessory end of the browser client, a request for private key parameters of the meter upload request carries encrypted with said application;

[0038] 所述浏览器客户端接收到加密后的电子附件请求后,采用所述应用公钥对所述上传请求中携带的请求参数进行解密; [0038] The browser, after receiving a request for electronic accessories encrypted using the public key of the application requesting the uploaded parameters carried in the request to decrypt;

[0039] 若解密成功,则数字签名验证通过,说明所述ERP系统应用具有调用所述API接口的权限,此时允许所述ERP系统应用调用所述API接口将所述电子附件上传至所述分离式电子附件存储系统; [0039] If decryption is successful, then the digital signature verification by the ERP system described application have permission to invoke the API interface, in which case the system allows the ERP application calls the API interface to upload the electronic attachment separate electronic accessory storage system;

[0040] 若解密失败,则数字签名验证失败,说明所述ERP系统应用不具有调用所述API接口的权限,此时禁止所述ERP系统调用所述ERP系统将所述电子附件上传至所述分离式电子附件存储系统。 [0040] If the decryption fails, the digital signature verification fails, the application of the ERP system does not have permission to invoke the API interface, the ERP system is disabled and the ERP system calls the electronic accessory to the upload separate electronic accessory storage system.

[0041] 步骤S202,接收所述分离式电子附件存储系统返回的所述电子附件的存储信息, 并将所述存储信息提交至所述ERP系统,所述存储信息至少包括所述电子附件的网络存储地址。 [0041] Step S202, the stored information of the electronic accessory receiving the separate return electronic accessory storage system, and stores the information submitted to the ERP system, said stored information comprises at least a network of the electronic accessory memory address.

[0042] 优选的,在本实施例中,所述分离式电子附件存储系统在接收到所述电子附件的上传请求后,会判断所述上传请求是否指定由关联的资料库,若指定有关联的资料库,则直接将所述电子附件上传至指定的关联资料库;若没有指定关联的资料库,则根据所述ERP系统应用的业务名称,在所述分离式电子附件存储系统内创建一个以所述ERP系统应用的业务名称命名的资料库,并将所述电子附件上传至创建的资料库中。 [0042] Preferably, in the present embodiment, the separate electronic accessory storage system after receiving the upload request electronic accessory, determines whether or not the upload request is specified by the associated database if specified associated repository, the electron attachment directly uploaded to the specified relational databases; if not specified in the associated database according to the service name of the application to the ERP system, create a separate within said electronic accessory storage system business name to the ERP system application named library and the electronic attachment upload databases to create.

[0043] 优选的,在本实施例中,所述分离式电子附件存储系统在将所述电子附件存储至对应的资料库中,会将所述电子附件的存储信息发送至所述ERP系统,所述电子附件的存储信息包括但不限于所述电子附件的网络存储地址,例如:在其他实现示例中,所述电子附件的存储信息还可以包括所述电子附件的名称、文件大小等。 [0043] Preferably, in the present embodiment, the storage system separate electronic accessory attachment in the electronic information stored in a corresponding database, the stored information will be sent to the electronic accessory ERP system, storing information of the electronic accessory including but not limited to the network storage address of the electronic accessories, such as: in another implementation example, the electronic accessory stores further information may include the name of the electronic attachment, the file size.

[0044]在本实施例中,由于将电子附件存储至预先为所述ERP系统配置的分离式电子附件存储系统中,仅将电子附件的存储信息,例如:电子附件的网络存储地址、电子附件的名称和文件大小反馈至所述ERP系统,当用户需要访问或下载所述电子附件时,仅需通过ERP 系统接收到的电子附件存储信息从分离式电子附件存储系统访问或下载所述电子附件即可,这样不仅可以减少ERP系统内存的占用,而且还可以减轻用户上传或下载较大的电子附件时,对ERP系统造成的网络和10压力,提升ERP系统的性能。 [0044] In the present embodiment, since the electronic accessory attachments stored in separate electronic storage system configured to advance the ERP system, storing only the information of the electronic accessories, such as: network storage address of the electronic accessories, electronic accessories the name and the file size is fed back to the ERP system, when a user needs to access or download the electronic accessory is, only received by the ERP system from accessing information stored in an electronic accessory separate electronic accessory storage system or download the electronic attachment It can, so not only can reduce the ERP system memory usage, but also can reduce the user to upload or download large electronic accessories, network ERP system and 10 cause the pressure to improve the performance of ERP systems.

[0045]以上可以看出,本实施例提供的一种电子附件存储方法,由于通过预先为所述ERP 系统配置分离式电子附件存储系统,后续在接收到ERP系统应用用户发送的电子附件的上传请求时,通过调用HTTP提供的API接口将电子附件上传并存储至所述分离式电子附件存储系统,并将电子附件在所述分离式电子附件存储系统中的存储信息返回至所述ERP系统, 从而可以对ERP系统的电子附件进行分离存储,减轻用户上传或下载较大的电子附件时,对ERP系统造成的网络和10压力,减少了对其他用户的正常操作造成的影响,提升了ERP系统的性能。 [0045] As can be seen above, an electronic accessory storage method provided in the present embodiment, since the pre-configured by separate electronic accessory storage system of the ERP system, an electronic accessory receiving subsequent ERP system application sent by the user to upload request by calling API HTTP interface provided by electronic attachments to the separator uploaded and stored electronic accessory storage system, and return the electronic information stored in the accessory separate accessory electronic storage system to the ERP system, whereby the electronic accessory can be separate storage ERP system, reduce the user to upload or download large electronic accessories, caused by network ERP system 10 and pressure to reduce the impact on other users caused by the normal operation, to enhance the ERP system performance.

[0046]图3是本发明一实施例提供的一种电子附件存储方法的示意流程图,该方法的执行主体为图1所示的浏览器客户端。 [0046] FIG. 3 is a schematic flow diagram of a method of storing an electronic accessory embodiment of the present invention to provide an embodiment, the subject method is performed browser client shown in FIG. 参见图3所示,本实施例提供的一种电子附件存储方法, 包括: Referring to FIG. 3, the present method of storing an electronic accessory according to an embodiment, comprising:

[0047] 步骤S301,接收ERP系统应用发送的电子附件的上传请求。 [0047] step S301, the ERP system application receives an upload request transmitted electron attachment.

[0048]该步骤的实现方式与上一实施例中接收ERP系统应用发送的电子附件的上传请求的实现方式完全相同,在此不再赘述。 [0048] The implementation of this step is the same as in Example ERP system application receives an upload request of the implementation of the electronic attachment sent with the previous embodiments, not described herein again.

[0049] 步骤S302,调用API接口查询所述分离式电子附件存储系统中是否存储有与所述电子附件相同的文件;若存储有与所述电子附件相同的文件,则进入步骤S303;若未存储有与所述电子附件相同的文件,则进入步骤S304。 [0049] Step S302, the call is stored with the same file attachment of the electronic querying the API interface separate electronic accessory storage system; if the electronic accessory stores the same file, the process proceeds to step S303; if not electronic accessory stores the same file, the process proceeds to step S304.

[0050] 优选的,在本实施例中,在调用API接口访问所述分离式电子附件存储系统之前还可以包括:对所述ERP系统应用进行数字签名验证,确定所述ERP系统应用是否具有调用所述API接口的权限。 [0050] Preferably, in the present embodiment, prior to calling the API interface to access separate electronic accessory storage system may further comprise: digital signature verification system of the ERP application, the ERP system determines whether the calling application the API access interface. 其具体验证方式与上一实施例中相同,在此不再赘述。 Specific authentication mode As in the previous embodiments, not described herein again.

[0051] 优选的,在本实施例中,所述查询所述分离式电子附件存储系统中是否存储有与所述电子附件相同的文件包括: [0051] Preferably, in the present embodiment, the electronic querying the separate accessory storage system whether the electronic accessory stores the same file comprises:

[0052] 采用哈希算法计算对所述电子附件中的文件内容进行哈希计算,得到所述电子附件的哈希值,同时获取所述电子附件的文件大小; [0052] The use of hashing algorithm to the electronic content file attachments are hashed to obtain a hash value of said electronic accessory, while obtaining the electronic file size of the attachment;

[0053] 查询所述分离式电子附件存储系统中是否有哈希值和文件大小均与所述电子附件相同的文件; Whether there are hash values ​​and file sizes of the electronic accessory same file [0053] querying the separate electronic accessory storage system;

[0054] 根据查询结果确定所述分离式电子附件存储系统中是否存储有与所述电子附件相同的文件。 [0054] The determination whether the query result is stored with the same file of the electronic accessory separate electronic accessory storage system.

[0055] 优选的,在本实施例中,所述根据查询结果确定所述分离式电子附件存储系统中存储与所述电子附件相同的文件包括: [0055] Preferably, in the present embodiment, the determining the separate electronic accessory storage system with the same file stored in said electronic accessory according to the query result comprises:

[0056] 若所述分离式电子附件存储系统中有哈希值和文件大小均与所述电子附件相同的文件,则说明所述分离式电子附件存储系统中有与所述电子附件相同的文件; [0056] If there is a hash value of the file size and all the electronic files of the same accessory separate electronic accessory storage system, then the separate electronic accessory storage system has the same electronic document attachment ;

[0057]若所述分离式电子附件存储系统中没有匹配到哈希值和文件大小均与所述电子附件相同的文件,则说明所述分离式电子附件存储系统中没有与所述电子附件相同的文件。 [0057] If the separate electronic accessory storage system does not match the hash values ​​and file sizes are the same electronic document attachment, then the attachment is not the same as the electronic separate electronic accessory storage system document.

[0058]需要说明的是,在其他实现示例中,也可以仅通过文件内容的哈希值是否相同来判断两个文件是否为相同的文件,本实施例中采用的通过哈希值和文件大小同时来判断两个文件是否为相同的文件,可以进一步保证判断结果的精确度,避免出现不同文件内容哈希值相同的情况。 [0058] Note that, in other implementation example, may be determined only by the contents of the file hash value is the same whether two documents have the same document, in the embodiment by using the hash value of the present embodiment and the file size while the two files to determine whether the same file, you can further ensure the accuracy of the determination result, to avoid the same file contents hash value different situation.

[0059]步骤S3〇3,直接产生对应的文件记录,关联上所述文件的存储位置,将所述文件记录提交至所述ERP系统。 [0059] Step S3〇3 directly generate a corresponding file recorded on the storage location associated with the file, the file records submitted to the ERP system.

[0060]在本实施例中,由于在检测到分离式电子附件存储系统中存储有与待上传的电子附件内容相同的文件时,直接产生对应的文件记录,建立所述文件记录和与所述电子附件内容相同的文件的存储位置的关联,然后将所述文件记录提交至所述ERP系统,从而可以避免重复上传,节省网络流量,进一步的提升用户体验。 [0060] In the present embodiment, since the detection time in separate electronic accessory storage system stores a content of an electronic accessory to be uploaded to the same file, the corresponding file record generated directly establishing the recording and the file the same attachment content associated with the electronic file storage location, the file is then submitted to the ERP recording system, thereby avoiding duplicate upload save network traffic, to further enhance the user experience.

[0061]优选的,在本实施例中,在将所述文件记录提交给所述ERP系统后还可以包括:将上传结果返回至所述ERP系统应用用户。 [0061] Preferably, in the present embodiment, to be submitted in the file after recording the ERP system may further comprising: uploading the results returned to the user application ERP system. 例如:可提示用户文件上传成功,或者提示用户所述分离电子系统中存储有与所述电子附件内容相同的文件,已经生成对应的文件记录提交至所述ERP系统。 For example: user may be prompted to upload a file successfully, or prompt the user files stored in the separate electronic system with the same accessory electronic content, the corresponding file has been generated the records submitted to the ERP system.

[0062]另外,本实施例中,由于在分离式电子附件存储系统中有与所述电子附件内容相同的文件时,可以直接生成文件记录,将文件记录提交至ERP系统,而无需将电子附件上传至IJERP系统中,因此,整个过程可以在数秒内完成,在有效的减少了网络传输时间和网络传输流量的同时,也大大提升了用户体验,节省了大量的系统开销。 [0062] In the present embodiment, when the accessory due to the electronic content in the same file separate electronic accessory storage system can be generated directly file record, the file record submitted to the ERP system, without the electron attachment IJERP uploaded to the system, therefore, the whole process can be completed in a few seconds, in effectively reducing network latency and network traffic flow, but also greatly enhance the user experience and save a lot of overhead.

[0063]步骤S304,调用API接口将所述电子附件上传至预先为ERP系统配置的分离式电子附件存储系统。 [0063] step S304, the call to the API interface to upload electronic accessory attachments separate electronic storage system configured to advance the ERP system.

[00M]优选的,在本实施例中,所述上传请求携带有所述ERP系统应用的用户地区标识, 所述分离式电子附件存储系统采用异地化分布式文件系统,包括多个异地缓存节点。 [00M] Preferably, in the present embodiment, the upload request carries a user identifier of the area of ​​application of ERP systems, the separate electronic accessory remote storage systems of a distributed file system comprising a plurality of caching nodes remote . 步骤S204具体包括: Step S204 comprises:

[0065] 根据所述用户地区标识确定距离用户最近的异地缓存节点,调用API接口将所述电子附件上传至所述距离用户最近的异地缓存节点。 [0065] identifier, that places closest to the user caching node according to the user area, call the API interface the electronic accessory uploaded to the remote cache closest to the user node.

[GG66] 本实施例中,当用户的ERP系统机构复杂分布在较大范围时,可通过部署电子附件存储系统的异地缓存节点,建立异地化分布式文件系统,其中,异地缓存节点可理解为系统的镜像服务器/集群节点,通过镜像服务器/集群节点可让ERP系统应用用户就近访问,例如:若一个企业的总部在华南地区,异地化分布式文件系统的主服务器则部署在华南地区, 但企业的机构及用户可能分布在全国各地,针对此种,若用户从东北、华西等地区访问部署在华南地区的主服务器,则会因为网络问题,造成上传文件、下载文件速度慢,而本实施例中通过在对应的东北、华西等地区的机房搭建镜像服务器集群节点,通过网络DNS解析的策略分配,按区域将用户指向到最近的服务器节点进行方法,可以有效的解决系统访问上传文件、下载文件速度慢问题以及网络带宽拥堵 [GG66] In this embodiment, when the user's ERP system distributed over a wide range of complex mechanisms, caching nodes may be deployed by remote electronic accessory storage system, the establishment of remote distributed file system, wherein the remote cache node may be understood to mirror server / cluster nodes in the system, by mirroring the server / cluster nodes ERP system allows user applications to access nearby, for example: If a company based in southern China, in different places of the master server distributed file system is deployed in southern China, but corporate bodies and users may be distributed throughout the country, for this, if the user accesses the main server is deployed in southern China from the Northeast, West and other regions, it will be because of network problems, resulting upload files, download files is slow, and this implementation Example set up by the room in the corresponding Northeast, West and other regions of the mirror server cluster node, parse through the network DNS policy assignments, by region will point users to the nearest server node method can effectively solve the system access to upload, download files are slow to issue and network bandwidth congestion 问题。 Problem.

[0067]步骤S305,接收所述分离式电子附件存储系统返回的所述电子附件的存储信息, 并将所述存储信息提交至所述ERP系统,所述存储信息至少包括所述电子附件的网络存储地址。 [0067] step S305, the stored information of the electronic accessory receiving the separate return electronic accessory storage system, and stores the information submitted to the ERP system, said stored information comprises at least a network of the electronic accessory memory address.

[0068]该步骤的实现方式与上一实施例中步骤S102的实现方式完全相同,因此在此不再赘述。 [0068] The implementation of this step is identical to step S102 as in the implementation of the previous embodiment, and therefore not repeated here.

[0069]以上可以看出,相对于上一实施例,本实施例中由于在查询到分离电子存储系统中存储有与所述电子附件内容相同的内容时,直接生成对应的文件记录提交至ERP系统,从而可以避免重复上传,节省网络流量,进一步的提升用户体验;此外,相对于上一实施例,本实施例中的分离式电子附件存储系统由于采用异地分布式文件系统,可以使得ERP系统应用在上传或下载电子附件时,访问就近的异地缓存节点,从而可以提升上传文件、下载文件的速度,减少网络宽带拥堵压力。 [0069] As can be seen above, with respect to the previous embodiment, since the present embodiment is separated from the electronic storage system stores the attachment content in an electronic query to the same content, the corresponding file record generated directly submitted to the ERP system, thus avoiding duplicate upload save network traffic, to further enhance the user experience; Furthermore, with respect to the previous embodiment, this embodiment separate electronic accessory storage system thanks to a geographically distributed file system, such that the ERP system applied when uploading or downloading electronic accessories, remote access node cache nearby, so you can upload files to enhance the speed of downloading files, reducing network bandwidth congestion pressure.

[0070] 图4是本发明一实施例提供的一种电子附件存储装置的示意性框图,该装置位于图1所不的浏览器客户端中。 [0070] FIG. 4 is a schematic block diagram of an electronic accessory memory device according to an embodiment of the present invention, the device is not located in a client browser in FIG. 为了便于说明,仅仅示出了与本实施例相关的部分。 For convenience of explanation, only a part related to the present embodiment.

[0071] 参见图4所示,本实施例提供的一种电子附件存储装置4,包括: [0071] Referring to FIG. 4, the present embodiment of an electronic memory device provided in Annex 4, comprising:

[0072]上传请求接收单元41,用于接收ERP系统应用发送的电子附件的上传请求; [0072] The upload request receiving unit 41, for receiving an upload request ERP system is application of electronic attachments;

[0073]电子附件上传单元42,用于调用API接口将所述电子附件上传至预先为ERP系统配置的分离式电子附件存储系统; [0073] Electronic accessory upload unit 42, for calling the API interface to upload electronic accessory attachments separate electronic storage system configured to advance the ERP system;

[0074]附件信息提交单元43,用于接收所述分离式电子附件存储系统返回的所述电子附件的存储信息,并将所述存储信息提交至所述ERP系统,所述存储信息至少包括所述电子附件的网络存储地址。 [0074] The accessory information issuing unit 43, the electronic accessory for storing information to receive the separate return electronic accessory storage system, and stores the information submitted to the ERP system, said stored information comprises at least the storing said network address of the electronic attachments.

[0075]可选的,参见图5所示,在另一实施例中,所述的电子附件存储装置5还包括数字签名认证单元54,用于: [0075] Optionally, referring to FIG. 5, in another embodiment, the electronic accessory storage device 5 further comprises a digital signature authentication unit 54, configured to:

[0076]对所述ERP系统应用进行数字签名验证,确定所述ERP系统应用是否具有调用所述API接口上传电子附件到所述分离式电子附件存储系统的权限; [0076] Digital signature verification system of the ERP application, the ERP system determines whether the application calls the API interface to upload electronic accessory attachment to said separate electronic storage system of rights;

[0077] 若数字签名验证通过,则允许所述ERP系统应用调用所述API接口将所述电子附件上传至预先为ERP系统配置的分离式电子附件存储系统; [0077] If the digital signature is verified, the ERP system allowing the application calls the API interface to upload the electronic accessory attachments separate electronic storage system configured to advance the ERP system;

[0078] 若数字签名验证失败,则禁止所述ERP系统应用调用所述API接口将所述电子附件上传至预先为ERP系统配置的分离式电子附件存储系统。 [0078] If digital signature verification fails, then the system prohibits the ERP application calls the API interface to upload electronic accessory attachments separate electronic storage system configured to advance the ERP system.

[0079] 可选的,所述分离式电子附件存储系统采用异地化分布式文件系统,包括多个异地缓存节点;所述电子附件上传单元52具体用于: [0079] Alternatively, a separate remote electronic accessory storage systems of a distributed file system comprising a plurality of remote cache node; said electronic accessory upload unit 52 is specifically configured to:

[0080] 接收所述ERP系统应用发送的电子附件的上传请求,所述上传请求携带有所述ERP 系统应用的用户地区标识; [0080] The upload request receiving electronic accessory of ERP system sends the upload request carries the user application area ERP system identifier;

[0081] 根据所述用户地区标识确定距离用户最近的异地缓存节点,调用AH接口将所述电子附件上传至所述距离用户最近的异地缓存节点。 [0081] identifier, that places closest to the user caching node according to the user area, call the electronic accessory interface AH uploaded to the remote cache closest to the user node.

[0082] 可选的,所述的电子附件存储装置5还包括: _ [0082] Alternatively, the electronic accessory storage device 5 further comprising: _

[0083] 电子附件匹配单元55,用于在将所述电子附件上传至预先为ERP系统配置的分离式电子附件存储系统之前,查询所述分离式电子附件存储系统中是否存储有与所述电子附件相同的文件; > [0083] Electronic matching attachment means 55 for attachment prior to uploading to the electronic accessory separate electronic storage system configured to advance the ERP system, querying the separate electronic accessory stores a storage system whether the electronic the same file attachments;>

[0084] 文件记录生成单元56,用于若存储有与所述电子附件相同的文件,则直接产生对应的文件记录,关联上所述文件的存储位置,将所述文件记录提交至所述ERP系统。 [0084] file record generating unit 56, if stored for the same electronic document attachment, directly generate a corresponding file recorded on the storage location of the file associated with the recording of the document submitted to the ERP system.

[0085] 可选的,所述电子附件匹配单元55具体用于: [0085] Optionally, the electronic accessory matching unit 55 is configured to:

[0086] 采用哈希算法计算对所述电子附件中的文件内容进行哈希计算,得到所述电子附件的哈希值,同时获取所述电子附件的文件大小; [0086] The hash algorithm to the content of the electronic file attachments are hashed to obtain a hash value of said electronic accessory, while obtaining the electronic file size of the attachment;

[0087] 查询所述分离式电子附件存储系统中是否有哈希值和文件大小均与所述电子附件相同的文件; Whether there are hash values ​​and file sizes of the electronic accessory same file [0087] querying the separate electronic accessory storage system;

[0088] 根据查询结果确定所述分离式电子附件存储系统中存储有与所述电子附件相同的文件。 [0088] The determination result of the query separate electronic accessory storage system stores a file of the same electronic accessory.

[0089] 需要说明的是,本发明实施例提供的上述装置中的各个单元,由于与本发明方法实施例基于同一构思,其带来的技术效果与本发明方法实施例相同,具体内容可参见本发明方法实施例中的叙述,此处不再赘述。 [0089] Incidentally, the above-described respective units of the apparatus provided in the embodiment of the present invention, since the method embodiments of the present invention based on the same idea, the technical effects and it brings the method same as the embodiment of the present invention, reference may be made in the embodiment described embodiment of the inventive method will not be repeated here.

[0090] 以上可以看出,本发明实施例提供的一种电子附件存储装置,同样由于采用分离式电子附件存储系统对ERP系统的电子附件进行分离存储,从而可以减轻用户上传或下载较大的电子附件时,对ERP系统造成的网络和1〇压力,减少了对其他用户的正常操作造成的影响,提升了ERP系统的性能。 [0090] As can be seen above, an electronic accessory memory device according to an embodiment of the present invention, also due to the use of separate electronic accessory electronic accessory storage system separated storage ERP system, which can reduce the user to upload or download large electronic accessories, on the network caused by the ERP system and 1〇 pressure to reduce the impact on other users of the normal operation caused enhance the performance of the ERP system.

[0091] 应理解,上述实施例中各步骤的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本发明实施例的实施过程构成任何限定。 [0091] It should be understood, the above-described embodiment the size of the number of steps is not meant execution sequence, the order of execution processes should be determined by its function and internal logic, not for an embodiment of the present invention, the procedure of Example configuration any defined.

[0092] 图6是本发明一实施例提供的一种电子附件存储装置的示意图。 [0092] FIG. 6 is a schematic view of an electronic accessory memory device according to an embodiment of the present invention. 如图6所示,该实施例的电子附件存储装置/终端设备6包括:处理器60、存储器61以及存储在所述存储器61 中并可在所述处理器60上运行的计算机程序62。 6, the electronic accessory memory device of this embodiment is / terminal device 6 comprises: a processor 60, a memory 61 and a memory and the computer program running on the processor 6062 in the memory 61. 所述处理器6〇执行所述计算机程序62时实现上述各个电子附件存储方法实施例中的步骤,例如图1所示的步骤1至1 〇4。 The computer program executed by the processor implement 6〇 62 above the respective electronic accessory storage method steps in the embodiment, for example, steps shown in FIG. 1 1-1 〇4. 或者,所述处理器60执行所述计算机程序62时实现上述各装置实施例中各模块/单元的功能,例如图4 所示模块41至43的功能。 Alternatively, the processor 60 executes the computer program realizing the functions 62 in each module / unit of each of the above embodiments means, for example, functional modules 41 to 43 shown in Fig.

[0093] 示例性的,所述计算机程序62可以被分割成一个或多个模块/单元,所述一个或者多个模块/单元被存储在所述存储器61中,并由所述处理器60执行,以完成本发明。 [0093] Exemplary, the computer program 62 may be partitioned into one or more modules / units, the one or more modules / units are in the memory 61, the processor 60 executes a program stored by to complete the present invention. 所述一个或多个模块/单元可以是能够完成特定功能的一系列计算机程序指令段,该指令段用于描述所述计算机程序62在所述电子附件存储装置中的执行过程。 The one or more modules / units may be able to complete a series of computer program specific function instruction section, the instruction execution section describes a process for the computer program 62 stored in the electronic accessory device. 例如,所述计算机程序62 可以被分割成图4所示的电子附件上传单元、附件信息提交单元,各单元具体功能如下: For example, the computer program 62 may be divided into upload electronic accessory unit shown in FIG. 4, the attachment information issuing unit, each unit specific functions are as follows:

[0094] 上传请求接收单元,用于接收ERP系统应用发送的电子附件的上传请求; [0094] The upload request receiving unit for receiving an upload request ERP system is application of electronic attachments;

[0095] 电子附件上传单元,用于调用API接口将所述电子附件上传至预先为ERP系统配置的分离式电子附件存储系统; [0095] Electronic accessory upload unit configured to call the API interface to upload electronic accessory attachment to a separate electronic storage system configured to advance the ERP system;

[0096] 附件信息提交单元,用于接收所述分离式电子附件存储系统返回的所述电子附件的存储信息,并将所述存储信息提交至所述ERP系统,所述存储信息至少包括所述电子附件的网络存储地址。 [0096] accessories issuing unit for storing information of said electronic accessory receiving the separate return electronic accessory storage system, and stores the information submitted to the ERP system, said stored information comprises at least network storage address of the electronic accessories.

[0097] 所述电子附件存储装置6可以是桌上型计算机、笔记本、掌上电脑及云端服务器等计算设备。 The [0097] electronic accessory storage device 6 may be a desktop computer, a laptop, handheld computers and other computing devices and a cloud server. 所述电子附件存储装置可包括,但不仅限于,处理器6〇、存储器61。 The electronic accessory storage device may include, but are not limited to, 6〇 processor, memory 61. 本领域技术人员可以理解,图6仅仅是电子附件存储装置6的示例,并不构成对电子附件存储装置6的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件,例如所述电子附件存储装置还可以包括输入输出设备、网络接入设备、总线等。 Those skilled in the art will appreciate, FIG. 6 is merely an example of an electronic accessory storage means 6, does not constitute a limitation electronic accessory storage device 6 may comprise more or fewer components than shown, or a combination of some of the components, or different components, for example, the electronic accessory can further include a storage device input and output devices, a network access device, a bus and the like.

[0098] 所称处理器60可以是中央处理单元(Central Processing Unit,CPU),还可以是其他通用处理器、数字信号处理器(Digital Signal Pr〇Cess〇r,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现成可编程门阵列(Field-Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、 分立硬件组件等。 [0098] The processor 60 may be called a central processing unit (Central Processing Unit, CPU), may be other general purpose processor, a digital signal processor (Digital Signal Pr〇Cess〇r, the DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), field programmable gate arrays (Field-programmable gate array, FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components like. 通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。 A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.

[0099] 所述存储器61可以是所述电子附件存储装置终端设备6的内部存储单元,例如电子附件存储装置6的硬盘或内存。 The [0099] Memory 61 may be an accessory to the electronic device's internal storage device of the terminal storage unit 6, for example, a hard disk or an electronic memory storage device 6 accessory. 所述存储器61也可以是所述电子附件存储装置的外部存储设备,例如所述电子附件存储装置6上配备的插接式硬盘,智能存储卡(Smart Media Card,SMC),安全数字(Secure Digital,SD)卡,闪存卡(Flash Card)等。 The memory 61 may be an external storage device of said accessory electronic storage device, for example the accessory electronic storage device 6 is equipped with a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital , SD) card, flash memory card (Flash card) and so on. 进一步地,所述存储器61还可以既包括所述电子附件存储装置6的内部存储单元也包括外部存储设备。 Further, the memory 61 may further include both an internal storage means of the electronic accessory storage unit 6 also includes an external storage device. 所述存储器61用于存储所述计算机程序以及所述电子附件存储装置所需的其他程序和数据。 The additional memory 61 for storing programs and data necessary for the computer program and the electronic accessory storage means. 所述存储器61还可以用于暂时地存储已经输出或者将要输出的数据。 The memory 61 may also be used to temporarily store the output data has been or will be output.

[0100] 所属领域的技术人员可以清楚地了解到,为了描述的方便和简洁,仅以上述各功能单元、模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能单元、模块完成,即将所述装置的内部结构划分成不同的功能单元或模块,以完成以上描述的全部或者部分功能。 [0100] Those skilled in the art may clearly understand that, for convenience and brevity of description, only the division of each of the modules illustrated functional units, in practice, may assign different from the above-described functions according to the needs functional units, modules completed, the internal structure of the apparatus is divided into different functional units or modules to complete all or part of the functions described above. 实施例中的各功能单元、模块可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中,上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。 Each functional unit in the embodiment, the module may be integrated into a processing unit, separate units may be physically present, may be two or more units are integrated into one unit, The integrated unit may be a hardware implemented in the form, in the form of a software functional unit may also be implemented. 另外,各功能单元、模块的具体名称也只是为了便于相互区分,并不用于限制本申请的保护范围。 Further, each of the functional units, the specific name of the module is also distinguished from each other for convenience only, and are not intended to limit the scope of the present disclosure. 上述系统中单元、模块的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。 Specific working process of the above system units, modules can refer to the corresponding process in the method embodiment, which is not repeated herein. [0101]在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述或记载的部分,可以参见其它实施例的相关描述。 [0101] In the above embodiment, the description of the various embodiments have different emphases, certain embodiments not described in detail or described in section, reference may be related to other embodiments of the described embodiments.

[0102] 本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。 [0102] Those of ordinary skill in the art may be aware, incorporated herein disclosed units and algorithm steps described in the respective exemplary embodiments, it is possible to incorporate electronic hardware, computer software and electronic hardware, or be implemented. 这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。 Whether these functions are performed by hardware or software depends upon the particular application and design constraints of the technical solutions. 专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发明的范围。 Professional technical staff may use different methods for each specific application to implement the described functionality, but such implementation should not be considered outside the scope of the present invention.

[0103] 在本发明所提供的实施例中,应该理解到,所揭露的装置/终端设备和方法,可以通过其它的方式实现。 [0103] In an embodiment of the present invention is provided, it should be understood that the disclosed apparatus / terminals and methods, may be implemented in other manners. 例如,以上所描述的装置/终端设备实施例仅仅是示意性的,例如,所述模块或单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。 For example, the device described above / terminal device embodiments are merely exemplary, e.g., the module or unit division is merely logical function division, there may be other division in actual implementation, a plurality of units e.g. or components may be combined or integrated into another system, or some features may be ignored or not performed. 另一点,所显示或讨论的相互之间的耦合或直接耦合或通讯连接可以是通过一些接口,装置或单元的间接耦合或通讯连接,可以是电性,机械或其它的形式。 Another point, displayed or coupled or directly coupled or discussed mutual communication connection may be through some interface, device, or indirect coupling or communication connection unit, may be electrical, mechanical, or other forms.

[0104] 所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。 [0104] The unit described as separate components may be or may not be physically separate, parts displayed as units may be or may not be physical units, i.e. may be located in one place, or may be distributed to a plurality of networks unit. 可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。 You can select some or all of the units according to actual needs to achieve the object of the solutions of the embodiments.

[0105] 另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。 [0105] Additionally, functional units may be integrated in various embodiments of the present invention in a processing unit, separate units may be physically present, may be two or more units are integrated into one unit. 上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。 The integrated unit may be implemented in the form of hardware, software functional units may also be implemented.

[0106]所述集成的模块/单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。 [0106] The integrated modules / units, and if implemented as an independent product sold or used in the form of a software functional unit may be stored in a computer-readable storage medium. 基于这样的理解,本发明实现上述实施例方法中的全部或部分流程,也可以通过计算机程序来指令相关的硬件来完成,所述的计算机程序可存储于一计算机可读存储介质中,该计算机程序在被处理器执行时,可实现上述各个方法实施例的步骤。 Based on such understanding, the present invention achieves the above-described embodiments of the method of all or part, may also be relevant hardware instructed by a computer program, the computer program may be stored in a computer-readable storage medium, the computer program, when executed by the processor, the method steps of each of the above-described embodiments may be implemented. . 其中,所述计算机程序包括计算机程序代码,所述计算机程序代码可以为源代码形式、对象代码形式、可执行文件或某些中间形式等。 Wherein, said computer program comprising computer program code, the computer program code may be in the form of source code, object code, executable files, or some intermediate form and the like. 所述计算机可读介质可以包括:能够携带所述计算机程序代码的任何实体或装置、记录介质、U盘、移动硬盘、 磁碟、光盘、计算机存储器、只读存储器(R〇M,Read-〇nly Memory)、随机存取存储器(RAM, Random Access Memory)、电载波信号、电信信号以及软件分发介质等。 The computer-readable medium may include: any entity or device capable of carrying the computer program code, the recording medium, U disk, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (R〇M, Read-square nly memory), a random access memory (RAM, random access memory), electrical carrier signal, telecommunications signal, and software distribution media. 需要说明的是,所述计算机可读介质包含的内容可以根据司法管辖区内立法和专利实践的要求进行适当的增减,例如在某些司法管辖区,根据立法和专利实践,计算机可读介质不包括电载波信号和电信信号。 Incidentally, the computer-readable medium comprising content can be appropriately increased or decreased in accordance with legislative requirements and patent practice jurisdiction, for example, in some jurisdictions, legislation and in accordance with the patent practice, the computer-readable medium electrical carrier signal and telecommunication signal is not included.

[0107]以上所述实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的精神和范围,均应包含在本发明的保护范围之内。 Example only [0107] In the above embodiments describe the technical solutions of the present invention, rather than limiting;. Although the present invention has been described in detail embodiments, those of ordinary skill in the art should be understood: it can still technical solutions described in the foregoing embodiments to modify, or to some technical features equivalents; as such modifications or replacements do not cause the essence of corresponding technical solutions to depart from the spirit and scope of the technical solutions of the embodiments of the present invention, are It is included within the scope of the present invention.

Claims (10)

1. 一种电子附件存储方法,其特征在于,包括: 接收ERP系统应用发送的电子附件的上传请求,调用API接口将所述电子附件上传至预先为ERP系统配置的分离式电子附件存储系统; 接收所述分离式电子附件存储系统返回的所述电子附件的存储信息,并将所述存储信息提交至所述ERP系统,所述存储信息至少包括所述电子附件的网络存储地址。 An electronic accessory storage method, comprising: receiving an upload request ERP system is application of electronic attachments, calls the API interface to upload electronic accessory attachments separate electronic storage system configured to advance the ERP system; storing information of the electronic accessory receiving the separate return electronic accessory storage system, and stores the information submitted to the ERP system, said stored information comprises at least the network address of the electronic storage attachments.
2. 如权利要求1所述的电子附件存储方法,其特征在于,所述电子附件管理方法还包括: 对所述ERP系统应用进行数字签名验证,确定所述ERP系统应用是否具有调用所述API 接口上传电子附件到所述分离式电子附件存储系统的权限; 若数字签名验证通过,则允许所述ERP系统应用调用所述API接口将所述电子附件上传至预先为ERP系统配置的分离式电子附件存储系统; 若数字签名验证失败,则禁止所述ERP系统应用调用所述API接口将所述电子附件上传至预先为ERP系统配置的分离式电子附件存储系统。 The electronic accessory storage method according to claim 1, characterized in that said accessory electronic management method further comprising: digital signature verification system of the ERP application, the ERP system determines whether the application calls the API Upload Interface electronic accessory electronic authorization to the separate accessory storage system; if digital signature verification is passed, allowing the system to call the ERP application API interface to upload the electronic accessory separate electronic pre-configured to the ERP system accessory storage system; if digital signature verification fails, then the system prohibits the ERP application calls the API interface to upload electronic accessory attachments separate electronic storage system configured to advance the ERP system.
3. 如权利要求1所述的电子附件存储方法,其特征在于,所述分离式电子附件存储系统采用异地化分布式文件系统,包括多个异地缓存节点;所述接收ERP系统应用发送的电子附件的上传请求,调用API接口将所述电子附件上传至预先为ERP系统配置的分离式电子附件存储系统包括: 接收所述ERP系统应用发送的电子附件的上传请求,所述上传请求携带有所述ERP系统应用的用户地区标识; 根据所述用户地区标识确定距离用户最近的异地缓存节点,调用API接口将所述电子附件上传至所述距离用户最近的异地缓存节点。 The electronic accessory storage method according to claim 1, wherein said separate electronic accessory remote storage systems of a distributed file system comprising a plurality of remote cache node; receiving said transmitted electronic ERP System attachment upload request, calls the API interface to upload electronic accessory attachments separate electronic storage system configured to pre ERP system comprising: receiving a request for uploading electronic accessory of ERP system sends the upload request carries some ERP system user of said application area identifier; determining closest to the user caching node remote area according to the user identifier, the API call interface to the electronic accessory uploading remote cache closest to the user node.
4. 如权利要求1所述的电子附件存储方法,其特征在于,所述电子附件管理方法还包括: 在将所述电子附件上传至预先为ERP系统配置的分离式电子附件存储系统之前,查询所述分离式电子附件存储系统中是否存储有与所述电子附件相同的文件; 若存储有与所述电子附件相同的文件,则直接产生对应的文件记录,关联上所述文件的存储位置,将所述文件记录提交至所述ERP系统。 The electronic accessory storage method according to claim 1, characterized in that said accessory electronic management method further comprising: prior to said electronic accessory attachments uploaded to separate electronic storage system configured to advance the ERP system, the query the separate electronic accessory storage system whether the electronic accessory stores a same file; if the electronic accessory stores the same file, directly generate a corresponding file recorded on the storage location associated with the document, the recording document submitted to the ERP system.
5. 如权利要求1所述的电子附件存储方法,其特征在于,所述查询所述分离式电子附件存储系统中是否存储有与所述电子附件相同的文件包括: 采用哈希算法计算对所述电子附件中的文件内容进行哈希计算,得到所述电子附件的哈希值,同时获取所述电子附件的文件大小; 查询所述分离式电子附件存储系统中是否有哈希值和文件大小均与所述电子附件相同的文件; 根据查询结果确走所述分_式电子附件存储系统中是否存储有与所述电子附件相冋的文件。 The electronic accessory storage method according to claim 1, wherein said separate electronic querying the accessory if the storage system stores a file of the same electronic accessory comprising: a calculation using the hash algorithm the contents of said electronic file attachments are hashed to obtain a hash value of the electronic accessories, while obtaining the electronic file size of the attachment; if there is a hash value of the file size and the query separate electronic accessory storage system They are the same electronic file attachment; take a query to determine whether said stored partial attachment of the electronic document _ phase Jiong electronic accessory storage system.
6. —种电子附件存储装置,其特征在于,包括: 上传请求接收单元,用于接收ERP系统应用发送的电子附件的上传请求; 电子附件上传单元,用于调用API接口将所述电子附件上传至预先为ERP系统配置的分离式电子附件存储系统; 附件信息提交单元,用于接收所述分离式电子附件存储系统返回的所述电子附件的存储信息,并将所述存储信息提交至所述ERP系统,所述存储信息至少包括所述电子附件的网络存储地址。 6. - electronic accessory storage device comprising: an upload request receiving means for receiving electrical accessories upload request sent by the application ERP system; upload electronic accessory unit, for invoking the API interface the electronic attachment upload Annex to a separate electronic storage system configured to advance the ERP system; accessory information issuing unit for storing information of said electronic accessory receiving the separate return electronic accessory storage system, and stores the information submitted to the ERP system, said stored information comprises at least the network address of the electronic storage attachments.
7. 如权利要求6所述的电子附件存储装置,其特征在于,所述分离式电子附件存储系统采用异地化分布式文件系统,包括多个异地缓存节点;所述电子附件上传单元具体用于: 接收所述ERP系统应用发送的电子附件的上传请求,所述上传请求携带有所述ERP系统应用的用户地区标识; 根据所述用户地区标识确定距离用户最近的异地缓存节点,调用API接口将所述电子附件上传至所述距离用户最近的异地缓存节点。 The electronic accessory memory device according to claim 6, wherein said separate electronic accessory remote storage systems of a distributed file system comprising a plurality of remote cache node; said electronic accessory unit is configured to upload : receiving the transmitted electrical accessories ERP system applications upload request, the upload request carries a user identifier of the ERP system application areas; determining closest to the user caching node remote area according to the user identifier, calling the API interface the electronic accessory uploaded to the remote cache closest to the user node.
8. 如权利要求6所述的电子附件存储装置,其特征在于,还包括: 电子附件匹配单元,用于在将所述电子附件上传至预先为ERP系统配置的分离式电子附件存储系统之前,查询所述分离式电子附件存储系统中是否存储有与所述电子附件相同的文件; 文件记录生成单元,用于若存储有与所述电子附件相同的文件,则直接产生对应的文件记录,关联上所述文件的存储位置,将所述文件记录提交至所述ERP系统。 The electronic accessory memory device according to claim 6, characterized in that, further comprising: an electronic matching attachment means for attachment prior to uploading to the electronic accessory separate electronic storage system configured to advance the ERP system, whether the electronic accessory stores a document query the same separate electronic accessory storage system; documentation generation unit configured to, if the same as the stored electronic file attachments directly generate a corresponding file record associated storage location of the file, the file records submitted to the ERP system. 所述电子附件匹配单元具体用于: 采用哈希算法计算对所述电子附件中的文件内容进行哈希计算,得到所述电子附件的哈希值,同时获取所述电子附件的文件大小; 查询所述分离式电子附件存储系统中是否有哈希值和文件大小均与所述电子附件相同的文件; 根据查询结果确定所述分离式电子附件存储系统中是否存储有与所述电子附件相同的文件。 The electronic accessory matching unit is configured to: use of hashing algorithm to the electronic content file attachments are hashed to obtain a hash value of said electronic accessory, while obtaining the electronic file size of the attachment; query whether there is a separate file size and hash value are the same electronic accessory attachment electronic file storage system; according to the query result is the same as the stored electronic accessory attachments determining the separate electronic storage system file.
9. 一种电子附件存储装置装置,包括存储器、处理器以及存储在所述存储器中并可在所述处理器上运行的计算机程序,其特征在于,所述处理器执行所述计算机程序时实现如权利要求1至5任一项所述方法的步骤。 An electronic accessory storage means comprising a computer program memory, a processor and a memory and running on the processor in the memory, wherein, when executing said computer to realize the program processor a step of the method of any of claims 1 to 5.
10.—种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,其特征在于,所述计算机程序被处理器执行时实现如权利要求1至5任一项所述方法的步骤。 10.- computer readable storage medium, the computer-readable storage medium storing a computer program, characterized in that, to realize a step of the method of any of claims 1 to 5 when executed by a processor of said computer program .
CN201710362984.1A 2017-05-22 2017-05-22 Electronic attachment storage method and terminal CN107181801A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710362984.1A CN107181801A (en) 2017-05-22 2017-05-22 Electronic attachment storage method and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710362984.1A CN107181801A (en) 2017-05-22 2017-05-22 Electronic attachment storage method and terminal

Publications (1)

Publication Number Publication Date
CN107181801A true CN107181801A (en) 2017-09-19

Family

ID=59831272

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710362984.1A CN107181801A (en) 2017-05-22 2017-05-22 Electronic attachment storage method and terminal

Country Status (1)

Country Link
CN (1) CN107181801A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103179148A (en) * 2011-12-21 2013-06-26 腾讯数码(天津)有限公司 Processing method and system for sharing enclosures in internet
CN104734943A (en) * 2015-03-17 2015-06-24 深圳市连用科技有限公司 Processing method and system for E-mails
CN104798355A (en) * 2012-09-18 2015-07-22 思杰系统有限公司 Mobile device management and security
CN105025053A (en) * 2014-04-24 2015-11-04 苏宁云商集团股份有限公司 Distributed file upload method based on cloud storage technology and system
US20160274867A1 (en) * 2015-03-16 2016-09-22 Microsoft Technology Licensing, Llc Visualization framework for customizable types in a development environment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103179148A (en) * 2011-12-21 2013-06-26 腾讯数码(天津)有限公司 Processing method and system for sharing enclosures in internet
CN104798355A (en) * 2012-09-18 2015-07-22 思杰系统有限公司 Mobile device management and security
CN105025053A (en) * 2014-04-24 2015-11-04 苏宁云商集团股份有限公司 Distributed file upload method based on cloud storage technology and system
US20160274867A1 (en) * 2015-03-16 2016-09-22 Microsoft Technology Licensing, Llc Visualization framework for customizable types in a development environment
CN104734943A (en) * 2015-03-17 2015-06-24 深圳市连用科技有限公司 Processing method and system for E-mails

Similar Documents

Publication Publication Date Title
US9209973B2 (en) Delegate authorization in cloud-based storage system
US9424437B1 (en) Systems and methods for providing file access in a hybrid cloud storage system
KR20110008272A (en) Methods, apparatuses, and computer program products for providing a single service sign-on
US20120144501A1 (en) Regulating access to protected data resources using upgraded access tokens
US9930103B2 (en) Endpoint management system providing an application programming interface proxy service
US9148332B2 (en) Content delivery network
CN103583030A (en) Method and apparatus for achieving data security in a distributed cloud computing environment
CN107580029A (en) The computer-readable storage medium
US8375185B1 (en) Permissions of objects in hosted storage
US20120109830A1 (en) Apparatus, system and method for a decentralized social network system and decentralized payment network system
US20050278384A1 (en) External authentication against a third-party directory
US10044702B2 (en) Cross instance user authentication architecture
CN102882885B (en) Method and system for improving cloud computing data security
CN1829232B (en) Method and system for managing applications in a shared computer infrastructure
CN102857484A (en) Method, system and device for implementing single sign-on
CN102196012B (en) Service opening method, system and service opening server
US20130215126A1 (en) Managing Font Distribution
US8732258B2 (en) Method and system for transporting telemetry data across a network
CN104094576A (en) Consolidating disparate cloud service data and behavior based on trust relationships between cloud services
JP5404825B2 (en) Content categorization method and system
CN100421399C (en) Distribution type group communication management system and method for setting group
US9148426B2 (en) Securely identifying host systems
US8706756B2 (en) Method, system and apparatus of hybrid federated search
US9544355B2 (en) Methods and apparatus for realizing short URL service
US20100043050A1 (en) Federating policies from multiple policy providers

Legal Events

Date Code Title Description
PB01 Publication
SE01 Entry into force of request for substantive examination