CN107506386A - A kind of data aggregation method based on NAS, device, terminal device and storage medium - Google Patents
A kind of data aggregation method based on NAS, device, terminal device and storage medium Download PDFInfo
- Publication number
- CN107506386A CN107506386A CN201710616956.8A CN201710616956A CN107506386A CN 107506386 A CN107506386 A CN 107506386A CN 201710616956 A CN201710616956 A CN 201710616956A CN 107506386 A CN107506386 A CN 107506386A
- Authority
- CN
- China
- Prior art keywords
- data
- target terminal
- terminal equipment
- multimedia file
- nas
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/14—Error detection or correction of the data by redundancy in operation
- G06F11/1402—Saving, restoring, recovering or retrying
- G06F11/1415—Saving, restoring, recovering or retrying at system level
- G06F11/1435—Saving, restoring, recovering or retrying at system level using file system or storage system metadata
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/14—Error detection or correction of the data by redundancy in operation
- G06F11/1402—Saving, restoring, recovering or retrying
- G06F11/1446—Point-in-time backing up or restoration of persistent data
- G06F11/1458—Management of the backup or restore process
- G06F11/1464—Management of the backup or restore process for networked environments
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/10—File systems; File servers
- G06F16/18—File system types
- G06F16/182—Distributed file systems
- G06F16/1824—Distributed file systems implemented using Network-attached Storage [NAS] architecture
- G06F16/1827—Management specifically adapted to NAS
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/40—Information retrieval; Database structures therefor; File system structures therefor of multimedia data, e.g. slideshows comprising image and additional audio data
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Data Mining & Analysis (AREA)
- Databases & Information Systems (AREA)
- Quality & Reliability (AREA)
- Multimedia (AREA)
- Library & Information Science (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The present invention relates to technical field of data processing, proposes a kind of data aggregation method based on NAS, device, terminal device and computer-readable storage medium.The present invention is by the way that the unique identifier of target terminal equipment is written in specific multimedia file, when target terminal equipment is by the first protocol access nas server, unique identifier and user profile corresponding to extraction from the specific multimedia file, then can be by the corresponding storage region of nas server described in data Cun Chudao to be stored.Because the unique identifier extracts from specific multimedia file, and the unique identifier is also that target terminal equipment passes through used unique identifier during second protocol data storage to the nas server, when therefore can ensure to use identical unique identifier when target terminal equipment accesses nas server by the first agreement and second protocol respectively, and then solve data backup by all kinds of means caused by there is deviation in unique identifier data aggregate failure problem.
Description
Technical field
The present invention relates to technical field of data processing, more particularly to a kind of data aggregation method based on NAS, device, end
End equipment and computer-readable storage medium.
Background technology
NAS(Network Attached Storage:Network attached storage) it is a kind of special data storage server,
Including memory device and embedded systems software, it is possible to provide the sharing functionality of cross-platform file, meet that user passes through network access number
According to demand.
User is deposited terminal device by different transmission channel (such as HTTP or MTP etc. different the network transmission protocol)
The data of storage can back up more parts of data of identical simultaneously when backuping to nas server, cause data transmission period extension and
The waste of memory space.
In view of the above-mentioned problems, main at present handled by the way of data below polymerization:There is provided first by terminal system
Interface obtain the unique identifier of terminal device, and the voucher using this identifier as data backup by all kinds of means;Then pass through
Server binds corresponding user profile and the identifier;When carrying out data backup by all kinds of means by the identifier from server
User profile corresponding to acquisition, the data of the terminal device are finally backuped into storage corresponding with the user profile in NAS
Region.
However, due to the diversity of terminal system, the interface that it is provided is often off-gauge, and this can be caused by a variety of
There is deviation in the equipment unique identifier that channel is got, and then the user profile for causing to get from server produces exception,
Ultimately result in the failure of data aggregate.Such as the diversity due to the customization of Andriod cell phone systems and nonstandard parasexuality so that
The interface that the Andriod cell phone systems of customization provide is non-standard interface, causes the cell phone apparatus got by multiple channel
Unique identifier there is deviation.
The content of the invention
In view of this, the embodiments of the invention provide a kind of data aggregation method based on NAS, device, terminal device and
Computer-readable storage medium, it can solve the problem that during data backup by all kinds of means the data aggregate caused by deviation occurs in device identifier
Failure problem.
The first aspect of the embodiment of the present invention provides a kind of data aggregation method based on NAS, including:
When target terminal equipment is by the first protocol access nas server, from the specified mesh of the target terminal equipment
Default specific multimedia file is detected in record, the specific multimedia file passes through second protocol in the target terminal equipment
Generated when accessing the nas server and be stored in the assigned catalogue;
Extracted from the specific multimedia file unique identifier of the target terminal equipment being previously written with
And user profile, the unique identifier and user profile are target terminal equipment by second protocol data storage to described
Used unique identifier and user profile during nas server;
By the data storage to be stored of the target terminal equipment into the nas server with the user profile and only
Storage region corresponding to one identifier.
The second aspect of the embodiment of the present invention provides a kind of data aggregate device based on NAS, including:
Specific file detection module, for when target terminal equipment is by the first protocol access nas server, from described
Default specific multimedia file is detected in the assigned catalogue of target terminal equipment, the specific multimedia file is in the target
Terminal device generates when accessing the nas server by second protocol and is stored in the assigned catalogue;
Information extraction modules, set for extracting the target terminal being previously written from the specific multimedia file
Standby unique identifier and user profile, the unique identifier and user profile are that target terminal equipment passes through the second association
Used unique identifier and user profile when discussing data storage to the nas server;
Data memory module, for by the data storage to be stored of the target terminal equipment into the nas server
Storage region corresponding with the user profile and unique identifier.
The third aspect of the embodiment of the present invention provides a kind of terminal device, including memory, processor and is stored in
In the memory and the computer program that can run on the processor, described in the computing device during computer program
The step of realizing the data aggregation method based on NAS such as the first aspect offer of the embodiment of the present invention.
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, and the first aspect such as the embodiment of the present invention is realized when the computer program is executed by processor
The step of data aggregation method based on NAS provided.
The present invention works as target terminal by the way that the unique identifier of target terminal equipment is written in specific multimedia file
When equipment is by the first protocol access nas server, from the specific multimedia file extraction corresponding to unique identifier and
User profile, then can be by the corresponding storage region of nas server described in data Cun Chudao to be stored.Due to unique mark
Know symbol to extract from specific multimedia file, and the unique identifier is also that target terminal equipment passes through second protocol
Used unique identifier during data storage to the nas server, therefore can ensure that target terminal equipment passes through respectively
First agreement and second protocol use identical unique identifier when accessing nas server, and then it is standby to solve data by all kinds of means
Part when caused by there is deviation in unique identifier data aggregate failure problem.
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 the required accompanying drawing used be briefly described, it should be apparent that, drawings in the following description be only the present invention some
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 flow of one embodiment of data aggregation method based on NAS provided in an embodiment of the present invention
Figure;
Fig. 2 is a kind of flow of second embodiment of data aggregation method based on NAS provided in an embodiment of the present invention
Figure;
Fig. 3 is a kind of structure chart of one embodiment of data aggregate device based on NAS provided in an embodiment of the present invention;
Fig. 4 is a kind of schematic diagram of terminal device provided in an embodiment of the present invention.
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.
The embodiments of the invention provide the storage of a kind of data aggregation method based on NAS, device, terminal device and computer
Medium, it can solve the problem that during data backup by all kinds of means the data aggregate failure problem caused by deviation occurs in device identifier.
Referring to Fig. 1, a kind of one embodiment of the data aggregation method based on NAS includes in the embodiment of the present invention:
101st, when target terminal equipment is by the first protocol access nas server, from the finger of the target terminal equipment
Determine to detect default specific multimedia file in catalogue;
The target terminal equipment is the terminal device for needing Backup Data to nas server, can be user mobile phone,
The various kinds of equipment such as desktop computer or notebook computer.The assigned catalogue is some particular memory mesh of the target terminal equipment
Record, the specific multimedia file generate simultaneously when the target terminal equipment accesses the nas server by second protocol
It is stored in the assigned catalogue.First agreement and second protocol are the FTP of two kinds of different channels, described the
One agreement is that the file that target terminal equipment is directly connected with nas server or is connected by data wire with nas server passes
Defeated agreement, can be the FTPs such as MTP protocol, PTP protocol;The second protocol passes through wired for target terminal equipment
Or the FTP that wireless network is connected with nas server, can be the transmission of the files such as FTP, HTTP, TCP/IP, UDP
Agreement.The specific multimedia file is a multimedia file for including customizing messages, can be picture file or video
File.
Further, the specific multimedia file can be produced by following steps:
(1) when the target terminal equipment accesses the nas server by second protocol, the mark of terminal system is passed through
Quasi- interface obtains the unique identifier of the target terminal equipment;
(2) user account according to used in the target terminal equipment accesses the nas server determines user profile;
(3) multimedia file for specifying the unique identifier and user profile write-in, obtains the specific multimedia
File.
For above-mentioned steps (1) to (3), when target terminal equipment logs in the NAS services using the user account of registration
During device, the unique identifier of the target terminal equipment is obtained, the nas server institute is accessed according to the target terminal equipment
The user account used determines user profile, the multimedia text for then specifying the unique identifier and user profile write-in
Part, obtain the specific multimedia file.Specifically, the unique identifier and user profile can be write using default algorithm
Enter the specified location for the multimedia file specified, then obtained specific multimedia file is stored to the target terminal again and set
Standby assigned catalogue., can be direct when the target terminal equipment is by second protocol data storage to the nas server
Use the unique identifier and user profile.
Further, it is described that default specific multimedia file bag is detected from the assigned catalogue of the target terminal equipment
Include:
(1) the destination multimedia file that size is specified in the assigned catalogue of the target terminal equipment is detected;
(2) if only detecting a destination multimedia file, the destination multimedia file is defined as the spy
Determine multimedia file;
(3) if detecting more than two destination multimedia files, each destination multimedia file is obtained
The data value of specified location, the spy is determined from each destination multimedia file according to the data value of the specified location
Determine multimedia file.
For ease of the lookup of specific multimedia file, the size of this document can be specified when selecting specific multimedia file
For a given value, as long as it is the more of the given value so to detect size in the assigned catalogue of the target terminal equipment
Media file.The multimedia file for being the given value for multiple sizes in assigned catalogue be present, can further be obtained
The data value of the specified location of each multimedia file is taken, according to the data value of the specified location from each more matchmakers
The specific multimedia file is determined in body file.Here specified location can be a flag bit, the numerical value of the flag bit
It is previously written the specific multimedia file.Therefore, it is whether identical with the value being previously written according to the value of the specified location
It can determine whether corresponding multimedia file is the specific multimedia file.
Further, the specific multimedia file can also be searched from the assigned catalogue using other factor, than
Such as the creation time, the specify information of specified location of the specific multimedia file etc. of the specific multimedia file.
102nd, the unique mark for the target terminal equipment being previously written is extracted from the specific multimedia file
Symbol and user profile;
After the specific multimedia file is detected, extract what is be previously written from the specific multimedia file
The unique identifier and user profile of the target terminal equipment.The unique identifier and user profile are target terminal
Equipment passes through used unique identifier during second protocol data storage to the nas server and user profile.Specifically
, the unique identifier and use can be extracted from the specified location of the specific multimedia file using default algorithm
Family information.
103rd, by the data storage to be stored of the target terminal equipment into the nas server with the user profile
With unique identifier corresponding to storage region.
After the unique identifier of the target terminal equipment and user profile is extracted, it is possible to by the target
The storage corresponding with the user profile and unique identifier into the nas server of the data storage to be stored of terminal device
Region.The data to be stored can be that more than one the arbitrary data file or target terminal that user specifies are set
All data files in standby specified storage catalogue.For ease of the management of data, the nas server can be believed according to user
Breath and the device identifier storage region that to mark off polylith different, the data to be stored of the target terminal equipment store to
In storage region corresponding to the user profile and unique identifier.
Further, the data storage to be stored by the target terminal equipment into the nas server with institute
Stating storage region corresponding to user profile and unique identifier can include:
(1) data to be stored in the target terminal equipment are sent into the nas server and believed with the user
Cease the User Catalog of binding, the storage region that it is the specific setting of each user in the nas server that the User Catalog, which is,;
(2) facility inventory by the data distribution to be stored into the User Catalog with unique identifier binding
Stored.
For above-mentioned steps (1) and (2), in advance by establishing the use bound with user profile in the nas server
Family catalogue is that each user marks off special storage region, and is uniquely marked with equipment by being established in each User Catalog
Know the facility inventory of symbol binding, further can mark off special storage region for each equipment of each user.It is each to use
There can be multiple equipment catalogue under the catalogue of family, can also possess identical facility inventory under different User Catalogs.It will first wait to deposit
Under the User Catalog for storing up the binding of data Cun Chudao and the user profile, be then further assigned in the User Catalog with
The facility inventory of the unique identifier binding is stored.
Preferably, in one embodiment of the invention, first agreement is MTP protocol, and the second protocol is
Http protocol, the target terminal equipment are Android or IOS smart mobile phones, and the assigned catalogue is the system phase of smart mobile phone
Volume.After user logs in NAS device by the user of registration, the unique identifier of equipment is obtained by standard interface, this is marked
Know symbol and be written to the specified location of a special multimedia file in the lump with user profile, and this special multimedia file is deposited
Store up the system photograph album catalogue of mobile phone.Mobile phone, which is applied, passes through http protocol by the file data transfer of system photograph album to NAS device
End, NAS device end is by the user profile and facility information by storage region corresponding to data Cun Chudao to be stored.Work as mobile phone
When accessing the NAS device by MTP protocol, institute is found from cell phone system photograph album catalogue by the size of special multimedia file
Special multimedia file is stated, and user profile and equipment unique mark are taken out from the specified location of the special multimedia file
Symbol.Equipment end is by MTP protocol by the data transfer to be stored of cell phone system photograph album to NAS Business Logics, Business Logic
The User Catalog for being bound this data Cun Chudao to be stored and user profile according to user profile, is then uniquely marked further according to equipment
Know symbol to be stored data distribution to be stored to the facility inventory bound with identifier.It can be seen that pass through HTTP and two kinds of canals of MTP
Road carries out using identical user profile and equipment unique identifier during data backup operation, can polymerize file data
To the same storage catalogue of NAS device, reduce the overhead in time and space.
In embodiments of the present invention, when target terminal equipment is by the first protocol access nas server, from the target
Default specific multimedia file is detected in the assigned catalogue of terminal device;Extracted from the specific multimedia file in advance
The unique identifier and user profile of the target terminal equipment of write-in;By the data to be stored of the target terminal equipment
Storage region corresponding with the user profile and unique identifier is stored into the nas server.The embodiment of the present invention is led to
Cross and the unique identifier of target terminal equipment is written in specific multimedia file, when target terminal equipment passes through the first agreement
When accessing nas server, unique identifier and user profile corresponding to extraction from the specific multimedia file, then
By the corresponding storage region of nas server described in data Cun Chudao to be stored.Because the unique identifier is from specific more matchmakers
Extracted in body file, and the unique identifier is also target terminal equipment by second protocol data storage to described
Used unique identifier during nas server, therefore can ensure target terminal equipment respectively by the first agreement and second
Due to unique mark when using identical unique identifier during protocol access nas server, and then solving data backup by all kinds of means
Know symbol and data aggregate failure problem caused by deviation occur.
Referring to Fig. 2, a kind of second embodiment of data aggregation method based on NAS includes in the embodiment of the present invention:
201st, when target terminal equipment is by the first protocol access nas server, from the finger of the target terminal equipment
Determine to detect default specific multimedia file in catalogue;
Step 201 is identical with step 101, referring specifically to the related description of step 101.
202nd, the unique mark for the target terminal equipment being previously written is extracted from the specific multimedia file
Symbol and user profile;
Step 202 is identical with step 102, referring specifically to the related description of step 102.
203rd, judge in the nas server in storage region corresponding with the user profile and unique identifier whether
It is stored with and the data of data name identical first to be stored;
After the unique identifier of the target terminal equipment and user profile is extracted, by data storage to be stored
Before to the nas server, memory block corresponding with the user profile and unique identifier in the nas server is judged
Whether it is stored with domain and the data of data name identical first to be stored.If described is stored with the storage region
One data, then perform step 204;If first data are not present in the storage region, step 207 is performed.
204th, whether the renewal time of data to be stored described in multilevel iudge is after the renewal time of first data;
If being stored with first data in the storage region, the renewal time of data to be stored described in multilevel iudge is
It is no after the renewal time of first data.If the renewal time of the data to be stored is in the renewal of first data
After time, then step 205 is performed;If the renewal time of the data to be stored the renewal time of first data it
Before, then perform step 206.
205th, first data described in the data cover to be stored;
The renewal time of the data to be stored after the renewal time of first data, then illustrates described to be stored
Data are newer data, therefore first data described in the data cover to be stored.
206th, abandon storing the data to be stored;
The renewal time of the data to be stored before the renewal time of first data, then illustrates described to be stored
Data are older data, therefore abandon storing the data to be stored.
207th, by the data storage to be stored of the target terminal equipment into the nas server with the user profile
With unique identifier corresponding to storage region.
It is not present and the data name phase to be stored in storage region corresponding to the user profile and unique identifier
With the first data, therefore can by the data storage to be stored of the target terminal equipment into the nas server with institute
Storage region corresponding to stating user profile and unique identifier, be not in the data of repetition.
In embodiments of the present invention, when target terminal equipment is by the first protocol access nas server, from the target
Default specific multimedia file is detected in the assigned catalogue of terminal device;Extracted from the specific multimedia file in advance
The unique identifier and user profile of the target terminal equipment of write-in;By the data to be stored of the target terminal equipment
Storage region corresponding with the user profile and unique identifier is stored into the nas server.The embodiment of the present invention is led to
Cross and the unique identifier of target terminal equipment is written in specific multimedia file, when target terminal equipment passes through the first agreement
When accessing nas server, unique identifier and user profile corresponding to extraction from the specific multimedia file, then
By the corresponding storage region of nas server described in data Cun Chudao to be stored.Because the unique identifier is from specific more matchmakers
Extracted in body file, and the unique identifier is also target terminal equipment by second protocol data storage to described
Used unique identifier during nas server, therefore can ensure target terminal equipment respectively by the first agreement and second
Due to unique mark when using identical unique identifier during protocol access nas server, and then solving data backup by all kinds of means
Know symbol and data aggregate failure problem caused by deviation occur.Moreover, by the correspondence of data Cun Chudao nas servers to be stored
Before region, first determine whether in the corresponding region with the presence or absence of data with Data duplication to be stored, if only retaining more in the presence of if
Newer data of new time, can avoid the repetition to data from storing, save the memory space of nas server.
It should be understood that the size of the sequence number of each step is not meant to the priority of execution sequence in above-mentioned each embodiment, respectively
The execution sequence of process should determine that the implementation process without tackling the embodiment of the present invention forms any with its function and internal logic
Limit.
A kind of data aggregation method based on NAS is essentially described above, below by a kind of data aggregate based on NAS
Device is described.
Referring to Fig. 3, a kind of one embodiment of the data aggregate device based on NAS includes in the embodiment of the present invention:
Specific file detection module 301, for when target terminal equipment is by the first protocol access nas server, from
Default specific multimedia file is detected in the assigned catalogue of the target terminal equipment, the specific multimedia file is described
Target terminal equipment generates when accessing the nas server by second protocol and is stored in the assigned catalogue;
Information extraction modules 302, it is whole for extracting the target being previously written from the specific multimedia file
The unique identifier and user profile of end equipment, the unique identifier and user profile are target terminal equipment by the
Used unique identifier and user profile during two agreement data storage to the nas servers;
Data memory module 303, for by the data storage to be stored of the target terminal equipment to the nas server
In storage region corresponding with the user profile and unique identifier.
Further, the data aggregate device based on NAS can also include:
Identifier acquisition module, for when the target terminal equipment accesses the nas server by second protocol,
Obtain the unique identifier of the target terminal equipment;
User profile determining module, for being used according to used in the target terminal equipment access nas server
Family account determines user profile;
Information writing module, for the multimedia file for specifying the unique identifier and user profile write-in, obtain
The specific multimedia file.
Further, the specific file detection module 301 can include:
File destination detection unit, specify in the assigned catalogue for detecting the target terminal equipment target of size more
Media file;
First determining unit, if for only detecting a destination multimedia file, by destination multimedia text
Part is defined as the specific multimedia file;
Second determining unit, if for detecting more than two destination multimedia files, obtain each mesh
The data value of the specified location of multimedia file is marked, it is literary from each destination multimedia according to the data value of the specified location
The specific multimedia file is determined in part.
The embodiment of the present invention also provides a kind of terminal device, including memory, processor and is stored in the memory
In and the computer program that can run on the processor, such as Fig. 1 is realized described in the computing device during computer program
The step of any one data aggregation method based on NAS represented to Fig. 2.
The embodiment of the present invention also provides a kind of computer-readable recording medium, and the computer-readable recording medium storage has
Computer program, realize any one represented such as Fig. 1 to Fig. 2 based on NAS when the computer program is executed by processor
The step of data aggregation method.
Fig. 4 is the schematic diagram for the terminal device that one embodiment of the invention provides.As shown in figure 4, the terminal of the embodiment is set
Standby 4 include:Processor 40, memory 41 and it is stored in the meter that can be run in the memory 41 and on the processor 40
Calculation machine program 42.The processor 40 realizes above-mentioned each data aggregate side based on NAS when performing the computer program 42
Step in the embodiment of method, such as step 101 shown in Fig. 1 is to 103.Or the processor 40 performs the computer
The function of each module/unit in above-mentioned each device embodiment, such as the work(of module 301 to 303 shown in Fig. 3 are realized during program 42
Energy.
The computer program 42 can be divided into one or more module/units, and one or more of modules/
Unit is stored in the memory 41, and is performed by the processor 40, to complete the present invention.One or more of moulds
Block/unit can be the series of computation machine programmed instruction section that can complete specific function, the instruction segment by describe it is described based on
Implementation procedure of the calculation machine program 42 in the terminal device 4.
The terminal device 4 can be various types of mobile phones, desktop PC, notebook, palm PC and high in the clouds
The computing devices such as server.The terminal device may include, but be not limited only to, processor 40, memory 41.People in the art
Member is appreciated that Fig. 4 is only the example of terminal device 4, does not form the restriction to terminal device 4, can include than diagram
More or less parts, some parts or different parts are either combined, such as the terminal device 4 can also include
Input-output equipment, network access equipment, bus etc..
Alleged processor 40 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) either 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 41 can be the internal storage unit of the terminal device 4, such as the hard disk of terminal device 4 or interior
Deposit.The memory 41 can also be the External memory equipment of the terminal device 5, such as be equipped with the terminal device 4
Plug-in type hard disk, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card, dodge
Deposit card (Flash Card) etc..Further, the memory 41 can also both include the storage inside list of the terminal device 4
Member also includes External memory equipment.The memory 41 is used to store needed for the computer program and the terminal device
Other programs and data.The memory 41 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(
Can unit, module division progress for example, in practical application, can be as needed and by above-mentioned function distribution by different
Functional unit, module are completed, i.e., the internal structure of described device are divided into different functional units 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, can also be realized in the form of SFU software functional unit.In addition, each function list
Member, the specific name of module are not limited to the protection domain of the application also only to facilitate mutually distinguish.Said system
The specific work process of middle unit, module, the corresponding process in preceding method embodiment is may be referred to, will not be repeated here.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description,
The specific work process of device and unit, the corresponding process in preceding method embodiment is may be referred to, will not be repeated here.
In the above-described embodiments, the description to each embodiment all emphasizes particularly on different fields, and is not described in detail or remembers in some embodiment
The part of load, it 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, it 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, application-specific and design constraint depending on 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.
In embodiment provided by the present invention, it should be understood that disclosed apparatus and method, others can be passed through
Mode is realized.For example, system embodiment described above is only schematical, for example, the division of the module or unit,
Only a kind of division of logic function, can there is an other dividing mode when actually realizing, such as multiple units or component can be with
With reference to or be desirably integrated into another system, or some features can be ignored, or not perform.It is another, it is shown or discussed
Mutual coupling or direct-coupling or communication connection can be by some interfaces, the INDIRECT COUPLING of device or unit or
Communication connection, can be electrical, mechanical or other forms.
The unit illustrated as separating component can be or may not be physically separate, show 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 present 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, can also be realized in the form of SFU software functional unit.
If the integrated unit is realized in the form of SFU software functional unit and is used as independent production marketing or use
When, it can be stored in a computer read/write memory medium.Based on such understanding, the present invention realizes above-described embodiment side
All or part of flow in method, by computer program the hardware of correlation can also be instructed to complete, described computer
Program can be stored in a computer-readable recording medium, and the computer program can be achieved above-mentioned each when being executed by processor
The step of individual 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..The computer-readable medium can
With including: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 the computer
The content that computer-readable recording medium includes can carry out appropriate increase and decrease according to legislation in jurisdiction and the requirement of patent practice, such as
In some jurisdictions, according to legislation and patent practice, computer-readable medium does not include being electric carrier signal and telecommunications letter
Number.
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)
- A kind of 1. data aggregation method based on NAS, it is characterised in that including:When target terminal equipment is by the first protocol access nas server, from the assigned catalogue of the target terminal equipment Default specific multimedia file is detected, the specific multimedia file is accessed in the target terminal equipment by second protocol Generated during the nas server and be stored in the assigned catalogue;The unique identifier and use for the target terminal equipment being previously written are extracted from the specific multimedia file Family information, the unique identifier and user profile are that target terminal equipment passes through second protocol data storage to the NAS Used unique identifier and user profile during server;The data storage to be stored of the target terminal equipment is marked into the nas server with the user profile and uniquely Know storage region corresponding to symbol.
- 2. the data aggregation method based on NAS as claimed in claim 1, it is characterised in that the specific multimedia file leads to Cross following steps generation:When the target terminal equipment accesses the nas server by second protocol, the target terminal equipment is obtained Unique identifier;The user account according to used in the target terminal equipment accesses the nas server determines user profile;The multimedia file that the unique identifier and user profile write-in are specified, obtains the specific multimedia file.
- 3. the data aggregation method based on NAS as claimed in claim 1, it is characterised in that described to be set from the target terminal Default specific multimedia file is detected in standby assigned catalogue to be included:Detect the destination multimedia file that size is specified in the assigned catalogue of the target terminal equipment;If only detecting a destination multimedia file, the destination multimedia file is defined as the specific multimedia File;If detecting more than two destination multimedia files, the specified location of each destination multimedia file is obtained Data value, the specific multimedia is determined from each destination multimedia file according to the data value of the specified location File.
- 4. the data aggregation method based on NAS as claimed in claim 1, it is characterised in that described to set the target terminal Standby data storage to be stored storage region bag corresponding with the user profile and unique identifier into the nas server Include:Data to be stored in the target terminal equipment are sent into the nas server and user profile binding User Catalog, the storage region that it is the specific setting of each user in the nas server that the User Catalog, which is,;Facility inventory of the data distribution to be stored into the User Catalog with unique identifier binding is deposited Storage.
- 5. the data aggregation method based on NAS as any one of Claims 1-4, it is characterised in that by the mesh The data storage to be stored of mark terminal device is corresponding with the user profile and unique identifier into the nas server to deposit Before storage area domain, in addition to:Judge whether be stored with the storage region and the data of data name identical first to be stored;If being stored with first data in the storage region, the data to be stored and first data are more The new time;If the renewal time of the data to be stored after the renewal time of first data, with the data to be stored Cover first data;If the renewal time of the data to be stored before the renewal time of first data, abandons waiting to deposit described in storage Store up data.
- A kind of 6. data aggregate device based on NAS, it is characterised in that including:Specific file detection module, for when target terminal equipment is by the first protocol access nas server, from the target Default specific multimedia file is detected in the assigned catalogue of terminal device, the specific multimedia file is in the target terminal Equipment generates when accessing the nas server by second protocol and is stored in the assigned catalogue;Information extraction modules, for extracting the target terminal equipment being previously written from the specific multimedia file Unique identifier and user profile, the unique identifier and user profile are that target terminal equipment is deposited by second protocol Used unique identifier and user profile when storing up data to the nas server;Data memory module, for by the data storage to be stored of the target terminal equipment into the nas server with institute State storage region corresponding to user profile and unique identifier.
- 7. the data aggregate device based on NAS as claimed in claim 6, it is characterised in that also include:Identifier acquisition module, for when the target terminal equipment accesses the nas server by second protocol, obtaining The unique identifier of the target terminal equipment;User profile determining module, for user's account according to used in the target terminal equipment access nas server Family determines user profile;Information writing module, for the multimedia file for specifying the unique identifier and user profile write-in, obtain described Specific multimedia file.
- 8. the data aggregation method based on NAS as claimed in claim 6, it is characterised in that the specific file detection module Including:File destination detection unit, the destination multimedia of size is specified in the assigned catalogue for detecting the target terminal equipment File;First determining unit, if for only detecting a destination multimedia file, the destination multimedia file is true It is set to the specific multimedia file;Second determining unit, if for detecting more than two destination multimedia files, it is more to obtain each target The data value of the specified location of media file, according to the data value of the specified location from each destination multimedia file Determine the specific multimedia file.
- 9. a kind of terminal device, including memory, processor and it is stored in the memory and can be on the processor The computer program of operation, it is characterised in that realize such as claim 1 to 5 described in the computing device during computer program Any one of the data aggregation method based on NAS the step of.
- 10. a kind of computer-readable recording medium, the computer-readable recording medium storage has computer program, and its feature exists In data based on NAS of the realization as any one of claim 1 to 5 when the computer program is executed by processor The step of polymerization.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710616956.8A CN107506386B (en) | 2017-07-26 | 2017-07-26 | Data aggregation method and device based on NAS, terminal equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710616956.8A CN107506386B (en) | 2017-07-26 | 2017-07-26 | Data aggregation method and device based on NAS, terminal equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107506386A true CN107506386A (en) | 2017-12-22 |
CN107506386B CN107506386B (en) | 2020-03-27 |
Family
ID=60689933
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710616956.8A Active CN107506386B (en) | 2017-07-26 | 2017-07-26 | Data aggregation method and device based on NAS, terminal equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107506386B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109660547A (en) * | 2018-12-28 | 2019-04-19 | 北京旷视科技有限公司 | Data transmission method, data sending device, data sink and system |
CN113010876A (en) * | 2019-12-05 | 2021-06-22 | 马上消费金融股份有限公司 | Data storage method, application account registration method and storage device |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101345921A (en) * | 2008-08-21 | 2009-01-14 | 中兴通讯股份有限公司 | Self-editing multimedia message processing unit, service system and service implementing method |
EP2129075A1 (en) * | 2008-05-30 | 2009-12-02 | Nokia Siemens Networks Oy | Method of locating NAS context |
CN101873463A (en) * | 2010-05-20 | 2010-10-27 | 杭州海康威视系统技术有限公司 | Video playback method, monitoring client and digital hard disk video recorder |
CN102104621A (en) * | 2009-12-18 | 2011-06-22 | 巴比禄股份有限公司 | Information recording device and information recording method |
CN104463010A (en) * | 2014-10-31 | 2015-03-25 | 华为技术有限公司 | File lock implementation method and device |
CN104539659A (en) * | 2014-12-09 | 2015-04-22 | 华迪计算机集团有限公司 | Multi-user-file exchange and sharing method and device based on NAS |
-
2017
- 2017-07-26 CN CN201710616956.8A patent/CN107506386B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP2129075A1 (en) * | 2008-05-30 | 2009-12-02 | Nokia Siemens Networks Oy | Method of locating NAS context |
CN101345921A (en) * | 2008-08-21 | 2009-01-14 | 中兴通讯股份有限公司 | Self-editing multimedia message processing unit, service system and service implementing method |
CN102104621A (en) * | 2009-12-18 | 2011-06-22 | 巴比禄股份有限公司 | Information recording device and information recording method |
CN101873463A (en) * | 2010-05-20 | 2010-10-27 | 杭州海康威视系统技术有限公司 | Video playback method, monitoring client and digital hard disk video recorder |
CN104463010A (en) * | 2014-10-31 | 2015-03-25 | 华为技术有限公司 | File lock implementation method and device |
CN104539659A (en) * | 2014-12-09 | 2015-04-22 | 华迪计算机集团有限公司 | Multi-user-file exchange and sharing method and device based on NAS |
Non-Patent Citations (1)
Title |
---|
张悠慧 等: "基于网络附属对象设备的集群存储体系结构", 《软件学报》 * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109660547A (en) * | 2018-12-28 | 2019-04-19 | 北京旷视科技有限公司 | Data transmission method, data sending device, data sink and system |
CN113010876A (en) * | 2019-12-05 | 2021-06-22 | 马上消费金融股份有限公司 | Data storage method, application account registration method and storage device |
Also Published As
Publication number | Publication date |
---|---|
CN107506386B (en) | 2020-03-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107729352A (en) | page resource loading method and terminal device | |
CN109391509A (en) | A kind of method, system and the application server of more new application | |
CN108259553A (en) | The sending method and terminal device of business mail | |
CN104503745B (en) | A kind of method and apparatus generated using channel packet | |
CN107889178A (en) | Acquisition terminal network formats switching method and terminal device | |
CN105357204B (en) | Method and device for generating terminal identification information | |
CN107438833A (en) | A kind of data-updating method, device, system and server | |
CN107451244A (en) | File naming method, mobile terminal and computer-readable recording medium | |
CN107465687A (en) | A kind of implementation method of authority configuration, device and terminal | |
CN112631924A (en) | Automatic testing method and device, computer equipment and storage medium | |
CN107506386A (en) | A kind of data aggregation method based on NAS, device, terminal device and storage medium | |
CN110851334A (en) | Flow statistical method, electronic device, system and medium | |
CN108133026B (en) | Multi-data processing method, system and storage medium | |
CN113806216A (en) | Interface test method, device, medium and equipment | |
CN109981697A (en) | File unloading method, system, server and storage medium | |
CN113407254A (en) | Form generation method and device, electronic equipment and storage medium | |
CN110022287A (en) | A kind of asynchronous distributed document transmission method, terminal device and storage medium | |
CN114157662B (en) | Cloud platform parameter adaptation method, device, terminal equipment and storage medium | |
CN116610354A (en) | Parameter verification method, device, computer equipment and storage medium | |
CN111475468A (en) | Log access method, device, equipment and storage medium of newly added system | |
CN107368337A (en) | Using method for down loading, device and terminal device | |
CN107528713A (en) | A kind of data transfer SDK upgrade method and device | |
CN110417860A (en) | File transfer management method, apparatus, equipment and storage medium | |
CN109150694A (en) | Sending method, display methods and the server and mobile terminal of dynamic scene information | |
CN108763365A (en) | Case information dynamic introduction method, device, equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |