CN104125658A - Networking method and system - Google Patents
Networking method and system Download PDFInfo
- Publication number
- CN104125658A CN104125658A CN201410386786.5A CN201410386786A CN104125658A CN 104125658 A CN104125658 A CN 104125658A CN 201410386786 A CN201410386786 A CN 201410386786A CN 104125658 A CN104125658 A CN 104125658A
- Authority
- CN
- China
- Prior art keywords
- module
- network
- networking
- android
- networked deployment
- Prior art date
Links
- 230000000875 corresponding Effects 0.000 claims abstract description 29
- 239000000725 suspensions Substances 0.000 claims description 31
- 230000000051 modifying Effects 0.000 claims description 8
- 239000010410 layers Substances 0.000 abstract description 11
- 230000000717 retained Effects 0.000 description 5
- 238000000034 methods Methods 0.000 description 4
- 238000004891 communication Methods 0.000 description 3
- 230000001143 conditioned Effects 0.000 description 2
- 230000001276 controlling effects Effects 0.000 description 2
- 238000005516 engineering processes Methods 0.000 description 2
- 230000003287 optical Effects 0.000 description 2
- 280000874760 Third Generation companies 0.000 description 1
- 239000002699 waste materials Substances 0.000 description 1
Abstract
Description
Technical field
The present invention relates to communication technical field, in particular, relate to a kind of networking method and system.
Background technology
Under normal circumstances, comprise 3G (3rd-Generation, 3G (Third Generation) Moblie technology) Android (Android) smart machine of function, all comprise two independently processors, one is traditional application processor (Application Processor for general application program processing, AP), another is baseband processor (the Baseband Processor that is responsible for Radio-Frequency Wireless Communication (for example 3G) relevant treatment, BP), between AP and BP, adopt AT (Attention) instruction to communicate.
Because Android operating system can be carried out the smart machine design of telephone communication mainly for this class of mobile phone, therefore this class smart machine is all provided with BP chip to realize phone and 3G network savvy.But, for this smart machine that BP chip is not installed of similar Intelligent set top box, general is all to have a USB (Universal Serial Bus by independent, USB) the 3G module of interface realizes 3G network savvy, because 3G module has polytype, therefore, easily there is the situation of the 3G module of the corresponding number of different types of same Set Top Box.At present, RIL (the Radio Interface Layer) layer that Android function is used while realization is not distinguished telephony feature and 3G network savvy, therefore, different 3G modules adopt the feature of different B P chip, to cause this class of similar Intelligent set top box only need realize the smart machine of 3G network savvy, must realize a RIL layer AT who comprises all telephony features and resolve storehouse, to realize the compatibility to dissimilar 3G module, thereby not only cause the waste of resource, but also increased development difficulty and development cost.
Summary of the invention
In view of this, the invention provides a kind of networking method and system, to solve the smart machine that only need realize 3G network savvy, must realize a RIL layer AT who comprises all telephony features and resolve storehouse, thereby cause the problem of the wasting of resources, increase development difficulty and development cost.
A kind of networking method, comprising:
Priority according to 3G networking mode in Android system or the no connection 3G network instruction that receives user's input, determine whether to connect with 3G network;
Connect if determine while not existing available and priority higher than described 3G networking mode in described 3G network or described Android system,, from the networked deployment file of pre-stored, transfer the networked deployment subfile corresponding with the 3G module that accesses described Android system; In described networked deployment file, store the corresponding relation of 3G module and a networked deployment subfile of every type;
Carry out the networking instruction in described networked deployment subfile, connect with described 3G network;
Disconnect if determine while existing available and priority higher than described 3G networking mode in described 3G network or described Android system, transfer described networked deployment subfile;
Carry out the suspension instruction in described networked deployment subfile, disconnect with described 3G network.
Preferably, in the priority in Android system or the no connection 3G network instruction that receives user's input according to 3G networking mode described in step, before determining whether to connect with 3G network, also comprise:
Whether detect has 3G module to be linked in Android system;
If there is 3G module to be linked in Android system, the work at present pattern of this 3G module is switched to modulation /demodulation pattern, and this 3G module of initialization;
The state of the 3G module after initialization is completed sends to described Android system.
Preferably, carry out the networking instruction in described networked deployment subfile described in step, after connecting with described 3G network, also comprise:
Give described Android system by the networking state feedback of described 3G module.
Preferably, carry out the suspension instruction in described networked deployment subfile described in step, after disconnecting with described 3G network, also comprise:
Give described Android system by the suspension state feedback of described 3G module.
Preferably, also comprise:
In the time that the sign of reception user input is obtained the instruction of described 3G module network connection status, if described 3G network disconnects, reconnect described 3G network.
A kind of networked system, comprising:
Determination module, for priority or the no connection 3G network instruction that receives user's input at Android system according to 3G networking mode, determines whether to connect with 3G network;
First transfers module, if when determining that connecting described 3G network or described Android system does not exist available and priority higher than described 3G networking mode,, from the networked deployment file of pre-stored, transfer the networked deployment subfile corresponding with the 3G module that accesses described Android system; In described networked deployment file, store the corresponding relation of 3G module and a networked deployment subfile of every type;
Networking module, for carrying out the networking instruction of described networked deployment subfile, connects with described 3G network;
Second transfers module, if when determining that disconnecting described 3G network or described Android system exists available and priority higher than described 3G networking mode, transfers described networked deployment subfile;
Suspension module, for carrying out the suspension instruction of described networked deployment subfile, disconnects with described 3G network.
Preferably, also comprise:
Detection module, for described determination module, whether priority or the no connection 3G network instruction that receives user's input at Android system according to 3G networking mode, before determining whether to connect with 3G network, detect and have 3G module to be linked in Android system;
Handover module, if for there being 3G module to be linked into Android system, the work at present pattern of this 3G module is switched to modulation /demodulation pattern, and this 3G module of initialization;
Sending module, sends to described Android system for the state of the 3G module after initialization is completed.
Preferably, also comprise:
The first feedback module, carries out the networking instruction of described networked deployment subfile for described networking module, after connecting, give described Android system by the networking state feedback of described 3G module with described 3G network.
Preferably, also comprise:
The second feedback module, carries out the suspension instruction of described networked deployment subfile for described suspension module, after disconnecting, give described Android system by the suspension state feedback of described 3G module with described 3G network.
Preferably, also comprise:
Heavy networking module, in the time that the sign of reception user input is obtained the instruction of described 3G module network connection status, if described 3G network disconnects, reconnects described 3G network.
Can find out from above-mentioned technical scheme, the invention provides a kind of networking method and system, in the networked deployment file of pre-stored, store the corresponding relation of a networked deployment subfile in the 3G module of every type and networked deployment file, by calling the networked deployment subfile corresponding with the 3G module that accesses Android system, then by carrying out network in this networked deployment subfile instruction or open command, realize and 3G network establishment of connection and disconnection.Can find out, the original 3G networking of the Android system pattern that is independent of of the present invention's employing has only retained network savvy, therefore, make the smart machine that BP chip is not installed in realizing network savvy, resolve storehouse without the RIL layer AT that comprises again all telephony features, thereby not only save resource, reduced development difficulty and development cost, but also realized the compatibility to all types of 3G modules.
Brief description of the drawings
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, to the accompanying drawing of required use in embodiment or description of the Prior Art be briefly described below, apparently, accompanying drawing in the following describes is only embodiments of the invention, for those of ordinary skill in the art, do not paying under the prerequisite of creative work, other accompanying drawing can also be provided according to the accompanying drawing providing.
Fig. 1 is the disclosed a kind of networking method flow chart of the embodiment of the present invention;
Fig. 2 is the disclosed another kind of networking method flow chart of the embodiment of the present invention;
Fig. 3 is the disclosed another kind of networking method flow chart of the embodiment of the present invention;
Fig. 4 is the structural representation of the disclosed a kind of networked system of the embodiment of the present invention;
Fig. 5 is the structural representation of the disclosed another kind of networked system of the embodiment of the present invention;
Fig. 6 is the structural representation of the disclosed another kind of networked system of 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 clearly and completely described, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiment.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtaining under creative work prerequisite, belong to the scope of protection of the invention.
The embodiment of the invention discloses a kind of networking method and system, to solve the smart machine that only need realize 3G network savvy, must realize a RIL layer AT who comprises all telephony features and resolve storehouse, thereby cause the problem of the wasting of resources, increase development difficulty and development cost.
Referring to Fig. 1, the disclosed a kind of networking method flow chart of the embodiment of the present invention, comprises step:
S11, priority according to 3G networking mode in Android system or the no connection 3G network instruction that receives user's input, determine whether to connect with 3G network;
If it is first pre-conditioned that S12 meets,, from the networked deployment file of pre-stored, transfer the networked deployment subfile corresponding with the 3G module that accesses described Android system;
Wherein, first is pre-conditionedly: determine to connect in described 3G network or described Android system, not exist available and priority higher than described 3G networking mode.
In networked deployment subfile, store the corresponding relation of 3G module and a networked deployment subfile of every type.
It should be noted that, in the time existing available and priority higher than 3G networking mode in Android system, Android system can the high networking mode of first execution priority.
S13, carry out the networking instruction in described networked deployment subfile, connect with described 3G network;
If it is second pre-conditioned that S14 meets, transfer described networked deployment subfile;
Wherein, second is pre-conditionedly: determine to disconnect in described 3G network or described Android system, to exist available and priority higher than described 3G networking mode.
S15, carry out the suspension instruction in described networked deployment subfile, disconnect with described 3G network.
It should be noted is that, each networked deployment subfile is for controlling networking and the suspension of the 3G module corresponding with this networked deployment subfile.
In summary it can be seen, the present invention is in the networked deployment file of pre-stored, store the corresponding relation of a networked deployment subfile in the 3G module of every type and networked deployment file, by calling the networked deployment subfile corresponding with the 3G module that accesses Android system, then by carrying out network in this networked deployment subfile instruction or open command, realize and 3G network establishment of connection and disconnection.Can find out, the original 3G networking of the Android system pattern that is independent of of the present invention's employing has only retained network savvy, therefore, make the smart machine that BP chip is not installed in realizing network savvy, resolve storehouse without the RIL layer AT that comprises again all telephony features, thereby not only save resource, reduced development difficulty and development cost, but also realized the compatibility to all types of 3G modules.
For further optimizing above-described embodiment, referring to Fig. 2, the disclosed a kind of networking method flow chart of another embodiment of the present invention, in conjunction with Fig. 1 and Fig. 2, before step S11, also comprises:
Whether S21, detection have 3G module to be linked in Android system, if had, perform step S22; Otherwise, continue to detect;
S22, the work at present pattern of this 3G module is switched to modulation /demodulation pattern, and this 3G module of initialization;
It should be noted that, conventionally 3G module can show as a CD-ROM (Compact Disc Read-Only Memory, read-only optical disc) equipment after being linked into Android system, therefore, need to be switched to modulation /demodulation (moden) pattern, to be used for realizing 3G network savvy.
The state of S23,3G module by initialization after completing sends to described Android system.
Be understandable that, after the networking success of 3G module or suspension success, final result can also be fed back to Android system, so that Android system is carried out subsequent operation.
Participate in Fig. 3, the disclosed a kind of networking method flow chart of another embodiment of the present invention, in conjunction with Fig. 1 and Fig. 3, after step S13, also comprises:
S31, by the networking state feedback of described 3G module give described Android system.
For further optimizing the present embodiment, after step S15, also comprise:
S32, by the suspension state feedback of described 3G module give described Android system.
Wherein, specifically by 3G module networking or suspension state feedback to the network management module in Android system.
It should be noted that the process of initialization 3G module and to the networking of Android system feedback 3G module or the process of suspension state is can be simultaneous.
Be understandable that, in the time that user need to be known the connection status of 3G network, need return to the networking state of 3G module.
Therefore, the various embodiments described above can also comprise:
In the time that the sign of reception user input is obtained the instruction of described 3G module network connection status, if described 3G network disconnects, reconnect described 3G network.
In summary it can be seen, the present invention is in the networked deployment file of pre-stored, store the corresponding relation of a networked deployment subfile in the 3G module of every type and networked deployment file, by calling the networked deployment subfile corresponding with the 3G module that accesses Android system, then by carrying out network in this networked deployment subfile instruction or open command, realize and 3G network establishment of connection and disconnection.Can find out, the original 3G networking of the Android system pattern that is independent of of the present invention's employing has only retained network savvy, therefore, make the smart machine that BP chip is not installed in realizing network savvy, resolve storehouse without the RIL layer AT that comprises again all telephony features, thereby not only save resource, reduced development difficulty and development cost, but also realized the compatibility to all types of 3G modules.
Embodiment is corresponding with said method, the invention also discloses a kind of networked system.
Participate in Fig. 4, the structural representation of the disclosed a kind of networked system of the embodiment of the present invention, comprising: determination module 41, first is transferred module 42, networking module 43, second is transferred module 44 and suspension module 45;
Wherein:
Determination module 41, for priority or the no connection 3G network instruction that receives user's input at Android system according to 3G networking mode, determines whether to connect with 3G network;
First transfers module 42, if when determining that connecting described 3G network or described Android system does not exist available and priority higher than described 3G networking mode,, from the networked deployment file of pre-stored, transfer the networked deployment subfile corresponding with the 3G module that accesses described Android system;
Wherein, in networked deployment subfile, store the corresponding relation of 3G module and a networked deployment subfile of every type.
It should be noted that, in the time existing available and priority higher than 3G networking mode in Android system, Android system can the high networking mode of first execution priority.
Networking module 43, for carrying out the networking instruction of described networked deployment subfile, connects with described 3G network;
Second transfers module 44, if when determining that disconnecting described 3G network or described Android system exists available and priority higher than described 3G networking mode, transfers described networked deployment subfile;
Suspension module 45, for carrying out the suspension instruction of described networked deployment subfile, disconnects with described 3G network.
It should be noted is that, each networked deployment subfile is for controlling networking and the suspension of the 3G module corresponding with this networked deployment subfile.
In summary it can be seen, the present invention is in the networked deployment file of pre-stored, store the corresponding relation of a networked deployment subfile in the 3G module of every type and networked deployment file, by calling the networked deployment subfile corresponding with the 3G module that accesses Android system, then by carrying out network in this networked deployment subfile instruction or open command, realize and 3G network establishment of connection and disconnection.Can find out, the original 3G networking of the Android system pattern that is independent of of the present invention's employing has only retained network savvy, therefore, make the smart machine that BP chip is not installed in realizing network savvy, resolve storehouse without the RIL layer AT that comprises again all telephony features, thereby not only save resource, reduced development difficulty and development cost, but also realized the compatibility to all types of 3G modules.
For further optimizing above-described embodiment, participate in Fig. 5, the structural representation of the disclosed a kind of networked system of another embodiment of the present invention, in conjunction with Fig. 4 and Fig. 5, also comprises:
Detection module 46, for determination module 41, whether priority or the no connection 3G network instruction that receives user's input at Android system according to 3G networking mode, before determining whether to connect with 3G network, detect and have 3G module to be linked in Android system;
Handover module 47, if for there being 3G module to be linked into Android system, the work at present pattern of this 3G module is switched to modulation /demodulation pattern, and this 3G module of initialization;
It should be noted that, conventionally 3G module can show as a CD-ROM (Compact Disc Read-Only Memory, read-only optical disc) equipment after being linked into Android system, therefore, need to be switched to modulation /demodulation (moden) pattern, to be used for realizing 3G network savvy.
Sending module 48, sends to described Android system for the state of the 3G module after initialization is completed.
Be understandable that, after the networking success of 3G module or suspension success, final result can also be fed back to Android system, so that Android system is carried out subsequent operation.
Participate in Fig. 6, the structural representation of the disclosed a kind of networked system of another embodiment of the present invention, in conjunction with Fig. 4 and Fig. 6, also comprises:
The first feedback module 49, carries out the networking instruction of described networked deployment subfile for networking module 43, after connecting, give described Android system by the networking state feedback of described 3G module with described 3G network.
For further optimizing the present embodiment, also comprise:
The second feedback module 50, carries out the suspension instruction of described networked deployment subfile for suspension module 45, after disconnecting, give described Android system by the suspension state feedback of described 3G module with described 3G network.
It should be noted that the process of initialization 3G module and to the networking of Android system feedback 3G module or the process of suspension state is can be simultaneous.
Be understandable that, in the time that user need to be known the connection status of 3G network, need return to the networking state of 3G module.
Therefore,, for further optimizing the present embodiment, also comprise:
Heavy networking module 51, in the time that the sign of reception user input is obtained the instruction of described 3G module network connection status, if described 3G network disconnects, reconnects described 3G network.
In summary it can be seen, the present invention is in the networked deployment file of pre-stored, store the corresponding relation of a networked deployment subfile in the 3G module of every type and networked deployment file, by calling the networked deployment subfile corresponding with the 3G module that accesses Android system, then by carrying out network in this networked deployment subfile instruction or open command, realize and 3G network establishment of connection and disconnection.Can find out, the original 3G networking of the Android system pattern that is independent of of the present invention's employing has only retained network savvy, therefore, make the smart machine that BP chip is not installed in realizing network savvy, resolve storehouse without the RIL layer AT that comprises again all telephony features, thereby not only save resource, reduced development difficulty and development cost, but also realized the compatibility to all types of 3G modules.
In this specification, each embodiment adopts the mode of going forward one by one to describe, and what each embodiment stressed is and the difference of other embodiment, between each embodiment identical similar part mutually referring to.
To the above-mentioned explanation of the disclosed embodiments, make professional and technical personnel in the field can realize or use the present invention.To be apparent for those skilled in the art to the multiple amendment of these embodiment, General Principle as defined herein can, in the situation that not departing from the spirit or scope of the present invention, realize in other embodiments.Therefore, the present invention will can not be restricted to these embodiment shown in this article, but will meet the widest scope consistent with principle disclosed herein and features of novelty.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410386786.5A CN104125658A (en) | 2014-08-07 | 2014-08-07 | Networking method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410386786.5A CN104125658A (en) | 2014-08-07 | 2014-08-07 | Networking method and system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN104125658A true CN104125658A (en) | 2014-10-29 |
Family
ID=51770887
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410386786.5A CN104125658A (en) | 2014-08-07 | 2014-08-07 | Networking method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104125658A (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101801104A (en) * | 2010-01-21 | 2010-08-11 | 中兴通讯股份有限公司 | Mac OS system equipment and network connection configuration method thereof |
CN102222207A (en) * | 2011-05-23 | 2011-10-19 | 深圳市共进电子有限公司 | Method for realizing networking by switching 3G data card working modes in Linux system |
CN103188567A (en) * | 2011-12-29 | 2013-07-03 | 青岛海尔软件有限公司 | Method for transplanting internet of things communication module on television |
CN103888797A (en) * | 2014-03-10 | 2014-06-25 | 北京四达时代软件技术股份有限公司 | System and set top box achieving digital television service based on Android system |
-
2014
- 2014-08-07 CN CN201410386786.5A patent/CN104125658A/en not_active Application Discontinuation
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101801104A (en) * | 2010-01-21 | 2010-08-11 | 中兴通讯股份有限公司 | Mac OS system equipment and network connection configuration method thereof |
CN102222207A (en) * | 2011-05-23 | 2011-10-19 | 深圳市共进电子有限公司 | Method for realizing networking by switching 3G data card working modes in Linux system |
CN103188567A (en) * | 2011-12-29 | 2013-07-03 | 青岛海尔软件有限公司 | Method for transplanting internet of things communication module on television |
CN103888797A (en) * | 2014-03-10 | 2014-06-25 | 北京四达时代软件技术股份有限公司 | System and set top box achieving digital television service based on Android system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR101876533B1 (en) | Dockee-centric wireless docking | |
CN104158597B (en) | A kind of WIFI network product that configures is connected to the method and system of router | |
US20150052282A1 (en) | System and Method for Virtual Machine Live Migration | |
CN102594697B (en) | Load balancing method and device | |
KR101682559B1 (en) | Authenticating a wireless dockee to a wireless docking service | |
EP2472995B1 (en) | Base band pool device, and method for implementing base band data switch thereof | |
JP5937760B2 (en) | Link failure recovery method and apparatus | |
JP2015523782A (en) | Apparatus and method for direct pairing in a wireless docking system | |
KR101624944B1 (en) | Method and terminal for establishing communication connection | |
KR101875363B1 (en) | Configurable connector for system-level communication | |
US9161239B2 (en) | Network access point management | |
US8730995B2 (en) | System and method for enabling radio operations on a wireless computing device | |
CN104978296A (en) | Method and apparatus for determining direction of power delivery | |
US20150201440A1 (en) | BLUETOOTH Device Connection Method and Device | |
CN105122896A (en) | Access network discovery and selection | |
CN104335633A (en) | Signaling reduced user equipment performance in wireless communication systems | |
US20140051372A1 (en) | Wireless device system-architecture | |
CN103068070B (en) | A kind of machinery of consultation of protocol version, mobile terminal, base station and communication system | |
CN105263101A (en) | System and method for smartwatch to receive notification message of mobile phone in real time | |
CN101951616B (en) | Switching method, system and device for wireless controller | |
US9918219B2 (en) | Call management method and apparatus for multi-SIM multi-active terminal | |
US9201826B2 (en) | Extensible WSE hub to support a multi-hop tree of USB hubs or peripherals over a wireless link | |
US10791458B2 (en) | Transferring information to a mobile device | |
CN105309036A (en) | Mac layer transport for wi-fi direct services application service platform without internet protocol | |
CN205281140U (en) | Smart home system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
C06 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
C10 | Entry into substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20141029 |
|
RJ01 | Rejection of invention patent application after publication |