CN103227832A - Shared resource processing method and device - Google Patents

Shared resource processing method and device Download PDF

Info

Publication number
CN103227832A
CN103227832A CN2013101556918A CN201310155691A CN103227832A CN 103227832 A CN103227832 A CN 103227832A CN 2013101556918 A CN2013101556918 A CN 2013101556918A CN 201310155691 A CN201310155691 A CN 201310155691A CN 103227832 A CN103227832 A CN 103227832A
Authority
CN
China
Prior art keywords
terminal equipment
shared resource
lan
area network
local area
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2013101556918A
Other languages
Chinese (zh)
Other versions
CN103227832B (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.)
Huawei Device Co Ltd
Huawei Device Shenzhen Co Ltd
Original Assignee
Huawei Device 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 Huawei Device Co Ltd filed Critical Huawei Device Co Ltd
Priority to CN201310155691.8A priority Critical patent/CN103227832B/en
Publication of CN103227832A publication Critical patent/CN103227832A/en
Application granted granted Critical
Publication of CN103227832B publication Critical patent/CN103227832B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention provides a shared resource processing method and a device. The shared resource processing method comprises the steps that when terminal equipment is accessed to a local area network, the terminal equipment determines whether other terminal equipment in the current accessed local area network provides a shared resource; and if providing, the terminal equipment mounts the shared resource provided by other terminal equipment. According to the shared resource processing method and the device, the shared resource provided by other terminal equipment is obtained by the terminal equipment, and a user is not required to manually scan the local area network or search shared equipment to obtain the shared resource, so that the operation complexity of obtaining the shared resource is reduced greatly, and the efficiency of the user for obtaining the shared resource is improved.

Description

Shared resource processing method and device
Technical field
The embodiment of the invention relates to the communication technology, relates in particular to a kind of shared resource processing method and device.
Background technology
Along with the continuous development of intelligent terminal technology, intelligent terminal and other equipment also more and more closer alternately.Wherein, the means that the LAN-sharing technology is carried out data interaction as intelligent terminal and other access to LAN equipment, be meant that mainly operating systems such as Windows, Linux can dispose the shared attribute of file on this machine memory device, other equipment that insert same local area network (LAN) can be visited this Shared Folders.
In the prior art, for intelligent terminal, there has been the developer that third-party sharing application is provided, ES file browser for example, it mainly is to use according to the Sharing Management of JAVA language compilation, the user is when using the type Sharing Management to use, usually need the user to pass through intelligent terminal manual scanning local area network (LAN), and by user's manual search shared device, register operation accordingly, obtain particular device on shared resource.
But existing Sharing Management is used on the intelligent terminal, its operation of obtaining shared resource is too loaded down with trivial details, has reduced the efficient that the user obtains shared resource.
Summary of the invention
The invention provides a kind of shared resource processing method and device of being used for, be used to simplify the operation that the user obtains shared resource, improve the efficient that the user obtains shared resource.
First aspect of the present invention provides a kind of shared resource processing method, comprising:
When terminal equipment connected into local area network (LAN), described terminal equipment determined whether other terminal equipment in the local area network (LAN) of current access provides shared resource;
If the shared resource that described other terminal equipment of then described terminal equipment carry provides is provided.
In conjunction with first aspect, in first kind of possible implementation, described terminal equipment determines that whether other terminal equipment in the local area network (LAN) of current access provides shared resource, comprising:
Other terminal equipment in the local area network (LAN) of described terminal equipment and current access carries out the CIFS protocol communication, determines whether described other terminal equipment provides shared resource.
In conjunction with first kind of first aspect and first aspect possible implementation, in second kind of possible implementation, described terminal equipment determines that other terminal equipment in the local area network (LAN) of current access provides after the shared resource, also comprises:
Described terminal equipment sends the authentication Indication message to the user;
The shared resource that described other terminal equipment of described terminal equipment carry provides comprises:
Described terminal equipment is at the authentication information that is receiving described user input, and described authentication information is after the terminal equipment verification of shared resource correspondence is passed through, the shared resource that described other terminal equipment of carry provides.
In conjunction with second kind of first aspect possible implementation, in the third possible implementation, described terminal equipment also comprises after the authentication information that receives described user's input:
Described terminal equipment is preserved described authentication information.
In conjunction with above-mentioned each possible implementation of first aspect and first aspect, in the 4th kind of possible implementation, described terminal equipment determines that other terminal equipment in the local area network (LAN) of current access provides after the shared resource, also comprises:
Described terminal equipment sends prompting message to the user, and described prompting message is used to point out the user to find shared resource.
In conjunction with the 4th kind of possible implementation of first aspect, in the 5th kind of possible implementation, described terminal equipment sends prompting message to the user, and described prompting message is used to point out the user to find shared resource, comprising:
Described terminal equipment sends drop-down message or Pop-up message to the user, and described drop-down message or Pop-up message are used to point out the user to find shared resource.
In conjunction with above-mentioned each possible implementation of first aspect and first aspect, in the 6th kind of possible implementation, described terminal equipment determines that whether other terminal equipment in the local area network (LAN) of current access provides before the shared resource, also comprises:
Described terminal equipment is monitored the local area network (LAN) connection status;
When terminal equipment listens to access to LAN, carry out described terminal equipment and determine that whether other terminal equipment in the local area network (LAN) of current access provides shared resource, comprising:
Described terminal equipment determines whether other terminal equipment in the local area network (LAN) of current access provides the step of shared resource when listening to access to LAN.
The 6th kind of possible implementation in conjunction with first aspect in the 7th kind of possible implementation, also comprises:
Described terminal equipment then disconnects described shared carry if listening to local area network (LAN) connects disconnection and set up shared carry.
Second aspect of the present invention provides a kind of shared resource processing unit, comprising:
Scan module is used for when terminal equipment connects into local area network (LAN), determines whether other terminal equipment in the local area network (LAN) of current access provides shared resource;
The carry module is used for if provide, then the shared resource that provides of described other terminal equipment of carry.
In conjunction with second aspect, in first kind of possible implementation, described scan module specifically is used for carrying out the CIFS protocol communication with other terminal equipment of the local area network (LAN) of current access, determines whether described other terminal equipment provides shared resource.
In conjunction with first kind of possible implementation of second aspect and second aspect, in second kind of possible implementation, described shared resource processing unit also comprises:
Reminding module is used for after described scan module determines whether other terminal equipment of the local area network (LAN) of current access provides shared resource, if provide, then sends the authentication Indication message to the user;
Described carry module specifically is used at the authentication information that is receiving described user input, and described authentication information is after the terminal equipment verification of shared resource correspondence is passed through, the shared resource that described other terminal equipment of carry provides.
In conjunction with second kind of second aspect possible implementation, in the third possible implementation, described shared resource processing unit also comprises:
Memory module is preserved described authentication information.
Above-mentioned each possible implementation in conjunction with second aspect and second aspect, in the 4th kind of possible implementation, described reminding module, also be used for after described scan module determines that other terminal equipment of the local area network (LAN) of current access provides shared resource, send prompting message to the user, described prompting message is used to point out the user to find shared resource.
The 4th kind of possible implementation in conjunction with second aspect, in the 5th kind of possible implementation, described reminding module specifically is used for sending drop-down message or Pop-up message to the user, and described drop-down message or Pop-up message are used to point out the user to find shared resource.
In conjunction with above-mentioned each possible implementation of second aspect and second aspect, in the 6th kind of possible implementation, described shared resource processing unit also comprises:
Monitor module, be used for before described scan module determines whether other terminal equipment of the local area network (LAN) of current access provides shared resource, monitor the local area network (LAN) connection status;
Described scan module specifically is used for when described monitoring module listens to access to LAN, determines whether other terminal equipment in the local area network (LAN) of current access provides shared resource.
In conjunction with the 6th kind of possible implementation of second aspect, in the 7th kind of possible implementation, described carry module also is used for described monitoring module if listening to local area network (LAN) connects disconnection and set up shared carry, then disconnects described shared carry.
Shared resource processing method and device that the embodiment of the invention provides, by terminal equipment when terminal equipment connects into local area network (LAN), determine whether other terminal equipment in the local area network (LAN) of current access provides shared resource, if provide, the shared resource that provides of other terminal equipment of terminal equipment carry then.It obtains the shared resource that other terminal equipment provides by terminal equipment, need not user's manual scanning local area network (LAN), the search shared device obtain shared resource, greatly reduce the complicated operation degree that obtains shared resource, improved the efficient that the user obtains shared resource.
Description of drawings
In order to be illustrated more clearly in the embodiment of the invention or technical scheme of the prior art, to do one to the accompanying drawing of required use in embodiment or the description of the Prior Art below introduces simply, apparently, accompanying drawing in describing below is some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain other accompanying drawing according to these accompanying drawings.
The schematic flow sheet of the shared resource processing method that Fig. 1 provides for the embodiment of the invention one;
The schematic flow sheet of the shared resource processing method that Fig. 2 provides for the embodiment of the invention two;
The schematic flow sheet of the shared resource processing method that Fig. 3 provides for the embodiment of the invention three;
The structural representation of the shared resource processing unit that Fig. 4 provides for the embodiment of the invention four;
The structural representation of the shared resource processing unit that Fig. 5 provides for the embodiment of the invention five;
The structural representation of the terminal equipment that Fig. 6 provides for the embodiment of the invention six.
Embodiment
For the purpose, technical scheme and the advantage that make the embodiment of the invention clearer, below in conjunction with the accompanying drawing in the embodiment of the invention, technical scheme in the embodiment of the invention is clearly and completely described, obviously, described embodiment is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills belong to the scope of protection of the invention not making the every other embodiment that is obtained under the creative work prerequisite.
The schematic flow sheet of the shared resource processing method that Fig. 1 provides for the embodiment of the invention one, as shown in Figure 1, the shared resource processing method comprises the steps:
Step 100, when terminal equipment connects into local area network (LAN), terminal equipment determines whether other terminal equipment in the local area network (LAN) of current access provides shared resource.Provide shared resource if terminal equipment is determined other terminal equipment in the local area network (LAN) of current access, then execution in step 101; Do not provide shared resource if terminal equipment is determined other terminal equipment in the local area network (LAN) of current access, then continue to carry out this step 100.
Local area network (LAN) is meant that in a certain zone with various computers, external equipment and database etc. links up the computer communication network of composition mutually.In an embodiment of the present invention, the communication network that the interconnection of terminal equipment in the one family can be formed is considered as local area network (LAN), perhaps the communication network that is connected to each other composition of the computer in company is considered as local area network (LAN), and terminal equipment can be by wired, and perhaps wireless mode is connected in the local area network (LAN).
Concrete, terminal equipment can be provided with a human-computer interaction interface, and this human-computer interaction interface can be divided into: interface and backstage service two parts, wherein, access scans to local area network (LAN) by the backstage service, and realizes the function of above-mentioned steps 100.And by realizing the relevant mutual of user and terminal equipment in the interface, concrete alternately can be for providing informations such as finding shared resource to the user, and the guiding user obtains shared resource, simplifies the operation.Further, the backstage service, can determine by the communication equipment of prior protocols and terminal equipment itself whether other terminal equipment in the local area network (LAN) of current access provides shared resource, present embodiment is for determining whether other terminal equipment in the local area network (LAN) provides the implementation of shared resource and the specific design of human-computer interaction interface not to do qualification.The shared resource shared resource
The shared resource that step 101, other terminal equipment of terminal equipment carry provide.
Concrete, if determining other terminal equipment in the local area network (LAN) of current access, terminal equipment provides shared resource, the shared resource that provides of other terminal equipment of terminal equipment carry then, further, the shared resource that this terminal equipment provides other-end equipment offers the user by a local directory with shared resource.For example, for operating system based on the linux system exploitation, directly use partition name different with the windows system, the file system of this operating system is a tree, therefore in this operating system, can only see an initial Archive sit '/', this node is present in the middle of the internal memory, when the user attempts shared resource by a windows system of this operating system access, need be to local address of this shared resource carry, for example " media/d ".Therefore when shared resource that user capture other-end equipment provides, the catalogue of former shared resource is " 192.168.1.2 share ", it need be mounted to "/media/share ", and promptly the user visits the shared resource that other-end equipment provides by a local directory of visit "/media/share ".In the prior art, the shared resource management that the third party provides is used and is not generated an above-mentioned local directory, but by with the related protocol that obtains shared resource, directly obtain the shared resource of other-end equipment with the form of Streaming Media, prior art is obtained the mode of shared resource, can produce following at least two kinds of problems: problem one, in the shared resource of other-end equipment, there is the interrelated formula of a plurality of files, after obtaining one of them shared file by prior art, can't mate with alternative document, for example, film and the subtitle file related with this film, form by Streaming Media, be merely able to obtain the video file of this film, at this moment, because the neither one local directory, prior art can't be known the subtitle file related with this film, therefore the subtitle file of this film association and the video file of this film can't be complementary; Problem two, for the shared resource of not supporting Streaming Media, then prior art can't obtain this shared resource.Comparatively speaking, the implementation of present embodiment step 101, by generating the shared resource that other terminal equipment of local directory carry provides, when related a plurality of file occurring, as long as these associated withs are present under the same local directory, according to existing technology, just can be about to each file certainly mates.And owing to do not adopt Streaming Media to obtain the mode of shared resource, so the situation that the shared resource of Streaming Media can't obtain can not appear not supporting in present embodiment yet.
The shared resource processing method that present embodiment provides when terminal equipment connects into local area network (LAN), determines whether other terminal equipment in the local area network (LAN) of current access provides shared resource, if provide, and the shared resource that provides of other terminal equipment of terminal equipment carry then.It obtains the shared resource that other terminal equipment provides by terminal equipment, need not user's manual scanning local area network (LAN), the search shared device obtain shared resource, greatly reduce the complicated operation degree that obtains shared resource, improved the efficient that the user obtains shared resource.
Further, for above-mentioned steps 100, its a kind of feasible implementation is: other terminal equipment in the local area network (LAN) of terminal equipment and current access carries out Common Internet File System (Common Internet File System, be called for short: CIFS) protocol communication, determine whether other terminal equipment provides shared resource.
On the basis of Fig. 1 and above-mentioned feasible implementation, the schematic flow sheet of the shared resource processing method that Fig. 2 provides for the embodiment of the invention two, as shown in Figure 2, terminal equipment determines that other terminal equipment in the local area network (LAN) of current access provides after the shared resource, then can also comprise the steps:
Step 102, terminal equipment send the authentication Indication message to the user.
Concrete, for the shared resource that authentication can be visited, then the terminal equipment in the present embodiment sends the authentication Indication message to the user, inputs password etc. such as the prompting user.Need to prove, for the shared resource that need not to authenticate direct visit, then do not need this step 102 and hereinafter with input password relevant step, the shared resource that provides by other terminal equipment of the direct carry of terminal equipment.
Further, a kind of feasible implementation of step 101 is: step 101a, terminal equipment are at the authentication information that receives user's input, send to the terminal equipment of shared resource correspondence, after the terminal equipment of shared resource correspondence carries out verification to authentication information and passes through, the shared resource that other terminal equipment of carry provides.
Concrete, can receive the authentication information of user's input at terminal equipment, such as password etc., terminal equipment can also be preserved authentication information, for example, preserve the password of user's input, prepare against when obtaining identical shared resource once more, terminal equipment is by this shared resource of the automatic carry of the authentication information of having preserved.
Further, on the basis of Fig. 1, Fig. 2 and above-mentioned feasible implementation, after terminal equipment determines that other terminal equipment in the local area network (LAN) of current access provides shared resource, can also comprise the steps:
Terminal equipment sends prompting message to the user, and prompting message is used to point out the user to find shared resource.
Optionally, terminal equipment sends drop-down message or Pop-up message to the user, and drop-down message or Pop-up message are used to point out the user to find shared resource.
Further, on the basis of Fig. 1, Fig. 2 and above-mentioned each feasible implementation,, before step 100, also comprise the steps: with reference to Fig. 1
Terminal equipment is monitored the local area network (LAN) connection status.
Concrete, terminal equipment can be monitored the current network connection state of this terminal equipment by monitoring technique, for example monitors the variation of Android grid change state (Network_State_Changed_Action).Further, terminal equipment is when listening to access to LAN, and then this terminal equipment determines whether other terminal equipment in the local area network (LAN) of current access provides shared resource.If terminal equipment is if listening to local area network (LAN) connects disconnection and set up shared carry, then this terminal equipment disconnects and shares carry.Be that example describes with terminal equipment by the Wifi access to LAN below, when this terminal equipment listens to the local area network (LAN) connection status from " no Wifi network " when forwarding " the Wifi network is arranged " to, then carry out the step 100 in the foregoing description, promptly terminal equipment determines whether other terminal equipment in the local area network (LAN) of current access provides shared resource.When if the local area network (LAN) connection status of this terminal equipment forwards " no Wifi network " to from " the Wifi network is arranged ", terminal equipment inspection this moment whether with Wifi network before in other-end equipment set up shared carry, if there is the shared carry of having set up, then disconnects and to share carry.
Need to prove that in the various embodiments described above and the implementation that each is feasible, this terminal equipment can be divided into three levels, that is: application layer, finger daemon and Drive Layer.
Wherein, application layer has human-computer interaction function, comprises two parts: interface and backstage service.Whether other terminal equipment that the backstage service is mainly used in the local area network (LAN) of monitoring the other-end equipment in local area network (LAN) connection status, the same local area network (LAN) of discovery and determining current access provides shared resource.Concrete, find that the function of the other-end equipment in the same local area network (LAN) can pass through address resolution protocol (Address Resolution Protocol, be called for short: ARP) terminal equipment that has inserted in the current local area network (LAN) of scanning is realized, certainly, the specific implementation of access device is provided in the prior art in the same local area network (LAN) of multiple scanning, specifically adopt which kind of mode to obtain in the same local area network (LAN) access device for present embodiment, do not do qualification herein.When the backstage service discovery other-end equipment provide shared resource the time, then by the interface prompt user find shared resource or the prompting user input the required corresponding password of shared resource.Simplify the operating process of obtaining shared resource so greatly, improved the efficient that the user obtains shared resource.
Finger daemon is used to the operation of carrying out the carry shared resource and disconnecting the shared resource of having set up.The mode that it passes through a local directory of shared resource carry of other-end equipment makes the user get access to needed shared resource by portable terminal.And the technical problem that has caused when having avoided in the prior art obtaining shared resource by Streaming Media: a plurality of associated documents can't mate, not support the problem that the file of Streaming Media can't obtain, concrete, prior art problems has had been described in detail herein in embodiment one above and has repeated no more.
Drive Layer, carry out the carry function of terminal equipment, concrete, can realize this carry function by the C Programming with Pascal Language, can avoid like this using because the JAVA self character by the Sharing Management of JAVA language compilation in the prior art, as need the own characteristic of JAVA virtual machine, the slow problem of visit reading speed that causes.
Below by an embodiment, shared resource processing method provided by the invention is carried out complete explanation.The schematic flow sheet of the shared resource processing method that Fig. 3 provides for the embodiment of the invention three as shown in Figure 3, comprises the steps:
Step 200, terminal equipment are monitored the local area network (LAN) connection status, judge whether network connection state changes.
Wherein, go up local area network (LAN) if connect, then execution in step 201; Disconnect if local area network (LAN) connects, then execution in step 202.
Whether step 201, terminal equipment scanning local area network (LAN) exist other-end equipment.
Wherein, if having other-end equipment in the same local area network (LAN), then execution in step 204; If there is not other-end equipment, then continue steps performed 200.
Step 202, terminal equipment judge whether to set up shared carry.
Wherein, if set up shared carry, then execution in step 203; Do not share carry if set up, then continue execution in step 200.
Step 203, terminal equipment disconnect should share carry.
Wherein, disconnect the shared carry of having set up, continue execution in step 200 afterwards at terminal equipment.
Whether step 204, terminal equipment scanning other-end equipment provide shared resource.
Provide shared resource as if other-end equipment, then execution in step 205 and step 206; If other-end equipment does not provide shared resource, then continue execution in step 200.
Step 205, terminal equipment send prompting message to the user.
Terminal equipment wants the user to send prompting message, and shared resource is found in prompting.
The shared resource that step 206, other terminal equipment of terminal equipment carry provide.
Concrete, the shared resource that authentication could be visited for needs, terminal equipment needs to send the authentication Indication message to the user, and at the authentication information that receives user's input, described authentication information is sent to the terminal equipment of shared resource correspondence, after the terminal equipment verification of shared resource correspondence is passed through, the shared resource that other terminal equipment of carry provides.Continue execution in step 200 afterwards.Preferably, after the authentication that receives user input, authentication information can also be preserved, use during in order to the same shared resource of next carry.
Concrete, for need not to authenticate the shared resource that can insert, the shared resource that other terminal equipment of terminal equipment carry provides.Continue execution in step 200 afterwards.
The structural representation of the shared resource processing unit that Fig. 4 provides for the embodiment of the invention four, as shown in Figure 4, this shared resource processing unit comprises: scan module 10, carry module 11.
Scan module 10 is used for when terminal equipment connects into local area network (LAN), determines whether other terminal equipment in the local area network (LAN) of current access provides shared resource.
Concrete, scan module 10 is used for also determining whether local area network (LAN) exists other-end equipment, further, when having other equipment, scan module 10 can determine by prior protocols whether other terminal equipment in the local area network (LAN) of current access provides shared resource.
Carry module 11 is used for if provide, then the shared resource that provides of other terminal equipment of carry.
The shared resource processing unit of present embodiment, it specifically can be used to carry out the technical scheme of method embodiment shown in Figure 1, and its realization principle and technique effect are similar, repeat no more herein.
Further, for above-mentioned scan module 10, a kind of feasible implementation is: scan module 10, specifically be used for carrying out the CIFS protocol communication with other terminal equipment of the local area network (LAN) of current access, and determine whether other terminal equipment provides shared resource.
Further, the structural representation of the shared resource processing unit that Fig. 5 provides for the embodiment of the invention five, as shown in Figure 5, this shared resource processing unit also comprises: reminding module 12, memory module 13, monitor module 14.
Reminding module 12 is used for if provide, then sending the authentication Indication message to the user after scan module 10 determines whether other terminal equipment of the local area network (LAN) of current access provides shared resource
Further, after the user sent the authentication Indication message, carry module 11 specifically was used at the authentication information that receives user's input at reminding module 12, and described authentication information through the terminal equipment verification of shared resource correspondence by after after, the shared resource that other terminal equipment of carry provides.And memory module 13 is used to preserve described authentication information.Prepare against when obtaining identical shared resource once more, carry module 11 is by this shared resource of the automatic carry of the authentication information of having preserved.Need to prove that authentication information can be the password of user's input, perhaps other can embody the information of authentication relationship, will not limit herein.
Reminding module 12 also is used for sending prompting message to the user after scan module 10 determines that other terminal equipment of the local area network (LAN) of current access provides shared resource.Wherein, prompting message is used to point out the user to find shared resource.
Concrete, reminding module 12 can send prompting message to the user by being used for sending attainable modes such as drop-down message or Pop-up message to the user, and wherein, drop-down message or Pop-up message are used to point out the user to find shared resource.
Monitor module 14, be used to monitor the local area network (LAN) connection status.
When monitoring module 14 listened to access to LAN, whether other terminal equipment in the local area network (LAN) of scan module 10 definite current accesses provided shared resource.Perhaps, monitor module 14 if listening to local area network (LAN) connects and disconnect and set up when sharing carry, then carry module 11 disconnects and shares carry.
The shared resource processing unit of present embodiment, its specifically can be used for execution graph 1, Fig. 2 and shown in the technical scheme of method embodiment and each feasible implementation, it realizes that principle and technique effect are similar, repeats no more herein.
The embodiment of the invention six provides a kind of terminal equipment, execution graph 1, Fig. 2 and shown in the technical scheme of method embodiment and each feasible implementation, the structural representation of the terminal equipment that Fig. 6 provides for the embodiment of the invention six.This terminal equipment can be mobile phone, panel computer, PDA(Personal Digital Assistant, personal digital assistant), POS(Point of Sales, point-of-sale terminal), on the terminal equipment such as vehicle-mounted computer, shown in Fig. 6 is the block diagram of the part-structure of the relevant mobile phone 300 of the terminal equipment that provides with the embodiment of the invention.With reference to figure 6, mobile phone 300 comprises RF(Radio Frequency, radio frequency) parts such as circuit 310, memory 320, input unit 330, display unit 340, transducer 350, voicefrequency circuit 360, WiFi (wireless fidelity, Wireless Fidelity) module 370, processor 380 and power supply 390.It will be understood by those skilled in the art that the handset structure shown in Fig. 6 only do implementation for example, do not constitute qualification to mobile phone, can comprise the parts more more or less than diagram, perhaps make up some parts, perhaps different arrangements of components.It will be understood by those skilled in the art that the terminal equipment structure shown in Fig. 6 only do implementation for example, do not constitute qualification to terminal equipment, can comprise the parts more more or less than diagram, perhaps make up some parts, perhaps different arrangements of components.
Below in conjunction with Fig. 6 each component parts of mobile phone 300 is carried out concrete introduction:
RF circuit 310 can be used for receiving and sending messages or communication process in, the reception of signal and transmission especially, after the downlink information of base station received, handle for processor 380; In addition, the up data of design are sent to the base station.Usually, the RF circuit includes but not limited to antenna, at least one amplifier, transceiver, coupler, LNA(Low Noise Amplifier, low noise amplifier), duplexer etc.In addition, RF circuit 310 can also be by radio communication and network and other devices communicatings.Described radio communication can be used arbitrary communication standard or agreement, include but not limited to GSM (Global System of Mobile communication, global system for mobile communications), GPRS (General Packet Radio Service, general packet radio service), CDMA (Code Division Multiple Access, code division multiple access), WCDMA (Wideband Code Division Multiple Access, Wideband Code Division Multiple Access (WCDMA)), LTE (Long Term Evolution, Long Term Evolution), Email, SMS (Short Messaging Service, Short Message Service) etc.
Input unit 330 can be used for receiving the numeral or the character information of input, and generation is imported with the key signals that the user is provided with and function control is relevant of mobile phone 300.Particularly, input unit 330 can comprise contact panel 331 and other input equipments 332.Contact panel 331, be also referred to as touch-screen, can collect the user thereon or near touch operation (use such as the user any suitable object such as finger, stylus or annex on the contact panel 331 or near the operation contact panel 331), and drive corresponding connecting arrangement according to predefined formula.Optionally, contact panel 331 can comprise touch detecting apparatus and two parts of touch controller.Wherein, touch detecting apparatus detects user's touch orientation, and the signal that brings of senses touch operation, sends signal to touch controller; Touch controller receives touch information from touch detecting apparatus, and converts it to contact coordinate, gives processor 380 again, and the order that energy receiving processor 380 is sent is also carried out.In addition, can adopt polytypes such as resistance-type, condenser type, infrared ray and surface acoustic wave to realize contact panel 331.Except contact panel 331, input unit 330 can also comprise other input equipments 332.Particularly, other input equipments 332 can include but not limited to one or more in physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, the action bars etc.In the embodiments of the invention, input unit 330 can be used for receiving the authentication information of user's input, and sends to processor 380.
Display unit 340 can be used for showing the information of being imported by the user or offering user's information and the various menus of mobile phone 300.For the embodiment of the invention, this display unit 340 can be used for according to processor 380 indications, and to user's display reminding message, prompting message is used to point out the user to find shared resource.Concrete, sending drop-down message or Pop-up message to the user, drop-down message or Pop-up message are used to point out the user to find shared resource.Display unit 340 can comprise display floater 341, optionally, can adopt LCD (Liquid Crystal Display, LCD), OLED forms such as (Organic Light-Emitting Diode, Organic Light Emitting Diodes) to dispose display floater 341.Further, contact panel 331 can cover display floater 341, when contact panel 331 detect thereon or near touch operation after, send processor 380 to determining the type of touch event, on display floater 341, provide corresponding vision output according to the type of touch event with preprocessor 380.Though in Fig. 6, contact panel 331 and display floater 341 be as two independently parts realize the input and the input function of mobile phone 300, but in certain embodiments, can contact panel 331 and display floater 341 is integrated and realize the input and output function of mobile phone 300.
Mobile phone 300 also can comprise at least a transducer 350, such as optical sensor, motion sensor and other transducers.Particularly, optical sensor can comprise ambient light sensor and proximity transducer, and wherein, ambient light sensor can be regulated the brightness of display floater 341 according to the light and shade of ambient light, proximity transducer can cut out display floater 341 and/or backlight when mobile phone 300 moves in one's ear.A kind of as motion sensor, accelerometer sensor can detect the size of the acceleration that (is generally three) on all directions, the size and the direction of gravity be can detect when static, the application (such as shielding switching, dependent game, the calibration of magnetometer attitude anyhow), Vibration identification correlation function (such as pedometer, knock) etc. of mobile phone attitude can be used for discerning; As for other transducers such as the also configurable gyroscope of mobile phone 300, barometer, hygrometer, thermometer, infrared ray sensors, do not repeat them here.
Voicefrequency circuit 360, loud speaker 361, microphone 362 can provide the audio interface between user and the mobile phone 300.Voicefrequency circuit 360 can be transferred to loud speaker 361 with the signal of telecommunication after the voice data conversion that receives, and is converted to voice signal output by loud speaker 361; On the other hand, microphone 362 is converted to the signal of telecommunication with the voice signal of collecting, by being converted to voice data after voicefrequency circuit 360 receptions, after again voice data output processor 380 being handled, to send to, perhaps export voice data to memory 320 through RF circuit 310 so that further handle such as another mobile phone.At the embodiment of the invention, wherein at display unit 340 when the user sends prompting message, can voicefrequency circuit 360, loud speaker 361, microphone 362 cooperations send the prompt tone of finding shared resource to the user.
WiFi belongs to the short range wireless transmission technology, mobile phone 300 by WiFi module 370 can help that the user sends and receive e-mail, browsing page and visit streaming video etc., it provides wireless broadband internet visit for the user.Though Fig. 6 shows WiFi module 370, be understandable that it does not belong to must constituting of mobile phone 300, fully can be as required in the scope of the essence that does not change invention and omit.
Processor 380 is control centres of mobile phone 300, utilize various interface to be connected the various piece of whole mobile phone with circuit, by moving or carry out software program and/or the module that is stored in the memory 320, and call the data that are stored in the memory 320, carry out the various functions and the deal with data of mobile phone 300, thereby mobile phone is carried out integral monitoring.Optionally, processor 380 can comprise one or more processing units; Preferably, processor 380 can integrated application processor and modem processor, and wherein, application processor is mainly handled operating system, user interface and application program etc., and modem processor is mainly handled radio communication.Be understandable that above-mentioned modem processor also can not be integrated in the processor 380.
Memory 320 can be used for storing software program and module, and processor 380 is stored in the software program and the module of memory 320 by operation, thereby the various functions of carrying out mobile phone 300 are used and data processing.Memory 320 can mainly comprise stored program district and storage data field, wherein, but the required application program (such as sound-playing function, image playing function etc.) of stored program district storage operating system, at least one function etc.; The data (such as voice data, phone directory etc.) created according to the use of mobile phone 300 etc. can be stored in the storage data field.In addition, memory 320 can comprise high-speed random access memory, can also comprise nonvolatile memory, for example at least one disk memory, flush memory device or other volatile solid-state parts.Memory 320 is also stored the authentication information of user's input in the embodiments of the invention.
Mobile phone 300 comprises that also the power supply 590(that powers to each parts is such as battery), preferably, power supply can link to each other with processor 380 logics by power-supply management system, thereby realizes functions such as management charging, discharge and power managed by power-supply management system.
Although not shown, mobile phone 300 can also comprise camera, bluetooth module etc., does not repeat them here.
Further, below in conjunction with as shown in Figure 6, describe for processor in the embodiment of the invention 380, memory 320 relevant functions.
When the terminal equipment access to LAN, processor 380 determines whether other terminal equipment in the local area network (LAN) of current accesses provides shared resource, if provide, and the shared resource that provides of other terminal equipment of carry then.
Concrete, processor 380 determines whether there being other-end equipment in the local area network (LAN), when having other equipment, determines whether other terminal equipment in the local area network (LAN) of current access provides shared resource.
The terminal equipment of present embodiment, it specifically can be used to carry out the technical scheme of method embodiment shown in Figure 1, and its realization principle and technique effect are similar, repeat no more herein.
Further, for above-mentioned processor 380, a kind of feasible implementation is: processor 380, carry out the CIFS protocol communication with other terminal equipment in the local area network (LAN) of current access, and determine whether other terminal equipment provides shared resource.
Further, processor 380 other terminal equipment in the local area network (LAN) of determining current access if provide, then sends the authentication Indication message to the user after whether providing shared resource.
Further, processor 380 sends the authentication Indication message to the user, receives the authentication information of user input, when described authentication information through the terminal equipment verification of shared resource correspondence with after, the shared resource that other terminal equipment of carry provides.And memory 320 is used to preserve described authentication information, prepares against when obtaining identical shared resource once more, and processor 380 is by this shared resource of the automatic carry of the authentication information of having preserved.Need to prove that authentication information can be the password of user's input, perhaps other can embody the information of authentication relationship, will not limit herein.
Processor 380 after also other terminal equipment in the local area network (LAN) of determining current access provides shared resource, sends prompting message to the user.Wherein, prompting message is used to point out the user to find shared resource.
Concrete, processor 380 can send prompting message to the user by send attainable modes such as drop-down message or Pop-up message to the user, and wherein, drop-down message or Pop-up message are used to point out the user to find shared resource.
Further, processor 380 is monitored the local area network (LAN) connection status.
Concrete, before whether other terminal equipment in the local area network (LAN) of determining current access provided shared resource, whether processor 380 was monitored the local area network (LAN) connection status and is changed.
Further, when listening to access to LAN, whether other terminal equipment in the local area network (LAN) of processor 380 definite current accesses provides shared resource.Perhaps, connect to disconnect and set up when sharing carry if listen to local area network (LAN), then processor 380 disconnects and shares carry.
The terminal equipment of present embodiment, its specifically can be used for execution graph 1, Fig. 2 and shown in the technical scheme of method embodiment and each feasible implementation, it realizes that principle and technique effect are similar, repeats no more herein.
One of ordinary skill in the art will appreciate that: all or part of step that realizes above-mentioned each method embodiment can be finished by the relevant hardware of program command.Aforesaid program can be stored in the computer read/write memory medium.This program is carried out the step that comprises above-mentioned each method embodiment when carrying out; And aforesaid storage medium comprises: various media that can be program code stored such as ROM, RAM, magnetic disc or CD.
It should be noted that at last: above each embodiment is not intended to limit only in order to technical scheme of the present invention to be described; Although the present invention is had been described in detail with reference to aforementioned each embodiment, those of ordinary skill in the art is to be understood that: it still can be made amendment to the technical scheme that aforementioned each embodiment put down in writing, and perhaps some or all of technical characterictic wherein is equal to replacement; And these modifications or replacement do not make the essence of appropriate technical solution break away from the scope of various embodiments of the present invention technical scheme.

Claims (16)

1. a shared resource processing method is characterized in that, comprising:
When terminal equipment connected into local area network (LAN), described terminal equipment determined whether other terminal equipment in the local area network (LAN) of current access provides shared resource;
If the shared resource that described other terminal equipment of then described terminal equipment carry provides is provided.
2. method according to claim 1 is characterized in that, described terminal equipment determines that whether other terminal equipment in the local area network (LAN) of current access provides shared resource, comprising:
Other terminal equipment in the local area network (LAN) of described terminal equipment and current access carries out the CIFS protocol communication, determines whether described other terminal equipment provides shared resource.
3. method according to claim 1 and 2 is characterized in that, described terminal equipment determines that other terminal equipment in the local area network (LAN) of current access provides after the shared resource, also comprises:
Described terminal equipment sends the authentication Indication message to the user;
The shared resource that described other terminal equipment of described terminal equipment carry provides comprises:
Described terminal equipment is at the authentication information that is receiving described user input, and described authentication information is after the terminal equipment verification of shared resource correspondence is passed through, the shared resource that described other terminal equipment of carry provides.
4. method according to claim 3 is characterized in that, described terminal equipment also comprises after the authentication information that receives described user's input:
Described terminal equipment is preserved described authentication information.
5. according to each described method in the claim 1~4, it is characterized in that described terminal equipment determines that other terminal equipment in the local area network (LAN) of current access provides after the shared resource, also comprises:
Described terminal equipment sends prompting message to the user, and described prompting message is used to point out the user to find shared resource.
6. method according to claim 5 is characterized in that described terminal equipment sends prompting message to the user, and described prompting message is used to point out the user to find shared resource, comprising:
Described terminal equipment sends drop-down message or Pop-up message to the user, and described drop-down message or Pop-up message are used to point out the user to find shared resource.
7. according to each described method in the claim 1~6, it is characterized in that described terminal equipment determines that whether other terminal equipment in the local area network (LAN) of current access provides before the shared resource, also comprises:
Described terminal equipment is monitored the local area network (LAN) connection status;
When terminal equipment listens to access to LAN, carry out described terminal equipment and determine whether other terminal equipment in the local area network (LAN) of current access provides the step of shared resource.
8. method according to claim 7 is characterized in that, also comprises:
Described terminal equipment then disconnects described shared carry if listening to local area network (LAN) connects disconnection and set up shared carry.
9. a shared resource processing unit is characterized in that, comprising:
Scan module is used for when terminal equipment connects into local area network (LAN), determines whether other terminal equipment in the local area network (LAN) of current access provides shared resource;
The carry module is used for if provide, then the shared resource that provides of described other terminal equipment of carry.
10. shared resource processing unit according to claim 9, it is characterized in that, described scan module specifically is used for carrying out the CIFS protocol communication with other terminal equipment of the local area network (LAN) of current access, determines whether described other terminal equipment provides shared resource.
11., it is characterized in that described shared resource processing unit also comprises according to claim 9 or 10 described shared resource processing unit:
Reminding module is used for after described scan module determines whether other terminal equipment of the local area network (LAN) of current access provides shared resource, if provide, then sends the authentication Indication message to the user;
Described carry module specifically is used at the authentication information that is receiving described user input, and described authentication information is after the terminal equipment verification of shared resource correspondence is passed through, the shared resource that described other terminal equipment of carry provides.
12. shared resource processing unit according to claim 11 is characterized in that, described shared resource processing unit also comprises:
Memory module is used to preserve described authentication information.
13. according to each described shared resource processing unit in the claim 9~12, it is characterized in that,
Described reminding module also is used for sending prompting message to the user after described scan module determines that other terminal equipment of the local area network (LAN) of current access provides shared resource, and described prompting message is used to point out the user to find shared resource.
14. shared resource processing unit according to claim 13 is characterized in that, described reminding module specifically is used for sending drop-down message or Pop-up message to the user, and described drop-down message or Pop-up message are used to point out the user to find shared resource.
15., it is characterized in that described shared resource processing unit also comprises according to each described shared resource processing unit in the claim 9~14:
Monitor module, be used for scan module and monitor the local area network (LAN) connection status;
Described scan module specifically is used for when described monitoring module listens to access to LAN, determines whether other terminal equipment in the local area network (LAN) of current access provides shared resource.
16. shared resource processing unit according to claim 15 is characterized in that, described carry module also is used for described monitoring module if listening to local area network (LAN) connects disconnection and set up shared carry, then disconnects described shared carry.
CN201310155691.8A 2013-04-28 2013-04-28 Share method for processing resource and device Active CN103227832B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310155691.8A CN103227832B (en) 2013-04-28 2013-04-28 Share method for processing resource and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310155691.8A CN103227832B (en) 2013-04-28 2013-04-28 Share method for processing resource and device

Publications (2)

Publication Number Publication Date
CN103227832A true CN103227832A (en) 2013-07-31
CN103227832B CN103227832B (en) 2016-08-10

Family

ID=48838088

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310155691.8A Active CN103227832B (en) 2013-04-28 2013-04-28 Share method for processing resource and device

Country Status (1)

Country Link
CN (1) CN103227832B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103729152A (en) * 2014-01-24 2014-04-16 福州瑞芯微电子有限公司 Method and equipment for sharing disk of Android
CN106572142A (en) * 2015-10-12 2017-04-19 中兴通讯股份有限公司 Method, system and apparatus for discovering shared resources
CN106789470A (en) * 2016-12-23 2017-05-31 Tcl海外电子(惠州)有限公司 terminal resource sharing method, device and system
WO2017157176A1 (en) * 2016-03-15 2017-09-21 阿里巴巴集团控股有限公司 Resource distribution method and apparatus
CN110597773A (en) * 2019-08-28 2019-12-20 重庆爱奇艺智能科技有限公司 Method and apparatus for sharing files between computer device and virtual reality device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090252065A1 (en) * 2006-07-28 2009-10-08 Hang Zhang Multi-hop network topology system and method
US20120011578A1 (en) * 2010-07-08 2012-01-12 International Business Machines Corporation Cross-protocol federated single sign-on (F-SSO) for cloud enablement
CN102932468A (en) * 2012-11-07 2013-02-13 曙光信息产业股份有限公司 Shared data access method
CN102938199A (en) * 2012-10-29 2013-02-20 苏州佳世达电通有限公司 Traveling information sharing system and control method thereof

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090252065A1 (en) * 2006-07-28 2009-10-08 Hang Zhang Multi-hop network topology system and method
US20120011578A1 (en) * 2010-07-08 2012-01-12 International Business Machines Corporation Cross-protocol federated single sign-on (F-SSO) for cloud enablement
CN102938199A (en) * 2012-10-29 2013-02-20 苏州佳世达电通有限公司 Traveling information sharing system and control method thereof
CN102932468A (en) * 2012-11-07 2013-02-13 曙光信息产业股份有限公司 Shared data access method

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103729152A (en) * 2014-01-24 2014-04-16 福州瑞芯微电子有限公司 Method and equipment for sharing disk of Android
CN106572142A (en) * 2015-10-12 2017-04-19 中兴通讯股份有限公司 Method, system and apparatus for discovering shared resources
WO2017157176A1 (en) * 2016-03-15 2017-09-21 阿里巴巴集团控股有限公司 Resource distribution method and apparatus
CN106789470A (en) * 2016-12-23 2017-05-31 Tcl海外电子(惠州)有限公司 terminal resource sharing method, device and system
CN110597773A (en) * 2019-08-28 2019-12-20 重庆爱奇艺智能科技有限公司 Method and apparatus for sharing files between computer device and virtual reality device

Also Published As

Publication number Publication date
CN103227832B (en) 2016-08-10

Similar Documents

Publication Publication Date Title
CN103716331B (en) Method, terminal, server and system for numerical value transfer
CN105824958A (en) Method, device and system for inquiring log
CN104518953A (en) Message deleting method, instant messaging terminal and system
CN103746975A (en) Method of data transmission, device and mobile terminal
CN104519485A (en) Communication method between terminals, devices and system
CN104093189A (en) Multimedia playing device network initialization method, system, device and terminal
CN104135728B (en) Method for connecting network and device
CN104519197A (en) User login method, user login device and terminal devices
CN104426962A (en) Multi-terminal binding method, binding server, terminal and multi-terminal binding system
CN104158506A (en) Method, device and terminal for adjusting volume
CN104717341A (en) Message prompting method and terminal
CN104142868A (en) Connection establishment method and device
CN104426963A (en) Terminal associating method and terminal
CN103475914A (en) Video playing method, video playing device, terminal equipment and server
CN104065693A (en) Method, device and system for accessing network data in webpage applications
CN104239332A (en) Webpage content processing method, webpage content processing device and browser client side
CN104954159A (en) Network information statistics method and device
CN104518945A (en) Method, device, and system for sending and receiving social network information
CN105530239A (en) Multimedia data obtaining method and device
CN103607236A (en) Method and device for outputting prompt information, wireless repeater and terminal equipment
CN103177217A (en) File scan method, file scan system, client-side and server
CN103227832A (en) Shared resource processing method and device
CN106454975A (en) Hotspot network switching method and terminal equipment
CN104660769A (en) Method, device and system for adding contact person information
CN103561155B (en) Send the method for note, device and terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: 518129 Building 2, B District, Bantian HUAWEI base, Longgang District, Shenzhen, Guangdong.

Patentee after: Huawei terminal (Shenzhen) Co.,Ltd.

Address before: 518129 Building 2, B District, Bantian HUAWEI base, Longgang District, Shenzhen, Guangdong.

Patentee before: HUAWEI DEVICE Co.,Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20181218

Address after: 523808 Southern Factory Building (Phase I) Project B2 Production Plant-5, New Town Avenue, Songshan Lake High-tech Industrial Development Zone, Dongguan City, Guangdong Province

Patentee after: HUAWEI DEVICE Co.,Ltd.

Address before: 518129 Building 2, B District, Bantian HUAWEI base, Longgang District, Shenzhen, Guangdong.

Patentee before: Huawei terminal (Shenzhen) Co.,Ltd.