CN107181801A - A kind of electronic accessories storage method and terminal - Google Patents

A kind of electronic accessories 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 accessories
storage
erp system
file
separate type
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201710362984.1A
Other languages
Chinese (zh)
Other versions
CN107181801B (en
Inventor
雷喜青
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Is Used In Conjunction Science And Technology Ltd
Original Assignee
Shenzhen Is Used In Conjunction Science And Technology Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Is Used In Conjunction Science And Technology Ltd filed Critical Shenzhen Is Used In Conjunction Science And Technology Ltd
Priority to CN201710362984.1A priority Critical patent/CN107181801B/en
Publication of CN107181801A publication Critical patent/CN107181801A/en
Application granted granted Critical
Publication of CN107181801B publication Critical patent/CN107181801B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • 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
    • G06Q10/107Computer-aided management of electronic mailing [e-mailing]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1001Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
    • H04L67/1004Server selection for load balancing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1097Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Human Resources & Organizations (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Strategic Management (AREA)
  • Computer Hardware Design (AREA)
  • Data Mining & Analysis (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Operations Research (AREA)
  • Quality & Reliability (AREA)
  • Tourism & Hospitality (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The embodiments of the invention provide a kind of electronic accessories storage method and device, belong to communication technical field.Wherein method includes:The upload request for the electronic accessories that ERP system application is sent is received, calls api interface that the electronic accessories are uploaded to the separate type electronic accessories storage system configured in advance for ERP system;The storage information for the electronic accessories that the separate type electronic accessories storage system is returned is received, and the storage information is committed to the ERP system, the storage information at least includes the network storage address of the electronic accessories.The embodiment of the present invention carries out separation storage by the electronic accessories to ERP system, when uploading so as to mitigate user or download larger electronic accessories, the network and IO pressure caused to ERP system, reduces the influence that the normal operating to other users is caused, improves the performance of ERP system.

Description

A kind of electronic accessories storage method and terminal
Technical field
The invention belongs to communication technical field, more particularly to a kind of electronic accessories storage method and terminal.
Background technology
ERP (Enterprise Resource Planning, Enterprise Resources Plan) system, by U.S. Gartner Group companies propose in nineteen ninety, under being MRP II (Material Require Planning, enterprise's manufacturing resources planning) The manufacturing industry system and resource planning software of a generation.Except the existing manufacturing resource plannings of MRP II, manufacture, finance, sell, adopt Outside the functions such as purchase, also quality management, laboratory room managing, BPM, product data management, stock, distribution and transport Management, human resource management and regular reporting system.At present, it has been extended in the implication representated by China ERP, for enterprise All kinds of softwares, be completely included into ERP category.It has jumped out traditional forms of enterprises border, goes optimization to look forward to from supply chain scope The resource of industry, is the generation information system based on the age of Internet economy.It is mainly used in improving business events flow path improving Enterprise core competence.
ERP system is complicated system, is normally provided to mechanism of large enterprise and uses, and it is wide to be related to business, is using The electronic accessories data volume that journey is produced is huge, and these current electronic accessories data are usually to be stored directly in what ERP system was carried In local file system, so when user uploads or downloads larger electronic accessories, larger net can be caused to ERP system Network and IO pressure, more or less other staff that have influence on use ERP system parallel, have had a strong impact on the performance of ERP system.
The content of the invention
In view of this, the embodiments of the invention provide a kind of electronic accessories storage method and terminal, to solve prior art In upload or when downloading larger electronic accessories as user, can cause larger network and IO pressure to ERP system, or it is many or Few other staff that have influence on use ERP system, the problem of having had a strong impact on the performance of ERP system parallel.
The first aspect of the embodiment of the present invention provides a kind of electronic accessories storage method, including:
The upload request for the electronic accessories that ERP system application is sent is received, calls api interface to upload the electronic accessories To the separate type electronic accessories storage system configured in advance for ERP system;
The storage information for the electronic accessories that the separate type electronic accessories storage system is returned is received, and is deposited described Storage information is committed to the ERP system, and the storage information at least includes the network storage address of the electronic accessories.
The second aspect of the embodiment of the present invention provides a kind of electronic accessories storage device, including:
Upload request receiving unit, the upload request for receiving the electronic accessories that ERP system application is sent;
Electronic accessories uploading unit, for calling api interface that the electronic accessories are uploaded in advance as ERP system configuration Separate type electronic accessories storage system;
Accessory information submits unit, for receiving the electronic accessories that the separate type electronic accessories storage system is returned Storage information, and the storage information is committed to the ERP system, the storage information at least includes the electronic accessories Network storage address.
The third aspect of the embodiment of the present invention provides a kind of electronic accessories storage device device, including memory, processing Device and it is stored in the computer program that can be run in the memory and on the processor, it is characterised in that the place The step of reason device realizes above-mentioned first aspect methods described when performing the computer program.
The fourth aspect of the embodiment of the present invention provides a kind of computer-readable recording medium, the computer-readable storage Media storage has computer program, it is characterised in that the computer program realizes above-mentioned first aspect when being executed by processor The step of methods described.
The beneficial effect that the embodiment of the present invention exists compared with prior art is:
The embodiment of the present invention is subsequently being connect by being that the ERP system configures separate type electronic accessories storage system in advance When receiving the upload request for the electronic accessories that ERP system is sent using user, by calling the api interface that HTTP is provided by electronics Annex is uploaded and stored to the separate type electronic accessories storage system, and electronic accessories are deposited in the separate type electronic accessories Storage information in storage system is back to the ERP system, so as to carry out separation storage to the electronic accessories of ERP system, When mitigating user's upload or downloading larger electronic accessories, the network and IO pressure caused to ERP system is reduced to other use The influence that the normal operating at family is caused, improves the performance of ERP system.
Brief description of the drawings
Technical scheme in order to illustrate the embodiments of the present invention more clearly, below will be to embodiment or description of the prior art In required for the accompanying drawing that uses be briefly described, it should be apparent that, drawings in the following description are only some of the present invention Embodiment, for those of ordinary skill in the art, without having to pay creative labor, can also be according to these Accompanying drawing obtains other accompanying drawings.
Fig. 1 is a kind of outside configuration diagram for electronic accessories storage device that one embodiment of the invention is provided;
Fig. 2 is a kind of implementation process schematic diagram for electronic accessories storage method that one embodiment of the invention is provided;
Fig. 3 is a kind of interaction flow schematic diagram for electronic accessories storage method that one embodiment of the invention is provided;
Fig. 4 is a kind of schematic block diagram for electronic accessories storage device that one embodiment of the invention is provided;
Fig. 5 is a kind of schematic block diagram for electronic accessories storage device that one embodiment of the invention is provided;
Fig. 6 is a kind of schematic block diagram for electronic accessories storage device that one embodiment of the invention is provided.
Embodiment
In describing below, in order to illustrate rather than in order to limit, it is proposed that such as tool of particular system structure, technology etc Body details, thoroughly to understand the embodiment of the present invention.However, it will be clear to one skilled in the art that there is no these specific The present invention can also be realized in the other embodiments of details.In other situations, omit to well-known system, device, electricity Road and the detailed description of method, in case unnecessary details hinders description of the invention.
In order to illustrate technical solutions according to the invention, illustrated below by specific embodiment.
Fig. 1 shows the outside Organization Chart for the electronic accessories storage device that one embodiment of the invention is provided.For the ease of saying It is bright, it illustrate only part related to the present embodiment.
Reference picture 1, the outside framework of the electronic accessories storage device includes the browser client of user terminal, load balancing Equipment, ERP system, separate type electronics Attachment Management System and authentication system, wherein the browser client passes through The load-balancing device and the ERP system, the separate type electronics Attachment Management System wireless communication connection, the ERP System passes through the load-balancing device and the separate type electronics Attachment Management System and the identity authorization system channel radio Letter connection, the identity authorization system is used to carry out authentication to the user for logging in the ERP system.
It is attached to electronics provided in an embodiment of the present invention below in conjunction with specific embodiment based on the system architecture shown in Fig. 1 Part storage method is described in detail:
Fig. 2 is a kind of schematic flow diagram for the electronic accessories storage method that one embodiment of the invention is provided, and this method is held Row main body is the browser client shown in Fig. 1.It is shown in Figure 2, a kind of electronic accessories storage method that the present embodiment is provided, It may comprise steps of:
Step S201, receives the upload request for the electronic accessories that ERP system application is sent, calls api interface by the electricity Sub- annex is uploaded to the separate type electronic accessories storage system configured in advance for ERP system.
It is preferred that, in the present embodiment, ERP system application is received by the browser client based on http protocol and sent Electronic accessories upload request, the browser client, which is provided with, accesses the separate type electronic accessories storage system Api interface, after the browser client receives the upload request of the electronic accessories, can call the api interface, lead to Cross the api interface electronic accessories are uploaded to the separate type electronic accessories storage system and stored.
It is preferred that, in the present embodiment, the Split type electric is uploaded to calling the api interface by the electronic accessories Sub- annex storage system also includes before being stored:
Checking is digitally signed to the ERP system application, determines whether the ERP system application is described with calling Api interface uploads electronic accessories to the authority of the separate type electronic accessories storage system;
If digital signature authentication passes through, allow api interface described in the ERP system application call by the electronic accessories It is uploaded to the separate type electronic accessories storage system configured in advance for ERP system;
If digital signature authentication fails, forbid api interface described in the ERP system application call by the electronic accessories It is uploaded to the separate type electronic accessories storage system configured in advance for ERP system.
It is preferred that, in the present embodiment, the detailed process of verifying data signature is as follows:
In advance for ERP system definition is using private key and applies public key, respectively by the application private key and the application Public key store to the ERP system apply and the browser client in;
Applied in the ERP system before the upload request that electronic accessories are sent to the browser client, using described The required parameter carried in the upload request is encrypted using private key;
The browser client is received after the electronic accessories request after encryption, using the application public key on described The required parameter carried in request is passed to be decrypted;
If successful decryption, digital signature authentication passes through, illustrate that the ERP system is applied to have and call the api interface Authority, now allow the ERP system application call described in api interface the electronic accessories are uploaded to the Split type electric Sub- annex storage system;
If decryption failure, digital signature authentication failure illustrates that the ERP system is applied not having and calls the API to connect The authority of mouth, now forbids the ERP system to call the ERP system that the electronic accessories are uploaded into the separate type electronics Annex storage system.
Step S202, receives the storage information for the electronic accessories that the separate type electronic accessories storage system is returned, And the storage information is committed to the ERP system, the storage information at least includes the network storage of the electronic accessories Address.
It is preferred that, in the present embodiment, the separate type electronic accessories storage system is receiving the electronic accessories After upload request, it can judge whether the upload request specifies the data bank by associating, if specifying related data bank, directly Connect the relevant data storehouse that the electronic accessories are uploaded to and specified;If the data bank without specified associations, according to the ERP systems The Business Name of system application, creates an industry applied with the ERP system in the separate type electronic accessories storage system The data bank of business name nominating, and the electronic accessories are uploaded in the data bank of establishment.
It is preferred that, in the present embodiment, the separate type electronic accessories storage system by the electronic accessories store to In corresponding data bank, the storage information of the electronic accessories can be sent to the ERP system, the storage of the electronic accessories Information includes but is not limited to the network storage address of the electronic accessories, for example:In other implementation examples, the electronic accessories Storage information can also include title, file size etc. of the electronic accessories.
In the present embodiment, due to electronic accessories are stored into attached to the separate type electronics configured in advance for the ERP system In part storage system, only by the storage information of electronic accessories, for example:The network storage address of electronic accessories, the name of electronic accessories Claim and file size feeds back to the ERP system, when user needs to access or download the electronic accessories, it is only necessary to pass through ERP The electronic accessories storage information that system is received accesses from separate type electronic accessories storage system or downloads the electronic accessories i.e. Can, it so can not only reduce the occupancy of ERP system internal memory, but also can mitigate that user uploads or to download larger electronics attached During part, the network and IO pressure caused to ERP system lifts the performance of ERP system.
Above as can be seen that the present embodiment provide a kind of electronic accessories storage method, due to by advance be the ERP System configuration separate type electronic accessories storage system, is subsequently receiving the upper of the electronic accessories that ERP system is sent using user When passing request, deposited by calling the api interface that HTTP is provided that electronic accessories are uploaded and stored to the separate type electronic accessories Storage system, and storage information of the electronic accessories in the separate type electronic accessories storage system is back to the ERP system, It is right when mitigating user's upload or downloading larger electronic accessories so as to carry out separation storage to the electronic accessories of ERP system Network and IO pressure that ERP system is caused, reduce the influence that the normal operating to other users is caused, improve ERP system Performance.
Fig. 3 is a kind of schematic flow diagram for the electronic accessories storage method that one embodiment of the invention is provided, and this method is held Row main body is the browser client shown in Fig. 1.It is shown in Figure 3, a kind of electronic accessories storage method that the present embodiment is provided, Including:
Step S301, receives the upload request for the electronic accessories that ERP system application is sent.
The implementation of the step and the upload request that the electronic accessories that ERP system application is sent are received in a upper embodiment Implementation it is identical, will not be repeated here.
Step S302, call api interface inquire about whether be stored with the separate type electronic accessories storage system with it is described Electronic accessories identical file;If being stored with and the electronic accessories identical file, into step S303;If not being stored with With the electronic accessories identical file, then into step S304.
It is preferred that, in the present embodiment, before calling api interface to access the separate type electronic accessories storage system also It can include:Checking is digitally signed to the ERP system application, determines whether the ERP system application has and calls institute State the authority of api interface.Its specific verification mode is identical with a upper embodiment, will not be repeated here.
It is preferred that, in the present embodiment, whether be stored with the inquiry separate type electronic accessories storage system with The electronic accessories identical file includes:
Calculated using hash algorithm and Hash calculation is carried out to the file content in the electronic accessories, obtain the electronics attached The cryptographic Hash of part, while obtaining the file size of the electronic accessories;
Whether inquire about in the separate type electronic accessories storage system has cryptographic Hash and file size attached with the electronics Part identical file;
Determine whether be stored with the separate type electronic accessories storage system and the electronic accessories according to Query Result Identical file.
It is preferred that, it is in the present embodiment, described to be determined according to Query Result in the separate type electronic accessories storage system Storage includes with the electronic accessories identical file:
If having cryptographic Hash and file size identical with the electronic accessories in the separate type electronic accessories storage system File, then illustrate have in the separate type electronic accessories storage system and the electronic accessories identical file;
If be not matched in the separate type electronic accessories storage system cryptographic Hash and file size with the electronics Annex identical file, then illustrate unliterary with the electronic accessories identical in the separate type electronic accessories storage system Part.
It should be noted that in other implementation examples, can also only by the cryptographic Hash of file content it is whether identical come Judge two files whether be use in identical file, the present embodiment by cryptographic Hash and file size while to judge two Whether individual file is identical file, may further ensure that the accuracy of judged result, it is to avoid different file contents occurs and breathes out Uncommon value identical situation.
Step S303, directly produces the storage location of the file in corresponding file record, association, and the file is remembered Record is committed to the ERP system.
In the present embodiment, due to being stored with and electronics to be uploaded in separate type electronic accessories storage system is detected During attachment content identical file, directly produce corresponding file record, set up the file record and with the electronic accessories The association of the storage location of content identical file, is then committed to the ERP system by the file record, so as to keep away Exempt to repeat to upload, saving network flow further lifts Consumer's Experience.
It is preferred that, in the present embodiment, it can also include after the file record is submitted into the ERP system:Will Upload result is back to the ERP system and applies user.For example:User file can be pointed out to upload successfully, or prompting user institute State and be stored with and the electronic accessories content identical file in separation electronic system, generated corresponding file record and submitted To the ERP system.
In addition, in the present embodiment, due to having in separate type electronic accessories storage system and the electronic accessories content phase With file when, file record can be directly generated, file record is committed to ERP system, without electronic accessories are uploaded Into ERP system, therefore, whole process can be completed within the several seconds, be effectively reduced network latency and network biography While defeated flow, Consumer's Experience is also greatly improved, substantial amounts of overhead is saved.
Step S304, calls api interface that the electronic accessories are uploaded to the separate type electronics configured in advance for ERP system Annex storage system.
It is preferred that, in the present embodiment, the upload request carries user's region identifier of the ERP system application, The separate type electronic accessories storage system uses strange land distributed file system, including multiple strange land cache nodes.Step S204 is specifically included:
The strange land cache node nearest apart from user is determined according to user's region identifier, calls api interface described Electronic accessories are uploaded to the strange land cache node nearest apart from user.
, can be by disposing electronic accessories when the ERP system mechanism complex distributions of user are in a big way in the present embodiment The strange land cache node of storage system, sets up strange land distributed file system, wherein, strange land cache node can be regarded as system Mirror image server/clustered node, by mirror image server/clustered node ERP system can be allowed to be accessed nearby using user, example Such as:If the general headquarters of an enterprise are then deployed in South China in South China, the master server of strange land distributed file system, But the mechanism of enterprise and user are likely distributed in all parts of the country, for such a, if user accesses deployment from the area such as northeast, West China Master server in South China, then can cause transmitting file, download file speed slowly because of network problem, and the present embodiment In by corresponding northeast, West China etc. area computer room build mirror image server clustered node, the plan parsed by network DNS Slightly distribute, user is directed into nearest server node by region carries out method, can effectively solve system and access upload The problem of file, the download slow problem of file speed and network bandwidth congestion.
Step S305, receives the storage information for the electronic accessories that the separate type electronic accessories storage system is returned, And the storage information is committed to the ERP system, the storage information at least includes the network storage of the electronic accessories Address.
The implementation of the step is identical with the implementation of step S102 in a upper embodiment, therefore herein no longer Repeat.
Above as can be seen that relative to a upper embodiment, due to inquiring separation electronic storage system in the present embodiment In when being stored with the electronic accessories content identical content, directly generate corresponding file record and be committed to ERP system, from And can avoid repeating to upload, saving network flow further lifts Consumer's Experience;In addition, relative to a upper embodiment, sheet Separate type electronic accessories storage system in embodiment can cause ERP system should due to using strange land distributed file system Used in when uploading or downloading electronic accessories, strange land cache node nearby is accessed, so as to lift upper transmitting file, download file Speed, reduce network broadband congestion pressure.
Fig. 4 is a kind of schematic block diagram for electronic accessories storage device that one embodiment of the invention is provided, and the device is located at In browser client shown in Fig. 1.For convenience of description, it illustrate only part related to the present embodiment.
It is shown in Figure 4, a kind of electronic accessories storage device 4 that the present embodiment is provided, including:
Upload request receiving unit 41, the upload request for receiving the electronic accessories that ERP system application is sent;
Electronic accessories uploading unit 42, matches somebody with somebody for ERP system in advance for calling api interface to be uploaded to the electronic accessories The separate type electronic accessories storage system put;
Accessory information submits unit 43, and the electronics for receiving the separate type electronic accessories storage system return is attached The storage information of part, and the storage information is committed to the ERP system, it is attached that the storage information at least includes the electronics The network storage address of part.
Optionally, shown in Figure 5, in another embodiment, described electronic accessories storage device 5 also includes numeral label Name authentication unit 54, is used for:
Checking is digitally signed to the ERP system application, determines whether the ERP system application is described with calling Api interface uploads electronic accessories to the authority of the separate type electronic accessories storage system;
If digital signature authentication passes through, allow api interface described in the ERP system application call by the electronic accessories It is uploaded to the separate type electronic accessories storage system configured in advance for ERP system;
If digital signature authentication fails, forbid api interface described in the ERP system application call by the electronic accessories It is uploaded to the separate type electronic accessories storage system configured in advance for ERP system.
Optionally, the separate type electronic accessories storage system uses strange land distributed file system, including multiple different Ground cache node;The electronic accessories uploading unit 52 specifically for:
The upload request for the electronic accessories that the ERP system application is sent is received, the upload request carries the ERP User's region identifier of system application;
The strange land cache node nearest apart from user is determined according to user's region identifier, calls api interface described Electronic accessories are uploaded to the strange land cache node nearest apart from user.
Optionally, described electronic accessories storage device 5 also includes:
Electronic accessories matching unit 55, for the electronic accessories to be uploaded into the separation configured in advance for ERP system Before formula electronic accessories storage system, whether it is stored with the inquiry separate type electronic accessories storage system attached with the electronics Part identical file;
File record generation unit 56, if for being stored with and the electronic accessories identical file, directly generation pair The storage location of the file in the file record answered, association, the ERP system is committed to by the file record.
Optionally, the electronic accessories matching unit 55 specifically for:
Calculated using hash algorithm and Hash calculation is carried out to the file content in the electronic accessories, obtain the electronics attached The cryptographic Hash of part, while obtaining the file size of the electronic accessories;
Whether inquire about in the separate type electronic accessories storage system has cryptographic Hash and file size attached with the electronics Part identical file;
Determine to be stored with the separate type electronic accessories storage system according to Query Result identical with the electronic accessories File.
It should be noted that the unit in said apparatus provided in an embodiment of the present invention, due to the inventive method Embodiment is based on same design, and its technique effect brought is identical with the inventive method embodiment, and particular content can be found in this hair Narration in bright embodiment of the method, here is omitted.
Above as can be seen that a kind of electronic accessories storage device provided in an embodiment of the present invention, is separated also due to using Formula electronic accessories storage system carries out separation storage to the electronic accessories of ERP system, uploads or downloads so as to mitigate user During larger electronic accessories, the network and IO pressure caused to ERP system reduces what the normal operating to other users was caused Influence, improves the performance of ERP system.
It should be understood that the size of the sequence number of each step is not meant to the priority of execution sequence, each process in above-described embodiment Execution sequence should determine that the implementation process without tackling the embodiment of the present invention constitutes any limit with its function and internal logic It is fixed.
Fig. 6 is a kind of schematic diagram for electronic accessories storage device that one embodiment of the invention is provided.As shown in fig. 6, the reality Applying electronic accessories storage device/terminal device 6 of example includes:Processor 60, memory 61 and it is stored in the memory 61 In and the computer program 62 that can be run on the processor 60.The processor 60 performs real during the computer program 62 Step in each existing above-mentioned electronic accessories storage method embodiment, such as step 101 shown in Fig. 1 to 104.Or, it is described Processor 60 realizes the function of each module/unit in above-mentioned each device embodiment, such as Fig. 4 when performing the computer program 62 The function of shown module 41 to 43.
Exemplary, the computer program 62 can be divided into one or more module/units, it is one or Multiple module/units are stored in the memory 61, and are performed by the processor 60, to complete the present invention.Described one Individual or multiple module/units can complete the series of computation machine programmed instruction section of specific function, and the instruction segment is used for Implementation procedure of the computer program 62 in the electronic accessories storage device is described.For example, the computer program 62 The electronic accessories uploading unit shown in Fig. 4, accessory information can be divided into and submit unit, each unit concrete function is as follows:
Upload request receiving unit, the upload request for receiving the electronic accessories that ERP system application is sent;
Electronic accessories uploading unit, for calling api interface that the electronic accessories are uploaded in advance as ERP system configuration Separate type electronic accessories storage system;
Accessory information submits unit, for receiving the electronic accessories that the separate type electronic accessories storage system is returned Storage information, and the storage information is committed to the ERP system, the storage information at least includes the electronic accessories Network storage address.
The electronic accessories storage device 6 can be desktop PC, notebook, palm PC and cloud server etc. Computing device.The electronic accessories storage device may include, but be not limited only to, processor 60, memory 61.People in the art Member is appreciated that Fig. 6 is only the example of electronic accessories storage device 6, does not constitute the limit to electronic accessories storage device 6 It is fixed, it can include than illustrating more or less parts, either combine some parts or different parts, such as described electricity Sub- annex storage device can also include input-output equipment, network access equipment, bus etc..
Alleged processor 60 can be CPU (Central Processing Unit, CPU), can also be Other general processors, digital signal processor (Digital Signal Processor, DSP), application specific integrated circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field- Programmable Gate Array, FPGA) or other PLDs, discrete gate or transistor logic, Discrete hardware components etc..General processor can be microprocessor or the processor can also be any conventional processor Deng.
The memory 61 can be the internal storage unit of the electronic accessories storage device terminal device 6, such as electric The hard disk or internal memory of sub- annex storage device 6.The memory 61 can also be that the outside of the electronic accessories storage device is deposited Store up the plug-in type hard disk being equipped with equipment, such as described electronic accessories storage device 6, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card, flash card (Flash Card) etc..Further, it is described to deposit Reservoir 61 can also both include the internal storage unit of the electronic accessories storage device 6 or including External memory equipment.It is described Memory 61 is used to store other programs and data needed for the computer program and the electronic accessories storage device.Institute Memory 61 is stated to can be also used for temporarily storing the data that has exported or will export.
It is apparent to those skilled in the art that, for convenience of description and succinctly, only with above-mentioned each work( Energy unit, the division progress of module are for example, in practical application, as needed can distribute above-mentioned functions by different Functional unit, module are completed, i.e., the internal structure of described device is divided into different functional unit or module, more than completion The all or part of function of description.Each functional unit, module in embodiment can be integrated in a processing unit, also may be used To be that unit is individually physically present, can also two or more units it is integrated in a unit, it is above-mentioned integrated Unit can both be realized in the form of hardware, it would however also be possible to employ the form of SFU software functional unit is realized.In addition, each function list Member, the specific name of module are also only to facilitate mutually differentiation, is not limited to the protection domain of the application.Said system The specific work process of middle unit, module, may be referred to the corresponding process in preceding method embodiment, will not be repeated here.
In the above-described embodiments, the description to each embodiment all emphasizes particularly on different fields, without detailed description or note in some embodiment The part of load, may refer to the associated description of other embodiments.
Those of ordinary skill in the art are it is to be appreciated that the list of each example described with reference to the embodiments described herein Member and algorithm steps, can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually Performed with hardware or software mode, depending on the application-specific and design constraint of technical scheme.Professional and technical personnel Described function can be realized using distinct methods to each specific application, but this realization is it is not considered that exceed The scope of the present invention.
, can be with embodiment provided by the present invention, it should be understood that disclosed device/terminal device and method Realize by another way.For example, device described above/terminal device embodiment is only schematical, for example, institute The division of module or unit is stated, only a kind of division of logic function there can be other dividing mode, for example when actually realizing Multiple units or component can combine or be desirably integrated into another system, or some features can be ignored, or not perform.Separately A bit, shown or discussed coupling or direct-coupling or communication connection each other can be by some interfaces, device Or INDIRECT COUPLING or the communication connection of unit, can be electrical, machinery or other forms.
The unit illustrated as separating component can be or may not be it is physically separate, it is aobvious as unit The part shown can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple On NE.Some or all of unit therein can be selected to realize the mesh of this embodiment scheme according to the actual needs 's.
In addition, each functional unit in each embodiment of the invention can be integrated in a processing unit, can also That unit is individually physically present, can also two or more units it is integrated in a unit.Above-mentioned integrated list Member can both be realized in the form of hardware, it would however also be possible to employ the form of SFU software functional unit is realized.
If the integrated module/unit realized using in the form of SFU software functional unit and as independent production marketing or In use, can be stored in a computer read/write memory medium.Understood based on such, the present invention realizes above-mentioned implementation All or part of flow in example method, can also instruct the hardware of correlation to complete, described meter by computer program Calculation machine program can be stored in a computer-readable recording medium, and the computer program can be achieved when being executed by processor The step of stating each embodiment of the method..Wherein, the computer program includes computer program code, the computer program Code can be source code form, object identification code form, executable file or some intermediate forms etc..Computer-readable Jie Matter can include:Can carry any entity or device of the computer program code, recording medium, USB flash disk, mobile hard disk, Magnetic disc, CD, computer storage, read-only storage (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium etc..It should be noted that described The content that computer-readable medium is included can carry out appropriate increasing according to legislation in jurisdiction and the requirement of patent practice Subtract, such as, in some jurisdictions, according to legislation and patent practice, computer-readable medium does not include electric carrier signal and electricity Believe signal.
Embodiment described above is merely illustrative of the technical solution of the present invention, rather than its limitations;Although with reference to foregoing reality Example is applied the present invention is described in detail, it will be understood by those within the art that:It still can be to foregoing each Technical scheme described in embodiment is modified, or carries out equivalent substitution to which part technical characteristic;And these are changed Or replace, the essence of appropriate technical solution is departed from the spirit and scope of various embodiments of the present invention technical scheme, all should Within protection scope of the present invention.

Claims (10)

1. a kind of electronic accessories storage method, it is characterised in that including:
The upload request for the electronic accessories that ERP system application is sent is received, calls api interface to be uploaded to the electronic accessories pre- The separate type electronic accessories storage system first configured for ERP system;
The storage information for the electronic accessories that the separate type electronic accessories storage system is returned is received, and the storage is believed Breath is committed to the ERP system, and the storage information at least includes the network storage address of the electronic accessories.
2. electronic accessories storage method as claimed in claim 1, it is characterised in that the electronic accessories management method is also wrapped Include:
Checking is digitally signed to the ERP system application, determines whether the ERP system application has and calls the API Interface uploads electronic accessories to the authority of the separate type electronic accessories storage system;
If digital signature authentication passes through, allow the ERP system application call described in api interface the electronic accessories are uploaded To the separate type electronic accessories storage system configured in advance for ERP system;
If digital signature authentication fail, forbid the ERP system application call described in api interface the electronic accessories are uploaded To the separate type electronic accessories storage system configured in advance for ERP system.
3. electronic accessories storage method as claimed in claim 1, it is characterised in that the separate type electronic accessories storage system Using strange land distributed file system, including multiple strange land cache nodes;The electronics for receiving ERP system application transmission is attached The upload request of part, calls api interface that the electronic accessories are uploaded to the separate type electronic accessories configured in advance for ERP system Storage system includes:
The upload request for the electronic accessories that the ERP system application is sent is received, the upload request carries the ERP system User's region identifier of application;
The strange land cache node nearest apart from user is determined according to user's region identifier, api interface is called by the electronics Annex is uploaded to the strange land cache node nearest apart from user.
4. electronic accessories storage method as claimed in claim 1, it is characterised in that the electronic accessories management method is also wrapped Include:
Before the electronic accessories to be uploaded to the separate type electronic accessories storage system configured in advance for ERP system, inquiry Whether it is stored with the separate type electronic accessories storage system and the electronic accessories identical file;
If being stored with and the electronic accessories identical file, the file in corresponding file record, association is directly produced Storage location, the file record is committed to the ERP system.
5. electronic accessories storage method as claimed in claim 1, it is characterised in that the inquiry separate type electronic accessories Whether be stored with storage system includes with the electronic accessories identical file:
Calculated using hash algorithm and Hash calculation is carried out to the file content in the electronic accessories, obtain the electronic accessories Cryptographic Hash, while obtaining the file size of the electronic accessories;
Inquire about whether have in the separate type electronic accessories storage system cryptographic Hash and file size with the electronic accessories phase Same file;
Determine whether to be stored with the separate type electronic accessories storage system according to Query Result identical with the electronic accessories File.
6. a kind of electronic accessories storage device, it is characterised in that including:
Upload request receiving unit, the upload request for receiving the electronic accessories that ERP system application is sent;
Electronic accessories uploading unit, for calling api interface that the electronic accessories were uploaded in advance as dividing that ERP system is configured From formula electronic accessories storage system;
Accessory information submits unit, for receiving depositing for the electronic accessories that the separate type electronic accessories storage system is returned Information is stored up, and the storage information is committed to the ERP system, the storage information at least includes the net of the electronic accessories Network storage address.
7. electronic accessories storage device as claimed in claim 6, it is characterised in that the separate type electronic accessories storage system Using strange land distributed file system, including multiple strange land cache nodes;The electronic accessories uploading unit specifically for:
The upload request for the electronic accessories that the ERP system application is sent is received, the upload request carries the ERP system User's region identifier of application;
The strange land cache node nearest apart from user is determined according to user's region identifier, api interface is called by the electronics Annex is uploaded to the strange land cache node nearest apart from user.
8. electronic accessories storage device as claimed in claim 6, it is characterised in that also include:
Electronic accessories matching unit, for the electronic accessories to be uploaded into the separate type electronics configured in advance for ERP system Before annex storage system, whether it is stored with the inquiry separate type electronic accessories storage system identical with the electronic accessories File;
File record generation unit, if for being stored with and the electronic accessories identical file, directly producing corresponding text Part is recorded, and the storage location of the file, the ERP system is committed to by the file record in association.
The electronic accessories matching unit specifically for:
Calculated using hash algorithm and Hash calculation is carried out to the file content in the electronic accessories, obtain the electronic accessories Cryptographic Hash, while obtaining the file size of the electronic accessories;
Inquire about whether have in the separate type electronic accessories storage system cryptographic Hash and file size with the electronic accessories phase Same file;
Determine whether to be stored with the separate type electronic accessories storage system according to Query Result identical with the electronic accessories File.
9. a kind of electronic accessories storage device device, including memory, processor and it is stored in the memory and can be The computer program run on the processor, it is characterised in that realized such as during computer program described in the computing device The step of any one of claim 1 to 5 methods described.
10. a kind of computer-readable recording medium, the computer-readable recording medium storage has computer program, its feature exists In the step of realizing such as any one of claim 1 to 5 methods described when the computer program is executed by processor.
CN201710362984.1A 2017-05-22 2017-05-22 Electronic accessory storage method and terminal Active CN107181801B (en)

Priority Applications (1)

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

Applications Claiming Priority (1)

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

Publications (2)

Publication Number Publication Date
CN107181801A true CN107181801A (en) 2017-09-19
CN107181801B CN107181801B (en) 2020-08-04

Family

ID=59831272

Family Applications (1)

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

Country Status (1)

Country Link
CN (1) CN107181801B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110263060A (en) * 2019-06-06 2019-09-20 零搜科技(深圳)有限公司 A kind of ERP electronic accessories management method and computer equipment
CN110286269A (en) * 2019-06-13 2019-09-27 广合科技(广州)有限公司 A kind of pcb board impedance information automatic collection and analysis method
CN114925029A (en) * 2022-06-07 2022-08-19 深圳市飞铭达信息技术有限公司 Data storage method and enterprise management system

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

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110263060A (en) * 2019-06-06 2019-09-20 零搜科技(深圳)有限公司 A kind of ERP electronic accessories management method and computer equipment
CN110286269A (en) * 2019-06-13 2019-09-27 广合科技(广州)有限公司 A kind of pcb board impedance information automatic collection and analysis method
CN114925029A (en) * 2022-06-07 2022-08-19 深圳市飞铭达信息技术有限公司 Data storage method and enterprise management system
CN114925029B (en) * 2022-06-07 2023-04-18 深圳市飞铭达信息技术有限公司 Data storage method and enterprise management system

Also Published As

Publication number Publication date
CN107181801B (en) 2020-08-04

Similar Documents

Publication Publication Date Title
CN109684375B (en) Method, accounting node and medium for querying transaction information in blockchain network
CN100566248C (en) Digital signature guarantees system, method and apparatus
CN108076148A (en) Storage system based on block chain
CN106101258A (en) A kind of interface interchange method of mixed cloud, Apparatus and system
CN109460966A (en) Contract signing method, apparatus and terminal device based on requesting party's classification
CN110598434B (en) House information processing method and device based on blockchain network, electronic equipment and storage medium
CN109491758A (en) Docker mirror image distribution method, system, data gateway and computer readable storage medium
CN110569658A (en) User information processing method and device based on block chain network, electronic equipment and storage medium
CN110493237A (en) Identity management method, device, computer equipment and storage medium
CN107770173A (en) Subscriber Management System, related identification information creation method and request method of calibration
CN113271311B (en) Digital identity management method and system in cross-link network
CN112835977B (en) Database management method and system based on block chain
WO2020071650A1 (en) Blockchain-based expense processing data management system and method and computer program therefor
CN110601896B (en) Data processing method and equipment based on block chain nodes
US10192262B2 (en) System for periodically updating backings for resource requests
CN107426223B (en) Cloud document encryption and decryption method, cloud document encryption and decryption device and cloud document processing system
CN107181801A (en) A kind of electronic accessories storage method and terminal
CN105225072A (en) A kind of access management method of multi-application system and system
CN110769274A (en) Live broadcast information processing method and device based on block chain network, electronic equipment and storage medium
WO2017107792A1 (en) Data information processing method, and data storage system
CN113011974A (en) Transaction information evidence storing method and system based on block chain
WO2018210097A1 (en) Method and device for execution transaction mode by classification
CN102420808A (en) Method for realizing single signon on telecom on-line business hall
CN111241562A (en) Purchase, sales and inventory management system based on micro-service architecture
EP4154441A1 (en) Access management of publisher nodes for secure access to maas network

Legal Events

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