CN107025281A - A kind of file management method of Intelligent worn device, module and system - Google Patents

A kind of file management method of Intelligent worn device, module and system Download PDF

Info

Publication number
CN107025281A
CN107025281A CN201710208327.1A CN201710208327A CN107025281A CN 107025281 A CN107025281 A CN 107025281A CN 201710208327 A CN201710208327 A CN 201710208327A CN 107025281 A CN107025281 A CN 107025281A
Authority
CN
China
Prior art keywords
file
intelligent worn
worn device
mobile device
document management
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
CN201710208327.1A
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.)
Shanghai Feixun Data Communication Technology Co Ltd
Original Assignee
Shanghai Feixun Data Communication Technology Co 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 Shanghai Feixun Data Communication Technology Co Ltd filed Critical Shanghai Feixun Data Communication Technology Co Ltd
Priority to CN201710208327.1A priority Critical patent/CN107025281A/en
Publication of CN107025281A publication Critical patent/CN107025281A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/16File or folder operations, e.g. details of user interfaces specifically adapted to file systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/11File system administration, e.g. details of archiving or snapshots
    • G06F16/122File system administration, e.g. details of archiving or snapshots using management policies
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/18File system types
    • G06F16/182Distributed file systems
    • G06F16/1834Distributed file systems implemented based on peer-to-peer networks, e.g. gnutella
    • G06F16/1837Management specially adapted to peer-to-peer storage networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses a kind of file management method of Intelligent worn device, module and system, this method comprises the following steps:Receive the file access request of mobile device end;The file in Intelligent worn device is traveled through, and the quantity of documents of traversal is compared with a predetermined threshold value;Corresponding document management mode is selected according to comparative result, corresponding file directory content is returned to the mobile device end according to the document management mode of selection;The present invention can quickly and accurately realize the purpose that file management is carried out to Intelligent worn devices such as intelligent watch, bracelets by mobile terminal.

Description

A kind of file management method of Intelligent worn device, module and system
Technical field
The present invention relates to a kind of file management method, module and system, more particularly to a kind of text of Intelligent worn device Part management method, module and system.
Background technology
With social technology development and the improvement of people's living standards, the wearable device such as intelligent watch, bracelet by Step comes into the life of ordinary people.At present, the major function of the wearable device such as intelligent watch, Intelligent bracelet has no longer been only It is then more the management for realizing personal information for simple functions such as the time of checking, meter steps, therefore intelligent watch, intelligent hand The memory space of the wearable devices such as ring is increasing, and the fileinfo to be managed is also more and more.
However, the wearable device such as intelligent watch, Intelligent bracelet is limited due to volume, it is interior that its display unit can be shown Have limit, therefore tend not on apparatus body to carry out file management well.In addition, at present, BLE (Bluetooth Low Energy, Bluetooth Low Energy) technology is due to its micro power consumption, and a button cell can be widely used with standby hundreds of hours In mobile devices such as wrist-watch bracelets, and the BLE being widely used on the mobile devices such as wrist-watch bracelet is according to transmission technology, in data In transmitting procedure, although low in energy consumption, but because transmission rate is low, delay is had when running into large file transmission, is especially existed When Display directory file, this delay can substantially reduce the experience of user.It is therefore real to be necessary to propose a kind of technological means, To solve the above problems.
The content of the invention
To overcome the shortcomings of that above-mentioned prior art is present, the purpose of the present invention is to provide a kind of text of Intelligent worn device Part management method, module and system, it is adapted to Bluetooth Low Energy (Bluetooth Low Energy, BLE) data transmission technology The characteristics of, it can quickly and accurately be realized by mobile terminal and file pipe is carried out to Intelligent worn devices such as intelligent watch, bracelets The purpose of reason.
For up to above-mentioned purpose, the present invention proposes a kind of file management method of Intelligent worn device, comprised the following steps:
Step one, the file access request of mobile device end is received;
File in step 2, traversal Intelligent worn device, and the quantity of documents of traversal is compared with a predetermined threshold value Compared with;
Step 3, corresponding document management mode is selected according to comparative result, according to the document management mode of selection to this Mobile device end returns corresponding file directory content;
Further, in step 3, if quantity of documents in the Intelligent worn device is less than the predetermined threshold value, with the One document management mode returns the whole document directory structure of the wearable device to mobile device end, if in Intelligent worn device When quantity of documents is more than or equal to the predetermined threshold value, then current directory is returned to the mobile device end with the second document management mode Level content.
Further, in step 3, if selecting first document management mode, this intelligently dresses terminal then according to definition Imitative tree structure, transmit whole file directory to the mobile device end.
Further, the transmission form of the imitative tree structure of this definition is defined as follows:According to the level set in data structure Traversal, is converted into word string by whole catalogue, is then converted into byte transmission, using different separators to different types of node File is separated.
Further, in step 3, if selecting second document management mode, whenever the mobile device end enters one Individual catalogue level, the mobile device end sends corresponding file access request, the Intelligent worn device to Intelligent worn device end End is passed back between the All Files information under current directory, each file node in real time uses separators.
Further, in after step 3, also comprise the following steps:
Step 4, the mobile device end is shown to receiving the progress parsing of file directory content, and is operated according to user, Transmission order to the Intelligent worn device realizes file operation.
To reach above-mentioned purpose, the present invention also provides a kind of document management module of Intelligent worn device, including:
File access request receiving unit, the file access request for receiving mobile device end;
File traversal comparing unit, threshold is preset for traveling through the file in Intelligent worn device, and by quantity of documents and one Value is compared;
Comparative result processing unit, selects corresponding document management mode, according to the file pipe of selection according to comparative result Reason pattern returns corresponding file directory content to the mobile device end.
Further, this document management module also includes command executing unit, for receiving mobile device end transmission Order to realize file operation.
Further, the comparative result for traveling through comparing unit in this document is that the quantity of documents in Intelligent worn device is less than During the predetermined threshold value, the comparative result processing unit returns the wearable device with the first document management mode to mobile device end Whole document directory structure, the comparative result for traveling through comparing unit in this document is that the quantity of documents in Intelligent worn device is more than Or during equal to the predetermined threshold value, comparative result processing unit then returns to current mesh with the second document management mode to mobile device end Record level content.
To reach above-mentioned purpose, the present invention also provides a kind of file management system of Intelligent worn device, including:
Mobile device end, for sending file access request to the Intelligent worn device, and is dressed in receiving the intelligence During the content of equipment passback, parsing is carried out to the content received and shown, and operated according to user, transmission order to the intelligence is worn Wear equipment and realize file operation;
Document management module, is arranged at the Intelligent worn device end, and the file access for receiving the mobile device end please Ask, and when file access request is received, travel through the file in the Intelligent worn device, by travel through obtain quantity of documents with One predetermined threshold value is compared, and selects corresponding document management mode to return corresponding text to mobile device end according to comparative result Part directory content.
Compared with prior art, file management method, module and the system of a kind of Intelligent worn device of the invention pass through intelligence Energy wearable device traversal file, selects corresponding document management mode to be returned to mobile device end corresponding literary according to quantity of documents Part directory content carry out parsing show, and receive mobile device end transmission order realize file operation, realize by movement Equipment rapidly and accurately carries out the purpose of file management to Intelligent worn device;Moreover, the present invention selects phase according to quantity of documents The document management mode answered solves latency issues of the BLE in big document transmission process well, substantially increases user's Experience Degree.
Brief description of the drawings
Fig. 1 is a kind of step flow chart of the file management method of Intelligent worn device of the invention;
Fig. 2 is the file structure schematic diagram of the first document management mode in the specific embodiment of the invention;
Fig. 3 is a kind of structural representation of the document management module of Intelligent worn device of the invention;
Fig. 4 is a kind of system architecture diagram of the file management system of Intelligent worn device of the invention.
Embodiment
Below by way of specific instantiation and embodiments of the present invention are described with reference to the drawings, those skilled in the art can Understand the further advantage and effect of the present invention easily by content disclosed in the present specification.The present invention can also pass through other differences Instantiation implemented or applied, the various details in this specification also can based on different viewpoints with application, without departing substantially from Various modifications and change are carried out under the spirit of the present invention.
Fig. 1 is a kind of step flow chart of the file management method of Intelligent worn device of the invention.As shown in figure 1, this hair A kind of file management method of bright Intelligent worn device, comprises the following steps:
Step 101, the file access request of mobile device end is received.In the specific embodiment of the invention, work as mobile device Such as mobile phone is held, by bluetooth such as BLE, Intelligent worn device, such as intelligent watch, Intelligent bracelet is connected to, and send file visit When asking request, Intelligent worn device receives this document access request.
Step 102, the file in traversal Intelligent worn device, and quantity of documents is compared with a predetermined threshold value. That is, work as Intelligent worn device, when such as intelligent watch or bracelet receive file access request, in meeting searching loop equipment File, the quantity of documents for traveling through acquisition is compared with a predetermined threshold value.
Step 103, if the quantity of documents in Intelligent worn device is less than the predetermined threshold value, with the first document management mode The whole document directory structure of the wearable device is returned to mobile device end, if the quantity of documents in Intelligent worn device be more than or During equal to the predetermined threshold value, then current directory level content is returned to mobile device end with the second document management mode, in this hair In bright specific embodiment, Intelligent worn device is carried out data transmission with mobile device end by bluetooth such as BLE, so according to file Quantity selects corresponding document management mode then to can be very good to solve latency issues of the BLE in big document transmission process.
That is, in the present invention, according to the file directory complexity at Intelligent worn device (wrist-watch or bracelet end), File management mode is divided into the first document management mode and the second document management mode.First document management mode is applied to deposit Store up internal memory small, the simple situation of file directory;Second document management mode is applied to stored memory greatly, the complicated feelings of file directory Shape.
In the specific embodiment of the invention, if the first document management mode of selection, intelligence wearing terminal is then according to definition Imitative tree structure, whole file directory is transmitted to mobile device end.The imitative tree structure transmission form of definition is defined as follows:According to The level traversal set in data structure, is converted into word string by whole catalogue, is then converted into byte transmission, utilize different separations Symbol is separated to different types of node file, is used for example, node separates "", empty node uses *.Many brotghers of node make With " & " is separated to fraternal file.If if file, being added before folder name " $ ".Text as shown in Figure 2 Part catalogue, it is back to mobile device end correspondence word string then for " $ storage with the first document management mode$music&$ movies&$Pictures&$booksfile1&file2*file3&file4&file5file6.
In the specific embodiment of the invention, if the second document management mode of selection, then it represents that the file of Intelligent worn device Catalogue is complicated, once transmits All Files catalogue and is not particularly suited for BLE transmission.So whenever mobile device end subscriber enters one Catalogue level, mobile device end just sends corresponding file access request to Intelligent worn device end, and Intelligent worn device end is real When be passed back between All Files information under current directory, each file node and use separators, as shown in Fig. 2 when using When storage is clicked on into storage catalogue levels in family, Intelligent worn device end then returns " $ music& $ movies& $ Pictures&$books”.If user clicks to enter music catalogues, wrist-watch end is passed back " file1&file2 ".Return to last layer Then wrist-watch passes " $ music& $ movies& $ Pictures& $ books " back to mobile phone to catalogue again.
It is preferred that after step 103, also comprising the following steps:
It has been shown that, and operated according to user with predetermined rule progress parsing to receiving content by mobile device end, transmitted Order to Intelligent worn device realizes file operation.
Specifically, if Intelligent worn device end returns corresponding character string according to the first document management mode, move Dynamic equipment end such as mobile phone is reduced into the file directory of hierarchical relationship according to predetermined rule parsing character string, then with File management form includes file content on mobile phone.File shows folder icon, and file is then according to file suffixes name (such as .mp3) shows respective file icon.When user is replicated on file manager by mobile device, delete, shearing etc. During operation, mobile device is converted into corresponding instruction and object according to the operation of user, is transmitted to intelligence wearing and sets Standby end, Intelligent worn device carries out corresponding operating according to the instruction of reception, and Intelligent worn device is only needed to confirm operating result, moved Dynamic equipment end can just update display.In the specific embodiment of the invention, several command definition forms:
Delete rm file absolute path;
Replicate cp sources absolute path purpose absolute path;
Cc sources absolute path purpose absolute path is pasted in shearing;
Check detailed sp files absolute path.
If Intelligent worn device end returns corresponding character string according to the second document management mode, mobile device end root According to predetermined rule parsing character string, current catalogue level is shown, the mobile device end level that displays the name of the current directory determines intelligence The content that energy wearable device end is passed back, this ensure that the data passed back will not be very big, be suitable for BLE low speed transmissions.Then root Enter different directories level at Intelligent worn device end according to user, the content of corresponding level is returned to mobile device end, realizes and moves The real-time files of dynamic equipment end are shown.Likewise, when user carries out the management operation of file, mobile device by mobile device end End can be converted into corresponding instruction and pass to Intelligent worn device, then returned results.
The present invention will be further illustrated by a specific embodiment below:In the specific embodiment of the invention, movement is set Standby end uses mobile phone, and Intelligent worn device uses intelligent watch (bracelet).Mobile phone passes through wrist-watch or bracelet in BLE connections, hair File access request is sent, then wrist-watch bracelet by searching loop, can judge the quantity of file, if quantity of documents is pre- less than one If threshold value, then wrist-watch (bracelet) passes whole document directory structure back in the way of the first document management mode, and mobile phone terminal is to returning The content of biography is parsed and shown, then sending order to wrist-watch (bracelet) end realizes file operation;If quantity of documents is big In or equal to predetermined threshold value, then wrist-watch (bracelet) returns to current directory layer in the way of the second document management mode to mobile phone terminal Level content, then enters different directories level in mobile phone terminal according to user, the content of corresponding level is returned to mobile phone, mobile phone is realized The real-time files at end are shown, are operated finally according to user, and file operation is realized in transmission order.
That is, in the specific embodiment of the invention, according to wrist-watch or the file directory complexity (root at bracelet end According to how much judgements of quantity of documents), file management mode can be divided into two defining modes:First document management mode, Two document management modes.First document management mode is small suitable for stored memory, the simple situation of file directory;Second file pipe Reason pattern is applied to stored memory greatly, the complicated situation of file directory.It will be detailed below the two defining modes:
First document management mode:
1st, wrist-watch (bracelet) is held, by searching loop, judges that quantity of documents is less than threshold value, illustrate catalogue simply, startup the One document management mode.
2nd, Fig. 2 is a kind of schematic diagram of typical first file pipe example pattern.When confirming as the first document management mode, hand Whole file directory is transmitted to mobile phone terminal in table end according to the imitative tree structure of definition.
3rd, the imitative tree structure transmission form that the first document management mode is defined is defined as follows:According to what is set in data structure Level is traveled through, and whole catalogue is converted into word string, is then converted between byte transmission, different type node separating using different Symbol is separated.Node, which separates, to be used "", empty node uses *, and many brotghers of node are used " & " is separated to fraternal file.Such as If fruit is file, added before folder name " $ " file directorys as shown in 1.1, correspondence word string is " $ storage$ music&$movies&$Pictures&$booksfile1&file2*file3&file4&file5file6”.
4th, when mobile phone terminal receives the character string of wrist-watch (bracelet) end passback, stratification is reduced according to corresponding pattern The file directory of level relation, then includes mobile phone file content on mobile phone in file management form.File shows file Clip icon, file then shows respective file icon according to file suffixes name (such as .mp3).
5th, user is replicated on file manager, is deleted, the operation such as shearing.Mobile phone terminal manager is according to the behaviour of user Make, be converted into corresponding instruction and object, be transmitted to wrist-watch end.Operation terminates every time, and wrist-watch end only needs to confirm Operating result, mobile phone terminal just can update display.
Several command definition forms:
Delete rm file absolute path
Replicate cp sources absolute path purpose absolute path
Cc sources absolute path purpose absolute path is pasted in shearing
Check detailed sp files absolute path
Second document management mode:
1. wrist-watch (bracelet) is held, by searching loop, when judging that quantity of documents is equal to more than predetermined threshold value, illustrate management Scene is that catalogue is complicated, starts the second document management mode.
2. it is complicated to define the second document management mode supporting paper catalogue, once transmits All Files catalogue and be not particularly suited for BLE is transmitted.So whenever user enters a catalogue level, mobile phone terminal just sends one to wrist-watch (bracelet) end and asked, wrist-watch (hand Ring) the real-time All Files information being passed back under current directory in end.
Reference picture 2, when user enters storage, wrist-watch (bracelet) end passback " $ music& $ movies& $ Pictures& $ books”.If user clicks to enter music catalogues, wrist-watch end is passed back " file1&file2 ".Return to last layer catalogue then wrist-watch (bracelet) passes " $ music& $ movies& $ Pictures& $ books " back to mobile phone again.
3. likewise, when user carries out the management operation of file, mobile phone terminal can be converted into corresponding instruction and pass to Wrist-watch (bracelet) is held, then returned results.
4. the current directory level that mobile phone terminal is shown determines the content that wrist-watch (bracelet) end is passed back.This ensure that passing back Data will not be very big, be suitable for BLE low speed transmissions.
Fig. 3 is a kind of structural representation of the document management module of Intelligent worn device of the invention.As shown in figure 3, this hair A kind of document management module of bright Intelligent worn device, including:File access request receiving unit 301, file traversal are more single Member 302, comparative result processing unit 303.
File access request receiving unit 301, the file access request for receiving mobile device end.Of the invention specific In embodiment, when mobile device end such as mobile phone, by bluetooth such as BLE, Intelligent worn device, such as intelligent watch, intelligence are connected to Energy bracelet, and when sending file access request, file access request receiving unit 301 then receives this document access request.
File traversal comparing unit 302, presets for traveling through the file in Intelligent worn device, and by quantity of documents with one Threshold value is compared.That is, work as Intelligent worn device, and when such as intelligent watch or bracelet receive file access request, meeting File in searching loop equipment, the quantity of documents for traveling through acquisition is compared with a predetermined threshold value.
Comparative result processing unit 303, in file traversal comparing unit 302 comparative result be Intelligent worn device in When quantity of documents is less than the predetermined threshold value, comparative result processing unit 303 is returned with the first document management mode to mobile device end Pass the whole document directory structure of the wearable device, in file traversal comparing unit 302 comparative result be Intelligent worn device In quantity of documents be more than or equal to the predetermined threshold value when, comparative result processing unit 303 then with the second document management mode to Mobile device end returns to current directory level content.
It is preferred that document management module also include command executing unit, for receive mobile device end transmission order with Realize file operation.
That is, in the present invention, according to the file directory complexity at Intelligent worn device (wrist-watch or bracelet end), File management mode is divided into the first document management mode and the second document management mode.First document management mode is applied to deposit Store up internal memory small, the simple situation of file directory;Second document management mode is applied to stored memory greatly, the complicated feelings of file directory Shape.
In the specific embodiment of the invention, if selection the first document management mode, comparative result processing unit 303 then according to The imitative tree structure of definition, whole file directory is transmitted to mobile device end.The imitative tree structure transmission form definition of definition is such as Under:According to the level traversal set in data structure, whole catalogue is converted into word string, byte transmission is then converted into, using not Same separator is separated to different types of node file, is used for example, node separates "", empty node uses *.Many brothers Younger brother's node is used " & " is separated to fraternal file.If if file, being added before folder name " $ ".Such as Fig. 2 Shown file directory, it is back to mobile device end correspondence word string then for " $ storage with the first document management mode$ music&$movies&$Pictures&$booksfile1&file2*file3&file4&file5file6.
In the specific embodiment of the invention, if the second document management mode of selection, then it represents that the file of Intelligent worn device Catalogue is complicated, once transmits All Files catalogue and is not particularly suited for BLE transmission.So whenever mobile device end subscriber enters one Catalogue level, mobile device end just sends corresponding file access request, comparative result processing unit to Intelligent worn device end 303 are passed back to using separators between the All Files information under current directory, each file node, such as Fig. 2 institutes in real time Show, when user, which clicks on storage, enters storage catalogue levels, Intelligent worn device end then returns " $ music& $ movies&$Pictures&$books”.If user clicks to enter music catalogues, wrist-watch end is passed back " file1&file2 ".Return Returning last layer catalogue, then wrist-watch passes " $ music& $ movies& $ Pictures& $ books " back to mobile phone again.
Fig. 4 is a kind of system architecture diagram of the file management system of Intelligent worn device of the invention.As shown in figure 4, this hair A kind of file management system of bright Intelligent worn device, including:Mobile device end 40 and document management module 41.
Wherein, mobile device end 40, for sending file access request to the document management module 41 of Intelligent worn device, And when the content of the passback of document management module 41 is received, parsing is carried out with predetermined rule to the content received and shown, And operated according to user, file operation is realized in transmission order to document management module 41.Specifically, mobile device end 40 passes through BLE is connected with Intelligent worn device, when user wants to carry out file management to Intelligent worn device by mobile device end, is led to Mobile device end 40 is crossed to the file access request of document management module 41.
Document management module 41, is arranged at Intelligent worn device end, and the file access for receiving mobile device end 40 please Ask, and when file access request is received, the file in traversal Intelligent worn device will travel through the quantity of documents and one of acquisition Predetermined threshold value is compared, and selects corresponding document management mode to return corresponding text to mobile device end 40 according to comparative result Part directory content, and receive mobile device end 40 transmission order realize file operation.In the specific embodiment of the invention, if intelligence , then should to mobile device end passback with the first document management mode when quantity of documents in energy wearable device is less than the predetermined threshold value The whole document directory structure of wearable device, if the quantity of documents in Intelligent worn device is more than or equal to the predetermined threshold value, Current directory level content is then returned to mobile device end with the second document management mode.
Specifically, mobile device end 40 includes access request unit 401, resolution unit 402 and command sending unit 403, access request unit 401 is used to send file access request to document management module 41;Resolution unit 402, for receiving The file directory content that document management module 41 is returned, and the content received is shown with predetermined rule progress parsing;Life Transmitting element 403 is made, for being operated according to user, file operation is realized in transmission order to document management module 41.
In the specific embodiment of the invention, if document management module 41 returns corresponding word according to the first document management mode During symbol string, then mobile device end 40 is reduced into the file directory of hierarchical relationship, so according to predetermined rule parsing character string File content is included on mobile phone in file management form afterwards.File show folder icon, file then according to file after Sew name (such as .mp3) and show respective file icon.When user is replicated on file manager by mobile device, delete, cut When the operation such as cutting, mobile device is converted into corresponding instruction and object according to the operation of user, is transmitted to intelligence and wears Equipment end is worn, document management module 41 carries out corresponding operating according to the instruction of reception, and Intelligent worn device end only needs to confirm behaviour Make result, mobile device end can just update display.In the specific embodiment of the invention, several command definition forms:
Delete rm file absolute path;
Replicate cp sources absolute path purpose absolute path;
Cc sources absolute path purpose absolute path is pasted in shearing;
Check detailed sp files absolute path.
If document management module 41 returns corresponding character string according to the second document management mode, mobile device end root According to predetermined rule parsing character string, current catalogue level is shown, the mobile device end level that displays the name of the current directory determines intelligence The content that energy wearable device end is passed back, this ensure that the data passed back will not be very big, be suitable for BLE low speed transmissions.Then root Enter different directories level at Intelligent worn device end according to user, the content of corresponding level is returned to mobile device end, realizes and moves The real-time files of dynamic equipment end are shown.Likewise, when the management that user carries out file by mobile phone is operated, mobile device end can be by It is converted to corresponding instruction and passes to Intelligent worn device end, then returned results.
In summary, file management method, module and the system of a kind of Intelligent worn device of the invention pass through intelligent wearing Equipment travels through file, selects corresponding document management mode to return corresponding file directory to mobile device end according to quantity of documents Content carry out parsing show, and receive mobile device end transmission order realize file operation, realize fast by mobile device Speed carries out the purpose of file management to Intelligent worn device exactly, and the present invention selects corresponding file according to quantity of documents Management mode solves latency issues of the BLE in big document transmission process well, substantially increases the Experience Degree of user.
Any those skilled in the art can repair under the spirit and scope without prejudice to the present invention to above-described embodiment Decorations are with changing.Therefore, the scope of the present invention, should be as listed by claims.

Claims (10)

1. a kind of file management method of Intelligent worn device, comprises the following steps:
Step one, the file access request of mobile device end is received;
File in step 2, traversal Intelligent worn device, and the quantity of documents of traversal is compared with a predetermined threshold value;
Step 3, corresponding document management mode is selected according to comparative result, according to the document management mode of selection to the movement Equipment end returns corresponding file directory content.
2. a kind of file management method of Intelligent worn device as claimed in claim 1, it is characterised in that:In step 3, If the quantity of documents in the Intelligent worn device is less than the predetermined threshold value, returned with the first document management mode to mobile device end The whole document directory structure of the wearable device is passed, if the quantity of documents in Intelligent worn device is more than or equal to the predetermined threshold value When, then current directory level content is returned to the mobile device end with the second document management mode.
3. a kind of file management method of Intelligent worn device as claimed in claim 2, it is characterised in that:In step 3, If selecting first document management mode, intelligently wearing terminal is then according to the imitative tree structure of definition for this, to the mobile device end Transmit whole file directory.
4. a kind of file management method of Intelligent worn device as claimed in claim 3, it is characterised in that the imitative tree of this definition The transmission form of shape structure is defined as follows:According to the level traversal set in data structure, whole catalogue is converted into word string, then Byte transmission is converted into, different types of node file is separated using different separators.
5. a kind of file management method of Intelligent worn device as claimed in claim 2, it is characterised in that:In step 3, If selecting second document management mode, whenever the mobile device end enters catalogue level, the mobile device end is to intelligence Energy wearable device end sends corresponding file access request, and the Intelligent worn device end is passed back to all under current directory in real time Separators are used between fileinfo, each file node.
6. a kind of file management method of Intelligent worn device as claimed in claim 1, it is characterised in that:In after step 3, Also comprise the following steps:
Step 4, the mobile device end is shown to receiving the progress parsing of file directory content, and is operated according to user, is transmitted Order to the Intelligent worn device realizes file operation.
7. a kind of document management module of Intelligent worn device, including:
File access request receiving unit, the file access request for receiving mobile device end;
File traversal comparing unit, enters for traveling through the file in Intelligent worn device, and by quantity of documents with a predetermined threshold value Row compares;
Comparative result processing unit, selects corresponding document management mode, according to the file management mould of selection according to comparative result Formula returns corresponding file directory content to the mobile device end.
8. a kind of document management module of Intelligent worn device as claimed in claim 7, it is characterised in that:This document manages mould Block also includes command executing unit, for receiving the order of mobile device end transmission to realize file operation.
9. a kind of document management module of Intelligent worn device as claimed in claim 7, it is characterised in that:In this document traversal When the comparative result of comparing unit is less than the predetermined threshold value for the quantity of documents in Intelligent worn device, comparative result processing is single Member returns the whole document directory structure of the wearable device with the first document management mode to mobile device end, in this document traversal When the comparative result of comparing unit is more than or equal to the predetermined threshold value for the quantity of documents in Intelligent worn device, at comparative result Manage unit and current directory level content is then returned to mobile device end with the second document management mode.
10. a kind of file management system of Intelligent worn device, including:
Mobile device end, for sending file access request to the Intelligent worn device, and in receiving the Intelligent worn device During the content of passback, parsing is carried out to the content received and shown, and operated according to user, transmission order to intelligence wearing is set It is standby to realize file operation;
Document management module, is arranged at the Intelligent worn device end, the file access request for receiving the mobile device end, and When file access request is received, the file in the Intelligent worn device is traveled through, the quantity of documents and one that traversal is obtained are pre- If threshold value is compared, corresponding document management mode is selected to return corresponding file mesh to mobile device end according to comparative result Record content.
CN201710208327.1A 2017-03-31 2017-03-31 A kind of file management method of Intelligent worn device, module and system Pending CN107025281A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710208327.1A CN107025281A (en) 2017-03-31 2017-03-31 A kind of file management method of Intelligent worn device, module and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710208327.1A CN107025281A (en) 2017-03-31 2017-03-31 A kind of file management method of Intelligent worn device, module and system

Publications (1)

Publication Number Publication Date
CN107025281A true CN107025281A (en) 2017-08-08

Family

ID=59527486

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710208327.1A Pending CN107025281A (en) 2017-03-31 2017-03-31 A kind of file management method of Intelligent worn device, module and system

Country Status (1)

Country Link
CN (1) CN107025281A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8032425B2 (en) * 2006-06-16 2011-10-04 Amazon Technologies, Inc. Extrapolation of behavior-based associations to behavior-deficient items
CN102722487A (en) * 2011-03-30 2012-10-10 腾讯科技(深圳)有限公司 Method and apparatus for file management
CN103093145A (en) * 2013-01-18 2013-05-08 北京奇虎科技有限公司 Method and device and system for scanning mobile storage device
CN104679391A (en) * 2015-03-23 2015-06-03 深圳市欧珀通信软件有限公司 Icon display method and device of smart watch
CN105511894A (en) * 2014-09-24 2016-04-20 北京君正集成电路股份有限公司 Method for managing application program in smartwatch, mobile terminal, and smartwatch
CN106484221A (en) * 2016-09-19 2017-03-08 南京酷派软件技术有限公司 Mobile solution icon to file method and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8032425B2 (en) * 2006-06-16 2011-10-04 Amazon Technologies, Inc. Extrapolation of behavior-based associations to behavior-deficient items
CN102722487A (en) * 2011-03-30 2012-10-10 腾讯科技(深圳)有限公司 Method and apparatus for file management
CN103093145A (en) * 2013-01-18 2013-05-08 北京奇虎科技有限公司 Method and device and system for scanning mobile storage device
CN105511894A (en) * 2014-09-24 2016-04-20 北京君正集成电路股份有限公司 Method for managing application program in smartwatch, mobile terminal, and smartwatch
CN104679391A (en) * 2015-03-23 2015-06-03 深圳市欧珀通信软件有限公司 Icon display method and device of smart watch
CN106484221A (en) * 2016-09-19 2017-03-08 南京酷派软件技术有限公司 Mobile solution icon to file method and device

Similar Documents

Publication Publication Date Title
CN111259006B (en) Universal distributed heterogeneous data integrated physical aggregation, organization, release and service method and system
US10049147B2 (en) Method, apparatus and terminal for processing documents
CN102789317B (en) A kind of method and apparatus of accelerating text input
CN104488248B (en) A kind of file synchronisation method, server and terminal
JP2006501558A (en) Apparatus and method for displaying a web page session for a web application to a user
JP2006501559A (en) Method and apparatus for managing a collection of portlets in a portal server
CA2556284A1 (en) Display of menu items in a user interface
CN107402747A (en) A kind of five application page dynamic creation method for supporting multiple terminals type
CN106095923A (en) A kind of method and system adding data of being on the list in orderly list
CN104767810A (en) Cloud-client cooperative service system and cloud-client cooperative work method
CN101178733A (en) Index, search, storage and display control information systems for associated data
CN112929437A (en) Data transmission system, method and device based on Internet of things MQTT technical framework
CN104717289A (en) Data synchronism method and device
CN113656490A (en) Data synchronization method, device, terminal and storage medium
CN112394932A (en) Automatic browser webpage skin changing method and device
CN102325367B (en) Data packet synchronizing device and method for client application
CN105915636B (en) A kind of synchronous method and device of contact information
CN102779045A (en) Interface generating method, interface editor and electronic equipment
CN105786925A (en) Reference model based dynamic data modeling method and apparatus
US9736754B2 (en) Data distribution to portable electronic devices
CN106155842A (en) A kind of data migration method and device
CN106878927B (en) Multifunctional Bluetooth equipment and attaching method thereof
CN108512937A (en) A kind of computer data shared system based on mobile network
CN107025281A (en) A kind of file management method of Intelligent worn device, module and system
CN111091825B (en) Method and device for constructing interaction engine cluster

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
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20170808

WD01 Invention patent application deemed withdrawn after publication