CN106254559A - The method of a kind of information storage and server - Google Patents

The method of a kind of information storage and server Download PDF

Info

Publication number
CN106254559A
CN106254559A CN201610888147.8A CN201610888147A CN106254559A CN 106254559 A CN106254559 A CN 106254559A CN 201610888147 A CN201610888147 A CN 201610888147A CN 106254559 A CN106254559 A CN 106254559A
Authority
CN
China
Prior art keywords
data
backup data
pki
server
terminal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201610888147.8A
Other languages
Chinese (zh)
Inventor
周德海
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201610888147.8A priority Critical patent/CN106254559A/en
Publication of CN106254559A publication Critical patent/CN106254559A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
    • 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]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/146Markers for unambiguous identification of a particular session, e.g. session cookie or URL-encoding

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention provides method and the server of a kind of information storage.Described method includes: when receiving the Backup Data that terminal sends, cut by described Backup Data according to predetermined manner;Every segment data after cutting is marked;Every section of labeled data are carried out distributed storage.It is hereby understood that by implementing the technical scheme that the present invention provides, it is possible to according to predetermined manner, the Backup Data of user is cut, then carry out distributed storage, thus improve the safety of this Backup Data, and then improve the experience of user.

Description

The method of a kind of information storage and server
Technical field
The present invention relates to server field, relate to method and the server of the storage of a kind of information.
Background technology
Along with the development of terminal science and technology, it is indispensable that electronic equipment the most at work or has become in life. It is understood that when user uses electronic equipment to be operated, does shopping and entertain, mass data all can be produced.
It is pointed out that the memory capacity of electronic equipment is the most limited, now user will be standby by important data Part in Cloud Server, obtaining from Cloud Server there when needed.
Therefore, Cloud Server generally saves the substantial amounts of significant data of user, in order to protect the safety of user data, how User data is carried out storage and seems particularly important.
Summary of the invention
Embodiments provide method and the server of the storage of a kind of information, it is possible to according to predetermined manner by user's Backup Data cuts, and then carries out distributed storage, thus improves the safety of this Backup Data, and then improves use The experience at family.
Embodiment of the present invention first aspect discloses the method for a kind of information storage, and described method includes:
When receiving the Backup Data that terminal sends, according to predetermined manner, described Backup Data is cut;
Every segment data after cutting is marked;
Every section of labeled data are carried out distributed storage.
Second aspect present invention discloses a kind of server, it is characterised in that described server includes:
Cutter unit, for when receiving the Backup Data that terminal sends, according to predetermined manner by described Backup Data Cut;
Indexing unit, for being marked the every segment data after cutting;
Memory element, for carrying out distributed storage by every section of labeled data.
Third aspect present invention discloses a kind of server, and described server includes:
Storage has the memorizer of executable program code;
The processor coupled with described memorizer;
Described processor calls the described executable program code of storage in described memorizer, performs as described in relation to the first aspect Method.
It can be seen that in the scheme of the embodiment of the present invention, when receiving the Backup Data that terminal sends, according to default side Described Backup Data is cut by formula, and the every segment data after cutting is marked;Every section of labeled data are carried out Distributed storage.It is hereby understood that by implementing the technical scheme that the present invention provides, it is possible to according to predetermined manner by the backup of user Data are cut, and then carry out distributed storage, thus improve the safety of this Backup Data, and then improve user's Experience.
Accompanying drawing explanation
For the technical scheme being illustrated more clearly that in the embodiment of the present invention, below by use required in embodiment Accompanying drawing is briefly described, it should be apparent that, the accompanying drawing in describing below is some embodiments of the present invention, general for this area From the point of view of logical technical staff, on the premise of not paying creative work, it is also possible to obtain other accompanying drawing according to these accompanying drawings.
The schematic flow sheet of the method for a kind of information storage that Fig. 1-a provides for the embodiment of the present invention;
The network architecture diagram of a kind of information storage system that Fig. 1-b provides for the embodiment of the present invention;
A kind of Cloud Server spec list that Fig. 1-c provides for the embodiment of the present invention;
The schematic flow sheet of the method for the another kind of information storage that Fig. 2 provides for the embodiment of the present invention;
The schematic flow sheet of the method for the another kind of information storage that Fig. 3 provides for the embodiment of the present invention;
The schematic flow sheet of the method for the another kind of information storage that Fig. 4 provides for the embodiment of the present invention;
The structural representation of a kind of server that Fig. 5 provides for the embodiment of the present invention;
The structural representation of the another kind of server that Fig. 6 provides for the embodiment of the present invention;
The structural representation of the another kind of server that Fig. 7 provides for the embodiment of the present invention;
The structural representation of the another kind of server that Fig. 8 provides for the embodiment of the present invention;
The entity apparatus structural representation of a kind of server that Fig. 9 provides for the embodiment of the present invention;
The entity apparatus structural representation of a kind of mobile phone that Figure 10 provides for the embodiment of the present invention.
Detailed description of the invention
Embodiments provide method and the server of the storage of a kind of information, it is possible to according to predetermined manner by user's Backup Data cuts, and then carries out distributed storage, thus improves the safety of this Backup Data, and then improves use The experience at family.
In order to make those skilled in the art be more fully understood that the present invention program, below in conjunction with in the embodiment of the present invention Accompanying drawing, is explicitly described the technical scheme in the embodiment of the present invention, it is clear that described embodiment is the present invention one The embodiment divided rather than whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art are not doing Go out the every other embodiment obtained under creative work premise, all should belong to the scope of protection of the invention.
In description of the invention, claims and accompanying drawing, the term " first " of appearance, " second " and " the 3rd " etc. are to use In the object that difference is different, and it is not intended to describe specific order.Additionally, term " includes " and " having " and they are any Deformation, it is intended that cover non-exclusive comprising.Such as contain series of steps or the process of unit, method, system, product Or equipment is not limited to step or the unit listed, but the most also include step or the unit do not listed, or can Selection of land also includes other step intrinsic for these processes, method, product or equipment or unit.
The method disclosing the storage of a kind of information in one embodiment of the invention, described method includes: when receiving During the Backup Data that terminal sends, according to predetermined manner, described Backup Data is cut, and by the every segment data after cutting It is marked;Every section of labeled data are carried out distributed storage.
Refer to the method that Fig. 1-a, Fig. 1-a is a kind of information storage that one embodiment of the invention provides.Wherein, such as figure Shown in 1-a, the method for a kind of information storage that one embodiment of the present of invention provides includes herein below:
S101, when receive terminal send Backup Data time, according to predetermined manner, described Backup Data is cut;
It is pointed out that the main body that the method performs is server;
It addition, terminal is before carrying out data backup, need to register cloud account in advance, then log in cloud service according to cloud account Data to be backed up then could be transmitted to Cloud Server by device.
Wherein, as shown in Fig. 1-b, as a example by terminal is as mobile phone, terminal and Cloud Server can be handed over by LAN Mutually, it is also possible to be to be interacted by wide area network.
Wherein, when server receives the Backup Data that terminal sends, the size of described Backup Data to be determined;According to The size of described Backup Data determines the hop count of segmentation;Described Backup Data is cut by the hop count according to described segmentation.
Concrete, the size of such as Backup Data is 200M, then Backup Data can be cut into four parts by server, every part 50M;Backup Data can also be cut into five parts, every part of 40M etc., do not limit at this.
S102, will cutting after every segment data be marked;
Optionally, Backup Data can be encrypted before cutting.Concrete: server obtains the mark of described terminal Know;Determining the PKI that the mark with described terminal matches, wherein, the described private key corresponding with PKI is saved in described terminal; Utilize described PKI that described Backup Data is encrypted;Described according to predetermined manner, described Backup Data is cut, bag Include: according to predetermined manner, the Backup Data of described encryption is cut.
Wherein it is desired to it is noted that be the data after cutting can be combined, it is therefore desirable to every number according to doing Labelling.The most logically order is by data Arabic in cut data markers, and first paragraph is No. 1, and second segment is No. 2, 3rd section is No. 3 etc..
Optionally, the Backup Data after cutting can also be encrypted by server.Concrete, server obtains described end The mark of end;Determining the PKI that the mark with described terminal matches, wherein, the described private key corresponding with PKI is saved in described Terminal;Utilize described PKI that described every section of labeled data are encrypted;Described the data that every section labeled are distributed Formula stores, including: every section of labeled data of encryption are carried out distributed storage.
S103, every section of labeled data are carried out distributed storage.
Wherein, described server is connected with multiple child nodes, respectively by different fragmented storage difference child nodes.
Optionally, when receiving the request obtaining Backup Data that described terminal sends, by described every section of labeled number According to this and assemble method be sent to described terminal so that described terminal according to described assemble method to every section of labeled data Assemble.
Wherein it is desired to it is noted that Cloud Server typically refers to " virtual " service operating on identical physical hardware Device, Cloud Server uses as physical server.On virtual server platform, manager can with concrete CPU, internal memory and Disk characteristics provides server, and these cloud server system are all provided by online mode.The system that cloud service provider provides The most also different " specifications " is had due to function and price.This product of Cloud Server generally have two key dimension: CPU and Internal memory.As shown in Fig. 1-c Cloud Server spec list, the small-sized specification of Cloud Server is 1vCPU and 2GB RAM;In Cloud Server Type specification is 2vCPU and 4GB RAM;The large-scale specification of Cloud Server is 4vCPU and 8GB RAM.After selected Cloud Server manufacturer, use Concrete Cloud Server product specification can be contrasted by family, sees the business need whether meeting existing and future development Ask.
It can be seen that in the scheme of the embodiment of the present invention, when receiving the Backup Data that terminal sends, according to default side Described Backup Data is cut by formula, and the every segment data after cutting is marked;Every section of labeled data are carried out Distributed storage.It is hereby understood that by implementing the technical scheme that the present invention provides, it is possible to according to predetermined manner by the backup of user Data are cut, and then carry out distributed storage, thus improve the safety of this Backup Data, and then improve user's Experience.
Refer to the method that Fig. 2, Fig. 2 are a kind of information storages that one embodiment of the invention provides.Wherein, such as Fig. 2 institute Showing, the method for a kind of information storage that one embodiment of the present of invention provides includes herein below:
S201, when receive terminal send Backup Data time, obtain the mark of described terminal.
Wherein it is desired to it is noted that the main body that the method performs is server;
It addition, terminal is before carrying out data backup, need to register cloud account in advance, then log in cloud service according to cloud account Data to be backed up then could be transmitted to Cloud Server by device.
Wherein, the mark of described terminal can be such as IMEI, or MEID, or ESN, or device identification number (device ID), or media are got involved and are controlled (MAC, Media Access Control) address, or terminal unit sequence number etc..
S202, determining the PKI that the mark with described terminal matches, wherein, the described private key corresponding with PKI is saved in Described terminal.
Wherein, described PKI and private key are a double secret key (corresponding one of i.e. one PKIs obtained by a kind of algorithm Private key), PKI is part disclosed in cipher key pair, and private key is then private part.The when of using this double secret key, if One piece of data is encrypted, it is necessary to use another secret key decryption with one of them key.Such as it is necessary for private by public key encryption data Key is deciphered, if also must use public key decryptions with private key encryption, otherwise deciphering will not be successful.
S203, utilize described PKI that described Backup Data is encrypted.
S204, according to predetermined manner, the Backup Data of described encryption is cut.
Wherein it is possible to be understood by, when server receives the Backup Data that terminal sends, described backup number to be determined According to size;Size according to described Backup Data determines the hop count of segmentation;Hop count according to described segmentation is by described backup number According to cutting.
Particularly, the size of such as Backup Data is 200M, then Backup Data can be cut into four parts, often by server Part 50M;Backup Data can also be cut into five parts, every part of 40M etc., do not limit at this.
S205, will cutting after every segment data be marked.
Wherein it is desired to it is noted that be the data after cutting can be combined, it is therefore desirable to every number according to doing Labelling.The most logically order is by data Arabic in cut data markers, and first paragraph is No. 1, and second segment is No. 2, 3rd section is No. 3 etc..
Optionally, the Backup Data after cutting can also be encrypted by server.Concrete, server obtains described end The mark of end;Determining the PKI that the mark with described terminal matches, wherein, the described private key corresponding with PKI is saved in described Terminal;Utilize described PKI that described every section of labeled data are encrypted;Described the data that every section labeled are distributed Formula stores, including: every section of labeled data of encryption are carried out distributed storage.
S206, every section of labeled data are carried out distributed storage.
Wherein, described server is connected with multiple child nodes, respectively by different fragmented storage difference child nodes.
Optionally, when receiving the request obtaining Backup Data that described terminal sends, by described every section of labeled number According to this and assemble method be sent to described terminal so that described terminal according to described assemble method to every section of labeled data Assemble.
Wherein it is desired to it is noted that Cloud Server typically refers to " virtual " service operating on identical physical hardware Device, Cloud Server uses as physical server.On virtual server platform, manager can with concrete CPU, internal memory and Disk characteristics provides server, and these cloud server system are all provided by online mode.The system that cloud service provider provides The most also different " specifications " is had due to function and price.This product of Cloud Server generally have two key dimension: CPU and Internal memory.As shown in Fig. 1-c Cloud Server spec list, the small-sized specification of Cloud Server is 1vCPU and 2GB RAM;In Cloud Server Type specification is 2vCPU and 4GB RAM;The large-scale specification of Cloud Server is 4vCPU and 8GB RAM.After selected Cloud Server manufacturer, use Concrete Cloud Server product specification can be contrasted by family, sees the business need whether meeting existing and future development Ask.
It can be seen that the scheme of the embodiment of the present invention has expanded the process being encrypted by Backup Data, so that enter One step improves the safety of this Backup Data, and then improves the experience of user.
Refer to the method that Fig. 3, Fig. 3 are a kind of information storages that one embodiment of the invention provides.Wherein, such as Fig. 3 institute Showing, the method for a kind of information storage that one embodiment of the present of invention provides includes herein below:
S301, when receive terminal send Backup Data time, according to predetermined manner, described Backup Data is cut.
It is pointed out that the main body that the method performs is server;
It addition, terminal is before carrying out data backup, need to register cloud account in advance, then log in cloud service according to cloud account Data to be backed up then could be transmitted to Cloud Server by device.
Wherein, when server receives the Backup Data that terminal sends, the size of described Backup Data to be determined;According to The size of described Backup Data determines the hop count of segmentation;Described Backup Data is cut by the hop count according to described segmentation.
Particularly, the size of such as Backup Data is 200M, then Backup Data can be cut into four parts, often by server Part 50M;Backup Data can also be cut into five parts, every part of 40M etc., do not limit at this.
S302, will cutting after every segment data be marked;
Optionally, Backup Data can be encrypted before cutting.Concrete: server obtains the mark of described terminal Know;Determining the PKI that the mark with described terminal matches, wherein, the described private key corresponding with PKI is saved in described terminal; Utilize described PKI that described Backup Data is encrypted;Described according to predetermined manner, described Backup Data is cut, bag Include: according to predetermined manner, the Backup Data of described encryption is cut.
S303, obtain the mark of described terminal;
Wherein, the mark of described terminal can be such as IMEI, or MEID, or ESN, or device identification number (device ID), or media are got involved and are controlled (MAC, Media Access Control) address, or terminal unit sequence number etc..
S304, determining the PKI that the mark with described terminal matches, wherein, the described private key corresponding with PKI is saved in Described terminal;
Wherein, described PKI and private key are a double secret key (corresponding one of i.e. one PKIs obtained by a kind of algorithm Private key), PKI is part disclosed in cipher key pair, and private key is then private part.The when of using this double secret key, if One piece of data is encrypted, it is necessary to use another secret key decryption with one of them key.Such as it is necessary for private by public key encryption data Key is deciphered, if also must use public key decryptions with private key encryption, otherwise deciphering will not be successful.
S305, utilize described PKI that described every section of labeled data are encrypted;
S306, by encryption every section of labeled data carry out distributed storage.
It can be seen that the Backup Data after having expanded cutting in the scheme of the embodiment of the present invention is encrypted distributed depositing The process of storage, so that improving the safety of this Backup Data further, and then improves the experience of user.
Refer to the method that Fig. 4, Fig. 4 are a kind of information storages that one embodiment of the invention provides.Wherein, such as Fig. 4 institute Showing, the method for a kind of information storage that one embodiment of the present of invention provides includes herein below:
S401, when receive terminal send Backup Data time, obtain the mark of described terminal.
Wherein it is desired to it is noted that the main body that the method performs is server;
It addition, terminal is before carrying out data backup, need to register cloud account in advance, then log in cloud service according to cloud account Data to be backed up then could be transmitted to Cloud Server by device.
Wherein, the mark of described terminal can be such as IMEI, or MEID, or ESN, or device identification number (device ID), or media are got involved and are controlled (MAC, Media Access Control) address, or terminal unit sequence number etc..
S402, determining the PKI that the mark with described terminal matches, wherein, the described private key corresponding with PKI is saved in Described terminal.
Wherein, described PKI and private key are a double secret key (corresponding one of i.e. one PKIs obtained by a kind of algorithm Private key), PKI is part disclosed in cipher key pair, and private key is then private part.The when of using this double secret key, if One piece of data is encrypted, it is necessary to use another secret key decryption with one of them key.Such as it is necessary for private by public key encryption data Key is deciphered, if also must use public key decryptions with private key encryption, otherwise deciphering will not be successful.
S403, utilize described PKI that described Backup Data is encrypted.
S404, according to predetermined manner, the Backup Data of described encryption is cut.
Wherein it is possible to be understood by, when server receives the Backup Data that terminal sends, described backup number to be determined According to size;Size according to described Backup Data determines the hop count of segmentation;Hop count according to described segmentation is by described backup number According to cutting.
Particularly, the size of such as Backup Data is 200M, then Backup Data can be cut into four parts, often by server Part 50M;Backup Data can also be cut into five parts, every part of 40M etc., do not limit at this.
S405, will cutting after every segment data be marked.
Wherein it is desired to it is noted that be the data after cutting can be combined, it is therefore desirable to every number according to doing Labelling.The most logically order is by data Arabic in cut data markers, and first paragraph is No. 1, and second segment is No. 2, 3rd section is No. 3 etc..
Optionally, the Backup Data after cutting can also be encrypted by server.Concrete, server obtains described end The mark of end;Determining the PKI that the mark with described terminal matches, wherein, the described private key corresponding with PKI is saved in described Terminal;Utilize described PKI that described every section of labeled data are encrypted;Described the data that every section labeled are distributed Formula stores, including: every section of labeled data of encryption are carried out distributed storage.
S406, obtain the mark of described terminal.
S407, determining the PKI that the mark with described terminal matches, wherein, the described private key corresponding with PKI is saved in Described terminal.
S408, utilize described PKI that described every section of labeled data are encrypted.
S409, every section of labeled data and assemble method are sent to described terminal so that described terminal is according to institute State assemble method every section of labeled data are assembled.
S410, will assemble after data carry out distributed storage.
It can be seen that the scheme of the embodiment of the present invention has expanded Backup Data is encrypted and will cutting after standby Number, according to being encrypted the process of distributed storage after assembling, so that improving the safety of this Backup Data further, enters And improve the experience of user.
Refer to the structural representation that Fig. 5, Fig. 5 are a kind of servers 500 that one embodiment of the present of invention provides.Its In, as it is shown in figure 5, a kind of server 500 that one embodiment of the present of invention provides.This server 500 includes cutter unit 501, indexing unit 502 and memory element 503.
Cutter unit 501, for when receiving the Backup Data that terminal sends, according to predetermined manner by described backup number According to cutting.
Wherein, described cutter unit 501 includes determining subelement and cutting subelement;
Described determine subelement, for determining the size of described Backup Data;And size according to described Backup Data is true Determine the hop count of segmentation;
Described cutting subelement, for cutting described Backup Data according to the hop count of described segmentation.
Indexing unit 502, for being marked the every segment data after cutting.
Memory element 503, for carrying out distributed storage by every section of labeled data.
Wherein, cutter unit 501, indexing unit 502 and memory element 503 may be used for performing step in embodiment 1 Method described in S101 to S103, specifically describes the detailed in Example 1 description to described method, does not repeats them here.
Refer to the structural representation that Fig. 6, Fig. 6 are a kind of servers that one embodiment of the present of invention provides.Wherein, as Shown in Fig. 6, the another kind of server 600 that one embodiment of the present of invention provides.This server 600 includes cutter unit 601, mark Note unit 602, memory element the 603, first acquiring unit 604, first determine unit the 605, first ciphering unit 606;
First acquiring unit 604, for when receiving the Backup Data that terminal sends, obtaining the mark of described terminal.
First determines unit 605, for determining the PKI that the mark with described terminal matches, wherein, described and PKI Corresponding private key is saved in described terminal.
First ciphering unit 606, is used for utilizing described PKI to be encrypted described Backup Data.
Cutter unit 601, specifically for cutting the Backup Data of described encryption according to predetermined manner.
Wherein, described cutter unit 601 includes determining subelement and cutting subelement;
Described determine subelement, for determining the size of described Backup Data;And size according to described Backup Data is true Determine the hop count of segmentation;
Described cutting subelement, for cutting described Backup Data according to the hop count of described segmentation.
Indexing unit 602, for being marked the every segment data after cutting.
Memory element 603, for carrying out distributed storage by every section of labeled data.
Wherein, cutter unit 601, indexing unit 602, memory element the 603, first acquiring unit 604, first determine unit 605, the first ciphering unit 606 may be used for performing the method in embodiment 2 described in step S201 to S206, and specific descriptions refer to The embodiment 2 description to described method, does not repeats them here.
Refer to the structural representation that Fig. 7, Fig. 7 are a kind of servers that one embodiment of the present of invention provides.Wherein, as Shown in Fig. 7, the another kind of server 700 that one embodiment of the present of invention provides.This server 700 includes cutter unit 701, mark Note unit 702, memory element 703, second acquisition unit 704, second determine unit the 705, second ciphering unit 706;
Cutter unit 701, for when receiving the Backup Data that terminal sends, according to predetermined manner by described backup number According to cutting;
Wherein, described cutter unit 701 includes determining subelement and cutting subelement;
Described determine subelement, for determining the size of described Backup Data;And size according to described Backup Data is true Determine the hop count of segmentation;
Described cutting subelement, for cutting described Backup Data according to the hop count of described segmentation.
Indexing unit 702, for being marked the every segment data after cutting;
Second acquisition unit 704, for obtaining the mark of described terminal;
Second determines unit 705, for determining the PKI that the mark with described terminal matches, wherein, described and PKI Corresponding private key is saved in described terminal;
Second ciphering unit 706, is used for utilizing described PKI to be encrypted described every section of labeled data;
Memory element 703, specifically for carrying out distributed storage by every section of labeled data of encryption.
Wherein, cutter unit 701, indexing unit 702, memory element 703, second acquisition unit 704, second determine unit 705, the second ciphering unit 706 may be used for performing the method in embodiment 3 described in step S301 to S306, and specific descriptions refer to The embodiment 3 description to described method, does not repeats them here.
Referring to Fig. 8, figure, 8 is the structural representation of a kind of server that one embodiment of the present of invention provides.Wherein, As shown in Figure 8, the another kind of server 800 that one embodiment of the present of invention provides.This server 800 include cutter unit 801, Indexing unit 802, memory element the 803, first acquiring unit 804, first determine unit the 805, first ciphering unit 806, second Acquiring unit 807, second determine unit the 808, second ciphering unit 809, transmitting element 810.
First acquiring unit 804, for when receiving the Backup Data that terminal sends, obtaining the mark of described terminal.
First determines unit 805, for determining the PKI that the mark with described terminal matches, wherein, described and PKI Corresponding private key is saved in described terminal.
First ciphering unit 806, is used for utilizing described PKI to be encrypted described Backup Data.
Cutter unit 801, specifically for cutting the Backup Data of described encryption according to predetermined manner.
Wherein, described cutter unit 801 includes determining subelement and cutting subelement;
Described determine subelement, for determining the size of described Backup Data;And size according to described Backup Data is true Determine the hop count of segmentation;
Described cutting subelement, for cutting described Backup Data according to the hop count of described segmentation.
Indexing unit 802, for being marked the every segment data after cutting.
Second acquisition unit 807, for obtaining the mark of described terminal;
Second determines unit 808, for determining the PKI that the mark with described terminal matches, wherein, described and PKI Corresponding private key is saved in described terminal;
Second ciphering unit 809, is used for utilizing described PKI to be encrypted described every section of labeled data;
Transmitting element 810, for described every section of labeled data and assemble method are sent to described terminal so that Obtain described terminal according to described assemble method, every section of labeled data to be assembled.
Described memory element 803, specifically for carrying out distributed storage by every section of labeled data of encryption.
Refer to Fig. 9, in another embodiment of the present invention, it is provided that a kind of server 900.Described server 900 wraps Include CPU901, memorizer 902, bus 903.
Wherein, CPU901 performs to be stored in advance in the program in memorizer 902, and this execution process specifically includes:
When receiving the Backup Data that terminal sends, according to predetermined manner, described Backup Data is cut;
Every segment data after cutting is marked;
Every section of labeled data are carried out distributed storage.
Optionally, described according to predetermined manner, described Backup Data is cut before, this execution process also includes:
Obtain the mark of described terminal;
Determining the PKI that the mark with described terminal matches, wherein, the described private key corresponding with PKI is saved in described Terminal;
Utilize described PKI that described Backup Data is encrypted;
Described according to predetermined manner, described Backup Data is cut, including:
According to predetermined manner, the Backup Data of described encryption is cut.
Optionally, described will cutting after every segment data be marked after, this execution process also includes:
Obtain the mark of described terminal;
Determining the PKI that the mark with described terminal matches, wherein, the described private key corresponding with PKI is saved in described Terminal;
Utilize described PKI that described every section of labeled data are encrypted;
Described every section of labeled data are carried out distributed storage, including:
Every section of labeled data of encryption are carried out distributed storage.
Optionally, described according to predetermined manner, described Backup Data is cut, including:
Determine the size of described Backup Data;
Size according to described Backup Data determines the hop count of segmentation;
Described Backup Data is cut by the hop count according to described segmentation.
Optionally, this execution process also includes:
When receiving the request obtaining Backup Data that described terminal sends, by described every section of labeled data and group Dress method is sent to described terminal so that every section of labeled data are assembled by described terminal according to described assemble method.
It can be seen that in the scheme of the embodiment of the present invention, when receiving the Backup Data that terminal sends, according to default side Described Backup Data is cut by formula, and the every segment data after cutting is marked;Every section of labeled data are carried out Distributed storage.It is hereby understood that by implementing the technical scheme that the present invention provides, it is possible to according to predetermined manner by the backup of user Data are cut, and then carry out distributed storage, thus improve the safety of this Backup Data, and then improve user's Experience.
Referring to Figure 10, Figure 10 is the terminal with server interaction that one embodiment of the present of invention provides, and this terminal can To be a mobile phone.With reference to Figure 10, this mobile phone includes: radio frequency (Radio Frequency, RF) circuit 1010, memorizer 1020, Input block 1030, display unit 1040, sensor 1050, voicefrequency circuit 1060, Wireless Fidelity (Wireless Fidelity, WiFi) parts such as module 1070, processor 1080 and power supply 1090.It will be understood by those skilled in the art that shown in Figure 10 Handset structure be not intended that the restriction to mobile phone, can include that ratio illustrates more or less of parts, or combine some portion Part, or different parts layouts.
Below in conjunction with Figure 10 each component parts of mobile phone carried out concrete introduction:
RF circuit 1010 can be used for reception and the transmission of information.Generally, RF circuit 1010 includes but not limited to antenna, at least One amplifier, transceiver, bonder, low-noise amplifier (Low Noise Amplifier, LNA), duplexer etc..This Outward, RF circuit 1010 can also be communicated with network and other equipment by radio communication.Above-mentioned radio communication can use arbitrary Communication standard or agreement, include but not limited to global system for mobile communications (Global System of Mobile Communication, GSM), general packet radio service (General Packet Radio Service, GPRS), code division many Location (Code Division Multiple Access, CDMA), WCDMA (Wideband Code Division Multiple Access, WCDMA), Long Term Evolution (Long Term Evolution, LTE), Email, Short Message Service (Short Messaging Service, SMS) etc..
Memorizer 1020 can be used for storing software program and module, and processor 1080 is stored in memorizer by operation The software program of 1020 and module, thus perform the application of various functions and the data process of mobile phone.Memorizer 1020 can be led Including storage program area and storage data field, wherein, needed for storage program area can store operating system, at least one function Application program (such as communication function, information storage function, touch control operation detection function etc.) etc.;Storage data field can store basis The data (such as store path table data etc.) etc. that the use of mobile phone is created.Additionally, memorizer 1020 can include at a high speed with Machine access memorizer, it is also possible to include nonvolatile memory, for example, at least one disk memory, flush memory device or its His volatile solid-state part.
Input block 1030 can be used for receiving numeral or the character information of input, and produce with the user setup of mobile phone with And function controls relevant key signals input.Specifically, input block 1030 can include fingerprint module 1031 and other inputs Equipment 1032.Fingerprint module 1031, can gather user's finger print data thereon.Optionally, fingerprint module 1031 can include light Formula fingerprint module, capacitance type fingerprint module and RF-type fingerprint module.With fingerprint module 1031 for capacitance type fingerprint module As a example by, specifically include induction electrode (n1 abnormal induction electrode and n2 normal induction electrode) and be connected with described induction electrode Signal processing circuit (such as amplifying circuit, noise suppression circuit, analog-to-digital conversion circuit, etc.).Except fingerprint module 1031, defeated Enter unit 1030 and can also include other input equipments 1032.Specifically, other input equipments 1032 can include but not limited to One or many in physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, action bars etc. Kind.
Display unit 1040 can be used for each of the information that inputted by user of display or the information being supplied to user and mobile phone Plant menu.Display unit 1040 can include display screen 1041, optionally, can use liquid crystal display (Liquid Crystal Display, LCD), the form such as Organic Light Emitting Diode (Organic Light-Emitting Diode, OLED) configure aobvious Display screen 1041.Although in Fig. 10, fingerprint module 1031 and display screen 1041 are to realize mobile phone as two independent parts Input and input function, but in some embodiments it is possible to by integrated with display screen 1041 for fingerprint module 1031 and realize The input of mobile phone and output function.
Mobile phone may also include at least one sensor 1050, such as optical sensor, motion sensor and other sensors. Specifically, optical sensor can include ambient light sensor and proximity transducer, and wherein, ambient light sensor can be according to ambient light Light and shade regulate the brightness of display screen 1041, proximity transducer can when mobile phone moves in one's ear, close display screen 1041 and/ Or backlight.As the one of motion sensor, accelerometer sensor can detect (generally three axles) acceleration in all directions Size, can detect that size and the direction of gravity time static, can be used for identify mobile phone attitude application (such as horizontal/vertical screen switching, Dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, percussion) etc.;Can also configure as mobile phone Gyroscope, barometer, drimeter, thermometer, other sensors such as infrared ray sensor, do not repeat them here.
Voicefrequency circuit 1060, speaker 1061, microphone 1062 can provide the audio interface between user and mobile phone.Audio frequency The signal of telecommunication after the voice data conversion that circuit 1060 can will receive, is transferred to speaker 1061, speaker 1061 changes Export for acoustical signal;On the other hand, the acoustical signal of collection is converted to the signal of telecommunication by microphone 1062, by voicefrequency circuit 1060 Voice data is converted to after reception, then after voice data output processor 1080 is processed, through RF circuit 1010 to be sent to ratio Such as another mobile phone, or voice data is exported to memorizer 1020 to process further.
WiFi belongs to short range wireless transmission technology, and mobile phone can help user's transceiver electronics postal by WiFi module 1070 Part, browsing webpage and access streaming video etc., it has provided the user wireless broadband internet and has accessed.Although Figure 10 shows WiFi module 1070, but it is understood that, it is also not belonging to must be configured into of mobile phone, can not change as required completely Omit in the scope of the essence becoming invention.
Processor 1080 is the control centre of mobile phone, utilizes various interface and the various piece of the whole mobile phone of connection, It is stored in the software program in memorizer 1020 and/or module by running or performing, and calls and be stored in memorizer 1020 Interior data, perform the various functions of mobile phone and process data, thus mobile phone is carried out integral monitoring.Optionally, processor 1080 can include one or more processing unit;Preferably, processor 1080 can integrated application processor and modulation /demodulation process Device, wherein, application processor mainly processes operating system, user interface and application program etc., and modem processor is mainly located Reason radio communication.It is understood that above-mentioned modem processor can not also be integrated in processor 1080.
Mobile phone also includes the power supply 1090 (such as battery) powered to all parts, it is preferred that power supply can pass through power supply Management system is logically contiguous with processor 1080, thus realizes management charging, electric discharge and power consumption pipe by power-supply management system The functions such as reason.
Although not shown, mobile phone can also include photographic head, bluetooth module etc., does not repeats them here.
In the above-described embodiments, the description to each embodiment all emphasizes particularly on different fields, and does not has the portion described in detail in certain embodiment Point, may refer to the associated description of other embodiments.
In several embodiments provided herein, it should be understood that disclosed device, can be by another way Realize.Such as, device embodiment described above is only schematically, and the division of the most described unit is only one Logic function divides, actual can have when realizing other dividing mode, the most multiple unit or assembly can in conjunction with or can To be integrated into another system, or some features can be ignored, or does not performs.Another point, shown or discussed each other Coupling direct-coupling or communication connection can be the INDIRECT COUPLING by some interfaces, device or unit or communication connection, Can be being electrical or other form.
The described unit illustrated as separating component can be or may not be physically separate, shows as unit The parts shown can be or may not be physical location, i.e. may be located at a place, or can also be distributed to multiple On NE.Some or all of unit therein can be selected according to the actual needs to realize the mesh of the present embodiment scheme 's.
It addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, it is also possible to It is that unit is individually physically present, it is also possible to two or more unit are integrated in a unit.Above-mentioned integrated list Unit both can realize to use the form of hardware, it would however also be possible to employ the form of SFU software functional unit realizes.
If described integrated unit realizes and as independent production marketing or use using the form of SFU software functional unit Time, can be stored in a computer read/write memory medium.Based on such understanding, technical scheme is substantially The part that in other words prior art contributed or this technical scheme completely or partially can be with the form of software product Embodying, this computer software product is stored in a storage medium, including some instructions with so that a computer Equipment (can be for personal computer, server or the network equipment etc.) perform the whole of method described in each embodiment of the present invention or Part steps.And aforesaid storage medium includes: USB flash disk, read only memory (ROM, Read-Only Memory), random access memory are deposited Reservoir (RAM, Random Access Memory), portable hard drive, magnetic disc or CD etc. are various can store program code Medium.
The above, above example only in order to technical scheme to be described, is not intended to limit;Although with reference to front State embodiment the present invention has been described in detail, it will be understood by those within the art that: it still can be to front State the technical scheme described in each embodiment to modify, or wherein portion of techniques feature is carried out equivalent;And these Amendment or replacement, do not make the essence of appropriate technical solution depart from the scope of various embodiments of the present invention technical scheme.

Claims (11)

1. the method for an information storage, it is characterised in that described method includes:
When receiving the Backup Data that terminal sends, according to predetermined manner, described Backup Data is cut;
Every segment data after cutting is marked;
Every section of labeled data are carried out distributed storage.
Method the most according to claim 1, it is characterised in that described according to predetermined manner, described Backup Data is cut Before cutting, described method also includes:
Obtain the mark of described terminal;
Determining the PKI that the mark with described terminal matches, wherein, the described private key corresponding with PKI is saved in described terminal;
Utilize described PKI that described Backup Data is encrypted;
Described according to predetermined manner, described Backup Data is cut, including:
According to predetermined manner, the Backup Data of described encryption is cut.
Method the most according to claim 1, it is characterised in that described will cutting after every segment data be marked after, Described method also includes:
Obtain the mark of described terminal;
Determining the PKI that the mark with described terminal matches, wherein, the described private key corresponding with PKI is saved in described terminal;
Utilize described PKI that described every section of labeled data are encrypted;
Described every section of labeled data are carried out distributed storage, including:
Every section of labeled data of encryption are carried out distributed storage.
Method the most according to claim 1, it is characterised in that described according to predetermined manner, described Backup Data is cut Cut, including:
Determine the size of described Backup Data;
Size according to described Backup Data determines the hop count of segmentation;
Described Backup Data is cut by the hop count according to described segmentation.
5. according to the arbitrary described method of Claims 1-4, it is characterised in that described method also includes:
When receiving the request obtaining Backup Data that described terminal sends, by described every section of labeled data and assembling side Method is sent to described terminal so that every section of labeled data are assembled by described terminal according to described assemble method.
6. a server, it is characterised in that described server includes:
Cutter unit, for when receiving the Backup Data that terminal sends, carrying out described Backup Data according to predetermined manner Cutting;
Indexing unit, for being marked the every segment data after cutting;
Memory element, for carrying out distributed storage by every section of labeled data.
Server the most according to claim 6, it is characterised in that described server also includes:
First acquiring unit, for obtaining the mark of described terminal;
First determines unit, for determining the PKI that the mark with described terminal matches, wherein, the described private corresponding with PKI Key is saved in described terminal;
First ciphering unit, is used for utilizing described PKI to be encrypted described Backup Data;
Described cutter unit, specifically for cutting the Backup Data of described encryption according to predetermined manner.
Server the most according to claim 6, it is characterised in that described server also includes:
Second acquisition unit, for obtaining the mark of described terminal;
Second determines unit, for determining the PKI that the mark with described terminal matches, wherein, the described private corresponding with PKI Key is saved in described terminal;
Second ciphering unit, is used for utilizing described PKI to be encrypted described every section of labeled data;
Described memory element, specifically for carrying out distributed storage by every section of labeled data of encryption.
Server the most according to claim 6, it is characterised in that described cutter unit includes determining subelement and cutting Unit;
Described determine subelement, for determining the size of described Backup Data;And determine point according to the size of described Backup Data The hop count of section;
Described cutting subelement, for cutting described Backup Data according to the hop count of described segmentation.
10. according to the arbitrary described server of claim 6 to 9, it is characterised in that described server also includes transmitting element;
Described transmitting element, for when receiving the request obtaining Backup Data that described terminal sends, being marked described every section The data of note and assemble method are sent to described terminal so that every section is labeled by described terminal according to described assemble method Data assemble.
11. 1 kinds of servers, it is characterised in that including:
Storage has the memorizer of executable program code;
The processor coupled with described memorizer;
Described processor calls the described executable program code of storage in described memorizer, performs if claim 1 is to right Require the method described in 5 any one.
CN201610888147.8A 2016-10-11 2016-10-11 The method of a kind of information storage and server Pending CN106254559A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610888147.8A CN106254559A (en) 2016-10-11 2016-10-11 The method of a kind of information storage and server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610888147.8A CN106254559A (en) 2016-10-11 2016-10-11 The method of a kind of information storage and server

Publications (1)

Publication Number Publication Date
CN106254559A true CN106254559A (en) 2016-12-21

Family

ID=57611471

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610888147.8A Pending CN106254559A (en) 2016-10-11 2016-10-11 The method of a kind of information storage and server

Country Status (1)

Country Link
CN (1) CN106254559A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109635573A (en) * 2018-11-12 2019-04-16 北京海泰方圆科技股份有限公司 System, method, apparatus, electronic equipment and the medium of data distribution formula encryption and decryption
CN109976948A (en) * 2019-03-18 2019-07-05 北京思源互联科技有限公司 Private information backup method and recovery method and system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103229450A (en) * 2010-08-11 2013-07-31 安全第一公司 Systems and methods for secure multi-enant data storage
CN103327084A (en) * 2013-06-08 2013-09-25 北京古盘创世科技发展有限公司 Public and private hybrid distributed cloud storage system and cloud storage method
CN104503708A (en) * 2014-12-29 2015-04-08 成都致云科技有限公司 Data hash storage method and device
US9137304B2 (en) * 2011-05-25 2015-09-15 Alcatel Lucent Method and apparatus for achieving data security in a distributed cloud computing environment
CN104967601A (en) * 2015-02-12 2015-10-07 腾讯科技(深圳)有限公司 Data processing method and apparatus

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103229450A (en) * 2010-08-11 2013-07-31 安全第一公司 Systems and methods for secure multi-enant data storage
US9137304B2 (en) * 2011-05-25 2015-09-15 Alcatel Lucent Method and apparatus for achieving data security in a distributed cloud computing environment
CN103327084A (en) * 2013-06-08 2013-09-25 北京古盘创世科技发展有限公司 Public and private hybrid distributed cloud storage system and cloud storage method
CN104503708A (en) * 2014-12-29 2015-04-08 成都致云科技有限公司 Data hash storage method and device
CN104967601A (en) * 2015-02-12 2015-10-07 腾讯科技(深圳)有限公司 Data processing method and apparatus

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109635573A (en) * 2018-11-12 2019-04-16 北京海泰方圆科技股份有限公司 System, method, apparatus, electronic equipment and the medium of data distribution formula encryption and decryption
CN109635573B (en) * 2018-11-12 2019-12-06 北京海泰方圆科技股份有限公司 Data distributed encryption and decryption system, method, device, electronic equipment and medium
CN109976948A (en) * 2019-03-18 2019-07-05 北京思源互联科技有限公司 Private information backup method and recovery method and system

Similar Documents

Publication Publication Date Title
CN103874018A (en) Access point information sharing method and device
CN103763112B (en) A kind of user identity protection method and apparatus
CN104967601A (en) Data processing method and apparatus
CN106851780A (en) The method and terminal of a kind of network connection
CN104134043B (en) Content is hidden, separates method, device and the terminal hidden
CN106230703A (en) The process of chat record and acquisition methods and device
CN106412033A (en) Data migration method and terminal
CN108307529A (en) A kind of hotspot connection method and its mobile terminal
CN103945241A (en) Streaming data statistical method, system and related device
CN106714333A (en) Data migration method and terminal
CN107153576A (en) The distribution method and terminal device of a kind of memory source
CN106656978A (en) Account login method and server
CN103631592B (en) A kind of configuration, call method, device and equipment that shows resource
CN103561155B (en) Send the method for note, device and terminal
CN104901992A (en) Resource transfer method and device
CN106453571A (en) Data migration method and terminal
CN106817489A (en) The reminding method and mobile terminal of message
CN104391629A (en) Method for sending message in orientation manner, method for displaying message, server and terminal
CN106254559A (en) The method of a kind of information storage and server
CN106487878A (en) A kind of method of Data Migration and terminal
CN105553718A (en) Method and device for displaying guidance information
CN106470234A (en) The method and device that a kind of equipment finds
CN104918130A (en) Methods for transmitting and playing multimedia information, devices and system
CN106657214A (en) Data migration method and terminal
CN103678615B (en) A kind of good friend's dynamic information display method, device and terminal device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20161221