CN101308476A - Peripheral apparatus operation method, peripheral apparatus and host - Google Patents

Peripheral apparatus operation method, peripheral apparatus and host Download PDF

Info

Publication number
CN101308476A
CN101308476A CNA2007101530908A CN200710153090A CN101308476A CN 101308476 A CN101308476 A CN 101308476A CN A2007101530908 A CNA2007101530908 A CN A2007101530908A CN 200710153090 A CN200710153090 A CN 200710153090A CN 101308476 A CN101308476 A CN 101308476A
Authority
CN
China
Prior art keywords
peripherals
firmware
main frame
described peripherals
unit
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
CNA2007101530908A
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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CNA2007101530908A priority Critical patent/CN101308476A/en
Publication of CN101308476A publication Critical patent/CN101308476A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

The invention relates to electronic equipment and discloses a peripheral equipment operation method, a peripheral equipment and a host computer to make the peripheral equipment significantly reduce the requirements to the non-volatile memory capacity. In the invention, the peripheral equipment is connected with the host computer; the host computer directly loads the firmware of the peripheral equipment; the peripheral equipment operates the firmware. The firmware of the peripheral equipment is pre-stored in the host computer. Before a connection is established, the hardware of the peripheral equipment is firstly initialized, and then the communication interface between the peripheral equipment and the host computer is initialized.

Description

Peripheral apparatus operation method, peripherals and main frame
Technical field
The present invention relates to electronic equipment, particularly the running technology of peripherals.
Background technology
Along with popularizing and various electronic technology flourish of personal computer, various consumer electronics products emerge in an endless stream, and these electronic products can interconnect with personal computer usually, and provide specific function for the user.With respect to the personal computer system, these electronic products can be called peripherals usually, as digital camera, Digital Video, wireless Internet card, radio modem, printer or the like.
Above-mentioned peripherals can be divided into two classes according to the characteristics of its use: independent used peripherals and the peripherals that is used.So-called independent used peripherals is meant, can not rely on being connected of personal computer the peripherals that independently uses and specific function is provided, as digital camera etc.The peripherals that what is called is used is meant, must rely on the peripherals that specific function just can be provided that is connected with personal computer, as wire line MODEM, and wireless Internet card, radio modem etc.
For computing machine, its operation of peripheral devices efficient and reliability thereof height has a significant impact the work of whole computer system, therefore, the technology of computer peripheral and products thereof performance is also had higher requirement.
No matter be independent used peripherals or the peripherals that is used, the storage of the firmware of peripherals is identical with operational process substantially at present, as shown in Figure 1.
The firmware of peripherals normally is stored in the nonvolatile memory of peripherals, as ROM (read-only memory) (Read Only Memory, be called for short " ROM ") in, when peripherals powers on, this firmware is loaded into random access memory (Random Access Memory again from ROM, be called for short " RAM ") in, and then normally carry out in RAM by the central processing unit (Central Processing Unit is called for short " CPU ") of peripherals.
Yet, along with the function of peripherals is day by day powerful, peripheral system becomes increasingly complex, and the capacity that therefore objectively requires to be used in the peripherals nonvolatile memory of storing firmware such as ROM is increasing, and then to cause the manufacturing cost of peripherals will be more and more high.
On the other hand, owing in the production debug process of peripherals, need continually firmware downloads with peripherals in the nonvolatile memory such as ROM of peripherals, CPU by peripherals carries out in RAM again, therefore, can the production debugging of peripherals be brought inconvenience.
Summary of the invention
The technical problem underlying that embodiment of the present invention will solve provides a kind of peripheral apparatus operation method, peripherals and main frame, makes peripherals reduce the requirement of nonvolatile memory capacity.
For solving the problems of the technologies described above, embodiments of the present invention provide a kind of peripheral apparatus operation method, comprise following steps:
Peripherals and main frame connect, and directly load the firmware of this peripherals, this firmware of this peripheral apparatus operation from this main frame.
Embodiments of the present invention also provide a kind of peripherals, comprise:
Linkage unit is used for connecting with main frame, receives the firmware of this peripherals that this main frame sends, and the firmware of this peripherals is transmitted to loading unit;
Loading unit is used to receive the firmware of this peripherals that this linkage unit sends, and loads the firmware of this peripherals;
Move the unit, be used to move the firmware of this peripherals;
Linkage unit set up with being connected of main frame after, indicate loading unit to receive the firmware of this peripherals; This loading unit receives and loads the firmware of this peripherals; After the firmware loads of this peripherals is finished at this loading unit in the operation unit, move the firmware of this peripherals.
Embodiments of the present invention also provide a kind of main frame, comprise:
Linkage unit is used for connecting with peripherals, receives the firmware of this peripherals that loading unit sends, and the firmware of this peripherals is transmitted to this peripherals;
Loading unit, be used for this linkage unit set up with being connected of this peripherals after, obtain the firmware of this peripherals, the firmware of this peripherals is sent to this linkage unit.
Embodiment of the present invention compared with prior art, the key distinction and effect thereof are:
Peripherals and main frame connect, and directly load the firmware of this peripherals, this firmware of this peripheral apparatus operation from this main frame.Because the firmware of this peripherals need not to be stored in the nonvolatile memory of this peripherals, make this peripherals reduce to the requirement of nonvolatile memory capacity, promote the competitiveness of product in market thereby save cost.And, in this peripherals production debug process, need not be continually with the firmware downloads of this peripherals in the nonvolatile memory of this peripherals, a firmware that only needs directly to load this peripherals from main frame gets final product, and has improved peripherals production debugging efficiency.
Description of drawings
Fig. 1 is the firmware storage and operation synoptic diagram of peripherals in the prior art;
Fig. 2 is the peripheral apparatus operation method process flow diagram according to first embodiment of the invention;
Fig. 3 is the peripherals structural representation according to second embodiment of the invention;
Fig. 4 is the main machine structure synoptic diagram according to third embodiment of the invention.
Embodiment
For making the purpose, technical solutions and advantages of the present invention clearer, embodiments of the present invention are described in further detail below in conjunction with accompanying drawing.
First embodiment of the present invention relates to a kind of peripheral apparatus operation method, in the present embodiment, only store the initialization directive of hardware, the initialization directive of communication interface in the nonvolatile memory of peripherals, other firmwares of this peripherals are stored in the memory cell (as hard disk) of main frame.Peripherals in the present embodiment connects the peripherals that main frame provides specific function jointly for needs, as wireless data card, and radio modem, wireless communication module or the like.
Be that personal computer is that example is specifically described below with the main frame, its flow process as shown in Figure 2.
In step 210, finish the initialization of peripherals hardware.Specifically, after peripherals UNICOM personal computer powers on,, finish the state self check and the system configuration process of peripherals hardware system with the hardware system initialization directive of automatic load store in this peripherals ROM.This process is the necessary process of peripherals, and because the difference of peripherals, the initialization procedure of its hardware system also has nothing in common with each other.
Then, enter step 220, finish the initialization of communication interface between peripherals and the personal computer.Specifically, finish the initialization procedure of above-mentioned hardware when peripherals after, automatically the communication interface initialization directive of load store in this peripherals ROM, personal computer also needs the communication interface initialization directive of load store in this personal computer, cooperate the layoutprocedure of finishing communication port between peripherals and the personal computer, realize the communication function between peripherals and the personal computer.
Then, enter step 230, directly load the firmware of this peripherals from this personal computer, the loading procedure of this firmware can be initiated by this personal computer, also can be initiated by this peripherals.
Specifically, the firmware of this peripherals is generated with specific form by this peripherals production firm, may channels offer user's (as in CD, giving the user) by various with the firmware imprinting of this peripherals, the user with the firmware stores of this peripherals in the memory cell of personal computer.Because the memory cell capacity of personal computer is huge, use cost is very cheap, is fit to very much the firmware of the huge relatively peripherals of memory capacity.
After peripherals links to each other with personal computer and finishes the initialization procedure of the initialization of above-mentioned hardware and communication interface, initiate the firmware loads process of this peripherals by this peripherals or this personal computer.Such as, this personal computer judges whether the firmware of this peripherals and this peripherals type mate, if coupling, then carry out the firmware loads process of this peripherals, the firmware that is about to this peripherals sends to this peripherals by the communication interface between this personal computer and this peripherals; If this personal computer is judged the firmware of this peripherals and this peripherals type and is not matched, then stops the firmware loads process of this peripherals.
No matter be the firmware loads process that this peripherals is initiated, or the firmware loads process that this personal computer is initiated, the firmware of this peripherals will directly be loaded into the RAM of this peripherals from this personal computer, and firmware is similar from the process that ROM is loaded into RAM when starting with current peripherals.
Then, enter step 240, this firmware of this peripheral apparatus operation is promptly carried out the firmware instructions that is stored in this peripherals among this RAM by the CPU (central processing unit) of this peripherals.Specifically, the firmware of this peripherals is after this personal computer directly is loaded into the RAM of this peripherals, the program pointer of this peripherals points to the ad-hoc location among the RAM, and the firmware of this peripherals begins normally operation in RAM, realizes the specific function of peripherals.
Because in the present embodiment, the firmware of this peripherals need not to be stored in the nonvolatile memory of this peripherals, makes peripherals reduce significantly the requirement of nonvolatile memory capacity, promotes the competitiveness of product in market thereby save cost.And, in peripherals production debug process, need not continually the firmware downloads of peripherals be arrived the nonvolatile memory of this peripherals, only need directly load from main frame and get final product, and have improved peripherals and have produced debugging efficiency.And because the firmware of peripherals is stored in the main frame, and the renewal of firmware is easier than the renewal of firmware in the peripherals in the main frame, therefore can carry out the upgrading of peripherals easily.
Need to prove that though be that example describes with the personal computer in the present embodiment, main frame is not limited to personal computer, also can be personal digital assistant (Personal Digital Assistant is called for short " PDA "), server etc.
Second embodiment of the present invention relates to a kind of peripherals, as shown in Figure 3, comprise: linkage unit is used for connecting with main frame (as personal computer), receive the firmware of this peripherals that this main frame sends, the firmware of this peripherals is transmitted to loading unit; Loading unit is used to receive the firmware of this peripherals that this linkage unit sends, and loads the firmware of this peripherals, and the firmware that is about to this peripherals of receiving writes direct among the RAM of this peripherals; Move the unit, be used to move the firmware of this peripherals, promptly carry out the firmware instructions of this peripherals among the RAM that is stored in this peripherals by the CPU (central processing unit) of this peripherals.This linkage unit set up with being connected of main frame after, indicate this loading unit to receive the firmware of this peripherals; This loading unit receives and loads the firmware of this peripherals; After the firmware loads of this peripherals is finished at this loading unit in this operation unit, move the firmware of this peripherals.
Wherein, linkage unit connects with this main frame by comprising following subelement: the hardware initialization subelement is used to finish the initialization of this peripherals hardware; Communication interface initialization subelement is used to finish the initialization of communication interface between this peripherals and this main frame.Peripherals in the present embodiment can be wireless data card, radio modem, or the peripherals that is used of wireless communication module etc. and personal computer.
Because the firmware of peripherals is to be stored in the memory cell of personal computer, but not in the nonvolatile memory of this peripherals, make this peripherals reduce significantly, promote the competitiveness of product in market thereby save cost to the requirement of nonvolatile memory capacity.And, in this peripherals production debug process, need not be continually with the firmware downloads of this peripherals in the nonvolatile memory of this peripherals, only need directly load and get final product from main frame, improved peripherals production debugging efficiency.
The 3rd embodiment of the present invention relates to a kind of main frame, as shown in Figure 4, comprises: memory cell is used to store the firmware of peripherals; Linkage unit is used for connecting with this peripherals, receives the firmware of this peripherals that loading unit sends, and the firmware of this peripherals is transmitted to this peripherals; Loading unit, be used for this linkage unit set up with being connected of this peripherals after, obtain the firmware of this peripherals from this memory cell, and the firmware of this peripherals that will obtain sends to this linkage unit, the firmware of this peripherals is transmitted to this peripherals by this linkage unit.Make peripherals reduce significantly, promote the competitiveness of product in market thereby save cost to the requirement of nonvolatile memory (as ROM) capacity.
In actual applications, the main frame in the present embodiment can be a personal computer.
Need to prove, the various unit of mentioning in second, third embodiment of the present invention all are logical blocks, when physics realization, can realize also can realizing at same physical module at different physical modules, it can be a processor, it also can be a logical circuit (comprising programmable logic circuit), can also be one section instruction set that operates on the processor, as long as can realize function corresponding.For example, in second embodiment, operation unit and loading unit can be same processors, digital signal processor (Digital Signal Processor is called for short " DSP ") for example, and linkage unit then is a Programmable Logic Device.
In sum, in embodiments of the present invention, peripherals and main frame connect, and directly load the firmware of this peripherals, this firmware of this peripheral apparatus operation from this main frame.Because the firmware of this peripherals need not to be stored in the nonvolatile memory of this peripherals, makes peripherals reduce significantly the requirement of nonvolatile memory capacity, promote the competitiveness of product in market thereby save cost.And, in peripherals production debug process, need not continually the firmware downloads of peripherals be arrived the nonvolatile memory of this peripherals, only need directly load from main frame and get final product, and have improved peripherals and have produced debugging efficiency.
Because the firmware of peripherals is stored in the main frame, and the renewal of firmware is easier than the renewal of firmware in the peripherals in the main frame, therefore can carry out the upgrading of peripherals easily.
Though pass through with reference to some of the preferred embodiment of the invention, the present invention is illustrated and describes, but those of ordinary skill in the art should be understood that and can do various changes to it in the form and details, and without departing from the spirit and scope of the present invention.

Claims (14)

1. a peripheral apparatus operation method is characterized in that, comprises following steps:
Peripherals and main frame connect, and directly load the firmware of described peripherals, the described firmware of described peripheral apparatus operation from described main frame.
2. peripheral apparatus operation method according to claim 1 is characterized in that, before the step that described peripherals and main frame connect, also comprises following steps:
The firmware that in described main frame, stores described peripherals in advance.
3. peripheral apparatus operation method according to claim 2 is characterized in that, the step of the described firmware that directly loads described peripherals from described main frame, comprises following substep:
From described main frame, obtain the firmware of the described peripherals of storage in advance;
The firmware of the described peripherals that obtains is write direct in the random access memory of described peripherals.
4. peripheral apparatus operation method according to claim 3 is characterized in that, in the step of the described firmware of described peripheral apparatus operation, comprises following substep:
Carry out the firmware instructions of the described peripherals in the random access memory that is stored in described peripherals by the CPU (central processing unit) of described peripherals.
5. according to each described peripheral apparatus operation method in the claim 1 to 4, it is characterized in that, in the step that described peripherals and main frame connect, also comprise following substep:
Finish the initialization of described peripherals hardware, finish the initialization of communication interface between described peripherals and the described main frame.
6. peripheral apparatus operation method according to claim 5 is characterized in that, the initialization directive of described hardware is stored in the described peripherals;
The initialization directive of described communication interface is stored in respectively in described peripherals and the described main frame.
7. a peripherals is characterized in that, comprises:
Linkage unit is used for connecting with main frame, receives the firmware of the described peripherals that described main frame sends, and the firmware of described peripherals is transmitted to loading unit;
Loading unit is used to receive the firmware of the described peripherals that described linkage unit sends, and loads the firmware of described peripherals;
Move the unit, be used to move the firmware of described peripherals;
Described linkage unit set up with being connected of described main frame after, indicate described loading unit to receive the firmware of described peripherals; Described loading unit receives and loads the firmware of described peripherals; After the firmware loads of described peripherals is finished at described loading unit in described operation unit, move the firmware of described peripherals.
8. peripherals according to claim 7 is characterized in that, the mode of firmware that described loading unit loads described peripherals is as follows:
The firmware of the described peripherals that will receive from described linkage unit writes direct the random access memory of described peripherals.
9. peripherals according to claim 8 is characterized in that, the mode of firmware that described operation unit moves described peripherals is as follows:
Carry out the firmware instructions of the described peripherals in the random access memory that is stored in described peripherals by the CPU (central processing unit) of described peripherals.
10. according to each described peripherals in the claim 7 to 9, it is characterized in that described linkage unit connects with described main frame by comprising following subelement:
The hardware initialization subelement is used to finish the initialization of described peripherals hardware;
Communication interface initialization subelement is used to finish the initialization of communication interface between described peripherals and the described main frame.
11., it is characterized in that described peripherals is according to each described peripherals in the claim 7 to 9:
Wireless data card, radio modem, or wireless communication module.
12. a main frame is characterized in that, comprises:
Linkage unit is used for connecting with peripherals, receives the firmware of the described peripherals that loading unit sends, and the firmware of described peripherals is transmitted to described peripherals;
Loading unit, be used for described linkage unit set up with being connected of described peripherals after, obtain the firmware of described peripherals, the firmware of described peripherals is sent to described linkage unit.
13. main frame according to claim 12 is characterized in that, also comprises:
Memory cell is used to store the firmware of described peripherals;
Described loading unit obtains the firmware of described peripherals from described memory cell.
14., it is characterized in that described main frame is a personal computer according to claim 12 or 13 described main frames.
CNA2007101530908A 2007-05-15 2007-05-15 Peripheral apparatus operation method, peripheral apparatus and host Pending CN101308476A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNA2007101530908A CN101308476A (en) 2007-05-15 2007-05-15 Peripheral apparatus operation method, peripheral apparatus and host

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNA2007101530908A CN101308476A (en) 2007-05-15 2007-05-15 Peripheral apparatus operation method, peripheral apparatus and host

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
CN2007101062560A Division CN101051279B (en) 2007-05-15 2007-05-15 Peripheral equipment operation method, peripheral equipment and host

Publications (1)

Publication Number Publication Date
CN101308476A true CN101308476A (en) 2008-11-19

Family

ID=40124940

Family Applications (1)

Application Number Title Priority Date Filing Date
CNA2007101530908A Pending CN101308476A (en) 2007-05-15 2007-05-15 Peripheral apparatus operation method, peripheral apparatus and host

Country Status (1)

Country Link
CN (1) CN101308476A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104102597A (en) * 2013-04-03 2014-10-15 宝德科技股份有限公司 Peripheral equipment and synchronization method thereof
WO2017088603A1 (en) * 2015-11-24 2017-06-01 努比亚技术有限公司 Photographing method of mobile terminal and mobile terminal

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104102597A (en) * 2013-04-03 2014-10-15 宝德科技股份有限公司 Peripheral equipment and synchronization method thereof
CN104102597B (en) * 2013-04-03 2018-01-05 宝德科技股份有限公司 The synchronous method of ancillary equipment
WO2017088603A1 (en) * 2015-11-24 2017-06-01 努比亚技术有限公司 Photographing method of mobile terminal and mobile terminal

Similar Documents

Publication Publication Date Title
CN101051279B (en) Peripheral equipment operation method, peripheral equipment and host
CN103975304B (en) Method and portable computing device for PCIE device to be showed to operating system
US9606920B2 (en) Multi-CPU system and computing system having the same
CN101464807B (en) Application program loading method and device
US8830889B2 (en) Systems for remotely waking up application processor of mobile device
EP2402863B1 (en) Wireless internet access device, SD control chip, and method for data communication
US20120213134A1 (en) Remote wakeup of application processor of mobile device
US20160077905A1 (en) Low Power Debug Architecture For System-On-Chips (SoCs) And Systems
KR101465923B1 (en) System and method for facilitating wireless communication during a pre-boot phase of a computing device
US8199157B2 (en) System on chip including an image processing memory with multiple access
US20110151930A1 (en) Apparatus and method for supporting sim card in mobile communication terminal having multiple modems
DE112013004026T5 (en) Apparatus, system and method for switched power transmission to an I / O interface
CN103870429A (en) High-speed-signal processing board based on embedded GPU
CN109656844B (en) AT24xx EEPROM driving method and device
CN103345407A (en) Control circuit, connectivity controller, connectivity control method and main board
CN109451098A (en) FPGA accelerator card MAC Address configuration method, device and accelerator card
US9990027B2 (en) Status switching method
US20190004816A1 (en) Systems and methods for heterogeneous system on a chip servers
US20100049877A1 (en) Peripheral equipment operating method, peripheral equipment and host
CN101308476A (en) Peripheral apparatus operation method, peripheral apparatus and host
CN110532032B (en) Startup file system detection method and related equipment
US9836113B2 (en) Method and apparatus to manage power usage in a processor
CN113177015A (en) Frame header-based serial port communication method and serial port chip
CN102549605B (en) For the electronic circuit of the intelligent card chip that interconnects
CN110741359B (en) System and method for changing slave identification of integrated circuit on shared bus

Legal Events

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

Open date: 20081119