CN105577630B - A kind of internet access method and terminal based on multisystem - Google Patents

A kind of internet access method and terminal based on multisystem Download PDF

Info

Publication number
CN105577630B
CN105577630B CN201510220486.4A CN201510220486A CN105577630B CN 105577630 B CN105577630 B CN 105577630B CN 201510220486 A CN201510220486 A CN 201510220486A CN 105577630 B CN105577630 B CN 105577630B
Authority
CN
China
Prior art keywords
address
source
preset
contained
terminal
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
CN201510220486.4A
Other languages
Chinese (zh)
Other versions
CN105577630A (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.)
Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Original Assignee
Yulong Computer Telecommunication Scientific Shenzhen 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 Yulong Computer Telecommunication Scientific Shenzhen Co Ltd filed Critical Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Priority to CN201510220486.4A priority Critical patent/CN105577630B/en
Publication of CN105577630A publication Critical patent/CN105577630A/en
Application granted granted Critical
Publication of CN105577630B publication Critical patent/CN105577630B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The embodiment of the invention discloses a kind of internet access method based on multisystem and terminal, applied to terminal, wherein method includes:The first system sends the access packet comprising source IP address and purpose IP address to second system, and the first system and the second system are the operating system in the terminal operating;The second system receives the access packet;The second system extracts the source IP address from the access packet, and judges whether the source IP address extracted is contained in the preset IP address section pre-set;If the source IP address extracted is contained in the preset IP address section, the second system sends the access packet to terminal where the purpose IP address.It can be seen that, the embodiment of the present invention can provide network service for operating system, and can ensure the demand for security of operating system.

Description

A kind of internet access method and terminal based on multisystem
Technical field
The present invention relates to Internet technical field, more particularly to a kind of internet access method and terminal based on multisystem.
Background technology
Now with the development of intelligent terminal, intelligent terminal has turned into the indispensable article of user's life.User is frequent Surfed the Net and entertained using intelligent terminal, for example, browsing webpage, viewing video etc.;User is also done commonly using intelligent terminal Public affairs, for example, reading file, editor's word etc..In actual applications, for meet can in the different demands of user, intelligent terminal Many set operating systems can be carried, for example:Amusement operating system for amusement of surfing the Net, learning manipulation system and use for study In office operation system of office etc..Wherein, the certain operations system carried for the safety of guarantee operating system, intelligent terminal Network service, such as office operation system are not provided.But, network service is shielded safely for guarantee system, is also caused in behaviour Making system can not be handled remote transaction, therefore it provides one kind can operating system security network access very weigh Will.
The content of the invention
The embodiment of the invention discloses a kind of internet access method based on multisystem and terminal, net can be provided for operating system Network is serviced, and can ensure the demand for security of operating system.
The embodiment of the invention discloses a kind of internet access method based on multisystem, applied to terminal, methods described includes:
The first system sends the access packet comprising source IP address and purpose IP address, described first to second system System and the second system are the operating system in the terminal operating;
The second system receives the access packet;
The second system extracts the source IP address from the access packet, and with judging the source IP of extraction Whether location is contained in the preset IP address section pre-set;
If the source IP address extracted is contained in the preset IP address section, the second system is accessed described Packet is sent to terminal where the purpose IP address.
The embodiment of the invention also discloses a kind of terminal, the terminal includes:First transmitting element, receiving unit, judgement Unit and the second transmitting element, wherein:
First transmitting element, source IP address and purpose IP are included for controlling the first system to be sent to second system The access packet of address, the first system and the second system are the operating system run in the terminal;
The receiving unit, for controlling the second system to receive the access packet;
The judging unit, for controlling the second system to extract the source IP address from the access packet, And judge whether the source IP address extracted is contained in the preset IP address section pre-set;
Second transmitting element, if the source IP address for extracting is contained in the preset IP address section, The second system is controlled to send the access packet to terminal where the purpose IP address.
In embodiments of the present invention, terminal is run when having the first system and second system simultaneously, when the first system is to second System is sent after the access packet comprising source IP address and purpose IP address, and second system will be carried from packet is accessed Source IP address is taken, and judges whether the source IP address extracted is contained in the preset IP address section pre-set;If the source extracted IP address is contained in preset IP address section, then second system will access packet and send to terminal where purpose IP address.Can See, the embodiment of the present invention can provide network service for operating system, and can ensure the demand for security of operating system.
Brief description of the drawings
Technical scheme in order to illustrate more clearly the embodiments of the present invention, below by to be used needed for embodiment Accompanying drawing is briefly described, it should be apparent that, drawings in the following description are some embodiments of the present invention, general for this area For logical technical staff, on the premise of not paying creative work, other accompanying drawings can also be obtained according to these accompanying drawings.
Fig. 1 is a kind of schematic flow sheet of the internet access method based on multisystem disclosed in the embodiment of the present invention;
Fig. 2 is the schematic flow sheet of another internet access method based on multisystem disclosed in the embodiment of the present invention;
Fig. 3 is the schematic flow sheet of another internet access method based on multisystem disclosed in the embodiment of the present invention;
Fig. 4 is a kind of structural representation of terminal disclosed in the embodiment of the present invention;
Fig. 5 is the structural representation of another terminal disclosed in the embodiment of the present invention;
Fig. 6 is the structural representation of another terminal disclosed in the embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation is described, it is clear that described embodiment is a part of embodiment of the invention, rather than whole embodiments.Based on this hair Embodiment in bright, the every other implementation that those of ordinary skill in the art are obtained under the premise of creative work is not made Example, belongs to the scope of protection of the invention.
The embodiment of the invention discloses a kind of internet access method based on multisystem and terminal, net can be provided for operating system Network is serviced, and can ensure the demand for security of operating system.It is described in detail individually below.
Fig. 1 is referred to, Fig. 1 illustrates for a kind of flow of internet access method based on multisystem disclosed in the embodiment of the present invention Figure.It may comprise steps of as shown in figure 1, being somebody's turn to do the internet access method based on multisystem.
S101, the first system send the access packet comprising source IP address and purpose IP address to second system, should The first system and the second system are the operating system in terminal operating.
In the embodiment of the present invention, terminal may include the operating system of multiple operations, and the terminal is at least including one first System and a second system.The terminal may include but be not limited only to smart mobile phone (such as Android phone, iOS mobile phones), flat board Computer, palm PC, mobile internet device (MID, Mobile Internet Devices) or wearable intelligent equipment etc. are wrapped Terminal device containing multiple systems.
In the embodiment of the present invention, the first system and second system run on the terminal simultaneously.The first system may include but The office operation system of office is not limited to use in, the second system may include but be not limited to operate system for the amusement for amusement of surfing the Net System, such as Android operation system, IOS.When the operating system that the first system is terminal front stage operation, second When system is the operating system of terminal running background, user can use the first system to be surfed the Net.When user is in the first system When input pin is to the access request of target ip address, the first system will respond the access request, obtain the terminal under the first system IP address as source IP address, and according to the access request generation include the access data of source IP address and purpose IP address Bag.The first system generation is accessed after packet, will send the access packet to the second system in terminal running background;Tool Body, the first system can send the access packet in the form of broadcast to second system.
S102, second system, which are received, accesses packet.
S103, second system extract source IP address from packet is accessed, and judge whether the source IP address extracted includes In the preset IP address section pre-set.
In the embodiment of the present invention, user can pre-set preset IP address section in second system, and preset IP address section is The set of one or more IP address.After second system receives access packet, second system will be from access packet Middle extraction source IP address, and judge whether the source IP address extracted from packet is accessed is contained in preset IP address section. If the source IP address extracted is contained in preset IP address section, step S104 is performed;If the source IP address extracted is not included in In preset IP address section, then second system abandons access packet and terminates flow.
In the embodiment of the present invention, it is default that user can set the IP address collection of the higher network of security to be combined into second system IP address section;Such as VPN (Virtual Private Network, VPN) has compared to other wireless networks Safe advantage, therefore, user can set the IP address collection of VPN to be combined into preset IP address section in second system.Only Have when source IP address is contained in the VPN IP address set pre-set, second system will just access packet and send Terminal where to purpose IP address;When second system opens GPRS (General Packet Radio Service, general packet Wireless service) or during other WIFI wireless networks, it is impossible to carry out network data access.Therefore, in embodiments of the present invention, lead to Cross second system judge source IP address whether be preset IP address section in IP address, if so, then second system just will access number Sent according to bag to terminal where purpose IP address, so as to ensure that the first system accesses the security of network.
S104, second system will access packet and send to terminal where purpose IP address.
In the embodiment of the present invention, if second system judges that source IP address is contained in preset IP address section, second system Packet will be accessed according to purpose IP address to send to terminal where purpose IP address.
In the method described by Fig. 1, terminal is run when having the first system and second system simultaneously, when the first system is to the Two system is sent after the access packet comprising source IP address and purpose IP address, and second system will be from packet be accessed Source IP address is extracted, and judges whether the source IP address extracted is contained in the preset IP address section pre-set;If extracting Source IP address is contained in preset IP address section, then second system will access packet and send to terminal where purpose IP address. It can be seen that, the embodiment of the present invention can provide network service for operating system, and can ensure the demand for security of operating system.
Fig. 2 is referred to, Fig. 2 illustrates for the flow of another internet access method based on multisystem disclosed in the embodiment of the present invention Figure.It may comprise steps of as shown in Fig. 2 being somebody's turn to do the internet access method based on multisystem.
S201, the first system obtain source IP address.
In the embodiment of the present invention, as a kind of optional embodiment, the first system obtains the specific implementation of source IP address Mode comprises the following steps:
11) the first system is asked to destination server Sending dialled number;
12) the first system receives the IP address that destination server response dial request is sent;
13) IP address is confirmed as source IP address by the first system.
In this embodiment, user can be by clicking on being triggered for connecting the function button of network for the first system The first system is asked to destination server Sending dialled number, and the destination server is the corresponding server of network to be connected.If for example, User wants to connect VPN in the first system, and in user after the first system inputs VPN accounts and password, user clicks on The dialing that the first system sends carrying VPN accounts and password to vpn server is can trigger for connecting the function button of VPN Request;Vpn server is received after the dial request, if judging VPN accounts and code matches, vpn server will be The first system distributes an IP address, and the IP address is returned into the first system;The first system returns the vpn server of reception The IP address returned confirms as source IP address.
S202, the first system send the source IP address to second system.
In the embodiment of the present invention, after the first system gets source IP address, the first system will be sent to second system The source IP address;Specifically, the first system can send the source IP address in the form of broadcast to second system.
S203, second system judge whether the source IP address is contained in the preset IP address section pre-set.
In the embodiment of the present invention, second system is received after the source IP address of the first system transmission, with will determine that source IP Whether location is contained in the preset IP address section pre-set.If second system judges that source IP address is contained in pre-set pre- If in IP address section, then performing step S204.Optionally, if to judge that source IP address is not included in pre-setting pre- for second system If in IP address section, then the source IP address is added to and prohibits in list by second system.
The source IP address is added to standard and gone out in list by S204, second system.
S205, the first system are sent to second system includes the source IP address and the access packet of purpose IP address.
S206, second system, which are received, accesses packet.
S207, second system extract the source IP address from packet is accessed, and judge whether is the source IP address that extracts Standard is contained in go out in list.
In the embodiment of the present invention, second system is extracted from packet is accessed after the source IP address, will determine that extraction Whether source IP address, which is contained in standard, goes out in list.Because the IP address that standard goes out in list is necessarily contained in the IP address pre-set Duan Zhong, therefore, when the source IP address that second system judgement is extracted, which is contained in standard, to be gone out in list, it may be determined that the source IP address one Surely it is contained in the preset IP address section pre-set.When second system judges that the source IP address extracted is not included in standard and fallen out When in table, it may be determined that in the preset IP address section that the source IP address is necessarily not included in pre-setting.When second system judges to carry The source IP address taken is contained in standard when going out in list, performs step S208;When second system judges the source IP address of extraction When being not included in standard and going out in list, second system abandons the access packet to terminate the flow.
S208, second system will access packet and send to terminal where purpose IP address.
In the method described by Fig. 2, terminal is run when having the first system and second system simultaneously, when the first system is to the Two system is sent after the access packet comprising source IP address and purpose IP address, and second system will be from packet be accessed Source IP address is extracted, and judges whether the source IP address extracted is contained in standard and goes out in list;If the source IP address extracted is contained in Standard goes out in list, then second system will access packet and send to terminal where purpose IP address.It can be seen that, embodiment of the present invention energy Network service enough is provided for operating system, and the demand for security of operating system can be ensured.
Fig. 3 is referred to, Fig. 3 illustrates for the flow of another internet access method based on multisystem disclosed in the embodiment of the present invention Figure.It may comprise steps of as shown in figure 3, being somebody's turn to do the internet access method based on multisystem.
S301, second system receive the setting instruction for being used to set preset IP address section of user input, setting instruction Carry IP address section.
In the embodiment of the present invention, user can pre-set preset IP address section in second system.The IP address section can be The set of one or more IP address, the embodiment of the present invention is not limited.
S302, second system export information input mouthful to be verified.
In the embodiment of the present invention, second system is received after the setting instruction of user input, will export information to be verified Input port, user can be in information input to be verified mouthful input information to be verified.The information to be verified may include but be not limited to treat school Test password, finger print information to be verified, shape of face information to be verified, iris information to be verified, retinal information to be verified and treat school Test any one in voiceprint and several combinations.
S303, second system obtain the information to be verified by information input to be verified mouthful input.
S304, second system judge information to be verified, and whether the default check information with pre-setting matches.
In the embodiment of the present invention, when second system judges that information to be verified matches with default check information, step is performed Rapid S305;When second system judges that information to be verified is mismatched with default check information, terminate the flow or export for carrying Show user's information to be verified and the unmatched miscue information of default check information, to point out user again through letter to be verified Cease input port and input information to be verified.
In the embodiment of the present invention, the default check information may include but be not limited to default verification password, default verification fingerprint Information, default verification shape of face information, default verification iris information, default verification retinal information and default verification voiceprint In any one and several combination.
Optionally, when above-mentioned default check information can include fingerprint string information and the corresponding input of each fingerprint Between;So correspondingly, judge whether information to be verified matches with default check information may comprise steps of:
Judge whether fingerprint string is identical with the fingerprint string that default check information includes, and the input time of identical fingerprints Whether difference is respectively less than preset value, if verification fingerprint string is identical with the fingerprint string that default check information includes, and identical finger The difference of the input time of line is respectively less than preset value, then can determine that information to be verified matches with default check information;Instead It, determines that information to be verified and default check information are inconsistent.Wherein, by implementing the embodiment, illegal use can be prevented Family sets preset IP address section in second system, has ensured the security of system.
S305, second system response set instruction, will set and instruct the IP address section carried to be set to preset IP address section.
S306, the first system send the access packet comprising source IP address and purpose IP address to second system, should The first system and the second system are the operating system in terminal operating.
S307, second system, which are received, accesses packet.
S308, second system extract source IP address from packet is accessed, and judge whether the source IP address extracted includes In the preset IP address section pre-set.
S309, second system will access packet and send to terminal where purpose IP address.
In the method described by Fig. 3, terminal is run when having the first system and second system simultaneously, when the first system is to the Two system is sent after the access packet comprising source IP address and purpose IP address, and second system will be from packet be accessed Source IP address is extracted, and judges whether the source IP address extracted is contained in the preset IP address section pre-set;If extracting Source IP address is contained in preset IP address section, then second system will access packet and send to terminal where purpose IP address. It can be seen that, the embodiment of the present invention can provide network service for operating system, and can ensure the demand for security of operating system.
Referring to Fig. 4, Fig. 4 is a kind of structural representation of terminal disclosed in the embodiment of the present invention.Wherein, shown in Fig. 4 Terminal can include the first transmitting element 401, receiving unit 402, the transmitting element 404 of judging unit 403 and second, wherein:
First transmitting element 401, source IP address and purpose IP are included for controlling the first system to be sent to second system The access packet of address, the first system and the second system are the operating system run in the terminal.
In the embodiment of the present invention, terminal may include the operating system of multiple operations, and the terminal is at least including one first System and a second system.The terminal may include but be not limited only to smart mobile phone (such as Android phone, iOS mobile phones), flat board Computer, palm PC, mobile internet device (MID, Mobile Internet Devices) or wearable intelligent equipment etc. are wrapped Terminal device containing multiple systems.
In the embodiment of the present invention, the first system and second system run on the terminal simultaneously.The first system may include but The office operation system of office is not limited to use in, the second system may include but be not limited to operate system for the amusement for amusement of surfing the Net System, such as Android operation system, IOS.When the operating system that the first system is terminal front stage operation, second When system is the operating system of terminal running background, user can use the first system to be surfed the Net.When user is in the first system When input pin is to the access request of target ip address, the first system will respond the access request, obtain the terminal under the first system IP address as source IP address, and according to the access request generation include the access data of source IP address and purpose IP address Bag.The first system generation is accessed after packet, and the first transmitting element 401 will control the first system in terminal running background Second system sends the access packet;Specifically, the first system can send the access in the form of broadcast to second system Packet.
Receiving unit 402, for controlling the second system to receive what the first transmitting element 401 control the first system was sent Access packet.
Judging unit 403, for controlling the second system to extract the source IP address from the access packet, and Judge whether the source IP address extracted is contained in the preset IP address section pre-set.
In the embodiment of the present invention, user can pre-set preset IP address section in second system, and preset IP address section is The set of one or more IP address.After the control second system of receiving unit 402 receives access packet, judging unit Control second system will be extracted source IP address by 403 from packet is accessed, and judge the source extracted from access packet Whether IP address is contained in preset IP address section.If the source IP address extracted is contained in preset IP address section, by second Transmitting element 404 controls second system to send access packet to terminal where purpose IP address;If the source IP address extracted It is not included in preset IP address section, then second system, which is abandoned, accesses packet.
In the embodiment of the present invention, it is default that user can set the IP address collection of the higher network of security to be combined into second system IP address section;Such as VPN (Virtual Private Network, VPN) has compared to other wireless networks Safe advantage, therefore, user can set the IP address collection of VPN to be combined into preset IP address section in second system.Only Have when source IP address is contained in the VPN IP address set pre-set, the second transmitting element 404 just control second be System will just access packet and send to terminal where purpose IP address;When second system opens GPRS (General Packet Radio Service, general packet radio service) or during other WIFI wireless networks, it is impossible to carry out network data access.Cause This, in embodiments of the present invention, controls second system to judge whether source IP address is preset IP address section by judging unit 403 In IP address, if so, then the second transmitting element 404 just control second system by access packet send to purpose IP address institute In terminal, so as to ensure that the first system accesses the security of network.
Second transmitting element 404, if the source IP address for extracting is contained in the preset IP address section, is controlled The second system is made to send the access packet to terminal where the purpose IP address.
Also referring to Fig. 5, Fig. 5 is the structural representation of another terminal disclosed in the embodiment of the present invention.Wherein, Fig. 5 Shown terminal is that terminal as shown in Figure 4 optimizes what is obtained.Compared with the terminal shown in Fig. 4, the terminal shown in Fig. 5 In addition to all units including the terminal shown in Fig. 4, first acquisition unit 405 and adding device 406 can also be included, wherein:
First acquisition unit 405, for controlling the first system to obtain source IP address.
Optionally, first acquisition unit 405 includes:Transmission sub-unit 4051, receiving subelement 4052 and confirmation subelement 4053, wherein:
Transmission sub-unit 4051, for controlling the first system to be asked to destination server Sending dialled number;
Receiving subelement 4052, the dial request is responded for controlling the first system to receive the destination server The IP address of transmission;
Confirm subelement 4053, source IP address is confirmed as controlling the first system by the IP address.
In this embodiment, user can be by clicking on being triggered for connecting the function button of network for the first system Transmission sub-unit 4051 controls the first system to be asked to destination server Sending dialled number, and the destination server is network pair to be connected The server answered.If for example, user want the first system connect VPN, user the first system input VPN accounts and After password, user click on for connect VPN function button can trigger transmission sub-unit 4051 control the first system to Vpn server sends the dial request for carrying VPN accounts and password;Vpn server is received after the dial request, if judging VPN accounts and code matches, then vpn server will distribute an IP address for the first system, and the IP address is returned to The first system;Confirm the control the first system of subelement 4053 by the IP address of the vpn server return of reception with confirming as source IP Location.
First transmitting element 401, is additionally operable to control the first system to send the source IP address to second system.
In the embodiment of the present invention, after the control the first system of first acquisition unit 405 gets source IP address, the first hair The source IP address will be sent by control the first system to second system by sending unit 401;Specifically, the first system can be with broadcast Form sends the source IP address to second system.
Receiving unit 402, is additionally operable to control the second system to receive the control the first system transmission of the first transmitting element 401 Source IP address.
Judging unit 403, is additionally operable to control the second system to judge whether the source IP address is contained in pre-set Preset IP address section in.
In the embodiment of the present invention, receiving unit 402 control second system receive the first system transmission source IP address it Afterwards, judging unit 403 will control second system to judge whether source IP address is contained in the preset IP address section pre-set.If Second system judges that source IP address is contained in the preset IP address section pre-set, then the control of adding device 406 second system Source IP address is added into standard to go out in list.Optionally, if to judge that source IP address is not included in pre-setting pre- for second system If in IP address section, then the source IP address is added to by the control of adding device 406 second system prohibits in list.
Adding device 406, if judging that the source IP address is contained in the preset IP address section for the second system In, then control the second system that the source IP address is added into standard and go out in list.
Judging unit 403 controls the second system to judge whether the source IP address extracted is contained in what is pre-set Preset IP address section in embodiment be:
Judging unit 403 controls the second system to judge whether the source IP address extracted is contained in the standard and falls out In table, if the source IP address extracted is contained in the standard and gone out in list, it is determined that the source IP address of extraction is contained in In the preset IP address section.
In the embodiment of the present invention, judging unit 403 control second system from access packet in extract the source IP address it Afterwards, it will determine that whether the source IP address of extraction is contained in standard and goes out in list.Because the IP address that standard goes out in list is necessarily contained in , therefore, can when the source IP address that second system judgement is extracted, which is contained in standard, to be gone out in list in the IP address section pre-set Determine that the source IP address is necessarily contained in the preset IP address section pre-set.The source IP extracted when second system judgement When location is not included in standard and gone out in list, it may be determined that the source IP address is necessarily not included in the preset IP address section that pre-sets. When the source IP address that second system judgement is extracted, which is contained in standard, to be gone out in list, the second transmitting element 404 control second system Packet will be accessed to send to terminal where purpose IP address;When second system judges that the source IP address extracted is not included in standard When going out in list, second system abandons the access packet.
Also referring to Fig. 6, Fig. 6 is the structural representation of another terminal disclosed in the embodiment of the present invention.Wherein, Fig. 6 Shown terminal is that terminal as shown in Figure 4 optimizes what is obtained.Compared with the terminal shown in Fig. 4, the terminal shown in Fig. 6 In addition to all units including the terminal shown in Fig. 4, setting unit 407, output unit 408 and second can also be included and obtain single Member 409, wherein:
The receiving unit 402, is additionally operable to control the second system to receive being used for setting default IP for user input The setting instruction of location section, it is described to set instruction to carry IP address section.
In the embodiment of the present invention, user can pre-set preset IP address section in second system.The IP address section can be The set of one or more IP address, the embodiment of the present invention is not limited.
The output unit 408, is instructed for controlling the second system to receive described set in the receiving unit 402 Afterwards, information input mouthful to be verified is exported.
In the embodiment of the present invention, the control second system of receiving unit 402 is received after the setting instruction of user input, defeated Going out unit 408 will control second system to export information input mouthful to be verified, and user can treat school in information input to be verified mouthful input Test information.The information to be verified may include but be not limited to password to be verified, finger print information to be verified, shape of face information to be verified, treat Verify any one in iris information, retinal information to be verified and voiceprint to be verified and several combinations.
The second acquisition unit 409, for controlling the second system to obtain by the information input mouthful to be verified The information to be verified of input.
Whether the judging unit 403, be additionally operable to control the second system to judge the information to be verified with setting in advance The default check information put matches.
In the embodiment of the present invention, when second system judges that information to be verified matches with default check information, set single Member 407 controls second system response to set instruction, will set and instructs the IP address section carried to be set to preset IP address section;When When two system judges that information to be verified is mismatched with default check information, terminate the flow or export for pointing out user to be verified Information and the unmatched miscue information of default check information, to point out user to be inputted again through information input to be verified mouthful Information to be verified.
In the embodiment of the present invention, the default check information may include but be not limited to default verification password, default verification fingerprint Information, default verification shape of face information, default verification iris information, default verification retinal information and default verification voiceprint In any one and several combination.
Optionally, when above-mentioned default check information can include fingerprint string information and the corresponding input of each fingerprint Between;So correspondingly, judge whether information to be verified matches with default check information may comprise steps of:
Judge whether fingerprint string is identical with the fingerprint string that default check information includes, and the input time of identical fingerprints Whether difference is respectively less than preset value, if verification fingerprint string is identical with the fingerprint string that default check information includes, and identical finger The difference of the input time of line is respectively less than preset value, then can determine that information to be verified matches with default check information;Instead It, determines that information to be verified and default check information are inconsistent.Wherein, by implementing the embodiment, illegal use can be prevented Family sets preset IP address section in second system, has ensured the security of system.
The setting unit 407, for controlling, the second system response is described to set instruction, and the setting instruction is taken The IP address section of band is set to the preset IP address section.
In the terminal described by Fig. 4~6, include when the first transmitting element controls the first system to be sent to second system After source IP address and the access packet of purpose IP address, judging unit will carry control second system from packet is accessed Source IP address is taken, and judges whether the source IP address extracted is contained in the preset IP address section pre-set;If the source extracted IP address is contained in preset IP address section, then the second transmitting element control second system is sent packet is accessed to purpose IP Terminal where address.It can be seen that, the embodiment of the present invention can provide network service for operating system, and can ensure operating system Demand for security.
Step in present invention method can according to actual needs the adjustment of carry out order, merge and delete.
The unit or subelement of embodiment of the present invention terminal can be combined, divided and deleted according to actual needs.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment is can To be completed by program come the device-dependent hardware of command terminal, the program can be stored in a computer-readable recording medium In, storage medium can include:Flash disk, read-only storage (Read-Only Memory, ROM), random access device (Random Access Memory, RAM), disk or CD etc..
A kind of internet access method and terminal based on multisystem disclosed in the embodiment of the present invention are described in detail above, Specific case used herein is set forth to the principle and embodiment of the present invention, and the explanation of above example is to use Understand the method for the present invention and its core concept in help;Simultaneously for those of ordinary skill in the art, according to the present invention's Thought, will change in specific embodiments and applications, in summary, and this specification content should not be construed as Limitation of the present invention.

Claims (10)

1. a kind of internet access method based on multisystem, applied to terminal, it is characterised in that methods described includes:
The first system sends the access packet comprising source IP address and purpose IP address, the first system to second system It is the operating system in the terminal operating with the second system;
The second system receives the access packet;
The second system extracts the source IP address from the access packet, and judges that the source IP address extracted is It is no to be contained in the preset IP address section pre-set;
If the source IP address extracted is contained in preset IP address section, the second system is by the access data Bag is sent to terminal where the purpose IP address.
2. according to the method described in claim 1, it is characterised in that the first system is sent to the second system to be included Before source IP address and the access packet of purpose IP address, methods described also includes:
The first system obtains source IP address;
The first system sends the source IP address to second system;
The second system judges whether the source IP address is contained in the preset IP address section pre-set;
If the source IP address is contained in the preset IP address section, the source IP address is added to by the second system Standard goes out in list;
The second system judges whether the source IP address extracted is contained in the preset IP address section pre-set and includes:
The second system judges whether the source IP address extracted is contained in the standard and goes out in list, if the source extracted IP address is contained in the standard and gone out in list, it is determined that the source IP address of extraction is contained in the preset IP address section.
3. method according to claim 2, it is characterised in that the first system, which obtains source IP address, to be included:
The first system is asked to destination server Sending dialled number;
The first system receives the destination server and responds the IP address that the dial request is sent;
The IP address is confirmed as source IP address by the first system.
4. according to the method described in claim 1, it is characterised in that the source IP address for judging to extract in the second system Whether before being contained in the preset IP address section pre-set, methods described also includes:
The second system receives the setting instruction for being used to set preset IP address section of user input, described to set instruction to carry IP address section;
The second system response is described to set instruction, instructs the IP address section carried to be set to the default IP described set Address field.
5. method according to claim 4, it is characterised in that the second system receive user input be used for set pre- If after the setting instruction of IP address section, methods described also includes:
The second system exports information input mouthful to be verified;
The second system obtains the information to be verified by the information input mouthful input to be verified;
The second system judges the information to be verified, and whether the default check information with pre-setting matches;
If the information to be verified matches with the default check information, perform the second system response setting and refer to Order, the step of IP address section carried is set to the preset IP address section is instructed by described set.
6. a kind of terminal, it is characterised in that the terminal includes:First transmitting element, receiving unit, judging unit and the second hair Unit is sent, wherein:
First transmitting element, source IP address and purpose IP address are included for controlling the first system to be sent to second system Access packet, the first system and the second system are the operating system run in the terminal;
The receiving unit, for controlling the second system to receive the access packet;
The judging unit, for controlling the second system to extract the source IP address from the access packet, and sentences Whether the disconnected source IP address extracted is contained in the preset IP address section pre-set;
Second transmitting element, if the source IP address for extracting is contained in the preset IP address section, is controlled The second system sends the access packet to terminal where the purpose IP address.
7. terminal according to claim 6, it is characterised in that the terminal also includes:First acquisition unit, addition are single Member, wherein:
The first acquisition unit, for controlling the first system to obtain source IP address;
First transmitting element, is additionally operable to control the first system to send the source IP address to second system;
The judging unit, is additionally operable to control the second system to judge whether the source IP address is contained in pre-set pre- If in IP address section;
The adding device, if judging that the source IP address is contained in the preset IP address section for the judging unit, Then control the second system that the source IP address is added into standard to go out in list;
The judging unit controls the second system to judge whether the source IP address of extraction is contained in pre-set pre- If the embodiment in IP address section is:
The judging unit controls the second system to judge whether the source IP address extracted is contained in the standard and goes out list In, if the source IP address extracted is contained in the standard and gone out in list, it is determined that the source IP address of extraction is contained in institute State in preset IP address section.
8. terminal according to claim 7, it is characterised in that the first acquisition unit includes:Transmission sub-unit, reception Subelement and confirmation subelement, wherein:
The transmission sub-unit, for controlling the first system to be asked to destination server Sending dialled number;
The receiving subelement, the dial request transmission is responded for controlling the first system to receive the destination server IP address;
The confirmation subelement, source IP address is confirmed as controlling the first system by the IP address.
9. terminal according to claim 6, it is characterised in that the terminal also includes setting unit, wherein:
The receiving unit, be additionally operable to control the second system receive user input be used for setting for preset IP address section is set Instruction is put, it is described to set instruction to carry IP address section;
The setting unit, for controlling, the second system response is described to set instruction, by the IP for setting and instructing and carrying Address field is set to the preset IP address section.
10. terminal according to claim 9, it is characterised in that the terminal also includes:Output unit, second obtain single Member, wherein:
The output unit, for controlling the second system after the receiving unit receives the setting instruction, output Information input mouthful to be verified;
The second acquisition unit, for controlling the second system to obtain treating by the information input mouthful input to be verified Check information;
The judging unit, be additionally operable to control the second system judge the information to be verified whether with pre-set it is default Check information matches;
If the information to be verified matches with the default check information, the setting unit controls the second system to ring Answer described set to instruct, instruct the IP address section carried to be set to the preset IP address section described set.
CN201510220486.4A 2015-04-30 2015-04-30 A kind of internet access method and terminal based on multisystem Active CN105577630B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510220486.4A CN105577630B (en) 2015-04-30 2015-04-30 A kind of internet access method and terminal based on multisystem

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510220486.4A CN105577630B (en) 2015-04-30 2015-04-30 A kind of internet access method and terminal based on multisystem

Publications (2)

Publication Number Publication Date
CN105577630A CN105577630A (en) 2016-05-11
CN105577630B true CN105577630B (en) 2017-07-14

Family

ID=55887292

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510220486.4A Active CN105577630B (en) 2015-04-30 2015-04-30 A kind of internet access method and terminal based on multisystem

Country Status (1)

Country Link
CN (1) CN105577630B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107547692B (en) * 2017-09-30 2020-12-15 烽火通信科技股份有限公司 Method and device for configuring IP address and port number between dual systems

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060271760A1 (en) * 2005-05-31 2006-11-30 Stmicroelectronics Sa Translation look-aside buffer
CN101888401A (en) * 2009-05-12 2010-11-17 阿瓦雅公司 The virtual machine of a plurality of use situations is realized
CN103136052A (en) * 2011-11-25 2013-06-05 展讯通信(上海)有限公司 Mobile terminal and control method of mobile terminal provided with multiple operating systems
CN103176780A (en) * 2011-12-22 2013-06-26 中国科学院声学研究所 Binding system and method of multiple network interfaces
CN104506732A (en) * 2014-12-29 2015-04-08 宇龙计算机通信科技(深圳)有限公司 Contact person based system switching method and contact person based system switching device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060271760A1 (en) * 2005-05-31 2006-11-30 Stmicroelectronics Sa Translation look-aside buffer
CN101888401A (en) * 2009-05-12 2010-11-17 阿瓦雅公司 The virtual machine of a plurality of use situations is realized
CN103136052A (en) * 2011-11-25 2013-06-05 展讯通信(上海)有限公司 Mobile terminal and control method of mobile terminal provided with multiple operating systems
CN103176780A (en) * 2011-12-22 2013-06-26 中国科学院声学研究所 Binding system and method of multiple network interfaces
CN104506732A (en) * 2014-12-29 2015-04-08 宇龙计算机通信科技(深圳)有限公司 Contact person based system switching method and contact person based system switching device

Also Published As

Publication number Publication date
CN105577630A (en) 2016-05-11

Similar Documents

Publication Publication Date Title
CN108521644B (en) Network access method, equipment and system
CN105045085B (en) The control method and intelligent watch of a kind of intelligent watch
CN104811359B (en) A kind of serial port communication method and terminal
CN107040927A (en) Wireless network focus sharing method and device, computer installation and storage medium
CN105844744A (en) Password authentication method and password lock
CN103929742B (en) Mobile terminal piggybacking WiFi shares safely the method and intelligent control device of IP Camera
CN107592288B (en) Method, intelligent gateway and system for multi-terminal fast login of website
CN104852915A (en) Network access control method and device
CN106204003B (en) Method, device and system for safely transferring virtual resources
CN107622547A (en) Method, apparatus, storage medium and the computer equipment that terminal is unlocked
CN105550557A (en) Method for logging in different systems through fingerprint recognition and terminal device
CN105763400A (en) Method and system for binding home gateway and home gateway management platform
CN105262823A (en) Method, apparatus and system for controlling terminal
CN101616416A (en) The smart card verification method and the equipment of communication terminal
WO2017166421A1 (en) Login account switching management method and terminal
CN105577630B (en) A kind of internet access method and terminal based on multisystem
CN106209569A (en) The method for authenticating of a kind of enterprise instant communication and device
CN105335088B (en) A kind of sharing files method and device
CN105678143A (en) Methods and devices for setting and acquiring electronic business card
CN105022951A (en) Information processing method and electronic equipment
CN105577635A (en) File transmission method and mobile terminals
US10749935B1 (en) Systems and methods for electronic file transfer
CN104915824A (en) Method and user terminal for creating calendar event
CN105025157B (en) A kind of private contact hidden method and user terminal
CN208783116U (en) A kind of system by bluetooth user bound equipment

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