CN104239244B - The method and apparatus that data to be visited are carried out with display management - Google Patents

The method and apparatus that data to be visited are carried out with display management Download PDF

Info

Publication number
CN104239244B
CN104239244B CN201410421729.6A CN201410421729A CN104239244B CN 104239244 B CN104239244 B CN 104239244B CN 201410421729 A CN201410421729 A CN 201410421729A CN 104239244 B CN104239244 B CN 104239244B
Authority
CN
China
Prior art keywords
data
visited
terminal
type
instruction
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.)
Active
Application number
CN201410421729.6A
Other languages
Chinese (zh)
Other versions
CN104239244A (en
Inventor
闫昊
李明浩
梁金祥
袁军
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xiaomi Inc
Original Assignee
Xiaomi Inc
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 Xiaomi Inc filed Critical Xiaomi Inc
Priority to CN201410421729.6A priority Critical patent/CN104239244B/en
Publication of CN104239244A publication Critical patent/CN104239244A/en
Application granted granted Critical
Publication of CN104239244B publication Critical patent/CN104239244B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Telephone Function (AREA)
  • Stored Programmes (AREA)

Abstract

The disclosure is directed to a kind of method and apparatus that data to be visited are carried out with display management, belong to field of computer technology.Methods described includes:After being connected with first terminal foundation, determine the OS Type of first terminal, according to the OS Type prestored and the corresponding relation of data to be visited, it is determined that other data to be visited in addition to the first data to be visited are set to hidden state by the first data to be visited corresponding with the OS Type of first terminal.Using the disclosure, the efficiency for accessing the data stored in electronic equipment can be improved.

Description

The method and apparatus that data to be visited are carried out with display management
Technical field
The disclosure is directed to field of computer technology, especially with respect to a kind of side that data to be visited are carried out with display management Method and device.
Background technology
With continuing to develop for electronic technology, the species of electronic equipment is increasingly enriched, such as computer, mobile phone, USB flash disk, on Network interface card etc., generally, user can access the data stored in other electronic equipments such as mobile phone, USB flash disk, card of surfing Internet by computer.
The data that the computer of different operating system that can be stored with electronic equipment can be read, such as some data can only It is read under Windows (form) operating system, other data can only be in Mac OS (Macintosh Operating System, Macintosh operating system) under be read, user by computer access electronic equipment in store data when, calculate Machine can show all data stored in the electronic equipment, and user can select to be adapted to the operation of computer from these data The data of system conduct interviews.It is right by taking the driver of the data stored in installing in a computer for managing mobile phone as an example In computer different operating system, it is necessary to the driver installed is often different, generally, in mobile phone be provided with one and read-only deposit Storage area domain, the driving file for storing each operating system can set driving catalogue, the driving mesh for these driving files Content in record can be accessed in the case where computer does not install above-mentioned driver.Pass through data wire in computer and mobile phone After connection, the window of the driving catalogue can be ejected in computer screen, user can be in driving catalogue, and selection is adapted to oneself The driving file of the operating system of computer is driven the installation of program, after installation, and computer can be deposited removable The drive of the storage device of mobile phone is shown in storage equipment column, and then, user can access the data in mobile phone by computer.
During the disclosure is realized, inventor has found at least there is problems with:
Computer is in the data stored in accessing other electronic equipments, because the corresponding data of each operating system can be put Put in same file folder, user needs the data for selecting to be adapted to the operating system of oneself computer wherein to conduct interviews, If user, which does not know the computer of oneself, can access which data, user, which needs to click on corresponding data file one by one, to enter Row is attempted to access, until finding the data that can normally read, so that so that access the effect of the data stored in electronic equipment Rate is relatively low.
The content of the invention
In order to overcome problem present in correlation technique, display management is carried out to data to be visited present disclose provides one kind Method and apparatus.The technical scheme is as follows:
According to the first aspect of the embodiment of the present disclosure, there is provided a kind of method that data to be visited are carried out with display management, institute The method of stating includes:
After being connected with first terminal foundation, the OS Type of the first terminal is determined;
According to the OS Type that prestores and the corresponding relation of data to be visited, it is determined that with the first terminal Corresponding first data to be visited of OS Type;
Other data to be visited in addition to the described first data to be visited are set to hidden state.
Alternatively, it is described to determine the OS Type of the first terminal after being connected with first terminal foundation, wrap Include:
After being connected with first terminal foundation, the initialization directive that the first terminal is sent is received;
According to the initialization directive, the OS Type of the first terminal is determined.
Alternatively, it is described according to the initialization directive, the OS Type of the first terminal is determined, including:
If the initialization directive includes the first instruction and the second instruction, it is determined that the operation system of the first terminal System type is the first operating system;
If the initialization directive includes first instruction and the 3rd instruction, and including the described second instruction, The OS Type for then determining the first terminal is the second operating system.
Alternatively, first instruction is obtains device descriptor instruction, and described second instructs to remove the long-range of equipment Arousal function is instructed, and the 3rd instruction is sets configuration information to instruct, and first operating system is that Windows operates system System, second operating system is Mac OS operating systems or (SuSE) Linux OS.
Alternatively, methods described also includes:
Receive the data addition request for the mark for carrying the second data to be visited and the 3rd operating system;
The described second data to be visited are stored, and in the OS Type and the corresponding relation of data to be visited, Add the corresponding relation of the described second data to be visited and the 3rd operating system.
Alternatively, methods described also includes:
Receive the request that unhides that the first terminal is sent;
The hidden state of other data to be visited in addition to the described first data to be visited is cancelled.
Alternatively, methods described also includes:
Reading and operation to the described first data to be visited is received to ask;
Wherein, reading and the operation request is described for the specified file in the described first data to be visited to be installed to In first terminal.
According to the second aspect of the embodiment of the present disclosure, there is provided a kind of device that data to be visited are carried out with display management, institute Stating device includes:
First determining module, for after being connected with first terminal foundation, determining the operating system class of the first terminal Type;
Second determining module, the OS Type and the corresponding relation of data to be visited prestored for basis, really Fixed the first data to be visited corresponding with the OS Type of the first terminal;
Setup module, for other data to be visited in addition to the described first data to be visited to be set into hidden state.
Alternatively, first determining module, is used for:
After being connected with first terminal foundation, the initialization directive that the first terminal is sent is received;
According to the initialization directive, the OS Type of the first terminal is determined.
Alternatively, second determining module, is used for:
If the initialization directive includes the first instruction and the second instruction, it is determined that the operation system of the first terminal System type is the first operating system;
If the initialization directive includes first instruction and the 3rd instruction, and including the described second instruction, The OS Type for then determining the first terminal is the second operating system.
Alternatively, first instruction is obtains device descriptor instruction, and described second instructs to remove the long-range of equipment Arousal function is instructed, and the 3rd instruction is sets configuration information to instruct, and first operating system is that Windows operates system System, second operating system is Mac OS operating systems or (SuSE) Linux OS.
Alternatively, described device also includes add module, is used for:
Receive the data addition request for the mark for carrying the second data to be visited and the 3rd operating system;
The described second data to be visited are stored, and in the OS Type and the corresponding relation of data to be visited, Add the corresponding relation of the described second data to be visited and the 3rd operating system.
Alternatively, described device also includes cancelling module, is used for:
Receive the request that unhides that the first terminal is sent;
The hidden state of other data to be visited in addition to the described first data to be visited is cancelled.
Alternatively, described device also includes receiver module, is used for:
Reading and operation to the described first data to be visited is received to ask;
Wherein, reading and the operation request is described for the specified file in the described first data to be visited to be installed to In first terminal.
According to the third aspect of the embodiment of the present disclosure there is provided a kind of electronic equipment, including:
Processor;
Memory for storing processor-executable instruction;
Wherein, the processor is configured as:
After being connected with first terminal foundation, the OS Type of the first terminal is determined;
According to the OS Type that prestores and the corresponding relation of data to be visited, it is determined that with the first terminal Corresponding first data to be visited of OS Type;
Other data to be visited in addition to the described first data to be visited are set to hidden state.
The technical scheme provided by this disclosed embodiment can include the following benefits:
In the embodiment of the present disclosure, after being connected with first terminal foundation, the OS Type of first terminal is determined, according to The OS Type prestored and the corresponding relation of data to be visited, it is determined that corresponding with the OS Type of first terminal The first data to be visited, other data to be visited in addition to the first data to be visited are set to hidden state, so, for Some OS Type, first terminal can only show the to be visited data corresponding with the OS Type, Jin Eryong Family is set without determining the addressable data of current operation system by way of clicking on and attempting it is thus possible to improve access electronics The efficiency of the data of standby middle storage.
It should be appreciated that the general description of the above and detailed description hereinafter are only exemplary and explanatory, not The disclosure can be limited.
Brief description of the drawings
Accompanying drawing herein is merged in specification and constitutes the part of this specification, shows the implementation for meeting the disclosure Example, and be used to together with specification to explain the principle of the disclosure.In the accompanying drawings:
Fig. 1 is a kind of flow of method that data to be visited are carried out with display management according to an exemplary embodiment Figure;
Fig. 2 is the connection diagram of a kind of mobile phone according to an exemplary embodiment and computer;
Fig. 3 is a kind of display interface schematic diagram of computer according to an exemplary embodiment;
Fig. 4 is a kind of structure of device that data to be visited are carried out with display management according to an exemplary embodiment Schematic diagram;
Fig. 5 is the structural representation of a kind of electronic equipment according to an exemplary embodiment.
Pass through above-mentioned accompanying drawing, it has been shown that the clear and definite embodiment of the disclosure, will hereinafter be described in more detail.These accompanying drawings It is not intended to limit the scope that the disclosure is conceived by any mode with word description, but is by reference to specific embodiment Those skilled in the art illustrate the concept of the disclosure.
Embodiment
Here exemplary embodiment will be illustrated in detail, its example is illustrated in the accompanying drawings.Following description is related to During accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represent same or analogous key element.Following exemplary embodiment Described in embodiment do not represent all embodiments consistent with the disclosure.On the contrary, they be only with it is such as appended The example of the consistent apparatus and method of some aspects be described in detail in claims, the disclosure.
Embodiment one
The embodiment of the present disclosure provides a kind of method that data to be visited are carried out with display management, as shown in figure 1, this method Handling process can include the steps:
In a step 101, after being connected with first terminal foundation, the OS Type of first terminal is determined.
In a step 102, according to the OS Type prestored and the corresponding relation of data to be visited, first is determined Corresponding first data to be visited of OS Type of terminal.
In step 103, other data to be visited in addition to the first data to be visited are set to hidden state.
In the embodiment of the present disclosure, after being connected with first terminal foundation, the OS Type of first terminal is determined, according to The OS Type prestored and the corresponding relation of data to be visited, it is determined that corresponding with the OS Type of first terminal The first data to be visited, other data to be visited in addition to the first data to be visited are set to hidden state, so, for Some OS Type, first terminal can only show the to be visited data corresponding with the OS Type, Jin Eryong Family is set without determining the addressable data of current operation system by way of clicking on and attempting it is thus possible to improve access electronics The efficiency of the data of standby middle storage.
Embodiment two
The embodiment of the present disclosure provides a kind of method that data to be visited are carried out with display management, and data to be visited are carried out The method of display management can be used in electronic equipment, and electronic equipment can be mobile phone, USB flash disk, card of surfing Internet etc..In the present embodiment, By mobile phone be executive agent exemplified by, by first terminal be computer exemplified by, carry out scheme detailed description, other situations with etc Seemingly, the present embodiment is not repeated.
Below in conjunction with embodiment, the handling process shown in Fig. 1 is described in detail, content can be as follows:
In a step 101, after being connected with first terminal foundation, the OS Type of first terminal is determined.
Wherein, first terminal can be provided with Windows operating system, Mac OS operating systems or Linux operations system Any terminal of system, such as computer.
In force, usual computer is both provided with USB (Universal Serial Bus, USB) and connect Mouthful, can be with as shown in Fig. 2 the data wire that mobile phone can be provided with USB interface by one end is connected with computer, in electronic equipment The mechanism of the OS Type of detection computer is previously provided with, such as mobile phone can be by sending connection request to computer Mode, determine the OS Type of computer, for the different OS Types of computer, the connection that mobile phone is sent Request can be different, and after mobile phone is connected by data wire with computer, mobile phone can send each operating system class to computer The corresponding connection request of type, when mobile phone receives the corresponding response message of the first connection request, mobile phone can determine computer The OS Type of installation is the corresponding OS Type of the first connection request.
Optionally it is determined that the mechanism for the OS Type that first terminal is installed can be with varied, one kind presented below Optional processing mode, may comprise steps of:
Step one, after being connected with first terminal foundation, the initialization directive that first terminal is sent is received.
Wherein, the communication that initialization directive can be used between first terminal and electronic equipment carries out Initialize installation Instruction.
In force, as shown in Fig. 2 user can use data wire one end to be connected with mobile phone, the other end connects with computer Connect, now, computer determines the type for the interface being connected with data wire, such as USB interface or HDMI (High Definition Multimedia, high-definition multimedia) interface, then, computer can send corresponding with the type initial to mobile phone Change instruction, so can carry out Initialize installation for the communication between computer and mobile phone, mobile phone can receive the initialization and refer to Order, for example, the interface for the data wire being connected with computer is USB interface, then above-mentioned initialization directive can be the first of USB interface Beginningization is instructed, and then, mobile phone can receive the initialization directive of the USB interface.
Step 2, according to initialization directive, determines the OS Type of first terminal.
In force, initialization directive can be an instruction set, and mobile phone can successively receive being somebody's turn to do for computer transmission Multiple instruction in instruction set, mobile phone can carry out field parsing to each instruction received, determine the class of each instruction Type, can determine the OS Type that computer is installed by the type of the instruction determined.
Alternatively, according to initialization directive, determine that the processing mode of the OS Type of first terminal can be with a variety of more Sample, a kind of alternatively processing mode presented below, then the processing procedure of above-mentioned steps two can include following two situations:
Situation one, if initialization directive includes the first instruction and the second instruction, it is determined that the operation system of first terminal System type is the first operating system;If initialization directive includes the first instruction and the 3rd instruction, and including the second instruction, The OS Type for then determining first terminal is the second operating system.
Wherein, for different actual conditions, the first instruction, the second instruction and the 3rd instruction can with different, for The interface being connected with computer is the situation of USB interface, and the first instruction can be that (acquisition is set USB_REQ_GET_DESCRIPTOR Standby descriptor instruction), the second instruction can be that (the Remote Wake Up function of removing equipment refers to USB_REQ_CLEAR_FEATURE Make), the 3rd instruction can be USB_REQ_SET_CONFIGURATION (setting configuration information to instruct).
In force, initialization directive can include multiple instruction, be using the interface that is connected with computer as USB interface Example, initialization directive can include USB_REQ_GET_DESCRIPTOR (the i.e. first instruction), USB_REQ_CLEAR_FEATURE (the i.e. second instruction), USB_REQ_SET_CONFIGURATION (the i.e. the 3rd instruction), if the initialization directive that mobile phone is received In only include the first instruction and second instruction, then can determine computer install OS Type for Windows operate system System, if the initialization directive that mobile phone is received includes the first instruction, the second instruction and the 3rd instruction, can determine to calculate The OS Type that machine is installed is Windows operating system, if only including first in the initialization directive that mobile phone is received Instruction and the 3rd instruction, and do not include the second instruction, then it can determine that the OS Type that computer is installed is grasped for Mac OS Make system or (SuSE) Linux OS.
In a step 102, according to the OS Type that prestores and the corresponding relation of data to be visited, it is determined that with the Corresponding first data to be visited of OS Type of one terminal.
Wherein, data to be visited can be that to be mounted with that the first terminal of corresponding OS Type can be accessed any Data, such as data to be visited can be for the driver of the data stored in managing mobile phone, or the use of mobile phone Specification etc..
In force, the different OS Types of computer can be directed to, set different to be visited in mobile phone OS Type and the mark of corresponding data to be visited can be recorded and visited in OS Type with waiting by data, mobile phone In the corresponding relation for asking data, the corresponding relation can be stored in table form, for example, data to be visited can be for The driver of the data stored in managing mobile phone, for the different operating system of computer, computer needs driving to be mounted Program is often different, can be the driver of each OS Type setting corresponding thereto in mobile phone, so as to set up behaviour Make the corresponding relation of system type and data to be visited, the OS Type can be such as table with the corresponding relation of data to be visited Shown in 1.
Table 1
OS Type Data to be visited
Windows Data 11, data 12, data 13
Mac OS or Linux Data 21, data 22
If mobile phone determines that the OS Type that computer is installed is Windows operating system, computer can show Show the data to be visited (the i.e. first data to be visited) that can be accessed under Windows operating system stored in mobile phone, that is, count According to 11, data 12 and data 13, if mobile phone determine the OS Type that computer is installed be Mac OS operating systems or (SuSE) Linux OS, then computer can show stored in mobile phone can under Mac OS operating systems or (SuSE) Linux OS With the data to be visited (the i.e. first data to be visited) of access, i.e. data 21 and data 22.
In step 103, other data to be visited in addition to the first data to be visited are set to hidden state.
In force, can be by hand using the first data to be visited as the corresponding access data instance of Windows operating system Other OS Types in addition to corresponding first data to be visited of Windows operating system for being stored in machine are corresponding to be waited to visit Ask that data are set to hidden state by dispaly state.
Alternatively, user can be read by computer and run the first data to be visited in mobile phone, corresponding processing Can be as follows:Reading and operation to the first data to be visited is received to ask, wherein, the reading and operation request are used for first Specified file in data to be visited is installed in first terminal.
In force, using the first data to be visited as the data instance of ISO files, computer and mobile phone are built by data wire After vertical connection, computer can show the ISO files, and user can click on the icon of the ISO files, triggering computer generation pair The reading and operation request of the ISO files, are sent to mobile phone, when mobile phone receives the reading and operation request, can perform this ISO files, the specified file in the ISO files is installed in computer.
Alternatively, the data recovery to be visited of hidden state can be aobvious by first terminal control electronics by user Show state, the processing procedure may comprise steps of:
Step one, the request that unhides that first terminal is sent is received.
In force, unhide button, Yong Huru can be set in the window of the data to be visited of Computer display Fruit want data to be visited corresponding to other OS Types conduct interviews or operate, can click on this unhide by Key, now, computer can generate the request that unhides, and send it to mobile phone.
Step 2, the hidden state of other data to be visited in addition to the first data to be visited is cancelled.
In force, mobile phone receive unhide request when, mobile phone can will be currently at the to be visited of hidden state Data are set to dispaly state, now, and computer can show that each OS Type stored in mobile phone is corresponding to be visited Data.
In order to better illustrate the implementation process of the embodiment of the present disclosure, by taking an application scenarios as an example, to above-mentioned steps 101~ The process of step 103 is described in detail, and can include herein below:
By taking the application scenarios of the driver of the data stored in installing in a computer for managing mobile phone as an example, for The different operating system of computer is, it is necessary to which the driver installed is often different, and being provided with usual mobile phone is used to store each behaviour Make the read-only storage region of the driving file of system, technical staff can set drive corresponding thereto to different operating system Dynamic file, for example, the corresponding driving file of Windows operating system can include:Readme_files、Autorun.inf、 Readme.htm, Setup.exe, the corresponding driving file of Mac OS operating systems can include:Abc.dmg, Readme.rtf, Wherein, driving file Readme_files, Autorun.inf, Readme.htm, Setup.exe, Abc.dmg and Readme.rtf is stored in the read-only storage region of mobile phone, and technical staff can be directed to the corresponding driving of different operating system File, sets the corresponding relation of OS Type and driving file (data i.e. to be visited), reference can be made to shown in table 2.
Table 2
In computer and mobile phone, by data wire, (one end of wherein data wire, which is provided with USB interface, to be connected with computer Connect) connection after, computer can to mobile phone send USB interface initialization directive, when mobile phone receives initialization directive, can sentence Whether USB_REQ_CLEAR_FEATURE is included in the disconnected initialization directive, if including USB_REQ_ in initialization directive CLEAR_FEATURE, then mobile phone determine that the OS Type that computer is installed is Windows operating system, mobile phone can be by File name in above-mentioned read-only storage region is set to hidden state for Abc.dmg and Readme.rtf driving file, such as Shown in Fig. 3, computer can show file name for Readme_files, Autorun.inf, Readme.htm and Setup.exe driving file, user can select to install in the driving file of Computer display performs file, and then, it is Computer installs driver.Or, technical staff can in advance driving file Readme_files, Autorun.inf, Readme.htm and Setup.exe, which makes, turns into ISO files, (is treated setting up OS Type and driving file such as table 2 Access data) corresponding relation when, can by Windows operating system it is corresponding driving file be set to the ISO files, if Mobile phone determines that the OS Type that computer is installed is Windows operating system, and computer can show the ISO files, when When user clicks on the installation ISO files, computer can perform the process for installing driver automatically.
Wherein, in the operating system for opening automatic running ISO file functions, operating system can read ISO texts automatically Autorun.inf in part, and run the instruction in Autorun.inf.For example, specified file in Autorun.inf can be run, And then load the program to be loaded of developer in first terminal.
For example:The installation file Setup.exe of mobile phone assistant can be written in ISO files, and in Autorun.inf Setup.exe path is write, when first terminal automatic running ISO files, the finger in Autorun.inf can be read first Order, and the file Setup.exe of Autorun.inf specified paths is operated in, and then can be automatic when mobile phone accesses first terminal The program of mobile phone assistant is automatically mounted into first terminal, it is to avoid it is awkward and not humane that user installs manually, for It is more convenient for family.
If not including USB_REQ_CLEAR_FEATURE in initialization directive, mobile phone can determine that computer is installed OS Type be Mac OS operating systems, now, mobile phone by the file name in above-mentioned storage region be Readme_ Files, Autorun.inf, Readme.htm and Setup.exe driving file are set to hidden state, and now, computer can To show driving file of the file name as Abc.dmg and Readme.rtf, user can Computer display driving file Middle selection, which is installed, performs file, and then installs driver for computer.
Additionally provided in the embodiment of the present disclosure it is a kind of into electronic equipment add correspondence some OS Type wait visit The method for asking data, the processing procedure of this method may comprise steps of:
Step one, the data addition request for the mark for carrying the second data to be visited and the 3rd operating system is received.
In force, technical staff can pass through treating for being stored in certain management terminal (can be referred to as second terminal) access mobile phone Data are accessed, data can be set to add button in the management application program of second terminal, technical staff can click on the number According to addition button, triggering display is used to that operating system choice box, data choosing can be provided with the window that data are added, the window Select frame and determine button, user can select an operating system (i.e. the 3rd operating system) in operating system choice box, so Afterwards, certain data (the i.e. second data to be visited) being locally stored can be selected in data choice box, are pressed when user clicks on determination During key, the data that second terminal sends the mark for carrying the second data to be visited and the 3rd operating system to mobile phone can be triggered Addition request.
Step 2, stores the second data to be visited, and in OS Type and the corresponding relation of data to be visited, add The corresponding relation of data to be visited of plus the second and the 3rd operating system.
In force, management terminal (i.e. second terminal) can have the read-only storage region write-in data into mobile phone Authority, by taking the driver of the data stored in being added into mobile phone for managing mobile phone as an example, mobile phone extracts data addition please In the second data to be visited in asking, the read-only storage region for storing it in mobile phone, mobile phone can obtain the second number to be visited According to mark, and the mark of the mark of the second data to be visited and the 3rd operating system is added to OS Type and visited with waiting In the mapping table for asking data, for example, the 3rd operating system is designated Windows, the second data to be visited are designated Deel.htm, then mobile phone Deel.htm files can be stored in read-only storage region, and in the corresponding relation of such as above-mentioned table 2 The OS Type of table is adds Deel.htm in the corresponding field to be visited of Windows operating system, as shown in table 3.
Table 3
In the embodiment of the present disclosure, after being connected with first terminal foundation, the OS Type of first terminal is determined, according to The OS Type prestored and the corresponding relation of data to be visited, it is determined that corresponding with the OS Type of first terminal The first data to be visited, other data to be visited in addition to the first data to be visited are set to hidden state, so, for Some OS Type, first terminal can only show the to be visited data corresponding with the OS Type, Jin Eryong Family is set without determining the addressable data of current operation system by way of clicking on and attempting it is thus possible to improve access electronics The efficiency of the data of standby middle storage.
Embodiment three
Based on identical technical concept, the embodiment of the present disclosure is additionally provided a kind of carries out display management to data to be visited Device, as shown in figure 4, the device includes:Detection module 410, determining module 420 and setup module 430.
First determining module 410, is configured as after being connected with first terminal foundation, determines the operating system of first terminal Type;
Second determining module 420, is configured as corresponding with data to be visited according to the OS Type prestored Relation, it is determined that the first data to be visited corresponding with the OS Type of first terminal;
Setup module 430, is configured as being set to other data to be visited in addition to the first data to be visited to hide shape State.
Alternatively, the first determining module 410, is configured as:
After being connected with first terminal foundation, the initialization directive that first terminal is sent is received;
According to initialization directive, the OS Type of first terminal is determined.
Alternatively, the second determining module 420, is configured as:
If initialization directive includes the first instruction and the second instruction, it is determined that the OS Type of first terminal is First operating system;
If initialization directive includes the first instruction and the 3rd instruction, and does not include the second instruction, it is determined that first eventually The OS Type at end is the second operating system.
Alternatively, the first instruction is obtains device descriptor instruction, and second instructs to remove the Remote Wake Up function of equipment Instruction, the 3rd instruction is sets configuration information to instruct, and the first operating system is Windows operating system, and the second operating system is Mac OS operating systems or (SuSE) Linux OS.
Alternatively, the device also includes add module, is configured as:
Receive the data addition request for the mark for carrying the second data to be visited and the 3rd operating system;
The second data to be visited are stored, and in OS Type and the corresponding relation of data to be visited, addition second The corresponding relation of data to be visited and the 3rd operating system.
Alternatively, the device also includes cancelling module, is configured as:
Receive the request that unhides that first terminal is sent;
The hidden state of other data to be visited in addition to the first data to be visited is cancelled.
Alternatively, the device also includes receiver module, is configured as:
Reading and operation to the first data to be visited is received to ask;
Wherein, the reading and operation request are used to the specified file in the first data to be visited being installed to first terminal In.
On the device in above-described embodiment, wherein modules perform the concrete mode of operation in relevant this method Embodiment in be described in detail, explanation will be not set forth in detail herein.
In the embodiment of the present disclosure, after being connected with first terminal foundation, the OS Type of first terminal is determined, according to The OS Type prestored and the corresponding relation of data to be visited, it is determined that corresponding with the OS Type of first terminal The first data to be visited, other data to be visited in addition to the first data to be visited are set to hidden state, so, for Some OS Type, first terminal can only show the to be visited data corresponding with the OS Type, Jin Eryong Family is set without determining the addressable data of current operation system by way of clicking on and attempting it is thus possible to improve access electronics The efficiency of the data of standby middle storage.
It should be noted that:What above-described embodiment was provided carries out the device of display management to data to be visited to be visited , can be according to need only with the division progress of above-mentioned each functional module for example, in practical application when data carry out display management Want and above-mentioned functions are distributed and completed by different functional modules, i.e., the internal structure of terminal is divided into different function moulds Block, to complete all or part of function described above.In addition, above-described embodiment provide data to be visited are shown The device of management belongs to same design with data to be visited are carried out with the embodiment of the method for display management, and it is detailed that it implements process See embodiment of the method, repeat no more here.
Example IV
Fig. 5 is the structural representation of a kind of electronic equipment according to an exemplary embodiment.The electronic equipment can be with It is mobile phone, USB flash disk, card of surfing Internet etc..
Reference picture 5, electronic equipment 1000 can include following one or more assemblies:Processing assembly 1002, memory 1004, power supply module 1006, multimedia groupware 1008, audio-frequency assembly 1010, the interface 1012 of input/output (I/O), sensor Component 1014, and communication component 1016.
The integrated operation of the usual control electronics 1000 of processing assembly 1002, such as with display, call, data are led to Letter, the camera operation operation associated with record operation.Treatment element 1002 can include one or more processors 1020 Execute instruction, to complete all or part of step of above-mentioned method.In addition, processing assembly 1002 can include it is one or more Module, is easy to the interaction between processing assembly 1002 and other assemblies.For example, processing component 1002 can include multimedia mould Block, to facilitate the interaction between multimedia groupware 1008 and processing assembly 1002.
Memory 1004 is configured as storing various types of data supporting the operation in electronic equipment 1000.These numbers According to example include the instruction of any application program or method for being used to operate on electronic equipment 1000, contact data, electricity Talk about book data, message, picture, video etc..Memory 1004 can be by any kind of volatibility or non-volatile memory device Or combinations thereof is realized, such as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM), Erasable Programmable Read Only Memory EPROM (EPROM), programmable read only memory (PROM), read-only storage (ROM), magnetic memory, flash memory, disk or CD.
Electric power assembly 1006 provides electric power for the various assemblies of electronic equipment 1000.Electric power assembly 1006 can include power supply Management system, one or more power supplys, and other groups associated with generating, managing and distributing electric power for electronic equipment 1000 Part.
Multimedia groupware 1008 is included in the screen of one output interface of offer between the electronic equipment 1000 and user Curtain.In certain embodiments, screen can include liquid crystal display (LCD) and touch panel (TP).If screen includes touching Panel, screen may be implemented as touch-screen, to receive the input signal from user.Touch panel includes one or more touch Sensor is touched with the gesture on sensing touch, slip and touch panel.The touch sensor can not only sensing touch or cunning The border of action, but also the detection duration related to the touch or slide and pressure.In some embodiments In, multimedia groupware 1008 includes a front camera and/or rear camera.When electronic equipment 1000 is in operation mould When formula, such as screening-mode or video mode, front camera and/or rear camera can receive the multi-medium data of outside. Each front camera and rear camera can be a fixed optical lens systems or with focal length and optical zoom energy Power.
Audio-frequency assembly 1010 is configured as output and/or input audio signal.For example, audio-frequency assembly 1010 includes a wheat Gram wind (MIC), when electronic equipment 1000 is in operator scheme, when such as call model, logging mode and speech recognition mode, Mike Wind is configured as receiving external audio signal.The audio signal received can be further stored memory 1004 or via Communication component 1016 is sent.In certain embodiments, audio-frequency assembly 1010 also includes a loudspeaker, for exporting audio letter Number.
I/O interfaces 1012 are that interface, above-mentioned peripheral interface module are provided between processing assembly 1002 and peripheral interface module Can be keyboard, click wheel, button etc..These buttons may include but be not limited to:Home button, volume button, start button and Locking press button.
Sensor cluster 1014 includes one or more sensors, the shape for providing various aspects for electronic equipment 1000 State is assessed.For example, sensor cluster 1014 can detect opening/closed mode of electronic equipment 1000, component it is relatively fixed Position, such as described component is the display and keypad of electronic equipment 1000, and sensor cluster 1014 can also detect that electronics is set Position for 1000 or 1,000 1 components of electronic equipment changes, the existence or non-existence that user contacts with electronic equipment 1000, The temperature change of the orientation of electronic equipment 1000 or acceleration/deceleration and electronic equipment 1000.Sensor cluster 1014 can include connecing Nearly sensor, is configured to the presence of the object near detection in not any physical contact.Sensor cluster 1014 is also Optical sensor, such as CMOS or ccd image sensor, for being used in imaging applications can be included.In certain embodiments, should Sensor cluster 1014 can also include acceleration transducer, and gyro sensor, Magnetic Sensor, pressure sensor or temperature are passed Sensor.
Communication component 1016 is configured to facilitate the logical of wired or wireless way between electronic equipment 1000 and other equipment Letter.Electronic equipment 1000 can access the wireless network based on communication standard, such as WiFi, 2G or 3G, or combinations thereof.One In individual exemplary embodiment, communication component 1016 via broadcast channel receive broadcast singal from external broadcasting management system or Broadcast related information.In one exemplary embodiment, the communication component 1016 also includes near-field communication (NFC) module, with Promote junction service.For example, can be based on radio frequency identification (RFID) technology in NFC module, Infrared Data Association (IrDA) technology surpasses Broadband (UWB) technology, bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, electronic equipment 1000 can by one or more application specific integrated circuits (ASIC), Digital signal processor (DSP), digital signal processing appts (DSPD), PLD (PLD), field-programmable gate array Arrange (FPGA), controller, microcontroller, microprocessor or other electronic components to realize, for performing the above method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instructing, example are additionally provided Such as include the memory 1004 of instruction, above-mentioned instruction can be performed to complete above-mentioned side by the processor 1020 of electronic equipment 1000 Method.For example, the non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, magnetic Band, floppy disk and optical data storage devices etc..
A kind of non-transitorycomputer readable storage medium, when processing of the instruction in the storage medium by electronic equipment When device is performed so that electronic equipment is able to carry out a kind of method that data to be visited are carried out with display management, this method includes:
After being connected with first terminal foundation, the OS Type of first terminal is determined;
According to the OS Type prestored and the corresponding relation of data to be visited, it is determined that the operation with first terminal Corresponding first data to be visited of system type;
Other data to be visited in addition to the first data to be visited are set to hidden state.
Alternatively, after being connected with first terminal foundation, the OS Type of first terminal is determined, including:
After being connected with first terminal foundation, the initialization directive that first terminal is sent is received;
According to initialization directive, the OS Type of first terminal is determined.
Alternatively, according to the initialization directive, the OS Type of first terminal is determined, including:
If initialization directive includes the first instruction and the second instruction, it is determined that the OS Type of first terminal is First operating system;
If initialization directive includes the first instruction and the 3rd instruction, and does not include the second instruction, it is determined that first eventually The OS Type at end is the second operating system.
Alternatively, the first instruction is obtains device descriptor instruction, and second instructs to remove the Remote Wake Up function of equipment Instruction, the 3rd instruction is sets configuration information to instruct, and the first operating system is Windows operating system, and the second operating system is Mac OS operating systems or (SuSE) Linux OS.
Alternatively, this method also includes:
Receive the data addition request for the mark for carrying the second data to be visited and the 3rd operating system;
The second data to be visited are stored, and in OS Type and the corresponding relation of data to be visited, addition second The corresponding relation of data to be visited and the 3rd operating system.
Alternatively, this method also includes:
Receive the request that unhides that first terminal is sent;
The hidden state of other data to be visited in addition to the first data to be visited is cancelled.
This method also includes:
Reading and operation to the first data to be visited is received to ask;
Wherein, the reading and operation request are used to the specified file in the first data to be visited being installed to first terminal In.
In the embodiment of the present disclosure, after being connected with first terminal foundation, the OS Type of first terminal is determined, according to The OS Type prestored and the corresponding relation of data to be visited, it is determined that corresponding with the OS Type of first terminal The first data to be visited, other data to be visited in addition to the first data to be visited are set to hidden state, so, for Some OS Type, first terminal can only show the to be visited data corresponding with the OS Type, Jin Eryong Family is set without determining the addressable data of current operation system by way of clicking on and attempting it is thus possible to improve access electronics The efficiency of the data of standby middle storage.
Those skilled in the art will readily occur to its of the disclosure after considering specification and putting into practice disclosure disclosed herein Its embodiment.The application is intended to any modification, purposes or the adaptations of the disclosure, these modifications, purposes or Person's adaptations follow the general principle of the disclosure and including the undocumented common knowledge in the art of the disclosure Or conventional techniques.Description and embodiments are considered only as exemplary, and the true scope of the disclosure and spirit are by following Claim is pointed out.
It should be appreciated that the precision architecture that the disclosure is not limited to be described above and is shown in the drawings, and And various modifications and changes can be being carried out without departing from the scope.The scope of the present disclosure is only limited by appended claim.

Claims (15)

1. a kind of method that data to be visited are carried out with display management, it is characterised in that methods described includes:
After being connected with first terminal foundation, the OS Type of the first terminal is determined;
According to the OS Type prestored and the corresponding relation of data to be visited, it is determined that the operation with the first terminal Corresponding first data to be visited of system type, wherein, the data to be visited are to be mounted with corresponding OS Type The arbitrary data that first terminal can be accessed;
Other data to be visited in addition to the described first data to be visited are set to hidden state.
2. according to the method described in claim 1, it is characterised in that described after being connected with first terminal foundation, it is determined that described The OS Type of first terminal, including:
After being connected with first terminal foundation, the initialization directive that the first terminal is sent is received;
According to the initialization directive, the OS Type of the first terminal is determined.
3. method according to claim 2, it is characterised in that described according to the initialization directive, determines described first The OS Type of terminal, including:
If the initialization directive includes the first instruction and the second instruction, it is determined that the operating system class of the first terminal Type is the first operating system;
If the initialization directive includes first instruction and the 3rd instruction, and does not include the described second instruction, then really The OS Type of the fixed first terminal is the second operating system.
4. method according to claim 3, it is characterised in that first instruction instructs to obtain device descriptor, institute The second instruction is stated to remove the Remote Wake Up function command of equipment, the 3rd instruction is sets configuration information to instruct, described the One operating system is Windows operating system, and second operating system is Mac OS operating systems or (SuSE) Linux OS.
5. according to the method described in claim 1, it is characterised in that methods described also includes:
Receive the data addition request for the mark for carrying the second data to be visited and the 3rd operating system;
The described second data to be visited are stored, and in the OS Type and the corresponding relation of data to be visited, addition The corresponding relation of second data to be visited and the 3rd operating system.
6. according to the method described in claim 1, it is characterised in that methods described also includes:
Receive the request that unhides that the first terminal is sent;
The hidden state of other data to be visited in addition to the described first data to be visited is cancelled.
7. according to the method described in claim 1, it is characterised in that methods described also includes:
Reading and operation to the described first data to be visited is received to ask;
Wherein, reading and the operation request is used to the specified file in the described first data to be visited being installed to described first In terminal.
8. a kind of device that data to be visited are carried out with display management, it is characterised in that described device includes:
First determining module, for after being connected with first terminal foundation, determining the OS Type of the first terminal;
Second determining module, the OS Type and the corresponding relation of data to be visited prestored for basis, it is determined that with Corresponding first data to be visited of OS Type of the first terminal, wherein, the data to be visited is are mounted with pair The arbitrary data that the first terminal for the OS Type answered can be accessed;
Setup module, for other data to be visited in addition to the described first data to be visited to be set into hidden state.
9. device according to claim 8, it is characterised in that first determining module, is used for:
After being connected with first terminal foundation, the initialization directive that the first terminal is sent is received;
According to the initialization directive, the OS Type of the first terminal is determined.
10. device according to claim 9, it is characterised in that second determining module, is used for:
If the initialization directive includes the first instruction and the second instruction, it is determined that the operating system class of the first terminal Type is the first operating system;
If the initialization directive includes first instruction and the 3rd instruction, and does not include the described second instruction, then really The OS Type of the fixed first terminal is the second operating system.
11. device according to claim 10, it is characterised in that first instruction instructs to obtain device descriptor, Second instruction is removes the Remote Wake Up function command of equipment, and the 3rd instruction is described to set configuration information to instruct First operating system is Windows operating system, and second operating system is Mac OS operating systems or Linux operations system System.
12. device according to claim 8, it is characterised in that described device also includes add module, is used for:
Receive the data addition request for the mark for carrying the second data to be visited and the 3rd operating system;
The described second data to be visited are stored, and in the OS Type and the corresponding relation of data to be visited, addition The corresponding relation of second data to be visited and the 3rd operating system.
13. device according to claim 8, it is characterised in that described device also includes cancelling module, is used for:
Receive the request that unhides that the first terminal is sent;
The hidden state of other data to be visited in addition to the described first data to be visited is cancelled.
14. device according to claim 8, it is characterised in that described device also includes receiver module, is used for:
Reading and operation to the described first data to be visited is received to ask;
Wherein, reading and the operation request is used to the specified file in the described first data to be visited being installed to described first In terminal.
15. a kind of electronic equipment, it is characterised in that including:
Processor;
Memory for storing processor-executable instruction;
Wherein, the processor is configured as:
After being connected with first terminal foundation, the OS Type of the first terminal is determined;
According to the OS Type prestored and the corresponding relation of data to be visited, it is determined that the operation with the first terminal Corresponding first data to be visited of system type, wherein, the data to be visited are to be mounted with corresponding OS Type The arbitrary data that first terminal can be accessed;
Other data to be visited in addition to the described first data to be visited are set to hidden state.
CN201410421729.6A 2014-08-25 2014-08-25 The method and apparatus that data to be visited are carried out with display management Active CN104239244B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410421729.6A CN104239244B (en) 2014-08-25 2014-08-25 The method and apparatus that data to be visited are carried out with display management

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410421729.6A CN104239244B (en) 2014-08-25 2014-08-25 The method and apparatus that data to be visited are carried out with display management

Publications (2)

Publication Number Publication Date
CN104239244A CN104239244A (en) 2014-12-24
CN104239244B true CN104239244B (en) 2017-07-14

Family

ID=52227353

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410421729.6A Active CN104239244B (en) 2014-08-25 2014-08-25 The method and apparatus that data to be visited are carried out with display management

Country Status (1)

Country Link
CN (1) CN104239244B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106484700B (en) * 2015-08-25 2019-09-20 北京国双科技有限公司 The display methods and device of page access data

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103294464A (en) * 2012-02-24 2013-09-11 三星电子株式会社 Apparatus and method for verifying operating system of host device in portable terminal

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7289807B2 (en) * 2004-06-24 2007-10-30 Nokia Corporation System and method for using licensed radio technology to determine the operation parameters of an unlicensed radio technology in a mobile terminal
CN102955917B (en) * 2011-08-29 2016-03-30 联想(北京)有限公司 A kind of method of protected data, device and equipment
CN103324892A (en) * 2013-06-08 2013-09-25 广东欧珀移动通信有限公司 File display method and device of Android system

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103294464A (en) * 2012-02-24 2013-09-11 三星电子株式会社 Apparatus and method for verifying operating system of host device in portable terminal

Also Published As

Publication number Publication date
CN104239244A (en) 2014-12-24

Similar Documents

Publication Publication Date Title
US20190318736A1 (en) Method for voice controlling, terminal device, cloud server and system
WO2017113842A1 (en) Intelligent device control method and apparatus
WO2019174611A1 (en) Application configuration method and mobile terminal
CN105491113A (en) Migrating method, device and terminal
CN104484200A (en) Method and device for updating firmware
CN103916468B (en) Method for upgrading system, terminal, server and upgrade-system
CN106201491B (en) Mobile terminal and method and device for controlling remote assistance process of mobile terminal
CN107370772A (en) Account login method, device and computer-readable recording medium
CN103916829A (en) Desktop message notifying method and device
CN105511686A (en) Incoming call processing method and device and electronic terminal equipment
CN103927081A (en) Method and device for processing notification events
US9958967B2 (en) Method and electronic device for operating electronic pen
KR20170038178A (en) Method, apparatus, and mobile terminal for identificating fingerprint
CN107483594A (en) The method and apparatus of display renewal entry
CN104503690A (en) Arrangement method and device for application icons
CN104636170A (en) Application acquiring method and device and electronic device
CN104049864A (en) Object control method and device
US10311254B2 (en) Electronic apparatus and information access control method thereof
CN105187671A (en) Recording method and device
CN106610777A (en) Application starting method and device and mobile terminal
CN107632835A (en) Using installation method and device
CN107239236A (en) Method for writing data and device
CN104038255A (en) Device connecting method and device
CN107247735A (en) Document transmission method and device
CN105549883A (en) Operation control method and device

Legal Events

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