CN103036798A - Third generation telecommunication (3G) router and method for identifying 3G data cards by 3G router - Google Patents
Third generation telecommunication (3G) router and method for identifying 3G data cards by 3G router Download PDFInfo
- Publication number
- CN103036798A CN103036798A CN2012105291771A CN201210529177A CN103036798A CN 103036798 A CN103036798 A CN 103036798A CN 2012105291771 A CN2012105291771 A CN 2012105291771A CN 201210529177 A CN201210529177 A CN 201210529177A CN 103036798 A CN103036798 A CN 103036798A
- Authority
- CN
- China
- Prior art keywords
- router
- data card
- rule file
- partition holding
- identification
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 27
- 238000005192 partition Methods 0.000 claims abstract description 45
- 230000006855 networking Effects 0.000 abstract 1
- 239000000047 product Substances 0.000 description 7
- 238000010586 diagram Methods 0.000 description 4
- 230000004048 modification Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 238000006243 chemical reaction Methods 0.000 description 1
- 230000002950 deficient Effects 0.000 description 1
- 239000012467 final product Substances 0.000 description 1
- 230000008676 import Effects 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 238000012795 verification Methods 0.000 description 1
- 239000002699 waste material Substances 0.000 description 1
Images
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The invention discloses a third generation telecommunication (3G) router and a method for identifying 3G data cards by the 3G router. The method comprises the following steps that A, storage partitions of the 3G router are read when the 3G router is stared and rule documents in the storage partitions are copied to storage contents of the rule documents, wherein rule documents which respectively correspond to multiple 3G data cards are lead in the storage partitions divided in the 3G router in advance; B, when the 3G data cards are inserted into the 3G router, the 3G router judges whether rule documents corresponding to the 3G data cards can be found in the storage contents according to product identification numbers and supplier identification numbers of the 3G data cards inserted; and C, when the rule documents corresponding to the 3G data cards are found, the 3G router switches to a modulation-demodulation pattern from a storage pattern according to the found rule documents and conducts 3G dial-up networking. According to the 3G router and the method for identifying 3G data cards by the 3G router, resources are saved.
Description
Technical field
The present invention relates to the 3G network field, relate in particular to the method for a kind of 3G router and identification 3G data card thereof.
Background technology
Present 3G data card on the market has the driver of Microsoft Windows, and when inserting loom for the first time, they are in memory module, and therefrom extract and install driving.After drive installation is complete, drive at once translative mode, storage facilities disappears, and then a new equipment (such as a USBmodem) occurs, and some people is called " ZeroCD " to this characteristic.Certainly, all without any the document of form, almost there is not suitable Linux to drive about these yet.Fortunately a lot of known devices can move at the linux system with kernel module, and kernel module is such as the bottom layer driving that realizes USB and serial ports conversion for usbserial().So, we can use at the route system of support " usbserial " open source software under USB_Modeswitch(linux) come the 3G data card is carried out the pattern switching, namely switch to the modulation /demodulation pattern by memory module, then one of its need just can carry out 3G and dial up on the telephone switching required rule file by the 3G data card.
Along with appearing on the market of new 3G data card, have increasing main flow 3G data card and do not supported by existing 3G router, like this can be so that our 3G router eliminating slowly.Present solution is exactly that the required rule file of new 3G data card is joined library corresponding to usb-modeswitch-date(USB_Modeswitch), recompilate new version to customer upgrade, this process is too slow, and just need the switch mode rule file of 3G data card, will the upgrade software of whole 3G router, the waste resource.
Summary of the invention
The technical problem to be solved in the present invention is, cause the defective of the wasting of resources for the above-mentioned needs of the prior art whole 3G router software of again upgrading, the method of a kind of 3G router and identification 3G data card thereof is provided, and the whole 3G router software of need not upgrading has been saved resource.
The technical solution adopted for the present invention to solve the technical problems is: construct a kind of method of 3G router identification 3G data card, comprising:
A. when the 3G router startup, read the partition holding of 3G router, and the rule file in the partition holding is copied to the storing directory of rule file, wherein, the partition holding of dividing in the 3G router has imported respectively corresponding rule file of multiple 3G data card in advance;
B. when the 3G router inserted the 3G data card, the 3G router judged whether find the corresponding rule file of this 3G data card from described storing directory according to product ID and supplier's identification code of the 3G data card that inserts;
C. when finding the corresponding rule file of this 3G data card, the 3G router switches to the modulation /demodulation pattern according to the rule file that finds from memory module, and carries out 3G and dial up on the telephone.
In the method for 3G router identification 3G data card of the present invention, after described step C, also comprise:
D.3G the router Identification display is to the 3G data card.
In the method for 3G router identification 3G data card of the present invention, after described step B, also comprise:
E. when not finding the corresponding rule file of this 3G data card, the 3G router shows unidentified to the 3G data card.
In the method for 3G router identification 3G data card of the present invention, before described steps A, also comprise:
F. according to user's request the rule file in the partition holding of 3G router is upgraded or delete.
In the method for 3G router identification 3G data card of the present invention, after described step F, also comprise:
G.3G router shows the rule file in the partition holding.
The present invention also constructs a kind of 3G router, comprising:
Start module, be used for when the 3G router startup, reading the partition holding of 3G router, and the rule file in the partition holding being copied to the storing directory of rule file, wherein, the partition holding of dividing in the 3G router has imported respectively corresponding rule file of multiple 3G data card in advance;
Judge module is used for when the 3G router inserts the 3G data card, according to product ID and supplier's identification code of the 3G data card that inserts, judges whether find the corresponding rule file of this 3G data card from described storing directory;
Mode switch module is used for switching to the modulation /demodulation pattern according to the rule file that finds from memory module, and carrying out 3G and dial up on the telephone when finding the corresponding rule file of this 3G data card.
In 3G router of the present invention, described 3G router also comprises:
Display module is used for carrying out after 3G dials up on the telephone, and Identification display is to the 3G data card.
In 3G router of the present invention, described display module also is used for when not finding the corresponding rule file of this 3G data card, and the 3G router shows unidentified to the 3G data card.
In 3G router of the present invention, described 3G router also comprises:
Upgrading/removing module is for according to user's request the rule file of the partition holding of 3G router being upgraded or deleting.
In 3G router of the present invention, described display module is also for the rule file that shows partition holding.
Implement technical scheme of the present invention, rule file corresponding to multiple 3G data card arranged owing to the partition holding of 3G router is pre-stored, and when starting, these rule files are read storing directory, so, as long as the rule file of the 3G data card that this 3G router inserts exists in this storing directory, this 3G router just can recognize this 3G data card, that is to say, this 3G router can support to leave in the corresponding multiple 3G data card of rule file in its partition holding, and needn't be when a kind of new 3G data card of market appearance, and in order to obtain the support of 3G router, to again issue a new software, and the software of this 3G router is upgraded.Therefore, the method for 3G router identification 3G data card of the present invention has been saved resource compared to existing technology greatly.
Description of drawings
The invention will be further described below in conjunction with drawings and Examples, in the accompanying drawing:
Fig. 1 is the flow chart of the embodiment of the method one of 3G router identification 3G data card of the present invention;
Fig. 2 is the flow chart of the embodiment of the method two of 3G router identification 3G data card of the present invention;
Fig. 3 is the logic diagram of 3G router implementation example one of the present invention;
Fig. 4 is the logic diagram of 3G router implementation example two of the present invention.
Embodiment
Fig. 1 is the flow chart of the embodiment of the method one of 3G router identification 3G data card of the present invention, and the method for this 3G router identification 3G data card comprises:
A. when the 3G router startup, read the partition holding of 3G router, and the rule file in the partition holding is copied to the storing directory of rule file, wherein, the partition holding of dividing in the 3G router has imported respectively corresponding rule file of multiple 3G data card in advance.In this step, it should be noted that, in the 3G router, divide in advance a partition holding, this partition holding is used for storing respectively corresponding rule file of multiple 3G data card, and the product ID of every kind of corresponding rule file of 3G data card (PID, Product ID) and supplier's identification code (Vid, Vender ID) difference.These rule files copy it to storing directory that pattern is switched the calling rule file after verification is correct;
B. when the 3G router inserted the 3G data card, the 3G router judged whether find the corresponding rule file of this 3G data card from described storing directory according to product ID and supplier's identification code of the 3G data card that inserts;
C. when finding the corresponding rule file of this 3G data card, the 3G router switches to modulation /demodulation (modem) pattern according to the rule file that finds from memory module, and carries out 3G and dial up on the telephone.
Implement technical scheme of the present invention, rule file corresponding to multiple 3G data card arranged owing to the partition holding of 3G router is pre-stored, and when starting, these rule files are read storing directory, so, as long as the rule file of the 3G data card that this 3G router inserts exists in this storing directory, this 3G router just can recognize this 3G data card, that is to say, this 3G router can support to leave in the corresponding multiple 3G data card of rule file in its partition holding, and needn't be when a kind of new 3G data card of market appearance, and in order to obtain the support of 3G router, to again issue a new software, and the software of this 3G router is upgraded.Therefore, the method for 3G router identification 3G data card of the present invention has been saved resource compared to existing technology greatly.
Fig. 2 is the flow chart of the embodiment of the method two of 3G router identification 3G data card of the present invention, and the method for this 3G router identification 3G data card comprises:
A. when the 3G router startup, read the partition holding of 3G router, and the rule file in the partition holding is copied to the storing directory of rule file, wherein, the partition holding of dividing in the 3G router has imported respectively corresponding rule file of multiple 3G data card in advance;
B. when the 3G router inserts the 3G data card, " usbserial " that be the 3G router by its inside links to each other with the 3G data card, the 3G router is according to product ID and supplier's identification code of the 3G data card that inserts, whether judgement finds the corresponding rule file of this 3G data card from described storing directory, if, execution in step C then; If not, execution in step E then;
C.3G router switches to the modulation /demodulation pattern according to the rule file that finds from memory module, and carries out 3G and dial up on the telephone;
D.3G the router Identification display is to the 3G data card;
E.3G router shows unidentified to the 3G data card.
In a preferred embodiment of the method for 3G router of the present invention identification 3G data card, before steps A, also comprise:
F. according to user's request the rule file in the partition holding of 3G router is upgraded or delete, about this step, it should be noted that, businessman can issue by the website rule file of up-to-date compatible 3G data card, the user can import to the corresponding rule file of main flow 3G data card commonly used in the partition holding of 3G router according to the demand of oneself, perhaps, rule file in the partition holding is deleted, thereby so that the rule file in the partition holding is upgraded or is deleted, like this, when new a 3G data card occurring, businessman only needs the rule file of the in time corresponding pattern switching of this 3G data card of issue to get final product, and does not need to issue a new software;
G.3G router shows the rule file in the partition holding.
Fig. 3 is the logic diagram of 3G router implementation example one of the present invention, this 3G router comprises startup module 10, judge module 20 and the mode switch module 30 that connects successively, wherein, starting module 10 is used for when the 3G router startup, read the partition holding of 3G router, and the rule file in the partition holding is copied to the storing directory of rule file, wherein, the partition holding of dividing in the 3G router has imported respectively corresponding rule file of multiple 3G data card in advance; Judge module 20 is used for when the 3G router inserts the 3G data card, according to product ID and supplier's identification code of the 3G data card that inserts, judges whether find the corresponding rule file of this 3G data card from described storing directory; Mode switch module 30 is used for switching to the modulation /demodulation pattern according to the rule file that finds from memory module, and carrying out 3G and dial up on the telephone when finding the corresponding rule file of this 3G data card.
Fig. 4 is the logic diagram of 3G router implementation example two of the present invention, this embodiment compares embodiment shown in Figure 3, difference only is: this 3G router also comprises display module 40 and upgrading/removing module 50, wherein, upgrading/removing module 50 is for according to user's request the rule file of the partition holding of 3G router being upgraded or deleting.Display module 40 is used for carrying out after 3G dials up on the telephone, and Identification display is to the 3G data card; When not finding the corresponding rule file of this 3G data card, the 3G router shows unidentified to the 3G data card.In addition, display module 40 also can show the rule file in the partition holding.
The above is the preferred embodiments of the present invention only, is not limited to the present invention, and for a person skilled in the art, the present invention can have various modifications and variations.Within the spirit and principles in the present invention all, any modification of doing, be equal to replacement, improvement etc., all should be included within the claim scope of the present invention.
Claims (10)
1. the method for a 3G router identification 3G data card is characterized in that, comprising:
A. when the 3G router startup, read the partition holding of 3G router, and the rule file in the partition holding is copied to the storing directory of rule file, wherein, the partition holding of dividing in the 3G router has imported respectively corresponding rule file of multiple 3G data card in advance;
B. when the 3G router inserted the 3G data card, the 3G router judged whether find the corresponding rule file of this 3G data card from described storing directory according to product ID and supplier's identification code of the 3G data card that inserts;
C. when finding the corresponding rule file of this 3G data card, the 3G router switches to the modulation /demodulation pattern according to the rule file that finds from memory module, and carries out 3G and dial up on the telephone.
2. the method for 3G router identification 3G data card according to claim 1 is characterized in that, after described step C, also comprises:
D.3G the router Identification display is to the 3G data card.
3. the method for 3G router identification 3G data card according to claim 1 is characterized in that, after described step B, also comprises:
When not finding the corresponding rule file of this 3G data card, the 3G router shows unidentified to the 3G data card.
4. the method for 3G router identification 3G data card according to claim 1 is characterized in that, before described steps A, also comprises:
F. according to user's request the rule file in the partition holding of 3G router is upgraded or delete.
5. the method for 3G router identification 3G data card according to claim 4 is characterized in that, after described step F, also comprises:
G.3G router shows the rule file in the partition holding.
6. a 3G router is characterized in that, comprising:
Start module, be used for when the 3G router startup, reading the partition holding of 3G router, and the rule file in the partition holding being copied to the storing directory of rule file, wherein, the partition holding of dividing in the 3G router has imported respectively corresponding rule file of multiple 3G data card in advance;
Judge module is used for when the 3G router inserts the 3G data card, according to product ID and supplier's identification code of the 3G data card that inserts, judges whether find the corresponding rule file of this 3G data card from described storing directory;
Mode switch module is used for switching to the modulation /demodulation pattern according to the rule file that finds from memory module, and carrying out 3G and dial up on the telephone when finding the corresponding rule file of this 3G data card.
7. 3G router according to claim 6 is characterized in that, described 3G router also comprises:
Display module is used for carrying out after 3G dials up on the telephone, and Identification display is to the 3G data card.
8. 3G router according to claim 7 is characterized in that,
Described display module also is used for when not finding the corresponding rule file of this 3G data card, and the 3G router shows unidentified to the 3G data card.
9. 3G router according to claim 7 is characterized in that, described 3G router also comprises:
Upgrading/removing module is for according to user's request the rule file of the partition holding of 3G router being upgraded or deleting.
10. 3G router according to claim 9 is characterized in that,
Described display module is also for the rule file that shows partition holding.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210529177.1A CN103036798B (en) | 2012-12-10 | 2012-12-10 | A kind of 3G router and the method identifying 3G data card thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210529177.1A CN103036798B (en) | 2012-12-10 | 2012-12-10 | A kind of 3G router and the method identifying 3G data card thereof |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103036798A true CN103036798A (en) | 2013-04-10 |
CN103036798B CN103036798B (en) | 2016-08-03 |
Family
ID=48023301
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210529177.1A Active CN103036798B (en) | 2012-12-10 | 2012-12-10 | A kind of 3G router and the method identifying 3G data card thereof |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103036798B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104427521A (en) * | 2013-08-29 | 2015-03-18 | 深圳市共进电子股份有限公司 | Embedded type 3G (the third generation telecommunication) networking card working method and system |
CN104579990A (en) * | 2015-01-23 | 2015-04-29 | 小米科技有限责任公司 | Router resource recommendation method and device |
CN105871598A (en) * | 2016-03-28 | 2016-08-17 | 上海斐讯数据通信技术有限公司 | Router equipment and upgrade method of router equipment |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101867476A (en) * | 2010-06-22 | 2010-10-20 | 杭州华三通信技术有限公司 | 3G virtual private dialing network user safety authentication method and device thereof |
CN201887957U (en) * | 2010-12-16 | 2011-06-29 | 西安龙飞软件有限公司 | Wireless router supporting 3G system |
CN202095106U (en) * | 2011-01-21 | 2011-12-28 | 西安龙飞软件有限公司 | Third-generation (3G) router with multimode data card smart access system |
-
2012
- 2012-12-10 CN CN201210529177.1A patent/CN103036798B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101867476A (en) * | 2010-06-22 | 2010-10-20 | 杭州华三通信技术有限公司 | 3G virtual private dialing network user safety authentication method and device thereof |
CN201887957U (en) * | 2010-12-16 | 2011-06-29 | 西安龙飞软件有限公司 | Wireless router supporting 3G system |
CN202095106U (en) * | 2011-01-21 | 2011-12-28 | 西安龙飞软件有限公司 | Third-generation (3G) router with multimode data card smart access system |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104427521A (en) * | 2013-08-29 | 2015-03-18 | 深圳市共进电子股份有限公司 | Embedded type 3G (the third generation telecommunication) networking card working method and system |
CN104427521B (en) * | 2013-08-29 | 2019-01-22 | 深圳市共进电子股份有限公司 | Embedded 3G card of surfing Internet working method and system |
CN104579990A (en) * | 2015-01-23 | 2015-04-29 | 小米科技有限责任公司 | Router resource recommendation method and device |
CN105871598A (en) * | 2016-03-28 | 2016-08-17 | 上海斐讯数据通信技术有限公司 | Router equipment and upgrade method of router equipment |
Also Published As
Publication number | Publication date |
---|---|
CN103036798B (en) | 2016-08-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102647701B (en) | A kind of method and device upgrading the application message of mobile terminal | |
CN108111331B (en) | Method, device, storage medium, processor and system for acquiring update data packet | |
US8499296B2 (en) | Multi-branch management for updating software | |
CN108664239B (en) | Cross-technology-stack web front-end development system and method based on micro-service | |
CN104391725A (en) | Page display method and page display device | |
CN104885055A (en) | Method and device for application data synchronization | |
EP2613259A1 (en) | Method and computation node for processing application data | |
CN103188321A (en) | Information synchronizing method and system based on cloud server | |
CN105824678A (en) | Method and device for installing operating system | |
CN102141921A (en) | Method for upgrading system of terminal equipment and terminal equipment | |
CN107741858A (en) | The application program update method, apparatus and system of multilingual version | |
EP2720152A1 (en) | Method and system for obtaining identification information of data terminal device | |
CN108920934B (en) | Method, device and equipment for driving mass storage equipment in Mac system | |
CN104407890A (en) | Method for starting Android system from OTG (On-The-Go) equipment | |
CN109471797A (en) | A kind of environment configurations management method, system and terminal device | |
CN103036798A (en) | Third generation telecommunication (3G) router and method for identifying 3G data cards by 3G router | |
CN101399873B (en) | Method, apparatus and communication terminal device for processing index information of phone book | |
CN103164245B (en) | The method of application display language-specific and terminal | |
CN103455750B (en) | The high peace verification method of a kind of embedded device and device | |
CN105376728A (en) | Boot method and communication terminal | |
CN102984330B (en) | Contact person data management method of communication device | |
CN109344412A (en) | A kind of language transfer method, device, equipment and storage medium | |
EP2835737A1 (en) | Data terminal running mode switching method, device, and data terminal | |
CN104123160A (en) | Element level updating method for navigation equipment | |
CN112527446A (en) | Time zone synchronization method, equipment and terminal 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 | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
PP01 | Preservation of patent right | ||
PP01 | Preservation of patent right |
Effective date of registration: 20180313 Granted publication date: 20160803 |
|
PD01 | Discharge of preservation of patent |
Date of cancellation: 20210313 Granted publication date: 20160803 |
|
PD01 | Discharge of preservation of patent | ||
PP01 | Preservation of patent right |
Effective date of registration: 20210313 Granted publication date: 20160803 |
|
PP01 | Preservation of patent right | ||
PD01 | Discharge of preservation of patent |
Date of cancellation: 20240313 Granted publication date: 20160803 |
|
PD01 | Discharge of preservation of patent |