CN1292367C - System and method for automatically activating network connection - Google Patents

System and method for automatically activating network connection Download PDF

Info

Publication number
CN1292367C
CN1292367C CN 200310101929 CN200310101929A CN1292367C CN 1292367 C CN1292367 C CN 1292367C CN 200310101929 CN200310101929 CN 200310101929 CN 200310101929 A CN200310101929 A CN 200310101929A CN 1292367 C CN1292367 C CN 1292367C
Authority
CN
China
Prior art keywords
network
module
computer system
connecting module
network connecting
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.)
Expired - Fee Related
Application number
CN 200310101929
Other languages
Chinese (zh)
Other versions
CN1607516A (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.)
Inventec Corp
Original Assignee
Inventec 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 Inventec Corp filed Critical Inventec Corp
Priority to CN 200310101929 priority Critical patent/CN1292367C/en
Publication of CN1607516A publication Critical patent/CN1607516A/en
Application granted granted Critical
Publication of CN1292367C publication Critical patent/CN1292367C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)
  • Computer And Data Communications (AREA)

Abstract

The present invention relates to a system and a method for automatically activating network connection, which are suitable for a computer system having the function of network (such as an internal network or the Internet) connection. The computer system at least comprises a network connection module and a network driving module, wherein the network connection module is used for being connected with a network, and the network driving module is used for driving the network connection module to carry out the network connection. The system for automatically activating network connection comprises a detecting module and an activating module. The method for automatically activating network connection comprises the procedures that whether the network connection module is connected with the network or not is detected when the computer system is started up and counted to a predetermined value; the actions of counting and detection are stopped if the computer system is detected to be successfully connected with the network; contrarily, the activating module transmits an activating signal to the network driving module so that the network driving module drives the network connection module to be connected with the network if the computer system fails to be connected with the network. Accordingly, the present invention can reactivate network connection programs without manual set nor restart-up.

Description

The system and method that automatic activating network connects
Technical field
The invention relates to a kind of computer network interconnection technique, particularly the system and method that connects about a kind of automatic activating network.
Background technology
When computing machine will be connected to network, the network driver in the computer operating system can connect network automatically made initialization action, makes network connecting module carry out a succession of particular network linker; Wherein this network connecting module must obtain procotol (the Internet Protocol of this computer system in advance; IP) address, promptly it is positioned at the address on the network, so that carry out the program that subsequent network connects.
But computer system only when start, automatically performs the primary network driver usually, and the network chip that order connection network is used is made the netinit program.Therefore, can't be normally online during as if start because of some reason, for example, the netting twine of computer system is not connected with network, makes network chip outwards obtain its IP address by netting twine, and causing netinit to move can't correct execution.In this case, be that computer system power-on execution network connects when failing, the user then need confirm normal connect required condition and all possess after, activating computer system or reset the parameter of carrying out the netinit command file is again restarted the action that network connects again.But this mode can't effectively connect network, and the mode of activating computer system can increase the time that the user connects again; On the other hand, the method that resets parameter must those skilled in the art just can be carried out, and general user often can't make to reach in this way and make network chip carry out the network connection again, thereby this measure meeting increases operational difficulty.
Summary of the invention
For overcoming above-mentioned prior art problems, fundamental purpose of the present invention is to provide a kind of system and method for automatic activating network connection, can be behind computer system power-on, automatically the activating network initialize routine does not need manually to set or start shooting again yet the system and method for activating network linker again.
For achieving the above object, the invention provides the system and method that a kind of automatic activating network connects, it is applicable to the computer system that possesses network connecting function, do not need the artificial intervention can be behind computer system power-on, self-timing detection computations machine system connection status, when representing that as testing result computer system does not successfully connect network as yet, then the activating network initialize routine is carried out the network connection automatically, otherwise, i.e. detection of end action.
The system that automatic activating network of the present invention connects, be applicable to and include a driver module and a network connecting module at least, and possesses the computer system of network connecting function, this network connecting module is in order to be connected with network, this driver module carries out the network connection in order to drive this network connecting module, and the system that this automatic activating network connects comprises: a detection module and an active module.This detection module is in order to timer counter, and when counting up to a predetermined value, be whether detection computations machine system is connected with network, when detection module detects this computer system and is not connected with network as yet, promptly export a signal to this active module, and make this detection module count again, after this active module receives the signal that this detection module transmits, promptly transmit the required data of activating network connection and drive mixed-media network modules mixed-media to this, make network-driven module drive network connecting module by this data, carry out the program that network connects, up to this network connecting module with till network successfully is connected.
The method that automatic activating network of the present invention connects, be applicable to that one possesses the computer system of network connecting function, this computer system comprises a network connecting module and a network-driven module at least, this method may further comprise the steps: promptly carry out counting procedure behind computer system power-on, and when counting up to a predetermined value, this computer system judges promptly whether this network connecting module successfully is connected with network; If judge when this network connecting module is connected with network, will stop counting procedure; Otherwise, if judge when this network connecting module can't be connected with network, this computer system is exported an activation signal, and will connect the required data of network program and reach this network-driven module, make this this network connecting module of network-driven module drive carry out the network linker, up to this network connecting module with till network successfully is connected.Wherein the action of network-driven module and network connecting module all can be carried out according to known standard network connection mode.
In sum, the system and method that automatic activating network of the present invention connects can be behind computer system power-on, automatic activating network initialize routine, and reaching does not need manually to set or start shooting again yet the purpose of activating network linker again.
Description of drawings
Fig. 1 shows the basic structure calcspar of automatic activating network connected system of the present invention;
Fig. 2 A shows the required operation workflow figure of method that automatic activating network of the present invention connects;
Fig. 2 B shows another operational flow diagram of the method that automatic activating network of the present invention connects, the process flow diagram of required execution in the time of can't obtaining the IP address in order to the explanation computer system.
Embodiment
Embodiment
Below be that the person skilled in the art can understand other advantage of the present invention and effect easily by the content that this instructions disclosed by specific instantiation explanation embodiments of the present invention.The present invention also can be implemented or be used by other different concrete mode, and the every details in this instructions also can be based on different viewpoints and application, carries out various modifications and change under the spirit of the present invention not deviating from.
Fig. 1 is the basic structure calcspar of the system of automatic activating network connection of the present invention.As shown in the figure, the system that the automatic activating network of present embodiment connects is built in the computer system 100, comprising a network-driven module 200, in order to drive this network connecting module 202 to obtain and to store the IP address of this computer system 100, the IP address is the network 300 that comes from computer system 100 outsides, and it can be Internet or internal network.
This computer system 100 is provided with a detection module 400, and this detection module 400 is in order to provide tally function and measuring ability.Generally speaking, even be connected to obtain the IP address with network 300, this computer system 100 is connected with network 300 according to this IP address in computer system 100 these network connecting module 202 of start back.In addition, after computer system 100 starts, this detection module 400 also begins to carry out counting procedure, and when detection module 400 counts up to a predetermined value, to detect this network connecting module 202 and whether obtain the IP address, as when detecting this computer system 100 and can't obtain the IP address, to transmit a signal to this active module 402, make this active module 402 send a notification signal to network-driven module 200, and will connect the required data transmission of network program to network-driven module 200, make network connecting module 202 begin to carry out the program that network connects.This required data comprises the required new setup parameter of connection network.
Fig. 2 A is the main operational flow diagram of automatic activating network method of attachment embodiment of the present invention.As shown in the figure, after computer system 100 start, carry out step S1 immediately, make this network connecting module 202 obtain the IP address of computer system 100, then proceed to step S2 by network 300.
In step S2, make detection module 400 begin to carry out counting procedure, then proceed to step S3.
In step S3, this computer system 100 judges whether this detection module 400 has counted up to a predetermined value, if then proceed to step S4; Otherwise, then return this step S3.
In step S4, this computer system 100 judges whether this network connecting module 202 has obtained the IP address, if do not obtain the IP address, then makes this computer system 100 proceed to the node A of Fig. 2 B; Otherwise,, then finish the program that network connects if obtain the IP address.
Before computer system 100 proceeds to node A, this detection module 400 is with counting value returns and still continue to count up to predetermined value, judging whether the network ip address in this network connecting module 202 obtains, when detecting network ip address and exist, this detection module 400 promptly stops counting procedure.
Fig. 2 B is the process flow diagram of required execution when this network connecting module 202 can't obtain the IP address in the method that connects of automatic activating network of the present invention.As shown in the figure, in step S40, the signal that detection module 400 is sent reaches this active module 402, to activate the action that subsequent network connects, then proceeds to step S41.
At step S41, make active module 402 with required data, the parameter required as the setting network initial program reaches network-driven module 200, then proceeds to step S42.
In step S42, this network-driven module 200 drives network connecting module 202, makes network connecting module 202 carry out the network connecting moves, and this step is to carry out according to the network-driven method of prior art, then proceeds to step S43.
In step S43, after network connecting module 202 is carried out the network connecting moves, return the step S2 of above-mentioned Fig. 2 A immediately, make computer system 100 regularly judge whether this network connecting module 202 has obtained the IP address, till this network connecting module 202 obtains the IP address.
Though, in the present embodiment, detection module 400 is to detect network connecting module 202 whether to have obtained the IP address, but detected object of the present invention also can comprise any other and can represent the signal of these computer system 100 network connection state, for example, the network working load amount after computer system 100 networks connect etc.And this status signal only need be stored in the computer system 100 and get final product, and is not that limitation is stored in the network connecting module 202.

Claims (6)

1. system that automatic activating network connects, be applicable to that one has in the computer system of network connecting function, this computer system possesses one at least and carries out the network-driven module that network connects in order to the network connecting module that is connected with network and in order to drive this network connecting module, it is characterized in that this system comprises:
One detection module is carried out counting procedure, when counting up to a predetermined value, detects this network connecting module and whether successfully is online to network; And
One active module, transmit required data to this network-driven module, when this detection module judges that this computer system can't be connected with network by this network connecting module, this active module sends an activation signal to this network-driven module, making this this network connecting module of network-driven module drive carry out network connects, and make this detection module re-execute counting procedure, up to this detection module judge this computer system by this network connecting module with till network successfully is connected.
2. the system as claimed in claim 1 is characterized in that, this data comprises carries out the required setup parameter of netinit.
3. the system as claimed in claim 1 is characterized in that, the performed detection action of this detection module is to judge whether this network connecting module has obtained the IP address of this computer system.
4. method that automatic activating network connects, be applicable to that one has in the computer system that connects network function, this computer system comprises that at least one carries out the network-driven module that network connects in order to the network connecting module that is connected with network and in order to drive this network connecting module, it is characterized in that this method may further comprise the steps:
(1) behind this computer system power-on, carries out counting procedure;
(2) make this computer system judge whether this counting procedure counts up to a predetermined value, during as if no show one predetermined value, then return this step (2), proceed counting procedure; Otherwise, when counting procedure counts up to a predetermined value, then proceed to step (3);
(3) make this computer system judge whether this network connecting module is connected with network,, then make this computer system be connected with network, and finish the treatment step that this automatic activating network connects by this network connecting module if this network connecting module is connected with network; Otherwise, then proceed to step (4);
(4) make this computer system export an activation signal and reach this network-driven module will connect the required data of network program; And
(5) make activation signal that this network-driven module exports according to this computer system and data drive this network connecting module and carry out the network linker, and make this computer system carry out counting procedure again and return this step (2).
5. method as claimed in claim 4 is characterized in that, this data comprises carries out the required setup parameter of netinit.
6. method as claimed in claim 4 is characterized in that, this computer system judges whether this network connecting module is connected with network is whether to have obtained the IP address of this computer system as foundation with this network connecting module.
CN 200310101929 2003-10-15 2003-10-15 System and method for automatically activating network connection Expired - Fee Related CN1292367C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200310101929 CN1292367C (en) 2003-10-15 2003-10-15 System and method for automatically activating network connection

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200310101929 CN1292367C (en) 2003-10-15 2003-10-15 System and method for automatically activating network connection

Publications (2)

Publication Number Publication Date
CN1607516A CN1607516A (en) 2005-04-20
CN1292367C true CN1292367C (en) 2006-12-27

Family

ID=34756295

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200310101929 Expired - Fee Related CN1292367C (en) 2003-10-15 2003-10-15 System and method for automatically activating network connection

Country Status (1)

Country Link
CN (1) CN1292367C (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106960511A (en) * 2017-03-29 2017-07-18 无锡动力立方科技有限公司 A kind of intelligent vending machine of Internet of Things and its vending system

Also Published As

Publication number Publication date
CN1607516A (en) 2005-04-20

Similar Documents

Publication Publication Date Title
CN111290918B (en) Server running state monitoring method and device and computer readable storage medium
CN1815449A (en) Watchdog control method
CN1845077A (en) Remote detection and control method for computer
US11907073B2 (en) Method and apparatus for data interaction between BIOS and BMC of server, and device
CN104182683B (en) A kind of monitoring method of online transaction, apparatus and system
CN1710867A (en) Method and system for regulating ethernet
CN1303545C (en) Aggregation of hardware events in multi-node systems
CN111352779A (en) On-off test method of AC power supply of MOC card and related assembly
CN106557405A (en) server cabinet monitoring method
CN104202199A (en) Method and system for detecting interface status and processing interface fault according to interface status
CN1292367C (en) System and method for automatically activating network connection
CN116820827B (en) Control method and system of substrate management controller of node server
CN109597389B (en) Test system of embedded control system
CN113742120A (en) Method, system, device and medium for kdump triggering
CN1074148C (en) Data processing system with error detecting processing function
CN114374627A (en) Method, device and system for restarting baseboard management controller and server
JP3348185B2 (en) Connection unit drop detection method and programmable controller
CN115454673A (en) Data collection method, device and medium for baseboard management controller
CN109582626A (en) A kind of method, apparatus, equipment and readable storage medium storing program for executing accessing bus
CN109062839A (en) A kind of method, apparatus and computer readable storage medium detecting HBA card
CN1797367A (en) Monitor system and method capable of using interrupt signal of system management
EP1222543B1 (en) Method and device for improving the reliability of a computer system
CN110989814A (en) Server protection method, device and equipment
CN117400301B (en) Robot detection method, device and nonvolatile storage medium
CN217767427U (en) Watchdog control circuit and electronic 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
C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20061227

Termination date: 20101015