CN106484554A - The driving method of network-bus and device - Google Patents

The driving method of network-bus and device Download PDF

Info

Publication number
CN106484554A
CN106484554A CN201610861401.5A CN201610861401A CN106484554A CN 106484554 A CN106484554 A CN 106484554A CN 201610861401 A CN201610861401 A CN 201610861401A CN 106484554 A CN106484554 A CN 106484554A
Authority
CN
China
Prior art keywords
network
bus
drive module
detection
communications status
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.)
Pending
Application number
CN201610861401.5A
Other languages
Chinese (zh)
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.)
Gree Electric Appliances Inc of Zhuhai
Zhuhai Gree Intelligent Equipment Co Ltd
Original Assignee
Gree Electric Appliances Inc of Zhuhai
Zhuhai Gree Intelligent Equipment Co Ltd
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 Gree Electric Appliances Inc of Zhuhai, Zhuhai Gree Intelligent Equipment Co Ltd filed Critical Gree Electric Appliances Inc of Zhuhai
Priority to CN201610861401.5A priority Critical patent/CN106484554A/en
Publication of CN106484554A publication Critical patent/CN106484554A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/0703Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
    • G06F11/0706Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation the processing taking place on a specific hardware platform or in a specific software environment
    • G06F11/0736Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation the processing taking place on a specific hardware platform or in a specific software environment in functional embedded systems, i.e. in a data processing system designed as a combination of hardware and software dedicated to performing a certain function
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/0703Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
    • G06F11/0793Remedial or corrective actions

Abstract

The invention discloses a kind of driving method of network-bus and device.Wherein, the method includes:The communications status of the Driver Entry of detection network-bus;According to testing result, it is determined whether restart network-bus drive module, wherein, network-bus drive module is used for driving network-bus to communicate.The present invention solves the technical problem of the stability difference of embedded product in correlation technique.

Description

The driving method of network-bus and device
Technical field
The present invention relates to the communications field, in particular to a kind of driving method of network-bus and device.
Background technology
At present, arm processor collocation WINCE operating system is when carrying out network service, occurs that network card is disconnected and not once in a while The phenomenon that can be reconnected, and this phenomenon has had a strong impact on the stability of embedded product.
For the problems referred to above, effective solution is not yet proposed at present.
Content of the invention
A kind of driving method of network-bus and device is embodiments provided, embedding in correlation technique at least to solve Enter the technical problem of the stability difference of formula product.
A kind of one side according to embodiments of the present invention, there is provided driving method of network-bus, including:Detection network The communications status of the Driver Entry of bus;According to testing result, it is determined whether restart network-bus drive module, wherein, above-mentioned Network-bus drive module is used for driving above-mentioned network-bus to communicate.
Further, according to testing result, it is determined whether restarting network-bus drive module includes:Tied according to above-mentioned detection Really, judge whether the above-mentioned Driver Entry of above-mentioned network-bus communication blockage occurs;If occurring, the drive of above-mentioned network-bus is restarted Dynamic model block.
Further, restarting above-mentioned network-bus drive module includes:Above-mentioned network-bus drive module is made to re-power; After re-powering, above-mentioned network-bus drive module is made to reconfigure network for above-mentioned network-bus.
Further, said method also includes:If not occurring, continue duplicate detection network-bus Driver Entry logical Letter state, to determine whether to restart above-mentioned network-bus drive module.
Further, before the communications status of the Driver Entry of detection network-bus, said method also includes:At detection Whether reason device is already powered on and whether detection operating system has been started up, wherein, if it is already powered on to detect above-mentioned processor And aforesaid operations system has been started up, then the step of the communications status of the Driver Entry of perform detection network-bus.
Another aspect according to embodiments of the present invention, additionally provides a kind of driving means of network-bus, including:First inspection Module is surveyed, for detecting the communications status of the Driver Entry of network-bus;Determining module, for according to testing result, determination is No restart network-bus drive module, wherein, above-mentioned network-bus drive module be used for drive above-mentioned network-bus communicate.
Further, above-mentioned determining module includes:Judging unit, for according to above-mentioned testing result, judging above-mentioned network Whether the above-mentioned Driver Entry of bus there is communication blockage;Restart unit, on, in the case of there is communication blockage, restarting State network-bus drive module.
Further, above-mentioned restart unit and include:Upper electronic unit, for making above-mentioned network-bus drive module again Electricity;Configuration subelement, for, making above-mentioned network-bus drive module reconfigure for above-mentioned network-bus after re-powering Network.
Further, above-mentioned first detection module is additionally operable to:In the case of judging communication blockage do not occur, continue weight The communications status of the Driver Entry for surveying network-bus are rechecked, to determine whether to restart above-mentioned network-bus drive module.
Further, said apparatus also include:Second detection module, for the logical of the Driver Entry in detection network-bus Before letter state, whether measurement processor is already powered on and whether detection operating system has been started up, wherein, above-mentioned first inspection Survey module and be additionally operable to detecting that above-mentioned processor is already powered on and when aforesaid operations system has been started up, perform detection network is total The step of communications status of the Driver Entry of line.
In embodiments of the present invention, using the communications status of detection network-bus, determine whether to drive again network The mode of bus, the communications status of the Driver Entry by detecting network-bus;According to testing result, it is determined whether restart network Bus driver block, wherein, above-mentioned network-bus drive module is used for driving above-mentioned network-bus to communicate, due to can be automatically real When detection network-bus Driver Entry, reached detection network-bus communications status purpose, it is achieved thereby that improve embedding Enter the technique effect of the stability of formula product, and then solve the technology of the stability difference of embedded product in correlation technique to ask Topic.
Description of the drawings
Accompanying drawing described herein is used for providing a further understanding of the present invention, constitutes the part of the application, this Bright schematic description and description does not constitute inappropriate limitation of the present invention for explaining the present invention.In the accompanying drawings:
Fig. 1 is a kind of flow chart of the driving method of network-bus according to embodiments of the present invention;
Fig. 2 is the flow chart of the driving method of the optional network-bus of another kind according to embodiments of the present invention;
Fig. 3 is the schematic diagram of the driving means of the optional network-bus of another kind according to embodiments of the present invention.
Specific embodiment
In order that those skilled in the art more fully understand the present invention program, below in conjunction with the embodiment of the present invention Accompanying drawing, is clearly and completely described to the technical scheme in the embodiment of the present invention, it is clear that described embodiment is only The embodiment of a present invention part, rather than whole embodiments.Based on the embodiment in the present invention, ordinary skill people The every other embodiment obtained under the premise of creative work is not made by member, should all belong to the model of present invention protection Enclose.
It should be noted that description and claims of this specification and the term " first " in above-mentioned accompanying drawing, " Two " be etc. for distinguishing similar object, without for describing specific order or precedence.It should be appreciated that so using Data can exchange in the appropriate case, so as to embodiments of the invention described herein can with except here diagram or Order beyond those of description is implemented.Additionally, term " comprising " and " having " and their any deformation, it is intended that cover Lid is non-exclusive to be included, and for example, the process, method, system, product or the equipment that contain series of steps or unit are not necessarily limited to Those steps that clearly lists or unit, but may include clearly not list or for these processes, method, product Or intrinsic other steps of equipment or unit.
Embodiment 1
According to embodiments of the present invention, there is provided a kind of driving method embodiment of network-bus, it should be noted that The step of flow process of accompanying drawing is illustrated can be executed in the such as computer system of one group of computer executable instructions, also, Although show logical order in flow charts, in some cases, can be to be different from shown in order execution herein The step of going out or describe.
Fig. 1 is a kind of flow chart of the driving method of network-bus according to embodiments of the present invention, as shown in figure 1, the party Method comprises the steps:
Step S102, detects the communications status of the Driver Entry of network-bus;
Step S104, according to testing result, it is determined whether restart network-bus drive module, and wherein, network-bus drive Module is used for driving network-bus to communicate.
When carrying out network service due to arm processor collocation WINCE operating system, occurring that network card is disconnected once in a while can not The phenomenon for reconnecting, and this phenomenon has had a strong impact on the stability of embedded product, the present invention can detect the drive of network-bus The communications status of dynamic entrance, and can restart network-bus and communicated according to the communications status of detection, reach With self-checking function.
By above-mentioned steps, using the communications status of detection network-bus, determine whether to drive again network-bus Mode, by detect network-bus Driver Entry communications status;According to testing result, it is determined whether restart network-bus Drive module, wherein, network-bus drive module is used for driving network-bus to communicate, due to detecting automatically network in real time The Driver Entry of bus, has reached the purpose of detection network-bus communications status, it is achieved thereby that improving the steady of embedded product Qualitatively technique effect, and then solve the technical problem of the stability difference of embedded product in correlation technique.
Under normal circumstances, the communications status of network-bus possibly smoothly communicate, when there is abnormal situation, may Blocking is arisen that, therefore, according to testing result, it is determined whether restarting network-bus drive module includes:According to detection knot Really, judge whether the Driver Entry of network-bus communication blockage occurs;If occurring, network-bus drive module is restarted.
In order to reach the effect for quickly having no effect on communication, alternatively, restarting network-bus drive module includes:Make network Bus driver block is re-powered;After re-powering, network-bus drive module is made to reconfigure network for network-bus. As, sometimes after network-bus drive module is re-powered, network possibly cannot connect, and therefore, it can total by network Line drive module reconfigures network for network-bus, to reach the effect of communication.
Alternatively, said method also includes:If not occurring, continue the communication of the Driver Entry of duplicate detection network-bus State, to determine whether to restart network-bus drive module.That is, when leading to does not occur in the Driver Entry for detecting network-bus When letter blocking, in certain a period of time possible, communication is normal, but is detected in real time to reach for a long time, can continue The communications status of the Driver Entry of duplicate detection network-bus, to determine whether to restart network-bus drive module.
Alternatively, before the communications status of the Driver Entry of detection network-bus, method also includes:Measurement processor is Whether no already powered on and detection operating system has been started up, wherein, if detecting the already powered on and operating system of processor Have been started up, then the step of the communications status of the Driver Entry of perform detection network-bus.It should be noted that with tradition always The network interface mode of energising is different, the energising of the network-bus drive module of the present invention whether by processor control, therefore processor Can controlling network bus driver block restart.
Specifically, by taking Fig. 2 as an example, Fig. 2 is the driving side of the optional network-bus of another kind according to embodiments of the present invention The flow chart of method, first measurement processor whether already powered on and detection operating system whether have been started up, when detection everywhere Reason device is already powered on and when operating system has been started up, the communications status of the Driver Entry for needing to detect network-bus, when When communications status are judged for communication blockage, can restart network-bus drive module (i.e. network chip), drive network total again Line is communicated, and when detecting that the communications status of Driver Entry of network-bus are normal, then continues duplicate detection network-bus The communications status of Driver Entry, to determine whether to restart network-bus drive module.The network-bus driving method adds communication Detection module, when the unexpected blocking of communication, system can be processed in time, make network chip re-power and reset network, very big journey The stability of network-bus is enhanced degree.
Embodiment 2
Another aspect according to embodiments of the present invention, additionally provides a kind of driving means of network-bus, Fig. 3 be according to this The schematic diagram of the driving means of another kind of optional network-bus of inventive embodiments, as shown in figure 3, the device includes:First Detection module 20, for detecting the communications status of the Driver Entry of network-bus;Determining module 40, for according to testing result, Determine whether to restart network-bus drive module, wherein, network-bus drive module is used for driving network-bus to communicate.
By above-mentioned embodiment, as the Driver Entry of network-bus can be detected automatically in real time, detection has been reached The purpose of network-bus communications status, it is achieved thereby that improving the technique effect of the stability of embedded product, and then solves The technical problem of the stability difference of embedded product in correlation technique.
Optionally it is determined that module includes:Judging unit, for according to testing result, judging the Driver Entry of network-bus Whether communication blockage is occurred;Restart unit, in the case of there is communication blockage, restarting network-bus drive module.
Alternatively, restarting unit includes:Upper electronic unit, for making network-bus drive module re-power;Configuration Unit, for, making network-bus drive module reconfigure network for network-bus after re-powering.
Alternatively, first detection module is additionally operable to:In the case of judging communication blockage do not occur, continue duplicate detection The communications status of the Driver Entry of network-bus, to determine whether to restart network-bus drive module.
Alternatively, said apparatus also include:Second detection module, for the communication of the Driver Entry in detection network-bus Before state, whether measurement processor is already powered on and whether detection operating system has been started up, wherein, first detection module It is additionally operable to detect processor already powered on and when operating system has been started up, the Driver Entry of perform detection network-bus The step of communications status.
It should be noted that each embodiment party in method part in each embodiment of device part and embodiment 1 in embodiment 2 Formula is same or similar, will not be described here.
The embodiments of the present invention are for illustration only, do not represent the quality of embodiment.
In the above embodiment of the present invention, the description to each embodiment all emphasizes particularly on different fields, and does not have in certain embodiment The part of detailed description, may refer to the associated description of other embodiment.
In several embodiments provided herein, it should be understood that disclosed technology contents, can pass through other Mode is realized.Wherein, device embodiment described above is only the schematically division of for example described unit, Ke Yiwei A kind of division of logic function, can have when actually realizing other dividing mode, for example multiple units or component can in conjunction with or Person is desirably integrated into another system, or some features can be ignored, or does not execute.Another, shown or discussed is mutual Between coupling direct-coupling or communication connection can be the INDIRECT COUPLING or communication link of unit or module by some interfaces Connect, can be electrical or other forms.
The unit that illustrates as separating component can be or may not be physically separate, aobvious as unit The part for showing can be or may not be physical location, you can be located at a place, or can also be distributed to multiple On unit.Some or all of unit therein can be selected according to the actual needs to realize the purpose of this embodiment scheme.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, it is also possible to It is that unit is individually physically present, it is also possible to which two or more units are integrated in a unit.Above-mentioned integrated list Unit both can be realized in the form of hardware, it would however also be possible to employ the form of SFU software functional unit is realized.
If the integrated unit is realized and as independent production marketing or use using in the form of SFU software functional unit When, can be stored in a computer read/write memory medium.Based on such understanding, technical scheme is substantially The part in other words prior art being contributed or all or part of the technical scheme can be in the form of software products Embody, the computer software product is stored in a storage medium, use so that a computer including some instructions Equipment (can be personal computer, server or network equipment etc.) execute each embodiment methods described of the present invention whole or Part steps.And aforesaid storage medium includes:USB flash disk, read-only storage (ROM, Read-Only Memory), arbitrary access are deposited Reservoir (RAM, Random Access Memory), portable hard drive, magnetic disc or CD etc. are various can be with store program codes Medium.
The above is only the preferred embodiment of the present invention, it is noted that for the ordinary skill people of the art For member, under the premise without departing from the principles of the invention, some improvements and modifications can also be made, these improvements and modifications also should It is considered as protection scope of the present invention.

Claims (10)

1. a kind of driving method of network-bus, it is characterised in that include:
The communications status of the Driver Entry of detection network-bus;
According to testing result, it is determined whether restart network-bus drive module, wherein, the network-bus drive module is used for driving The dynamic network-bus communication.
2. method according to claim 1, it is characterised in that according to testing result, it is determined whether restart network-bus drive Dynamic model block includes:
According to the testing result, judge whether the Driver Entry of the network-bus communication blockage occurs;
If occurring, the network-bus drive module is restarted.
3. method according to claim 1 and 2, it is characterised in that restarting the network-bus drive module includes:
The network-bus drive module is made to re-power;
After re-powering, the network-bus drive module is made to reconfigure network for the network-bus.
4. method according to claim 2, it is characterised in that methods described also includes:
If not occurring, continue the communications status of the Driver Entry of duplicate detection network-bus, to determine whether to restart the net Network bus driver block.
5. method according to claim 1, it is characterised in that detection network-bus Driver Entry communications status it Before, methods described also includes:
Whether measurement processor is already powered on and whether detection operating system has been started up,
Wherein, have been started up if detecting the already powered on and described operating system of the processor, perform detection network-bus Driver Entry communications status the step of.
6. a kind of driving means of network-bus, it is characterised in that include:
First detection module, for detecting the communications status of the Driver Entry of network-bus;
Determining module, for according to testing result, it is determined whether restart network-bus drive module, wherein, the network-bus Drive module is used for driving the network-bus to communicate.
7. device according to claim 6, it is characterised in that the determining module includes:
Judging unit, for according to the testing result, judging whether the Driver Entry of the network-bus communication occurs Blocking;
Restart unit, in the case of there is communication blockage, restarting the network-bus drive module.
8. the device according to claim 6 or 7, it is characterised in that described restart unit and include:
Upper electronic unit, for making the network-bus drive module re-power;
Configuration subelement, for, making the network-bus drive module join for the network-bus again after re-powering Put network.
9. device according to claim 7, it is characterised in that the first detection module is additionally operable to:Judging In the case of existing communication blockage, continue the communications status of the Driver Entry of duplicate detection network-bus, to determine whether to restart institute State network-bus drive module.
10. device according to claim 6, it is characterised in that described device also includes:
Second detection module, for, before the communications status of the Driver Entry of detection network-bus, whether measurement processor It is via power up and detects whether operating system has been started up,
Wherein, the first detection module is additionally operable to open detecting the already powered on and described operating system of the processor When dynamic, the step of the communications status of the Driver Entry of perform detection network-bus.
CN201610861401.5A 2016-09-27 2016-09-27 The driving method of network-bus and device Pending CN106484554A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610861401.5A CN106484554A (en) 2016-09-27 2016-09-27 The driving method of network-bus and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610861401.5A CN106484554A (en) 2016-09-27 2016-09-27 The driving method of network-bus and device

Publications (1)

Publication Number Publication Date
CN106484554A true CN106484554A (en) 2017-03-08

Family

ID=58268940

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610861401.5A Pending CN106484554A (en) 2016-09-27 2016-09-27 The driving method of network-bus and device

Country Status (1)

Country Link
CN (1) CN106484554A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1801746A (en) * 2004-12-31 2006-07-12 技嘉科技股份有限公司 Dynamic monitoring and operating method for entity network layer state
CN101430669A (en) * 2008-11-20 2009-05-13 深圳华为通信技术有限公司 Exception recovery method and device for apparatus with network interface card and memory device
CN101458556A (en) * 2007-12-14 2009-06-17 联想(北京)有限公司 Dynamic control method and device for network card power consumption and connection mode
CN102929737A (en) * 2012-10-24 2013-02-13 广州杰赛科技股份有限公司 Method and system for automatically restarting wireless network card
US20140233583A1 (en) * 2013-02-21 2014-08-21 Eliezer Tamir Packet processing with reduced latency

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1801746A (en) * 2004-12-31 2006-07-12 技嘉科技股份有限公司 Dynamic monitoring and operating method for entity network layer state
CN101458556A (en) * 2007-12-14 2009-06-17 联想(北京)有限公司 Dynamic control method and device for network card power consumption and connection mode
CN101430669A (en) * 2008-11-20 2009-05-13 深圳华为通信技术有限公司 Exception recovery method and device for apparatus with network interface card and memory device
CN102929737A (en) * 2012-10-24 2013-02-13 广州杰赛科技股份有限公司 Method and system for automatically restarting wireless network card
US20140233583A1 (en) * 2013-02-21 2014-08-21 Eliezer Tamir Packet processing with reduced latency

Similar Documents

Publication Publication Date Title
CN102385541B (en) The automatic recovery of controlled data center services
CN104301184B (en) The health examination method and device of link
CN103620606B (en) Store detection means, system and storage detection method
CN109508381B (en) Knowledge graph processing method and device
CN106302025A (en) The automated testing method of communication protocol and device
CN101430669A (en) Exception recovery method and device for apparatus with network interface card and memory device
CN109023835B (en) A kind of control method for washing machine, device, storage medium and washing machine
CN107329803A (en) Virtual machine management method and device
CN104202199A (en) Method and system for detecting interface status and processing interface fault according to interface status
CN104010077A (en) Information processing method and electronic equipment
CN106293805A (en) The method and device that program loads
CN105993037A (en) Business processing method and system of self-service device
CN103929339B (en) A kind of web data acquisition method and system
CN109067645B (en) Network element equipment connected with NFV virtual security gateway
CN106484554A (en) The driving method of network-bus and device
CN111723370A (en) Method and equipment for detecting malicious behavior of container
CN107018039A (en) The method and apparatus of test server clustering performance bottleneck
CN106440553B (en) The method and device of boss's machine is arranged in multi-gang air-conditioner automatically
CN109557453A (en) A kind of more main control chip identifying processing method and system
CN107391185A (en) The method and apparatus for detecting installation kit
CN108255868A (en) Check the method and apparatus linked in website
CN110493058B (en) Method and device for constructing network topology structure, storage medium and terminal
CN106655339A (en) Mobile terminal charging management method and apparatus, and mobile terminal
CN106338128A (en) Communication method and device of air conditioner
CN113330716A (en) Method and device for determining dependency relationship of application service and processor

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20170308