Embodiment
In order to make object of the present invention, technical scheme and advantage clearly understand, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.
Embodiments provide a kind of method of shared computer network, described method comprises the steps:
Mobile terminal and computer connect;
According to user operation, PC suite program solution is depressed into the predeterminated position in computer, to obtain shared network configuration information, according to described shared network configuration information, configuration mobile terminal network;
According to the mobile terminal network of described configuration, share computer network.
The embodiment of the present invention additionally provides a kind of method of shared computer network, and described method comprises the steps:
When after computer and mobile terminal successful connection, according to user operation, obtain PC suite program;
PC suite program install driver on computers, when after described driver installation, PC suite program obtains shared network configuration information, and sends described shared network configuration information to mobile terminal, carry out network to share, described driver comprises adb and drives and network-driven.
The embodiment of the present invention additionally provides a kind of mobile terminal, and described mobile terminal comprises:
Linkage unit, connects for mobile terminal and computer;
Dispensing unit, for according to user operation, is depressed into the predeterminated position in computer by PC suite program solution, to obtain shared network configuration information, according to described shared network configuration information, and configuration mobile terminal network;
Shared cell, for the mobile terminal network according to described configuration, shares computer network.
The embodiment of the present invention additionally provides computer, and described computer comprises:
Acquiring unit, for when after computer and mobile terminal successful connection, according to user operation, obtains PC suite program;
Shared cell, for by PC suite program install driver on computers, when after described driver installation, PC suite program obtains shared network configuration information, and send described shared network configuration information to mobile terminal, carry out network to share, described driver comprises adb and drives and network-driven.
Below in conjunction with specific embodiment, realization of the present invention is described in detail:
embodiment one
Fig. 1 shows the realization flow figure of the method for the shared computer network that the embodiment of the present invention one provides, and details are as follows:
In step S101, mobile terminal and computer connect.
In step s 102, according to user operation, PC suite program solution is depressed into the predeterminated position in computer, to obtain shared network configuration information, and according to shared network configuration information, configuration mobile terminal network.
In embodiments of the present invention, PC suite program is mainly the network needing the mobile terminal of shared computer network to provide shared computer.PC suite program can be a suffix is the executable program of .exe, mobile terminal stores the executable program that this suffix is .exe, when mobile phone users thinks shared computer network, then click and run this executable program, then executive program can perform decompress(ion) and be copied to computer, the file that decompress(ion) generates specifically comprises various driver and the PC external member client for user operation, the position that the memory location of decompressing files can be preset in computer, such as various driver solution can be depressed into computer C dish, the client solution of PC external member can be depressed into the computer desktop wanting shared network, in order to promote the initiative of user, before decompress(ion) copy, the dialog box of prompting user decompress(ion) copy Path selection can be exported, the path selecting decompress(ion) to copy by user.
In embodiments of the present invention, shared network configuration information specifically can comprise computer domain name (Domain Name System, DNS) information and shared Internet protocol (Internet Protocol, IP) information.
In embodiments of the present invention, can PC suite program be stored in the internal memory of mobile terminal, when customer mobile terminal will share computer network, by finger daemon, the PC suite program in mobile terminal internal memory can be copied in the SD card of mobile terminal, and PC suite program be depressed into the precalculated position shared computer from SD card solution according to user operation.When making user need to share computer network by mobile terminal, conveniently can obtain PC suite program, for user, to carry out network connection by mobile terminal.
In embodiments of the present invention, PC suite program then detects computer whether install driver after being sent to computer, comprises adb and drives and network-driven, if do not installed, then at computer end install driver.Whether PC suite program can also detect current PC external member has redaction to issue, if had, then points out user to upgrade.
In step s 103, according to the mobile terminal network of configuration, share computer network.
In embodiments of the present invention, after mobile terminal and computer connect, mobile terminal is according to user operation, PC suite program solution is depressed into the predeterminated position in computer, to obtain shared network configuration information, according to shared network configuration information, configuration mobile terminal network, further according to the mobile terminal network of configuration, share computer network, realize mobile terminal and share computer network, and the network development process sharing computer does not need configuration computer network interface card, process is simple, saves the network traffics of user.
embodiment two
Fig. 2 shows the realization flow figure of the method for the shared computer network that the embodiment of the present invention two provides, and details are as follows:
In step s 201, mobile terminal and computer are connected by USB data line.
In step S202, according to user operation, PC suite program solution is depressed into the predeterminated position in computer, according to the finger daemon enabled instruction that PC suite program sends, starts the finger daemon of mobile terminal.
In the present embodiment, enabled instruction can be adb instruction.
In step S203, after finger daemon starts, receive the shared network configuration information that PC suite program sends.
In step S204, after the information that mobile terminal receive binding function starts, according to the shared network configuration information received, configuration mobile terminal network.
In the present embodiment, the startup of mobile terminal binding function can be started by finger daemon, also can be started by user, at this not in order to limit the present invention.
In step S205, according to the mobile terminal network of configuration, share computer network.
In embodiments of the present invention, according to user operation, PC suite program solution is depressed into the predeterminated position in computer, according to the finger daemon enabled instruction that PC suite program sends, start the finger daemon of mobile terminal, after finger daemon starts, receive the shared network configuration information that PC suite program sends, then, after the information that mobile terminal receive binding function starts, and according to the shared network configuration information received, configuration mobile terminal network, realize mobile terminal and share computer network, and the network development process sharing computer does not need configuration computer network interface card, process is simple, save the network traffics of user.
embodiment three
Fig. 3 shows the realization flow figure of the method for the shared computer network that the embodiment of the present invention three provides, and details are as follows:
In step S301, when after computer and mobile terminal successful connection, according to user operation, obtain PC suite program.
In step s 302, PC suite program install driver on computers, when after driver installation, PC suite program obtains shared network configuration information, and send shared network configuration information to mobile terminal, carry out network and share, driver comprises adb and drives and network-driven.
In embodiments of the present invention, PC external member operates in PC end after starting, first detect PC end and whether adb driving is installed, ensure to send enabled instruction when there being adb to drive to mobile terminal end, start finger daemon, and obtain the local shared network configuration information of computer, specifically comprise DNS information and IP address information, after standby communication terminal finger daemon has started, shared network configuration information is sent to finger daemon, after receiving to make mobile terminal the information opened at binding function family, PC external member to be done installs network-driven, local Internet network is shared to this new connection, finally specify the new IP connected.
In embodiments of the present invention, shared network configuration information specifically can comprise the DNS information of computer and shared IP address information.
In embodiments of the present invention, when after computer and mobile terminal successful connection, the PC suite program that computer mobile terminal receive sends, PC suite program install driver on computers, when after driver installation, PC suite program obtains shared network configuration information, and sends shared network configuration information to mobile terminal, carries out network and shares, realize the network that mobile terminal can share computer, and not needing configuration computer network interface card, process is simple, saves the network traffics of user.
embodiment four
Fig. 4 shows the realization flow figure of the method for the shared computer network that the embodiment of the present invention four provides, and details are as follows:
In step S401, when after computer and mobile terminal successful connection, according to user operation, obtain PC suite program.
In step S402, detect computer whether adb driver has been installed, when detect adb driver is not installed time, perform step S403, when detect install driver time, then perform step 404.
In step S403, adb driver is installed;
In step s 404, obtain shared network configuration information, and send enabled instruction to mobile terminal, finger daemon is started to make mobile terminal, when receiving finger daemon and starting successful information, send shared network configuration information to mobile terminal, carry out network configuration to make the finger daemon of mobile terminal according to shared network configuration information;
In the present embodiment, enabled instruction can be adb instruction.
In step S405, after PC external member installs network-driven, PC external member configuration computer network, shares at mobile terminal to make computer network.
In embodiments of the present invention, when after computer and mobile terminal successful connection, the PC suite program that computer mobile terminal receive sends, PC suite program installs adb driver and network driver on computers, when after driver installation, carries out network and shares, realize the network that mobile terminal can share computer, and not needing configuration computer network interface card, process is simple, saves the network traffics of user.
embodiment five
Fig. 5 shows the structure chart of the mobile terminal that the embodiment of the present invention five provides, and for convenience of explanation, illustrate only the part relevant to the embodiment of the present invention.
The present embodiment mobile terminal comprises: linkage unit 51, dispensing unit 52 and shared cell 53.
Linkage unit 51 mobile terminal and computer connect.
PC suite program solution, according to user operation, is depressed into the predeterminated position in computer by dispensing unit 52, to obtain shared network configuration information, according to described shared network configuration information, and configuration mobile terminal network.
Shared cell 53, according to the mobile terminal network of described configuration, shares computer network.
Wherein, dispensing unit 52 comprises: start module 521, receiver module 522 and configuration module 523.
Start module 521 according to user operation, PC suite program solution is depressed into the predeterminated position in computer, according to the finger daemon enabled instruction that PC suite program sends, start the finger daemon of mobile terminal;
After finger daemon starts, receiver module 522 receives the shared network configuration information that PC suite program sends;
After the information that mobile terminal receive binding function starts, and according to the shared network configuration information received, configuration module 523 configures mobile terminal network.
The mobile terminal that the embodiment of the present invention provides can be used in the embodiment of the method one, two of aforementioned correspondence, and details, see the description of above-described embodiment one, two, do not repeat them here.
In embodiments of the present invention, after mobile terminal and computer connect, mobile terminal is according to user operation, PC suite program solution is depressed into the predeterminated position in computer, to obtain shared network configuration information, according to shared network configuration information, configuration mobile terminal network, further according to the mobile terminal network of configuration, share computer network, realize mobile terminal and share computer network, and the network development process sharing computer does not need configuration computer network interface card, process is simple, saves the network traffics of user.
embodiment six
Fig. 6 shows the structure chart of the computer that the embodiment of the present invention six provides, and for convenience of explanation, illustrate only the part relevant to the embodiment of the present invention.
Described computer comprises: acquiring unit 61 and shared cell 62.
When after computer and mobile terminal successful connection, acquiring unit 61, according to user operation, obtains PC suite program;
Shared cell 62 is for by PC suite program install driver on computers, when after described driver installation, PC suite program obtains shared network configuration information, and send described shared network configuration information to mobile terminal, carry out network to share, described driver comprises adb and drives and network-driven.
Wherein, shared cell 62 comprises: acquisition module 621, sending module 622 and sharing module 623.
Acquisition module 621, after PC external member installs adb driver, obtains shared network configuration information;
Sending module 622 sends enabled instruction to mobile terminal, finger daemon is started to make mobile terminal, when receiving finger daemon and starting successful information, send described shared network configuration information to mobile terminal, carry out network configuration to make the finger daemon of mobile terminal according to described shared network configuration information.
Sharing module 623 is after PC external member installs network-driven, and PC external member configuration computer network, shares at mobile terminal to make computer network.
The mobile terminal that the embodiment of the present invention provides can be used in the embodiment of the method three, four of aforementioned correspondence, and details, see the description of above-described embodiment three, four, do not repeat them here.
In embodiments of the present invention, when after computer and mobile terminal successful connection, the PC suite program that computer mobile terminal receive sends, PC suite program install driver on computers, when after driver installation, PC suite program obtains shared network configuration information, and sends shared network configuration information to mobile terminal, carries out network and shares, realize the network that mobile terminal can share computer, and not needing configuration computer network interface card, process is simple, saves the network traffics of user.
In sum, the beneficial effect of the embodiment of the present invention is:
After mobile terminal and computer connect, PC suite program solution, according to user operation, is depressed into the predeterminated position in computer by mobile terminal, to obtain shared network configuration information, according to shared network configuration information, configuration mobile terminal network, further according to the mobile terminal network of configuration, shares computer network, realize mobile terminal and share computer network, and the network development process sharing computer does not need configuration computer network interface card, process is simple, saves the network traffics of user.
It should be noted that in said apparatus embodiment, included unit is carry out dividing according to function logic, but is not limited to above-mentioned division, as long as can realize corresponding function; In addition, the concrete title of each functional unit, also just for the ease of mutual differentiation, is not limited to protection scope of the present invention.
In addition, one of ordinary skill in the art will appreciate that all or part of step realized in the various embodiments described above method is that the hardware that can carry out instruction relevant by program has come, corresponding program can be stored in a computer read/write memory medium, described storage medium, as ROM/RAM, disk or CD etc.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, all any amendments done within the spirit and principles in the present invention, equivalent replacement and improvement etc., all should be included within protection scope of the present invention.