CN101282367B - Data interactive method for wireless network card and computer - Google Patents
Data interactive method for wireless network card and computer Download PDFInfo
- Publication number
- CN101282367B CN101282367B CN2007100908030A CN200710090803A CN101282367B CN 101282367 B CN101282367 B CN 101282367B CN 2007100908030 A CN2007100908030 A CN 2007100908030A CN 200710090803 A CN200710090803 A CN 200710090803A CN 101282367 B CN101282367 B CN 101282367B
- Authority
- CN
- China
- Prior art keywords
- wireless network
- network card
- computer
- port
- mentioned
- 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
Links
Images
Landscapes
- Computer And Data Communications (AREA)
- Small-Scale Networks (AREA)
Abstract
The invention provides a data interaction method for a wireless network card and a computer, which is aiming at the problem in prior art that functions like the short-message sending-receiving can not be used synchronously with debugging and data operation, including: step1. mapping the wireless network card and the computer interface to at least one standard port performing data interaction; step2. activating the port; step3. building a new task using the predefined command format, realizing communication of the computer and the wireless network card through the standard port. The method of the invention enables communication between the wireless network card and the computer through an independent port and an independent task, which prevents problem that asynchronous AT operations like dial-up internet connection or debugging information viewing can not be performed when sending-receiving short messages and improves reliability of system.
Description
Technical field
The present invention relates to a kind of exchange method of data, the data interactive method of particularly a kind of wireless network card and computer.
Background technology
The wireless network card that is applicable to mobile computer devices such as notebook computer has been released in each operation commercial city at present, this wireless network card is transferred to PCMCIA (Personal ComputerMemory Card International Association) slot by USB and is connected with notebook, and is powered by notebook.This wireless network card uses technology of mobile communication, by computer (Personalcomputer, PC) side software, the user not only can use this wireless terminal as modem, can also receive and dispatch note, carry out function like some and the cell phone type such as voice call.
Because a physical USB port can be mapped as a plurality of COM port, existing wireless network card generally has a COM port that is mapped as modulator-demodulator (hereinafter to be referred as modem), also have a debug port that is mapped as debugging usefulness, foundation simultaneously is used for the data service task of modem and the debugging task that is used to debug.The method that present PC and wireless network card carry out data interaction is divided into two kinds:
As shown in Figure 1 a kind of, be debugging with port as and the mutual port of PC top-cross, using debug command and debugging task make PC and wireless network card mutual, realize receiving and dispatching functions such as note.This method just can't be checked Debugging message opening the PC rear flank, and debugging is made troubles.
Also have a way as shown in Figure 2, be expand again a USB logic interface be mapped as special for and PC communication port, use AT to order and the data service task makes PC and wireless network card mutual.Owing to AT order is to be the employed Modem commands language of all modem manufacturers by the invention of Hayes company, so the modem function that wireless network card provides is also used the AT order.Like this, two ports use a task to do parsing, need safeguard the complicated port state, can issue correct port with the response of guaranteeing the AT order.And before response was received in asynchronous AT order, new AT order can not be carried out.When making the transmitting-receiving short message, this method can't use the asynchronous AT operation of the class that for example dials up on the telephone.Wherein the AT order is the employed Modem commands language of all modem manufacturers by the invention of Hayes company.
Summary of the invention
At defective that exists in the prior art and deficiency, the objective of the invention is to propose the data interactive method of a kind of wireless network card and computer, can make computer and wireless network card check Debugging message, transmitting-receiving short message simultaneously and asynchronous AT operation such as dial up on the telephone.
In order to achieve the above object, the present invention proposes the data interactive method of a kind of wireless network card and computer, comprising:
Wherein, in the above-mentioned steps 3, computer and wireless network card can use AT order communication, and described AT order is the Modem commands language.
Wherein, when using AT order communication, above-mentioned steps 3 is specially:
Step 31, set up a new task, and define the priority of this task, and extension process is done in order to AT;
Step 32, definition send data queue and receive data queue;
Step 33, when wireless network card receives the data that computer sends, resolve the AT order of expansion;
Step 34, AT Executive Module are carried out the AT order of expansion, and return execution result to computer;
Step 35, computer are shown to the user with execution result.
Wherein in the step 31, the priority of above-mentioned task is identical with the priority of above-mentioned wireless network card operation interface.
Wherein, in the above-mentioned steps 3, computer also can using debug command, by above-mentioned standard port and wireless network card communication.
Wherein, during the using debug command communication, above-mentioned steps 3 is specially:
Step 31 ', set up a new task, and define the priority of this task, and extension process done in debug command;
Step 32 ', the aforementioned calculation machine uses the debug command of expansion, carries out communication by above-mentioned standard port and above-mentioned wireless network card.
Wherein, in the above-mentioned steps 31 ', the priority of above-mentioned task is identical with the priority of above-mentioned wireless network card operation interface.
Wherein, in the above-mentioned steps 3, computer can also use user-defined command format, by above-mentioned standard port and wireless network card communication.
The present invention proposes the data interactive method of a kind of wireless network card and computer.In the prior art, PC side and wireless network card communication, a kind of method is to utilize debug command and debugging task, so just causes in the PC side and is receiving and dispatching in the functions such as note, speech communication, can't using debug command; Another kind method is a newly-increased mapped port, and utilizes AT order and data service task on this port, so just causes two ports to use a task to do parsing, need safeguard the complicated port state.The present invention is in order to address the above problem, USB logic interface of newly-increased expansion is mapped as and is exclusively used in PC side and wireless network card communication port, an and newly-built task, make PC side and wireless network card use independently port and task communication, can't use the asynchronous AT operation of the class that for example dials up on the telephone or the problem that can't check Debugging message when preventing the transmitting-receiving short message, improve the availability of system.
Below in conjunction with accompanying drawing, the specific embodiment of the present invention is described in further detail.For the person of ordinary skill in the field, from detailed description of the invention, above-mentioned and other purposes of the present invention, feature and advantage will be apparent.
Description of drawings
Fig. 1 is the schematic network structure that existing using debug command and debugging task realize computer and wireless network card data interaction;
Fig. 2 is the schematic network structure that existing use AT order and debugging task realize computer and wireless network card data interaction;
Fig. 3 is a preferred embodiment of the present invention flow chart;
Fig. 4 is the schematic network structure of the preferred embodiment of the present invention.
Embodiment
The present invention will be further described below in conjunction with accompanying drawing.
Preferred embodiment of the present invention flow process comprises as shown in Figure 3:
Wherein, in the above-mentioned step 3, wireless network card can carry out communication by AT order or debug command or user-defined command format.If use the AT order alternately with the PC side software, so newly-built task need be done extension process to the AT order and realize functions such as sending and receiving short messages, the AT module that the AT order of this expansion can be imitated data service; If using debug command, so newly-built task need be done the function of extension process to realize requiring to debug command, and the debug command of this expansion can be imitated debugging task.
The present invention will be further described as example to use AT order communication with wireless network card and PC side below, the network configuration of using AT order communication as shown in Figure 4, concrete steps comprise when communication:
Steps A, wireless network card and computer interface are mapped as at least 3 ports, comprising: at least one debug port that is used to debug; At least one modem port that is used to provide the modem data service; At least one standard port that is used for carrying out data interaction with computer;
Step B, activate above-mentioned port;
Step C, set up a new task, and define the priority of this task, it is identical with the priority of above-mentioned wireless network card operation interface that priority can be set to, and extension process is done in debug command, and the debug command of expansion is handled can be identical with the debug command in the debugging task;
Step D, definition send data queue and receive data queue;
Step e, when wireless network card receives the data that computer sends, use SIOLIB to resolve this order;
Step F, AT Executive Module (ATCop) are carried out this AT order, and return execution result to computer;
Step G, computer are shown to the user with execution result.
Below with wireless network card and PC side using debug command communication be example the present invention will be further described, concrete steps comprise when communication:
Step a, wireless network card and computer interface are mapped as at least 3 ports, comprising: at least one debug port that is used to debug; At least one modem port that is used to provide the modem data service; At least one standard port that is used for carrying out data interaction with computer;
Step b, activate above-mentioned port;
Step c, set up a new task, and define the priority of this task, it is identical with the priority of above-mentioned wireless network card operation interface that priority can be set to, and extension process is done in debug command, and the extension process of debug command can be identical with debugging task;
Steps d, this new task using debug command form are realized computer and wireless network card communication by above-mentioned standard port.
Certainly; the present invention also can have other embodiment; under the situation that does not deviate from spirit of the present invention and essence thereof; the person of ordinary skill in the field works as can make various corresponding changes and distortion according to the present invention, but these corresponding changes and distortion all should belong to the protection range of claim of the present invention.
Claims (8)
1. the data interactive method of wireless network card and computer is characterized in that described method comprises:
Step 1, with at least three ports of wireless network card and computer interface mapping, wherein comprise a debug port that is used to debug at least, at least one modulation port that is used to provide the modulation data service, and at least one standard port that is used for carrying out data interaction with computer;
Step 2, activate above-mentioned port;
Step 3, set up a new task, and define the priority of this task, make PC side and wireless network card use port and the task communication that independently is different from above-mentioned debug port and modulation port, this new task is used predefined command format, realizes computer and wireless network card communication by above-mentioned standard port.
2. the data interactive method of a kind of wireless network card as claimed in claim 1 and computer is characterized in that, in the above-mentioned steps 3, computer and wireless network card are ordered communication by AT, and described AT order is the Modem commands language.
3. the data interactive method of a kind of wireless network card as claimed in claim 2 and computer is characterized in that, above-mentioned steps 3 is specially:
Step 31, set up a new task, and define the priority of this task, and extension process is done in order to AT;
Step 32, definition send data queue and receive data queue;
Step 33, when wireless network card receives the data that computer sends, resolve the AT order of expansion;
Step 34, AT Executive Module are carried out the AT order of expansion, and return execution result to computer;
Step 35, computer are shown to the user with execution result.
4. the data interactive method of a kind of wireless network card as claimed in claim 3 and computer is characterized in that, in the above-mentioned steps 31, the priority of above-mentioned task is identical with the priority of above-mentioned wireless network card operation interface.
5. the data interactive method of a kind of wireless network card as claimed in claim 1 and computer is characterized in that, in the above-mentioned steps 3, the computer using debug command is by above-mentioned standard port and wireless network card communication.
6. the data interactive method of a kind of wireless network card as claimed in claim 5 and computer is characterized in that, above-mentioned steps 3 is specially:
Step 31 ', set up a new task, and define the priority of this task, and extension process done in debug command;
Step 32 ', the aforementioned calculation machine uses the debug command of expansion, carries out communication by above-mentioned standard port and above-mentioned wireless network card.
7. the data interactive method of a kind of wireless network card as claimed in claim 6 and computer is characterized in that, in the above-mentioned steps 31 ', the priority of above-mentioned task is identical with the priority of above-mentioned wireless network card operation interface.
8. the data interactive method of a kind of wireless network card as claimed in claim 1 and computer is characterized in that, in the above-mentioned steps 3, computer uses user-defined command format, by above-mentioned standard port and wireless network card communication.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2007100908030A CN101282367B (en) | 2007-04-06 | 2007-04-06 | Data interactive method for wireless network card and computer |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2007100908030A CN101282367B (en) | 2007-04-06 | 2007-04-06 | Data interactive method for wireless network card and computer |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101282367A CN101282367A (en) | 2008-10-08 |
CN101282367B true CN101282367B (en) | 2011-05-25 |
Family
ID=40014640
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2007100908030A Active CN101282367B (en) | 2007-04-06 | 2007-04-06 | Data interactive method for wireless network card and computer |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101282367B (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101626613B (en) * | 2009-07-28 | 2011-12-21 | 杭州华三通信技术有限公司 | Method for managing access points, access controller and access point |
WO2011131035A1 (en) * | 2010-04-23 | 2011-10-27 | 华为终端有限公司 | Wireless internet-accessing module, host, communication method thereof, and data card |
CN102855176A (en) * | 2011-06-29 | 2013-01-02 | 联想(北京)有限公司 | Computer, network card and debugging information processing method |
CN103023642B (en) * | 2012-11-22 | 2016-02-24 | 中兴通讯股份有限公司 | A kind of mobile terminal and digital certificate functionality implementation method thereof |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1614535A (en) * | 2003-11-06 | 2005-05-11 | 技嘉科技股份有限公司 | USB interface device for combining recording medium with wireless network card |
US7177919B1 (en) * | 2000-11-28 | 2007-02-13 | Cisco Technology, Inc. | Method and system for controlling tasks on network cards |
-
2007
- 2007-04-06 CN CN2007100908030A patent/CN101282367B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7177919B1 (en) * | 2000-11-28 | 2007-02-13 | Cisco Technology, Inc. | Method and system for controlling tasks on network cards |
CN1614535A (en) * | 2003-11-06 | 2005-05-11 | 技嘉科技股份有限公司 | USB interface device for combining recording medium with wireless network card |
Non-Patent Citations (2)
Title |
---|
陈善荣,赵跃龙.一种基于USB总线的以太网接口卡技术.吉首大学学报(自然科学版)28 1.2007,28(1),48-51. |
陈善荣,赵跃龙.一种基于USB总线的以太网接口卡技术.吉首大学学报(自然科学版)28 1.2007,28(1),48-51. * |
Also Published As
Publication number | Publication date |
---|---|
CN101282367A (en) | 2008-10-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101022634B (en) | Testing method based on remote control vehicular device | |
CN103392328A (en) | Communication terminal work remote control server and method and communication terminal | |
CN101282367B (en) | Data interactive method for wireless network card and computer | |
CN102598625A (en) | Method and apparatus for changing input type in input system using universal plug and play | |
CN103873322A (en) | Information processing method and communication terminal | |
CN101854743A (en) | Method for driving multi-mode terminating machine by radio interface layer and multi-mode terminating machine | |
CN103002430B (en) | Method, the Apparatus and system of a kind of terminal applies and termination number binding | |
CN100413359C (en) | Mobile terminal and starting method thereof | |
CN103619053A (en) | Method for using user identification cards and communication system | |
CN103391537B (en) | Method and device for writing international mobile equipment identify (IMEI) number through mobile terminal | |
CN102301354A (en) | System and method for managing a wireless device from removable media with processing capability | |
CN202481100U (en) | Rail transit guiding and dispatching system | |
CN104703291A (en) | MiFi-based communication method and relevant MiFi | |
CN101370203A (en) | Apparatus and method for mobile phone platform data communication | |
CN101155184A (en) | Method for implementing AT command commutation | |
CN101989250B (en) | Serial communication method and system | |
CN114143144A (en) | Distributed gateway-based micro-service calling method and device and related equipment | |
CN102547661B (en) | Method and device for establishing communication between Android system and telecommunications smart card | |
CN110971696B (en) | System and method for realizing virtual electronic card communication | |
CN101072191B (en) | Instant messaging user account converting method and device | |
US20050160046A1 (en) | Method for providing and billing wim functionalities in mobile communication terminals | |
CN202334576U (en) | Emergency interconnected communication system | |
CN101282547B (en) | Method and apparatus for dialing telephone based on Windows Mobile OS | |
CN101221607B (en) | Mobile memory device and its authentication and information downloading method | |
CN101835142B (en) | Realizing method and device of user identification STK (SIM Card Tool Kit) |
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 |