CN101170587A - A personal computer system and method for dynamically switching communication port - Google Patents

A personal computer system and method for dynamically switching communication port Download PDF

Info

Publication number
CN101170587A
CN101170587A CNA2007101883435A CN200710188343A CN101170587A CN 101170587 A CN101170587 A CN 101170587A CN A2007101883435 A CNA2007101883435 A CN A2007101883435A CN 200710188343 A CN200710188343 A CN 200710188343A CN 101170587 A CN101170587 A CN 101170587A
Authority
CN
China
Prior art keywords
port
personal computer
terminal equipment
computer system
port com
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
Application number
CNA2007101883435A
Other languages
Chinese (zh)
Other versions
CN101170587B (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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN2007101883435A priority Critical patent/CN101170587B/en
Publication of CN101170587A publication Critical patent/CN101170587A/en
Application granted granted Critical
Publication of CN101170587B publication Critical patent/CN101170587B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/50Reducing energy consumption in communication networks in wire-line communication networks, e.g. low power modes or reduced link rate

Landscapes

  • Computer And Data Communications (AREA)
  • Communication Control (AREA)

Abstract

The invention discloses a personal computer system and the dynamic switchover communication port method thereof. The method comprises the following steps: (1): the personal computer system monitors serial port; when monitoring a terminal equipment, the personal computer starts to transmit communication commands; after the communication is successful, the personal computer initializes the terminal equipment and card information; network card enters into preparation state after being on line; at that time, business command port is opened; (2): after judging the operation of implementing data business, the personal computer opens the data business port and closes business command port; (3): after judging the ending of data business, the personal computer opens the business command port. The personal computer and the dynamic switchover communication port method thereof which are proposed in the invention can improve data speed, reduce the power consumption of the network card and further have the advantage of simple acquiring method.

Description

The method of a kind of personal computer system and dynamic switching communication port thereof
Technical field
The present invention relates to the method for personal computer system and dynamic switching communication port thereof.
Background technology
Along with the 3G business is constantly launched in the world, constantly there is operator to begin to note end product, various terminals can provide characteristic service miscellaneous and individual service for the user.Each big operator is in order to provide better terminal traffic service to strive for the more network user, and is more and more stricter to every functional parameter requirement of personal computer.And the function of network card index also is the focus of paying close attention to.Wherein the quality as the most important business-data service of wireless network card just directly influences operator and the user degree of recognition to network interface card.Downloading rate then becomes the focus of more and more paying close attention to as the important indicator of reflection data service quality on the network.
3G commercial network basic forming under the present state, the data service rate of Network Transmission is basicly stable for single operator, so improve the aspect that speed is still an important consideration to greatest extent for how more effective personal computer system's terminal equipment particularly the wireless network card kind equipment.Concerning user experience,, then can increase the approval of user to a great extent to the equipment brand if a terminal equipment is more outstanding than other like products aspect data rate.In addition, because network card equipment is mainly used on the notebook computer, how to reduce the problem that power consumption has become the common concern of all wireless network card series products institute.
Summary of the invention
In view of the foregoing, technical problem to be solved by this invention is to provide a kind of new personal computer system and the method for dynamic switching communication port thereof for improving data rate and reducing the network interface card power consumption, reduce the terminal equipment design complexities, can reduce development cost simultaneously.
In order to solve the problems of the technologies described above, the invention provides a kind of personal computer system, comprise the PORT COM of microprocessor, network card equipment and the serial equipment of realization and terminal equipment interconnection, described system also comprises: PORT COM control module and PORT COM monitoring modular;
The PORT COM control module, be used to realize dynamic control,, open professional command port receiving after the terminal equipment initialization finishes information to the PORT COM of network card equipment, and close or open PORT COM instruction according to what receive, close or open PORT COM;
The PORT COM monitoring modular is used to realize the monitoring to PORT COM, closes or opens PORT COM and instruct the PORT COM control module when monitoring need close or open the operation of PORT COM the time, sending.
Further, described system also comprises: the user instruction receiver module, be used for after the instruction of the professional order of the transmission that receives the user, and send the instruction of opening professional command port and arrive the PORT COM control module.
Further, described system also comprises: serial equipment monitoring modular, communication module and terminal equipment initialization module;
The serial equipment monitoring modular is used for personal computer system's serial equipment is monitored, and when monitoring terminal equipment, sends sign on to communication module;
Communication module is used to realize the communication between personal computer and the terminal equipment, after receiving sign on, sends communication instruction to terminal equipment, after the communication success, the message of success is sent to the terminal equipment initialization module;
The terminal equipment initialization module, be used for to terminal equipment and on card apparatus carry out initialization, and send initialization and finish information to the PORT COM control module.
The present invention also provides a kind of personal computer system the method for dynamic switching communication port, said method comprising the steps of:
(1) personal computer system monitors serial ports, when monitoring terminal equipment, begins to send communication instruction, and communication success back initialization terminal equipment and card information enter standby condition after network interface card is reached the standard grade, and at this moment, open professional command port;
(2) after the personal computer system determines the operation of carrying out data service, open the data service port, close professional command port;
(3) determine after data service finishes, open professional command port.
Further, further comprising the steps of between step (2) and the step (3):
(2a) judge whether system will carry out professional command transfer, then opens professional command port in this way, carry out the regular traffic operation;
After (2b) professional command interaction finishes, judge whether still carrying out data service, in this way, then close professional command port.
Further, judge described in the step (2a) that whether system will carry out professional command transfer, comprising: judge that whether system will carry out the information reporting of professional command transfer, carry out professional command transfer if any then indicating.
Further, judge described in the step (2a) that whether system will carry out professional command transfer, comprising: detect user's operation, use professional command port, then indicate to carry out professional command transfer if determine user's action need.
Further, describedly judge that whether system will carry out the information reporting of professional command transfer, comprise: read in the registration table about the value of business order, value changes as described, and then expression will be carried out professional command transfer.
The method of personal computer system that the present invention proposes and dynamic switching communication port thereof can improve data rate and reduce the network interface card power consumption, and have the implementation method characteristic of simple.
Description of drawings
Fig. 1 is personal computer system's schematic diagram of the present invention.
Fig. 2 dynamically switches the method flow diagram of network interface card port for personal computer system of the present invention.
Embodiment
The present invention is by being provided with relevant device the personal computer system, realization is dynamically switched PORT COM, a kind ofly easy is applicable to realization to the PORT COM dynamic switch method thereby be provided with, and the benefit of this design is that the construction cycle short, manpower is few, has also saved development cost simultaneously.
Application scenarios of the present invention needs the support of following three kinds of entities, entity one is wireless terminal device (Wireless Terminal Device), be typically radio universal serial bus modulator-demodulator (Unibersal Serial Bus Modulator/DEModultor, USB MODEM), wireless data card (or being referred to as network interface card), mobile phone etc., below be referred to as terminal equipment; Entity two is relevant devices that the realization PORT COM among the personal computer system is dynamically switched, be typically and mobile phone, terminal equipments such as wireless data card, universal serial bus modulator-demodulator are used is installed in equipment on PC or the desktop computer; Entity three is various card resources, as UIM (User Identity Module, subscriber identification module) card, SIM (Subscriber Identity Module, client identification module) card, USIM (Universal Subscriber Identity Module, USIM) card etc., this paper abbreviates card apparatus without exception as, these card apparatus are arranged on the described terminal equipment, specifically, can be arranged on mobile phone or the wireless data card.
Below in conjunction with accompanying drawing to a preferred embodiment of the present invention will be described in detail.
With reference to shown in Figure 1, be personal computer system's schematic diagram of the present invention.Personal computer system of the present invention comprises microprocessor 101 and the network card equipment 102 that conventional personal computer system has, and possesses USB (Unibersal Serial Bus, radio universal serial bus) or PCMCIA (PersonalComputer Memory Card International Association, world personal computer memory card association), PCI EXPRESS (Peripheral Component Interconnect Express, high-speed peripheral extended interface) at least a in the IO interface such as, described interface is used to realize the communication of network card equipment and personal computer, and the present invention also comprises serial ports 103 and serial ports monitoring modular 104 in addition, communication module 105, initialization module 106, PORT COM control module 107, PORT COM monitoring modular 108 and user instruction receiver module 109.
Microprocessor 101 is used to control the work of each device of personal computer system and module;
Network card equipment 102 is provided with PORT COM, comprising: data service port, professional command port and network card equipment diagnostic port.Particularly, the network interface card mainboard changes CARDBUS (motherboard hardware expansion slot bus interface) interface circuit by USB and is connected with the PCMICIA slot of personal computer, and fictionalize two serial ports and a MODEM (modulator-demodulator) mouthful, described MODEM mouth is used to carry out data service, and described two serial ports are respectively applied for professional order and network card equipment diagnosis.Wherein the data service port is used to realize the user's data business, as online, downloaded data etc.; The transmission and the reception of the business order between that professional command port is used to realize personal computer and the terminal equipment 110; The network card equipment diagnostic port is used to realize the functions such as failure diagnosis to network card equipment 102.
Serial ports monitoring modular 104 is used for personal computer system's serial ports is monitored, and when monitoring terminal equipment, sends the beginning communication instruction to communication module;
Communication module 105 is used to set up the communication between personal computer and the terminal equipment 110, after receiving the beginning communication instruction, sends the instruction of shaking hands to terminal equipment 110, after the success of shaking hands, the message of success is sent to initialization module 106;
Initialization module 106, be used for to terminal equipment 110 and on card apparatus carry out initialization, and send initialization and finish information to PORT COM control module 107;
PORT COM control module 107 is used to realize the dynamic control to PORT COM, receiving after initialization finishes information, opens professional command port, closes data service port and network card equipment diagnostic port; And, carry out opening and shutoff operation of corresponding PORT COM at any time according to the instruction that receives;
PORT COM monitoring modular 108 is used to realize the monitoring to PORT COM, closes or opens PORT COM and instruct PORT COM control module 107 when monitoring need close or open the operation of PORT COM the time, sending;
Present embodiment also comprises user instruction receiver module 109, after the instruction of the professional order of the transmission that receives the user, sends the instruction of opening professional command port and arrives PORT COM control module 107.
Particularly, in use, the baseband processing chip of the network interface card on the network card equipment 102 links to each other by the USB interface of USB interface with the interface connect chip, this connect chip is finished USB changes the CARDBUS interface function, and the network interface card baseband processing chip is used for handling the monitoring network card status and finishing with the work of SIM card interactive interfacing.
With reference to shown in Figure 2, dynamically switch the method flow diagram of network interface card port for personal computer system of the present invention.Described method comprises following three steps:
Step 201: under the normal condition, monitor by serial ports system, when monitoring terminal equipment, begin to send the instruction of shaking hands, represent and terminal equipment between communication normal, and initialization apparatus and card information, after reaching the standard grade, network interface card enters dormant state, at this moment, only open professional command port, data service port and network card equipment diagnostic port are closed;
Step 202: after treating that the user carries out the operation of data service to network interface card, the log-on data service port is closed professional command port simultaneously;
Step 203: after the log-on data service port, whether real-time judge will carry out professional command transfer, if any then opening professional command port, carries out the regular traffic command interaction;
Step 204: professional command interaction judges whether still carrying out data service after finishing, and in this way, then execution in step 205; Otherwise execution in step 207;
Step 205: close professional command port;
Step 206: after determining the data service end, open professional command port, finish.
Step 207: no longer close professional command port.
Come the present invention is carried out exemplary explanation below by the example in the concrete application.
The present invention need support the serial port communicating protocol of being correlated with, wherein comprised AT (Attention-DTEDCE command set, data terminal equipment or data communications equipment command set) and DIAG (Diagnostic Responder protocol, diagnosis response protocol).Be example with the AT agreement temporarily herein, the present invention is described in further detail.
At first, after correctly installing the driving of each equipment and terminal equipment, insert terminal equipment, after the watch-dog of computer system exists by its serial ports equipment that monitors, beginning sends the instruction of shaking hands to its communication port, instructs as the AT that sends in the AT agreement to terminal equipment, after terminal equipment returns the OK message of the success of shaking hands, computer system begins the card apparatus state to terminal equipment and stick into capable initialization setting, and network interface card enters ready (preparation) state.If data card carries out the data service operation, after judging the Modem dial-up success, be about to the order (AT+ZNOTIFY=1) of closed communication port if terminal equipment returns success (Ready then for the transmission of plate side, ... OK) showing then that network interface card has been known computer system will the closed communication port, and computer system is then closed processing to port.At this moment, network interface card is received the message that need initiatively report, and can notify computer system by the mode of writing registration table, and computer system can further judge whether to open PORT COM by detecting registration table; If after opening PORT COM, PORT COM notification command (AT+ZNOTIFY=0) is opened in transmission, finishes after the operation of interactive command again, judges whether the state of network interface card is still carrying out data service, then the described PORT COM of preamble is closed in this way, disconnect up to data service; So just, reached the demand of dynamic port switching.
As seen, the course of work of the present invention is: at first, we and terminal equipment are shaken hands and are entered holding state after mutual initialization finishes, and at this moment, a plurality of ports are worked simultaneously; Then, carry out close port according to the business of user's operation and judge, carry out data service if desired, then with the port shutdown of AT command interaction, otherwise all of the port that opens.In carrying out the data service process, judge that by detecting registration table network interface card side reporting information determines whether opening the AT command port, simultaneously, if having, the user need carry out the action of AT command interaction, then also port is opened, treating to judge whether to still have data service to carry out behind mutual the end, is then to close the AT command port, ends data service up to the user.
Certainly, above-mentioned embodiment is not the further qualification to technical solution of the present invention, and any those of ordinary skill in the art replaced or corresponding improvement the technology of the present invention feature being equal to of being done, still within protection scope of the present invention.

Claims (8)

1. a personal computer system comprises the PORT COM of microprocessor, network card equipment and the serial equipment of realization and terminal equipment interconnection, it is characterized in that described system also comprises: PORT COM control module and PORT COM monitoring modular;
The PORT COM control module, be used to realize dynamic control,, open professional command port receiving after the terminal equipment initialization finishes information to the PORT COM of network card equipment, and close or open PORT COM instruction according to what receive, close or open PORT COM;
The PORT COM monitoring modular is used to realize the monitoring to PORT COM, closes or opens PORT COM and instruct the PORT COM control module when monitoring need close or open the operation of PORT COM the time, sending.
2. personal computer system as claimed in claim 1, it is characterized in that, described system also comprises: the user instruction receiver module, be used for after the instruction of the professional order of the transmission that receives the user, and send the instruction of opening professional command port and arrive the PORT COM control module.
3. personal computer system as claimed in claim 1 is characterized in that, described system also comprises: serial equipment monitoring modular, communication module and terminal equipment initialization module;
The serial equipment monitoring modular is used for personal computer system's serial equipment is monitored, and when monitoring terminal equipment, sends sign on to communication module;
Communication module is used to realize the communication between personal computer and the terminal equipment, after receiving sign on, sends communication instruction to terminal equipment, after the communication success, the message of success is sent to the terminal equipment initialization module;
The terminal equipment initialization module, be used for to terminal equipment and on card apparatus carry out initialization, and send initialization and finish information to the PORT COM control module.
4. the method for the dynamic switching communication port of personal computer system is characterized in that, said method comprising the steps of:
(1) personal computer system monitors serial ports, when monitoring terminal equipment, begins to send communication instruction, and communication success back initialization terminal equipment and card information enter standby condition after network interface card is reached the standard grade, and at this moment, open professional command port;
(2) after the personal computer system determines the operation of carrying out data service, open the data service port, close professional command port;
(3) determine after data service finishes, open professional command port.
5. method as claimed in claim 4 is characterized in that, and is further comprising the steps of between step (2) and the step (3):
(2a) judge whether system will carry out professional command transfer, then opens professional command port in this way, carry out the regular traffic operation;
After (2b) professional command interaction finishes, judge whether still carrying out data service, in this way, then close professional command port.
6. method as claimed in claim 5, it is characterized in that, judge described in the step (2a) that whether system will carry out professional command transfer, comprising: judge that whether system will carry out the information reporting of professional command transfer, carry out professional command transfer if any then indicating.
7. method as claimed in claim 5, it is characterized in that, judge described in the step (2a) that whether system will carry out professional command transfer, comprising: detect user's operation, use professional command port if determine user's action need, then indicate to carry out professional command transfer.
8. method as claimed in claim 6, it is characterized in that, describedly judge that whether system will carry out the information reporting of professional command transfer, comprise: read in the registration table value about the business order, value changes as described, and then expression will be carried out professional command transfer.
CN2007101883435A 2007-11-19 2007-11-19 A personal computer system and method for dynamically switching communication port Expired - Fee Related CN101170587B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2007101883435A CN101170587B (en) 2007-11-19 2007-11-19 A personal computer system and method for dynamically switching communication port

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2007101883435A CN101170587B (en) 2007-11-19 2007-11-19 A personal computer system and method for dynamically switching communication port

Publications (2)

Publication Number Publication Date
CN101170587A true CN101170587A (en) 2008-04-30
CN101170587B CN101170587B (en) 2010-12-08

Family

ID=39391047

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2007101883435A Expired - Fee Related CN101170587B (en) 2007-11-19 2007-11-19 A personal computer system and method for dynamically switching communication port

Country Status (1)

Country Link
CN (1) CN101170587B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102411546A (en) * 2011-10-18 2012-04-11 深圳市共进电子股份有限公司 Method for implementing connected communication of 3G data cards in at least two operation modes
CN101697148B (en) * 2009-10-12 2015-10-21 中兴通讯股份有限公司 A kind of method and system improving interface rate of computer memory cards
CN108989289A (en) * 2018-06-21 2018-12-11 北京亚鸿世纪科技发展有限公司 A kind of method and device ensureing flow collection integrality

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2337611Y (en) * 1998-07-07 1999-09-08 深圳市宏网实业有限公司 Safety network computer capable of simultaneously connecting internal network and external network
US6519644B1 (en) * 1998-12-01 2003-02-11 Telefonaktiebolaget Lm Ericsson (Publ) System and method for dial-up networking over infrared data link
CN2667565Y (en) * 2003-09-19 2004-12-29 株洲时代电子技术有限公司 Integrated network isolating card

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101697148B (en) * 2009-10-12 2015-10-21 中兴通讯股份有限公司 A kind of method and system improving interface rate of computer memory cards
CN102411546A (en) * 2011-10-18 2012-04-11 深圳市共进电子股份有限公司 Method for implementing connected communication of 3G data cards in at least two operation modes
CN102411546B (en) * 2011-10-18 2013-12-11 深圳市共进电子股份有限公司 Method for implementing connected communication of 3G data cards in at least two operation modes
CN108989289A (en) * 2018-06-21 2018-12-11 北京亚鸿世纪科技发展有限公司 A kind of method and device ensureing flow collection integrality
CN108989289B (en) * 2018-06-21 2020-10-13 北京亚鸿世纪科技发展有限公司 Method and device for guaranteeing integrity of flow collection

Also Published As

Publication number Publication date
CN101170587B (en) 2010-12-08

Similar Documents

Publication Publication Date Title
CN101751361B (en) Switchover method for controlling data transmission interface in mobile terminal and terminal equipment
US5611055A (en) Method and apparatus for implementing a PCMCIA auxiliary port connector for selectively communicating with peripheral devices
CN103064815B (en) A kind of single spi bus controls the control method of many CAN interface
EP0524199B1 (en) Telecommunication interface apparatus and method
WO2007010150A3 (en) Network equipment for transmitting software modules for controlling mobile terminals
CN101594242A (en) A kind of mthods, systems and devices of transmitting video data
EP2518967B1 (en) Method, system and device for initializing internet device
CN102143458A (en) Multi-protocol converter based on GSM (Global System for Mobile Communications) short message transmission in wireless communication network
CN102938783A (en) Socket processing method and device and Web server
CN101170587B (en) A personal computer system and method for dynamically switching communication port
KR101673833B1 (en) Double-mode and double-standby mobile terminal and communication method thereof
CN101330353B (en) Remote video wireless transmission system
CN101699915A (en) Mainboard, method for realizing network locking/ card locking function and mobile terminal
CN202750089U (en) Bluetooth device and integrated peripheral devices
CN208112977U (en) A kind of mobile SIM card pond and mobile SIM card cell system
CN107370515B (en) Mobile internet device and equipment
CN101540668B (en) Data processing equipment
CN102932497A (en) Method, device and system for obtaining internet protocol address
CN101257524A (en) Terminal, communication apparatus and method for recognizing terminal operating status
CN106374968A (en) Wireless communication device and method
CN101888649A (en) Serial interface communication testing system
CN101989250A (en) Serial communication method and system
CN102801746A (en) Method and system for sharing mobile terminal network
CN108270596A (en) The upgrade method of embedded wireless communication module
CN102929749A (en) Method and device for switching storage element and extension element on mobile terminal

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
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20101208

Termination date: 20201119