CN103795857B - Information processing method and electronic equipment - Google Patents

Information processing method and electronic equipment Download PDF

Info

Publication number
CN103795857B
CN103795857B CN201410015317.2A CN201410015317A CN103795857B CN 103795857 B CN103795857 B CN 103795857B CN 201410015317 A CN201410015317 A CN 201410015317A CN 103795857 B CN103795857 B CN 103795857B
Authority
CN
China
Prior art keywords
processing unit
usb
information
instruction
interface
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201410015317.2A
Other languages
Chinese (zh)
Other versions
CN103795857A (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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201410015317.2A priority Critical patent/CN103795857B/en
Publication of CN103795857A publication Critical patent/CN103795857A/en
Application granted granted Critical
Publication of CN103795857B publication Critical patent/CN103795857B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a kind of information processing method, be applied to have the first processing unit with in the electronic equipment of at least one the second processing unit, described method includes: described first processing unit obtains the device descriptive information of described second processing unit;Described first processing unit determines that a USB Function drives, and a described USB Function is driven to driving corresponding with the USB interface of described second processing unit in described first driver;Described first processing unit runs a described USB Function and drives, and to enable described first connection, by described second Process element mapping to the first port, described first port is the USB port of described electronic equipment.By the present invention, solve and correlation technique can only rely on UAR/T interface the second processing unit is operated, the problem that complex operation is time-consuming.

Description

Information processing method and electronic equipment
Technical field
The present invention relates to the information processing technology, particularly relate to a kind of information processing method and electronic equipment.
Background technology
Along with the quick upgrading of mobile phone software and hardware, the most a lot of mobile phones use multiprocessor scheme, typical case Pattern be application processor (AP, Application Processor) and baseband processor (BP, Baseband Processer) scheme combined.
For the BP of wireless communication module, except being provided with for asynchronous receiving-transmitting transmitter mutual for AP Outside (UAR/T, Universal Asynchronous Receiver/Transmitter) interface, also can reserve general Universal serial bus (USB, Universal Serial Bus) interface, for edition upgrading, daily record (log) information Output, calibration are combined and are surveyed.
In correlation technique, for how retaining the usb function of BP, easily BP is carried out version Survey problem is combined in this upgrading, the output of log information, calibration, there is no effective solution.
Summary of the invention
In view of this, the embodiment of the present invention provides a kind of information processing method and electronic equipment, to retain BP Usb function, convenient second processing unit is carried out associative operation.
The technical scheme of the embodiment of the present invention is achieved in that
The embodiment of the present invention provides a kind of information processing method, is applied to have the first processing unit and at least In the electronic equipment of individual second processing unit, described first processing unit support runs the first driver, institute Stating and have first between the first processing unit with described second processing unit and be connected, described first connects based on institute State USB interface and the USB interface of described second processing unit of the first processing unit;Described first processes Also having second between unit with described second processing unit to be connected, described second connects based at described first The first interface of reason unit and the second interface of described second processing unit, described first interface and described second The type of interface is identical, and is non-USB interface;
Described method includes:
Described first processing unit receives the first instruction;
Described first described first instruction of processing unit response, connects by described second and processes to described second Unit sends the second instruction, to obtain the first information that described second processing unit sends, the described first information Device descriptive information for described second processing unit;
According to the described first information, described first processing unit determines that a USB function (Function) drives, A described USB Function is driven to the USB in described first driver with described second processing unit The driving that interface is corresponding;
Described first processing unit runs a described USB Function and drives, to enable described first connection, By described second Process element mapping to the first port, described first port is the USB end of described electronic equipment Mouthful.
The embodiment of the present invention also provides for a kind of electronic equipment, and described electronic equipment includes the first processing unit and extremely Few second processing unit;Wherein,
Having first between described first processing unit with described second processing unit to be connected, described first connects USB interface based on described first processing unit and the USB interface of described second processing unit;Described Also having second between one processing unit with described second processing unit to be connected, described second connects based on described The first interface of the first processing unit and the second interface of described second processing unit, described first interface and institute The type stating the second interface is identical, and is non-USB interface;
Described first processing unit, is used for supporting to run the first driver;
Receive the first instruction;
Respond described first instruction, connect by described second and send the second instruction to described second processing unit, To obtain the first information that described second processing unit sends, the described first information is described second processing unit Device descriptive information;
Determine that a USB Function drives according to the described first information, a described USB Function It is driven to driving corresponding with the USB interface of described second processing unit in described first driver;
Run a described USB Function to drive, to enable described first connection, process described second Unit is mapped to the first port, and described first port is the USB port of described electronic equipment.
The technical scheme that the embodiment of the present invention is provided, it is achieved that the usb function of the second processing unit, Electronic equipment is made to be operated as USB device by the second processing unit, it is possible to easily at second Reason unit operates, and solves and can only rely on UAR/T interface in correlation technique and carry out the second processing unit Operation, the problem that complex operation is time-consuming.
Accompanying drawing explanation
Fig. 1 be in the embodiment of the present invention one information processing method realize schematic flow sheet;
Fig. 2 be in the embodiment of the present invention two information processing method realize schematic flow sheet;
Fig. 3 be in the embodiment of the present invention three information processing method realize schematic flow sheet;
Fig. 4 be in the embodiment of the present invention four information processing method realize schematic flow sheet;
Fig. 5 be in the embodiment of the present invention five information processing method realize schematic flow sheet;
Fig. 6 is the structural representation of electronic equipment in the embodiment of the present invention six;
Fig. 7 is the structural representation of electronic equipment in the embodiment of the present invention seven.
Detailed description of the invention
Inventor finds in the practice of the invention, and it is total that the BP in electronic equipment can reserve general serial Line (USB, Universal Serial Bus) interface, combines for edition upgrading, the output of log information, calibration The functions such as survey;Thus, if the usb function of BP can be managed to retain, then can solve above-mentioned BP Edition upgrading, the output of daily record (log) information, calibration combine a series of productions such as survey, test, use process In problem.
With specific embodiment, the present invention is described in further detail below in conjunction with the accompanying drawings.
Embodiment one
The present embodiment records a kind of information processing method, be applied to have the first processing unit and at least one the In the electronic equipment of two processing units;
In actual application, described first processing unit can be the AP of described electronic equipment, and described second processes Unit can be the BP of described electronic equipment;
Described first processing unit support runs the first driver, described first processing unit and described second Having the first connection between processing unit, described first connects USB interface based on described first processing unit USB interface with described second processing unit;
Also having second between described first processing unit with described second processing unit to be connected, described second even Connect first interface based on described first processing unit and the second interface of described second processing unit, described One interface is identical with the type of described second interface, and is non-USB interface;In actual application, described first Interface can be the UAR/T interface of described first processing unit, and described second interface can be at described second The UAR/T interface of reason unit;
The information processing method that the present embodiment is recorded is as it is shown in figure 1, comprise the following steps:
Step 101, described first processing unit receives the first instruction.
Step 102, described first described first instruction of processing unit response, connect to institute by described second State the second processing unit and send the second instruction.
Step 103, described first processing unit receives the first information that described second processing unit sends, institute State the device descriptive information that the first information is described second processing unit.
Described device descriptive information includes: identification of the manufacturer (VID, Vendor IDentity), product identification (PID, Product IDentity).
Step 104, described first processing unit determines a USB function according to the described first information Function drives.
A described USB Function is driven in described first driver and described second processing unit The driving that USB interface is corresponding;A described USB Function drives and defaults in the first driver, from And, it is possible to determine that a corresponding USB Function drives according to the device descriptive information of the second processing unit.
Step 105, described first processing unit runs a described USB Function and drives, to enable State the first connection, by described second Process element mapping to the first port.
Described first port is the USB port of described electronic equipment, thus, it is achieved that the second processing unit Usb function, makes electronic equipment to be operated as USB device by the second processing unit, makes Second processing unit can be operated by user easily, solves and can only rely on UAR/T in correlation technique The problem that second processing unit is operated by interface.
Embodiment two
The present embodiment records a kind of information processing method, be applied to have the first processing unit and at least one the In the electronic equipment of two processing units;
In actual application, described first processing unit can be the AP of described electronic equipment, and described second processes Unit can be the BP of described electronic equipment;
Described first processing unit support runs the first driver, described first processing unit and described second Having the first connection between processing unit, described first connects USB interface based on described first processing unit USB interface with described second processing unit;
Also having second between described first processing unit with described second processing unit to be connected, described second even Connect first interface based on described first processing unit and the second interface of described second processing unit, described One interface is identical with the type of described second interface, and is non-USB interface;In actual application, described first Interface can be the UAR/T interface of described first processing unit, and described second interface can be at described second The UAR/T interface of reason unit;
The information processing method that the present embodiment is recorded is as in figure 2 it is shown, comprise the following steps:
Step 201, described first processing unit receives the first instruction.
Step 202, described first described first instruction of processing unit response, switch into first mode.
Described first mode is the pattern supporting usb host (HOST).
Step 203, connects by described second and sends the 3rd instruction to described second processing unit, so that institute Stating the second processing unit and switch into the second pattern, described second pattern is described second processing unit support The pattern of USB SLAVE.
Step 204, described first processing unit connects to described second processing unit transmission by described second Second instruction.
Described second instruction is for obtaining the device descriptive information of described second processing unit.
Step 205, described first processing unit receives the first information that described second processing unit sends, institute State the device descriptive information that the first information is described second processing unit.
Described device descriptive information includes: VID, PID.
Step 206, according to the described first information, described first processing unit determines that a USB Function drives Dynamic.
A described USB Function is driven in described first driver and described second processing unit The driving that USB interface is corresponding;A described USB Function drives and defaults in the first driver, from And, it is possible to determine that a corresponding USB Function drives according to the device descriptive information of the second processing unit.
Step 207, described first processing unit runs a described USB Function and drives, to enable State the first connection, by described second Process element mapping to the first port.
Described first port is the USB port of described electronic equipment, thus, remain the second processing unit Usb function, makes electronic equipment to be operated as USB device by the second processing unit, makes Second processing unit can be operated by user easily, solves and can only rely on UAR/T in correlation technique The problem that second processing unit is operated by interface.
Further, in the present embodiment, the USB HOST of the first processing unit is just started when receiving the first instruction The USB SLAVE pattern of pattern and the second processing unit, thus, without using the second process list During the usb function of unit, close the USB HOST pattern of the first processing unit and second and process The USB SLAVE pattern of unit, it is possible to substantially save the electricity of described electronic equipment, extends electronic equipment Stand-by time.
Embodiment three
The present embodiment records a kind of information processing method, be applied to have the first processing unit and at least one the In the electronic equipment of two processing units;
In actual application, described first processing unit can be the AP of described electronic equipment, and described second processes Unit can be the BP of described electronic equipment;
Described first processing unit support runs the first driver, described first processing unit and described second Having the first connection between processing unit, described first connects USB interface based on described first processing unit USB interface with described second processing unit;
Also having second between described first processing unit with described second processing unit to be connected, described second even Connect first interface based on described first processing unit and the second interface of described second processing unit, described One interface is identical with the type of described second interface, and is non-USB interface;In actual application, described first Interface can be the UAR/T interface of described first processing unit, and described second interface can be at described second The UAR/T interface of reason unit;
The information processing method that the present embodiment is recorded is as it is shown on figure 3, comprise the following steps:
Step 301, described first processing unit receives the first instruction.
Step 302, described first described first instruction of processing unit response, switch into first mode.
Described first mode is the pattern supporting usb host (HOST).
Step 303, connects by described second and sends the 3rd instruction to described second processing unit, so that institute State the second processing unit and switch into the second pattern.
Described second pattern is the pattern that described second processing unit supports USB SLAVE.
Step 304, described first processing unit connects to described second processing unit transmission by described second Second instruction.
Described second instruction user obtains the device descriptive information of described second processing unit.
Step 305, described first processing unit receives the first information that described second processing unit sends, institute State the device descriptive information that the first information is described second processing unit.
Described device descriptive information includes: VID, PID.
Step 306, according to the described first information, described first processing unit determines that a USB Function drives Dynamic.
A described USB Function is driven in described first driver and described second processing unit The driving that USB interface is corresponding;A described USB Function drives and defaults in the first driver, from And, it is possible to determine that a corresponding USB Function drives according to the device descriptive information of the second processing unit.
Step 307, described first processing unit runs a described USB Function and drives, to enable State the first connection, by described second Process element mapping to the first port.
Described first port is the USB port of described electronic equipment.
Step 308, described first processing unit receives the 4th instruction.
In the present embodiment, described second processing unit support connects output the 3rd information, institute by described first State the operation information that the 3rd information is described second processing unit, the log letter of the most described second processing unit Breath.
Step 309, described first described 4th instruction of processing unit response, connect by described first and obtain Described 3rd information.
After step 309, described first processing unit can by the 3rd acquired information by the first port i.e. USB port exports, and so can obtain described 3rd information from USB port easily.
In the present embodiment, by the second Process element mapping to described first port, described first port is described The USB port of electronic equipment, thus, remain the usb function of the second processing unit, make electronics Second processing unit can be operated by equipment as USB device, makes the user can be easily at second Reason unit operates;Just start when receiving the first instruction the first processing unit USB HOST pattern, And the second USB SLAVE pattern of processing unit, thus, at the USB without using the second processing unit During interface function, by closing the USB HOST pattern of the first processing unit and the second processing unit USB SLAVE pattern, it is possible to substantially save the electricity of described electronic equipment, when extending electronic equipment standby Between;
Meanwhile, the first processing unit support obtains the log information of the second processing unit, facilitates and sets at electronics The standby calibration generating the debugging stage is combined and is surveyed, and substantially increases the treatment effeciency of production test personnel.
Embodiment four
The present embodiment records a kind of information processing method, be applied to have the first processing unit and at least one the In the electronic equipment of two processing units;
In actual application, described first processing unit can be the AP of described electronic equipment, and described second processes Unit can be the BP of described electronic equipment;
Described first processing unit support runs the first driver, described first processing unit and described second Having the first connection between processing unit, described first connects USB interface based on described first processing unit USB interface with described second processing unit;
Also having second between described first processing unit with described second processing unit to be connected, described second even Connect first interface based on described first processing unit and the second interface of described second processing unit, described One interface is identical with the type of described second interface, and is non-USB interface;In actual application, described first Interface can be the UAR/T interface of described first processing unit, and described second interface can be at described second The UAR/T interface of reason unit;
The information processing method that the present embodiment is recorded as shown in Figure 4, comprises the following steps:
Step 401, described first processing unit receives the first instruction.
Step 402, described first described first instruction of processing unit response, switch into first mode.
Described first mode is the pattern supporting USB HOST.
Step 403, connects by described second and sends the 3rd instruction to described second processing unit, so that institute State the second processing unit and switch into the second pattern.
Described second pattern is the pattern that described second processing unit supports USB SLAVE.
Step 404, described first processing unit connects to described second processing unit transmission by described second Second instruction.
Described second instruction is for obtaining the device descriptive information of described second processing unit.
Step 405, described first processing unit receives the first information that described second processing unit sends, institute State the device descriptive information that the first information is described second processing unit.
When described second processing unit receives the second instruction, send corresponding device descriptive information, described in set Standby description information includes: VID, PID.
Step 406, according to the described first information, described first processing unit determines that a USB Function drives Dynamic.
A described USB Function is driven in described first driver and described second processing unit The driving that USB interface is corresponding;A described USB Function drives and defaults in the first driver, from And, it is possible to determine that a corresponding USB Function drives according to the device descriptive information of the second processing unit.
Step 407, described first processing unit runs a described USB Function and drives, to enable State the first connection, by described second Process element mapping to the first port.
Described first port is the USB port of described electronic equipment.
Step 408, described first processing unit receives the 5th instruction.
Step 409, described first described 5th instruction of processing unit response, obtain the 4th information, described the Four information include the file for carrying out edition upgrading for described second processing unit.
In the present embodiment, described second processing unit supports that the first agreement, described first agreement are described second Processing unit carries out the agreement of edition upgrading.
Step 410, described 3rd information is connected transmission to institute by described first by described first processing unit State the second processing unit, so that described second processing unit carries out edition upgrading.
In the present embodiment, by the USB port of the second Process element mapping to electronic equipment, thus, remain The usb function of the second processing unit, makes electronic equipment to be set as USB by the second processing unit For operating, user is made easily the second processing unit to be operated;Receiving the first instruction Time just start USB HOST pattern and the USB SLAVE of the second processing unit of the first processing unit Pattern, thus, when not using the usb function of the second processing unit, single by closing the first process The USB HOST pattern of unit and the USB SLAVE pattern of the second processing unit, it is possible to substantially save The electricity of described electronic equipment, extends the stand-by time of electronic equipment;
Meanwhile, the first processing unit is by between described second processing unit USB interface-based second even Connect to described second processing unit edition upgrading file, facilitate and the second processing unit is carried out edition upgrading Operation.
Embodiment five
The present embodiment records a kind of information processing method, be applied to have the first processing unit and at least one the In the electronic equipment of two processing units;
In actual application, described first processing unit can be the AP of described electronic equipment, and described second processes Unit can be the BP of described electronic equipment;
Described first processing unit support runs the first driver, described first processing unit and described second Having the first connection between processing unit, described first connects USB interface based on described first processing unit USB interface with described second processing unit;
Also having second between described first processing unit with described second processing unit to be connected, described second even Connect first interface based on described first processing unit and the second interface of described second processing unit, described One interface is identical with the type of described second interface, and is non-USB interface;In actual application, described first Interface can be the UAR/T interface of described first processing unit, and described second interface can be at described second The UAR/T interface of reason unit;
The information processing method that the present embodiment is recorded is as it is shown in figure 5, comprise the following steps:
Step 501, described first processing unit receives the first instruction.
Step 502, described first described first instruction of processing unit response, switch into first mode.
Described first mode is the pattern supporting usb host HOST.
Step 503, connects by described second and sends the 3rd instruction to described second processing unit, so that institute State the second processing unit and switch into the second pattern.
Described second pattern is the pattern that described second processing unit supports USB SLAVE.
Step 504, described first described first instruction of processing unit response, connect to institute by described second State the second processing unit and send the second instruction.
Described second instruction is for obtaining the device descriptive information of described second processing unit.
Step 505, described first processing unit receives the first information that described second processing unit sends, institute State the device descriptive information that the first information is described second processing unit.
Described device descriptive information includes: VID, PID.
Step 506, according to the described first information, described first processing unit determines that a USB Function drives Dynamic.
A described USB Function is driven in described first driver and described second processing unit The driving that USB interface is corresponding;A described USB Function drives and defaults in the first driver, from And, it is possible to determine that a corresponding USB Function drives according to the device descriptive information of the second processing unit.
Step 507, described first processing unit runs a described USB Function and drives, to enable State the first connection, by described second Process element mapping to the first port.
Described first port is the USB port of described electronic equipment.
Step 508, described first processing unit receives the 6th instruction by described first port.
Described second Process element mapping is the USB device in described electronic equipment, in described USB device Storage has the first parameter;When the production test personnel of electronic equipment need to change described first parameter, to change During the running status of described second processing unit, can assign more at the graphical interface of user of described electronic equipment Change the 5th instruction of described first parameter.
Step 509, described first processing unit connects to described second processing unit transmission by described first Described 6th instruction, so that described second processing unit is according to the first parameter described in described 6th modification of orders, To change the running status of described second processing unit.
In the present embodiment, by the USB port of the second Process element mapping to described electronic equipment, thus, protect Stay the usb function of the second processing unit, made the electronic equipment can be using the second processing unit as USB Equipment operates, and makes user can operate the second processing unit easily;Receiving the first finger USB HOST pattern and the USB SLAVE of the second processing unit of the first processing unit is just started when making Pattern, thus, when without using the usb function of the second processing unit, process single by first The USB HOST pattern of unit and the USB SLAVE pattern of the second processing unit, it is possible to substantially save The electricity of described electronic equipment, extends the stand-by time of electronic equipment;
Meanwhile, the first processing unit is by between described second processing unit USB interface-based second even Connect the instruction sending change the first parameter to described second processing unit, facilitate described electronic equipment producing tune The parametric calibration in examination stage, it is provided that the work efficiency of test development personnel.
It need to be noted that: the description in following electronic equipment embodiment, describing with said method is class As, describe with the beneficial effect of method, do not repeat.For electronic equipment embodiment of the present invention is not draped over one's shoulders The ins and outs of dew, refer to the description of the inventive method embodiment.
Embodiment six
The present embodiment records a kind of electronic equipment, and described electronic equipment includes the first processing unit 61 and at least Individual second processing unit 62;Wherein,
Have first between described first processing unit 61 with described second processing unit 62 to be connected, described One connects USB interface based on described first processing unit 61 and the USB of described second processing unit 62 Interface;Also have second between described first processing unit 61 with described second processing unit 62 to be connected, institute State the of the second connection first interface based on described first processing unit 61 and described second processing unit 62 Two interfaces, described first interface is identical with the type of described second interface, and is non-USB interface;
Described first processing unit 61, is used for supporting to run the first driver;
Receive the first instruction;
Respond described first instruction, connect by described second and send the second finger to described second processing unit 62 Order, to obtain the first information that described second processing unit 62 sends, the described first information is at described second The device descriptive information of reason unit 62;
Determine that a USB Function drives according to the described first information, a described USB Function It is driven in described first driver the driving corresponding with the USB interface of described second processing unit 62;
Run a described USB Function to drive, to enable described first connection, process described second Unit 62 is mapped to the first port, and described first port is the USB port of described electronic equipment.
In actual application, described first processing unit 61 can be the AP of described electronic equipment, described second Processing unit 62 can be the BP of described electronic equipment;Described first interface can be described first processing unit The UAR/T interface of 61, described second interface can be the UAR/T interface of described second processing unit 62.
Embodiment seven
The present embodiment records a kind of electronic equipment, as it is shown in fig. 7, described electronic equipment includes the first process list Unit 71 and at least one second processing unit 72;Wherein,
Have first between described first processing unit 71 with described second processing unit 72 to be connected, described One connects USB interface based on described first processing unit 71 and the USB of described second processing unit 72 Interface;Also have second between described first processing unit 71 with described second processing unit 72 to be connected, institute State the of the second connection first interface based on described first processing unit 71 and described second processing unit 72 Two interfaces, described first interface is identical with the type of described second interface, and is non-USB interface;
Described first processing unit 71, is used for supporting to run the first driver;
Receive the first instruction;
Respond described first instruction, connect by described second and send the second finger to described second processing unit 72 Order, to obtain the first information that described second processing unit 72 sends, the described first information is at described second The device descriptive information of reason unit 72;
Determine that a USB Function drives according to the described first information, a described USB Function It is driven in described first driver the driving corresponding with the USB interface of described second processing unit 72;
Run a described USB Function to drive, to enable described first connection, process described second Unit 72 is mapped to the first port, and described first port is the USB port of described electronic equipment.
Wherein, described first processing unit 71, before being additionally operable to respond described first instruction, switch into the One pattern, described first mode is the pattern supporting usb host HOST;
Connect by described second and send the 3rd instruction to described second processing unit 72, so that at described second Reason unit 72 switches into the second pattern, and described second pattern is that described second processing unit 72 supports USB The pattern of subordinate SLAVE.
Wherein, described second processing unit 72, it is additionally operable to support to connect output the 3rd information by described first, Described 3rd information is the operation information of described second processing unit 72;
Correspondingly, described first processing unit 71, it is additionally operable to receive the 4th instruction;
Respond described 4th instruction, connect by described first and obtain described 3rd information.
Wherein, described second processing unit 72, it is additionally operable to support that the first agreement, described first agreement are described Second processing unit 72 carries out the agreement of edition upgrading;
Correspondingly, described first processing unit 71, it is additionally operable to receive the 5th instruction;
Responding described 5th instruction, obtain the 4th information, described 4th information includes at for described second Reason unit 72 carries out the file of edition upgrading;
Described 3rd information is connected by described first and sends to described second processing unit 72, so that described Second processing unit 72 carries out edition upgrading.
Wherein, described second processing unit 72, it is additionally operable to store the first parameter, described first parameter characterization institute State the running status of the second processing unit 72;
Correspondingly, described first processing unit 71, it is additionally operable to receive the 6th instruction by described first port;
Connect by described first and send described 6th instruction to described second processing unit 72, so that described the Two processing units 72 are according to the first parameter described in described 6th modification of orders, to change described second processing unit The running status of 72.
In actual application, described first processing unit 71 can be the AP of described electronic equipment, described second Processing unit 72 can be the BP of described electronic equipment;Described first interface can be described first processing unit The UAR/T interface of 71, described second interface can be the UAR/T interface of described second processing unit 72.
In several embodiments provided by the present invention, it should be understood that disclosed equipment and method, can To realize by another way.Apparatus embodiments described above is only schematically, such as, and institute Stating the division of unit, be only a kind of logic function and divide, actual can have other dividing mode when realizing, As: multiple unit or assembly can be in conjunction with, or it is desirably integrated into another system, or some features can be neglected Slightly, or do not perform.It addition, the coupling each other of shown or discussed each ingredient or directly coupling Close or communication connection can be the INDIRECT COUPLING by some interfaces, equipment or unit or communication connection, can Be electrical, machinery or other form.
The above-mentioned unit illustrated as separating component can be or may not be physically separate, as The parts that unit shows can be or may not be physical location, i.e. may be located at a place, it is possible to To be distributed on multiple NE;Part or all of unit therein can be selected according to the actual needs Realize the purpose of the present embodiment scheme.
It addition, each functional unit in various embodiments of the present invention can be fully integrated in a processing unit, Can also be that each unit is individually as a unit, it is also possible to two or more unit are integrated in one In individual unit;Above-mentioned integrated unit both can realize to use the form of hardware, it would however also be possible to employ hardware adds soft The form of part functional unit realizes.
One of ordinary skill in the art will appreciate that: all or part of step realizing said method embodiment can Completing with the hardware relevant by programmed instruction, aforesaid program can be stored in an embodied on computer readable and deposit In storage media, this program upon execution, performs to include the step of said method embodiment;And aforesaid storage Medium includes: movable storage device, read only memory (ROM, Read-Only Memory), magnetic disc or The various media that can store program code such as person's CD.
Or, if the above-mentioned integrated unit of the present invention is using the form realization of software function module and as independent Production marketing or use time, it is also possible to be stored in a computer read/write memory medium.Based on so Understanding, the part that prior art is contributed by the technical scheme of the embodiment of the present invention the most in other words can Embodying with the form with software product, this computer software product is stored in a storage medium, bag Include some instructions with so that a computer equipment (can be personal computer, server or network Equipment etc.) perform all or part of of method described in each embodiment of the present invention.And aforesaid storage medium bag Include: the various media that can store program code such as movable storage device, ROM, magnetic disc or CD.
The above, the only detailed description of the invention of the present invention, but protection scope of the present invention is not limited to This, any those familiar with the art, in the technical scope that the invention discloses, can readily occur in Change or replacement, all should contain within protection scope of the present invention.Therefore, protection scope of the present invention should It is as the criterion with described scope of the claims.

Claims (10)

1. an information processing method, is applied to have the first processing unit and at least one second processing unit Electronic equipment in, described first processing unit support runs the first driver, described first processing unit Being connected with having first between described second processing unit, described first connects based on described first processing unit General-purpose serial bus USB interface and the USB interface of described second processing unit;Described first processes list Also having second between first and described second processing unit to be connected, described second connects and processes based on described first The first interface of unit and the second interface of described second processing unit, described first interface connects with described second The type of mouth is identical, and is non-USB interface;
Described method includes:
Described first processing unit receives the first instruction;
Described first described first instruction of processing unit response, connects by described second and processes to described second Unit sends the second instruction, to obtain the first information that described second processing unit sends, the described first information Device descriptive information for described second processing unit;
According to the described first information, described first processing unit determines that USB function Function drives, A described USB Function is driven to the USB in described first driver with described second processing unit The driving that interface is corresponding;
Described first processing unit runs a described USB Function and drives, to enable described first connection, By described second Process element mapping to the first port, described first port is the USB end of described electronic equipment Mouthful;
Described first processing unit is the application processor of described electronic equipment, and described second processing unit is institute State the baseband processor of electronic equipment.
Method the most according to claim 1, it is characterised in that described first processing unit sends second Before instruction, described method also includes:
Described first processing unit switches into first mode, and described first mode is described first processing unit Support the pattern of usb host HOST;
Connect by described second and send the 3rd instruction to described second processing unit, so that described second processes Unit switches into the second pattern, and described second pattern is that described second processing unit supports USB subordinate The pattern of SLAVE.
Method the most according to claim 1, it is characterised in that described second processing unit support is passed through Described first connects output the 3rd information, and described 3rd information is the operation information of described second processing unit;
Correspondingly, described method also includes:
Described first processing unit receives the 4th instruction;
Described first described 4th instruction of processing unit response, connects by described first and obtains described 3rd letter Breath.
Method the most according to claim 1, it is characterised in that described second processing unit supports first Agreement, described first agreement is the agreement that described second processing unit carries out edition upgrading;
Correspondingly, described method also includes:
Described first processing unit receives the 5th instruction;
Described first described 5th instruction of processing unit response, obtains the 4th information, and described 4th information includes For carrying out the file of edition upgrading for described second processing unit;
3rd information is connected transmission by described first and processes to the most described second single by described first processing unit Unit, so that described second processing unit carries out edition upgrading.
5. according to the method described in any one of Claims 1-4, it is characterised in that described second processes list Unit's storage has the first parameter, the running status of the second processing unit described in described first parameter characterization;
Correspondingly, described method also includes:
Described first processing unit receives the 6th instruction by described first port;
Described first processing unit connects to described second described 6th finger of processing unit transmission by described first Order, so that described second processing unit is according to the first parameter described in described 6th modification of orders, described to change The running status of the second processing unit.
6. an electronic equipment, described electronic equipment includes that the first processing unit and at least one the second process are single Unit;Wherein,
Having first between described first processing unit with described second processing unit to be connected, described first connects General-purpose serial bus USB interface based on described first processing unit and the USB of described second processing unit Interface;Also have second between described first processing unit with described second processing unit to be connected, described second Connect first interface based on described first processing unit and the second interface of described second processing unit, described First interface is identical with the type of described second interface, and is non-USB interface;
Described first processing unit, is used for supporting to run the first driver;
Receive the first instruction;
Respond described first instruction, connect by described second and send the second instruction to described second processing unit, To obtain the first information that described second processing unit sends, the described first information is described second processing unit Device descriptive information;
Determine that USB function Function drives according to the described first information, a described USB Function is driven in described first driver corresponding the driving of USB interface with described second processing unit Dynamic;
Run a described USB Function to drive, to enable described first connection, process described second Unit is mapped to the first port, and described first port is the USB port of described electronic equipment;
Described first processing unit is the application processor of described electronic equipment, and described second processing unit is institute State the baseband processor of electronic equipment.
Electronic equipment the most according to claim 6, it is characterised in that
Described first processing unit, is additionally operable to, before sending the second instruction, switch into first mode, institute Stating first mode is the pattern that described first processing unit supports usb host HOST;
Connect by described second and send the 3rd instruction to described second processing unit, so that described second processes Unit switches into the second pattern, and described second pattern is that described second processing unit supports USB subordinate The pattern of SLAVE.
Electronic equipment the most according to claim 6, it is characterised in that
Described second processing unit, is additionally operable to support connect output the 3rd information by described first, described the Three information are the operation information of described second processing unit;
Correspondingly, described first processing unit, it is additionally operable to receive the 4th instruction;
Respond described 4th instruction, connect by described first and obtain described 3rd information.
Electronic equipment the most according to claim 6, it is characterised in that
Described second processing unit, is additionally operable to support that the first agreement, described first agreement are described second process Unit carries out the agreement of edition upgrading;
Correspondingly, described first processing unit, it is additionally operable to receive the 5th instruction;
Responding described 5th instruction, obtain the 4th information, described 4th information includes at for described second Reason unit carries out the file of edition upgrading;
3rd information is connected by described first and sends to described second processing unit, so that at described second Reason unit carries out edition upgrading.
10. according to the electronic equipment described in any one of claim 6 to 9, it is characterised in that described second Processing unit, is additionally operable to store the first parameter, the operation of the second processing unit described in described first parameter characterization State;
Correspondingly, described first processing unit, it is additionally operable to receive the 6th instruction by described first port;
Connect by described first and send described 6th instruction to described second processing unit, so that described second Processing unit is according to the first parameter described in described 6th modification of orders, to change the fortune of described second processing unit Row state.
CN201410015317.2A 2014-01-13 2014-01-13 Information processing method and electronic equipment Active CN103795857B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410015317.2A CN103795857B (en) 2014-01-13 2014-01-13 Information processing method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410015317.2A CN103795857B (en) 2014-01-13 2014-01-13 Information processing method and electronic equipment

Publications (2)

Publication Number Publication Date
CN103795857A CN103795857A (en) 2014-05-14
CN103795857B true CN103795857B (en) 2016-10-05

Family

ID=50671118

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410015317.2A Active CN103795857B (en) 2014-01-13 2014-01-13 Information processing method and electronic equipment

Country Status (1)

Country Link
CN (1) CN103795857B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105867954B (en) * 2015-01-22 2020-01-31 联想(北京)有限公司 system data updating method, electronic equipment and system
CN108509227B (en) * 2018-03-30 2021-07-16 联想(北京)有限公司 Information processing method, electronic equipment and information processing system
CN111338671A (en) * 2020-02-18 2020-06-26 闻泰通讯股份有限公司 Hardware upgrading device of mobile terminal, mobile terminal and hardware upgrading method

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101820459A (en) * 2010-02-10 2010-09-01 青岛海信移动通信技术股份有限公司 Interface circuit of communication equipment and intelligent mobile communication terminal
CN102640130A (en) * 2009-11-23 2012-08-15 高通股份有限公司 Apparatus and methods for USB connection in a multi-processor device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102640130A (en) * 2009-11-23 2012-08-15 高通股份有限公司 Apparatus and methods for USB connection in a multi-processor device
CN101820459A (en) * 2010-02-10 2010-09-01 青岛海信移动通信技术股份有限公司 Interface circuit of communication equipment and intelligent mobile communication terminal

Also Published As

Publication number Publication date
CN103795857A (en) 2014-05-14

Similar Documents

Publication Publication Date Title
CN105404525B (en) Manage the method and device of the basic input output system configuration in computer system
CN104216840B (en) The method and device that a kind of USB sets and operated to external equipment
CN108008914B (en) The method, apparatus and ARM equipment of disk management in a kind of ARM equipment
CN104135520B (en) A kind of method and device for identifying android terminal
CN104216796B (en) A kind of data backup, restoration methods and electronic equipment
CN104407874A (en) Embedded equipment compatible to a plurality of types of LCD screens
CN101339515A (en) Sensor process management methods and systems
CN103795857B (en) Information processing method and electronic equipment
CN104516800A (en) Method, system and relative circuit system for diagnosing server mainboard
CN105224483B (en) Data transmission method, electronic equipment and universal serial bus device
CN107278294A (en) Input equipment implementation method and its realize device
CN106980442A (en) A kind of icon management method and electronic equipment
CN112486491A (en) Page generation method and device, computer equipment and storage medium
CN107678984A (en) USB port mapping method and computer-readable recording medium
CN106598530A (en) Display panel configuration method and device
CN102710740A (en) Device identification using device functions
CN103176913A (en) Hard disk dynamic mapping method and server for applying same
CN105868132B (en) A kind of Digital Oscillograph Module functions expanding method and system based on usb communication
WO2015117378A1 (en) Method and related system for adaptively configuring port, and computer storage medium
CN101140552A (en) Control system of data-transmission through universal serial bus and method thereof
CN104683431B (en) Intelligent network list object method for building up and information processing unit
CN110515540A (en) A kind of method and device of topology hard disk
CN106326043A (en) USB based diagnosis device and method
CN106796557A (en) The ancillary equipment class identifier of vendor-specific
CN104424153B (en) A kind of audio & video equipment data collecting system and its method to USB interface

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