CN102981597A - Control method and portable terminal for configurable peripheral device - Google Patents

Control method and portable terminal for configurable peripheral device Download PDF

Info

Publication number
CN102981597A
CN102981597A CN2011102607091A CN201110260709A CN102981597A CN 102981597 A CN102981597 A CN 102981597A CN 2011102607091 A CN2011102607091 A CN 2011102607091A CN 201110260709 A CN201110260709 A CN 201110260709A CN 102981597 A CN102981597 A CN 102981597A
Authority
CN
China
Prior art keywords
subsystem
configurable peripherals
peripherals
configurable
configuration information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2011102607091A
Other languages
Chinese (zh)
Other versions
CN102981597B (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 CN201110260709.1A priority Critical patent/CN102981597B/en
Publication of CN102981597A publication Critical patent/CN102981597A/en
Application granted granted Critical
Publication of CN102981597B publication Critical patent/CN102981597B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Telephone Function (AREA)
  • Stored Programmes (AREA)

Abstract

The embodiment of the invention discloses a control method and a portable terminal for a configurable peripheral device. The portable terminal comprises at least two subsystems and at least one configurable peripheral device, when obtaining a right of controlling the configurable peripheral device at first time, a first subsystem of the two subsystems initializes the configurable peripheral device and uses the configurable peripheral device according to distributive first configuration information. The method comprises the following steps of backing up the first configuration information, restoring configuration of the configurable peripheral device according to the first configuration information when the right of controlling the configurable peripheral device is switched from a second subsystem to the first subsystem so as to enable the first subsystem to use the configurable peripheral device. The control method and the portable terminal for the configurable peripheral device just need to implement initialization when the subsystem obtains the right of control at first time, configuration information backed up in the process of initialization is used for configuration of the configurable peripheral device in the following time, therefore control time delay of a system is shortened, and occupation of system resources is reduced.

Description

The control method of configurable peripherals and portable terminal device
Technical field
The application relates to communication technical field, particularly the control method of configurable peripherals and portable terminal device.
Background technology
The portable terminal device of hybrid system configuration is only to have on the PC basis of a system existing, embeds the PC of other at least one system.Can merge work between the different system, display one's respective advantages.Main system that the portable terminal device of existing common hybrid system configuration is usually integrated (for example, the X86 system, adopt windows operating system) and one from system (for example, the ARM system, adopt android operating system), main system and from sharing shared device between the system, for example, display screen, keyboard, mouse, wireless module etc.
The inventor finds in the research process to prior art, in the existing commingled system terminal, usually share configurable peripherals, such as video card etc., when sharing video card, adopt the mode of switching to share in main system with between the system, this sharing mode is similar to the mode of hot plug, when switching to certain system at every turn, this system must carry out initialization to video card, and is the video card dynamic distribution of system resources, and this video card could be used by this system, be video card when at every turn being used by certain system, assigned resource is all different.Hence one can see that, and existing video card is in handoff procedure each time, owing to need to re-start initialization, so system delay is larger, and takies more system resource.
Summary of the invention
The purpose of the embodiment of the present application is control method and the portable terminal device of configurable peripherals, to solve in the prior art portable terminal device dual system when adopting switching mode that video card is shared, behind each the switching, all need initialization operation, cause the problem that postpones to increase.
For solving the problems of the technologies described above, the embodiment of the present application provides following technical scheme:
A kind of control method of configurable peripherals, be applied to comprise in the portable terminal device of at least two sub-systems, at least one configurable peripherals is set in the described portable terminal device, and described at least one configurable peripherals is the shared device of described at least two sub-systems; Wherein, the first subsystem in described at least two sub-systems is when the control of the described configurable peripherals of first acquisition, the described configurable peripherals of initialization, and generate the first configuration information by described the first subsystem, and use described configurable peripherals according to described the first configuration information; Described method comprises:
Back up described the first configuration information;
When the control of described configurable peripherals is switched to described the first subsystem by the second subsystem in described at least two sub-systems, according to the configuration of the described configurable peripherals of described the first configuration information recovery, so that described the first subsystem uses described configurable peripherals.
Described the first configuration information of described backup comprises:
When described the first subsystem generates the first configuration information, back up described the first configuration information; Perhaps,
When the control of described configurable peripherals is switched to other subsystem by described the first subsystem, back up described the first configuration information.
Also comprise:
In described at least two sub-systems except any one subsystem of described the first subsystem, behind the described configurable peripherals of initialization, according to the configuration of the described configurable peripherals of configuration information recovery of each self-generating.
Also comprise before the described configuration according to the described configurable peripherals of described the first configuration information recovery:
Receive the use request of the configurable peripherals of described at least two sub-systems transmission;
Use described configurable peripherals according to the first subsystem in described at least two sub-systems of rules of arbitration arbitration that set in advance;
Controlling described configurable peripherals is communicated with described the first subsystem.
Described rules of arbitration comprise:
Send the sequencing that uses request according to described at least two sub-systems, determine that it is the first subsystem that the subsystem of request is used at first transmission; Perhaps,
For described at least two sub-systems arrange priority, determining to send the highest subsystem of use request medium priority is the first subsystem; Perhaps,
Described at least two sub-systems use described configurable peripherals in turn.
The configurable peripherals of described initialization comprises:
Comprise the resource of address space for described configurable peripherals distributes, and described resource is written in the configuration space of described configurable peripherals;
For configurable peripherals provides service routine;
The address space that the address space that distributes for described configurable peripherals is set to monopolize.
Described the first configuration information of described backup is specially: preserve the resource that comprises described address space;
Described configuration according to the described configurable peripherals of described the first configuration information recovery is specially: the resource that comprises described address space that will preserve is written in the configuration space of described configurable peripherals.
A kind of portable terminal device comprises: at least two sub-systems, at least one configurable peripherals, and described at least one configurable peripherals is the shared device of described at least two sub-systems; Comprise the first subsystem and the second subsystem at least in described two sub-systems, wherein,
Described the first subsystem comprises:
Initialization unit, be used for when the control of the described configurable peripherals of the first acquisition of described the first subsystem, the described configurable peripherals of initialization, and generate the first configuration information, and use described configurable peripherals according to described the first configuration information;
Backup units is used for backing up described the first configuration information;
Recovery unit, be used for when the control of described configurable peripherals is switched to described the first subsystem by the second subsystem of described at least two sub-systems, according to the configuration of the described configurable peripherals of the first configuration information recovery in the described backup units, so that described the first subsystem uses described configurable peripherals.
Described backup units, concrete being used for backed up described the first configuration information when generating the first configuration information, perhaps when the control of described configurable peripherals is switched to other subsystem by described the first subsystem, back up described the first configuration information.
Described portable terminal device also comprises:
Receiving element is for the use request of the configurable peripherals that receives described at least two sub-systems transmission;
Arbitration unit is used for using described configurable peripherals according to the first subsystem of described at least two sub-systems of rules of arbitration arbitration that set in advance;
Control module is used for controlling described configurable peripherals and is communicated with described the first subsystem.
Described receiving element, arbitration unit and control module are independent of described at least two sub-systems and arrange separately; Perhaps, described receiving element, arbitration unit and control module are arranged in any one subsystem in described two sub-systems at least.
Described initialization unit comprises:
Allocation units are used to described configurable peripherals to distribute the resource that comprises address space;
Writing unit is for the configuration space that described resource is written to described configurable peripherals;
Provide the unit, the service routine that is used to configurable peripherals to provide;
Setting unit is used for the address space that is set to monopolize for address space that described configurable peripherals distributes.
Described backup units is concrete for preserving the resource that comprises described address space;
Described recovery unit, the concrete resource that comprises described address space that is used for preserving is written to the configuration space of described configurable peripherals.
Described the first subsystem is integrated in the first equipment as main frame, and described the second subsystem is integrated in the second equipment as display screen, described the first equipment be connected the second equipment and connect by physical interface, form described portable terminal device; Perhaps,
Described the first subsystem is integrated in the 3rd equipment that comprises main frame and display screen, and described the second subsystem is integrated in the integrated circuit board, and described integrated circuit board forms described portable terminal device by inserting in the slot default on described the 3rd equipment.
The technical scheme that is provided by above the embodiment of the present application as seen, the first subsystem in the embodiment of the present application portable terminal device at least two sub-systems is when the control of the described configurable peripherals of first acquisition, the described configurable peripherals of initialization, and generate the first configuration information by described the first subsystem, and dispose described configurable peripherals according to described the first configuration information, back up described the first configuration information, when the control of described configurable peripherals is switched to described the first subsystem by the second subsystem in described at least two sub-systems, according to the configuration of the described configurable peripherals of described the first configuration information recovery, so that described the first subsystem uses described configurable peripherals.When application the embodiment of the present application is switched the control of configurable peripherals between a plurality of subsystems of portable terminal device, the subsystem that need not to obtain control all carries out initialization to configurable peripherals each time, get final product but only need to when first acquisition control, carry out initialization, the configuration information that follow-up use is backed up when initialization is configured configurable peripherals, thereby shortened the delay of control of system, reduced taking system resource.
Description of drawings
In order to be illustrated more clearly in the embodiment of the present application or technical scheme of the prior art, the below will do to introduce simply to the accompanying drawing of required use in embodiment or the description of the Prior Art, apparently, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain according to these accompanying drawings other accompanying drawing.
Fig. 1 is the first embodiment process flow diagram of the control method of the configurable peripherals of the application;
Fig. 2 is the second embodiment process flow diagram of the control method of the configurable peripherals of the application;
Fig. 3 is for using the dual system portable terminal device configuration diagram of the application's control method;
Fig. 4 is the embodiment block diagram of the application's portable terminal device.
Embodiment
In a plurality of embodiment of following the application, provide respectively control method and the portable terminal device of configurable peripherals.
In order to make those skilled in the art person understand better technical scheme in the embodiment of the present application, and the above-mentioned purpose of the embodiment of the present application, feature and advantage can be become apparent more, below in conjunction with accompanying drawing technical scheme in the embodiment of the present application is described in further detail.
Comprise at least two sub-systems in portable in the embodiment of the present application, and at least one configurable peripherals is set in the portable terminal device, this at least one configurable peripherals is the shared device of at least two sub-systems, this configurable peripherals is preferred, be video card, also can be network interface card, perhaps PCI equipment etc., these peripherals are the configurable peripherals of software.The following examples suppose to comprise in this at least two sub-systems first subsystem for convenience, and any one subsystem that removes described the first subsystem can be described as the second subsystem.
Referring to Fig. 1, be the first embodiment process flow diagram of the control method of the configurable peripherals of the application:
Step 101: the first subsystem is first when obtaining the control of configurable peripherals, the configurable peripherals of initialization, and generate the first configuration information.
The first subsystem is when the configurable peripherals of initialization, can distribute the resource that comprises address space for configurable peripherals, this resource can also comprise interrupt resources etc., and above-mentioned resource is written in the configuration space of configurable peripherals, usually be formed of registers in this configuration space, be used for depositing various resources, then for configurable peripherals provides service routine, the address space that the address space that distributes for configurable peripherals at last is set to monopolize.
Step 102: the first subsystem uses this configurable peripherals according to the first configuration information.
Step 103: when the control of configurable peripherals is switched to the first subsystem by the second subsystem, according to the configuration of the described configurable peripherals of the first configuration information recovery that backs up.
Wherein, for the backup of the first configuration information, can work as the first subsystem when generating the first configuration information, back up this first configuration information; Perhaps, when the control of configurable peripherals is switched to other subsystem by the first subsystem, back up this first configuration information.
When backup the first configuration information, can preserve the first subsystem is the resource that comprises address space that configurable peripherals distributes; Accordingly, when recovering the configuration of configurable peripherals, the resource that comprises address space of preserving is written in the configuration space of configurable peripherals.
Step 104: the first subsystem uses this configurable peripherals.
Suppose that configurable peripherals is video card, then the first subsystem is when using video card, can call the demonstration service routine, the demonstration data of video card are written in the address space of distribution, then this address space of decoding, decoded data are put in the video memory, and the data in the video memory are converted to display, the display screen that outputs to portable terminal device shows.
Need to prove, above-described embodiment is described as an example of the first subsystem example, in fact at least one subsystem at least two sub-systems all has the function same with the first subsystem in the portable terminal device, namely remove any one subsystem of described the first subsystem at least two sub-systems, in the first control that obtains configurable peripherals, and behind the configurable peripherals of initialization, can be according to the configuration of the configurable peripherals of configuration information recovery of each self-generating, and need not when obtaining each time the control of configurable peripherals, all configurable peripherals to be carried out initialization, can shorten thus the delay of control of system, reduce taking system resource.
Referring to Fig. 2, the second embodiment process flow diagram for the control method of the configurable peripherals of the application, configurable peripherals is crossed in the initialization of hypothesis the first subsystem among this embodiment, and since the configurable peripherals of the second subsystem initialization, the switching of configurable peripheral unit control power is described, and the process of the first subsystem recovery configuring, suppose that wherein the function of control arbitration modules is integrated in the first subsystem:
Step 201: the second subsystem is first when obtaining the control of configurable peripherals, the configurable peripherals of initialization, and generate the second configuration information.
The second subsystem is when the configurable peripherals of initialization, can distribute the resource that comprises address space for configurable peripherals, this resource can also comprise interrupt resources etc., and above-mentioned resource is written in the configuration space of configurable peripherals, usually be formed of registers in this configuration space, be used for depositing various resources, then for configurable peripherals provides service routine, the address space that the address space that distributes for configurable peripherals at last is set to monopolize.
Step 202: the second subsystem backs up the second configuration information.
The execution sequence of this step in the time of can working as the second subsystem initialization and generate the second configuration information, backs up this second configuration information; Perhaps, when the control of configurable peripherals is switched to other subsystem by the second subsystem, back up this second configuration information.
Step 203: the second subsystem uses this configurable peripherals according to the second configuration information.
Suppose that configurable peripherals is video card, then the second subsystem is when using video card, can call the demonstration service routine, the demonstration data of video card are written in the address space of distribution, then this address space of decoding, decoded data are put in the video memory, and the data in the video memory are converted to display, the display screen that outputs to portable terminal device shows.
Step 204: the arbitration modules that arranges in the first subsystem receives the use request of the configurable peripherals of at least two sub-systems transmission.
Need to prove that in the embodiment of the present application, arbitration modules can be arranged in the first subsystem, also can be independent of at least two sub-systems and arrange separately, and this embodiment of the present application is not limited.Wherein, when a plurality of subsystems in the portable terminal device send the use request of using configurable peripherals to arbitration modules simultaneously, by arbitration modules the control of configurable peripherals is arbitrated.
In addition, in the embodiment of the present application, subsystems can with the configuration information backup in subsystem separately, also can backup to configuration information in this arbitration modules when backup configuration information.
Step 205: use configurable peripherals according to the first subsystem in rules of arbitration arbitration at least two sub-systems that set in advance.
Wherein, present embodiment can adopt following any one rules of arbitration: send the sequencing that uses request according at least two sub-systems, determine to send at first and use the subsystem of request to use configurable peripherals; Perhaps, at least two sub-systems arrange priority, determine to send and use the highest subsystem of request medium priority to use configurable peripherals; Perhaps, at least two sub-systems use configurable peripherals in turn, for example, the subsystem that uses configurable peripherals is lined up ordering, subsystem after control is switched each time enters tail, then when receiving the use request, according to sending the position of subsystem in lining up of using request, come this configurable peripherals of the top subsystem use of formation.
Step 206: control configurable peripherals and be communicated with the first subsystem.
Can the equipment handover module in portable terminal device, when having arbitrated the configurable peripherals of certain subsystem controls, then can be transmitted control signal to this handover module by arbitration modules, so that this handover module switches to the state that is communicated with this subsystem.
Step 207: the first subsystem is according to the configuration of the configurable peripherals of the first configuration information recovery that has backed up.
The first subsystem is when backup the first configuration information, and can preserve the first subsystem is the resource that comprises address space that configurable peripherals distributes; Accordingly, when recovering the configuration of configurable peripherals, the resource that comprises address space of preserving is written in the configuration space of configurable peripherals.
Step 208: the first subsystem uses configurable peripherals.
Suppose that configurable peripherals is video card, then the first subsystem is when using video card, can call the demonstration service routine, the demonstration data of video card are written in the address space of distribution, then this address space of decoding, decoded data are put in the video memory, and the data in the video memory are converted to display, the display screen that outputs to portable terminal device shows.
When application the embodiment of the present application is switched the control of configurable peripherals between a plurality of subsystems of portable terminal device, the subsystem that need not to obtain control all carries out initialization to configurable peripherals each time, get final product but only need to when first acquisition control, carry out initialization, the configuration information that follow-up use is backed up when initialization is configured configurable peripherals, thereby shortened the delay of control of system, reduced taking system resource.
Referring to Fig. 3, use the configuration diagram of a kind of portable terminal device of the configurable peripheral device control method embodiment of the application, suppose that wherein configurable peripherals is video card:
Portable terminal device shown in Fig. 3 comprises first subsystem and second subsystem, also comprises simultaneously moderator module, switch, shared video card module and a display apparatus module.
Wherein, the first subsystem can be integrated in the first equipment as main frame, and the second subsystem can be integrated in the second equipment as display screen, the first equipment be connected equipment and can connect by physical interface, form described portable terminal device.In a concrete application example, this first equipment does not preferably contain the main process equipment of display screen, also can be described as BASE equipment, the first subsystem is preferably the subsystem that X86 operating system has been installed, the second equipment is preferably the touch display device, also can be described as PAD equipment, and the second subsystem is preferably the subsystem that ARM operating system has been installed, the first equipment and the second equipment connection form the dual system portable terminal device together, and the first equipment can separate use with the second equipment or be used in combination.
Perhaps, the first subsystem can be integrated in the 3rd equipment that comprises main frame and display screen, and this second subsystem is integrated in the integrated circuit board, and integrated circuit board forms portable terminal device by inserting in the slot default on the 3rd equipment.In a concrete application example, the 3rd equipment is preferred, for comprising that main frame (contains the first processing unit, such as X 86 processor) and the equipment of display screen, the operating system of installing in the 3rd equipment is preferably X86 operating system, the 3rd equipment is consistent with common being seen notebook computer or all-in-one profile, and integrated SOS in the integrated circuit board, preferred the second subsystem is the subsystem that ARM operating system has been installed, the slot of this integrated circuit board by arranging on the 3rd equipment, insert in this slot, be combined into the portable terminal device of dual system with the 3rd equipment.
Dual system portable terminal device shown in Fig. 3 is consistent with description in the previous embodiment in the process of carrying out video card control, does not repeat them here.
Corresponding with the embodiment of the control method of the configurable peripherals of the application, the application also provides the embodiment of the portable terminal device of the control method of using this configurable peripherals.
Referring to Fig. 4, be the first embodiment block diagram of the application's portable terminal device:
This portable terminal device comprises: at least two sub-systems, comprise the first subsystem 410 and the second subsystem 420 at least in this two sub-systems, and at least one configurable peripherals 430, this at least one configurable peripherals 430 is the shared device of described at least two sub-systems.Wherein, convenient for example, only show above-mentioned two sub-systems and a configurable peripherals among Fig. 4.
Wherein, the first subsystem 410 comprises:
Initialization unit 411, be used for when the control of the described configurable peripherals of the first acquisition of described the first subsystem, the described configurable peripherals of initialization, and generate the first configuration information, and use described configurable peripherals according to described the first configuration information;
Backup units 412 is used for backing up described the first configuration information;
Recovery unit 413, be used for when the control of described configurable peripherals is switched to described the first subsystem by the second subsystem of described at least two sub-systems, according to the configuration of the described configurable peripherals of the first configuration information recovery in the described backup units, so that described the first subsystem uses described configurable peripherals.
Further, described backup units 412, concrete being used for backed up described the first configuration information when generating the first configuration information, perhaps when the control of described configurable peripherals is switched to other subsystem by described the first subsystem, back up described the first configuration information.
Further, this portable terminal device can also comprise (not shown among Fig. 4):
Receiving element is for the use request of the configurable peripherals that receives described at least two sub-systems transmission;
Arbitration unit is used for using described configurable peripherals according to the first subsystem of described at least two sub-systems of rules of arbitration arbitration that set in advance;
Control module is used for controlling described configurable peripherals and is communicated with described the first subsystem.
In one embodiment, above-mentioned receiving element, arbitration unit and control module can be independent of described at least two sub-systems and arrange separately; In another embodiment, above-mentioned receiving element, arbitration unit and control module are arranged in any one subsystem in described two sub-systems at least.
Concrete, initialization unit 411 can comprise (not shown among Fig. 4):
Allocation units are used to described configurable peripherals to distribute the resource that comprises address space;
Writing unit is for the configuration space that described resource is written to described configurable peripherals;
Provide the unit, the service routine that is used to configurable peripherals to provide;
Setting unit is used for the address space that is set to monopolize for address space that described configurable peripherals distributes.
Accordingly, described backup units 412 is concrete for preserving the resource that comprises described address space;
Described recovery unit 413, the concrete resource that comprises described address space that is used for preserving is written to the configuration space of described configurable peripherals.
Framework for this portable terminal device, wherein said the first subsystem is integrated in the first equipment as main frame, described the second subsystem is integrated in the second equipment as display screen, described the first equipment be connected the second equipment and connect by physical interface, form described portable terminal device; Perhaps, described the first subsystem is integrated in the 3rd equipment that comprises main frame and display screen, and described the second subsystem is integrated in the integrated circuit board, and described integrated circuit board forms described portable terminal device by inserting in the slot default on described the 3rd equipment.
As seen through the above description of the embodiments, the first subsystem in the embodiment of the present application portable terminal device at least two sub-systems is when the control of the described configurable peripherals of first acquisition, the described configurable peripherals of initialization, and generate the first configuration information by described the first subsystem, and dispose described configurable peripherals according to described the first configuration information, back up described the first configuration information, when the control of described configurable peripherals is switched to described the first subsystem by the second subsystem in described at least two sub-systems, according to the configuration of the described configurable peripherals of described the first configuration information recovery, so that described the first subsystem uses described configurable peripherals.When application the embodiment of the present application is switched the control of configurable peripherals between a plurality of subsystems of portable terminal device, the subsystem that need not to obtain control all carries out initialization to configurable peripherals each time, get final product but only need to when first acquisition control, carry out initialization, the configuration information that follow-up use is backed up when initialization is configured configurable peripherals, thereby shortened the delay of control of system, reduced taking system resource.
The technology that those skilled in the art can be well understood in the embodiment of the present application can realize by the mode that software adds essential general hardware platform.Based on such understanding, the part that technical scheme in the embodiment of the present application contributes to prior art in essence in other words can embody with the form of software product, this computer software product can be stored in the storage medium, such as ROM/RAM, magnetic disc, CD etc., comprise that some instructions are with so that a computer equipment (can be personal computer, server, the perhaps network equipment etc.) carry out the described method of some part of each embodiment of the application or embodiment.
Each embodiment in this instructions all adopts the mode of going forward one by one to describe, and identical similar part is mutually referring to getting final product between each embodiment, and each embodiment stresses is difference with other embodiment.Especially, for system embodiment because its basic simlarity is in embodiment of the method, thus describe fairly simple, relevant part gets final product referring to the part explanation of embodiment of the method.
Above-described the application's embodiment does not consist of the restriction to the application's protection domain.Any in the application spirit and principle within do modification, be equal to and replace and improvement etc., all should be included within the application's the protection domain.

Claims (14)

1. the control method of a configurable peripherals, it is characterized in that, be applied to comprise in the portable terminal device of at least two sub-systems, at least one configurable peripherals is set in the described portable terminal device, described at least one configurable peripherals is the shared device of described at least two sub-systems; Wherein, the first subsystem in described at least two sub-systems is when the control of the described configurable peripherals of first acquisition, the described configurable peripherals of initialization, and generate the first configuration information by described the first subsystem, and use described configurable peripherals according to described the first configuration information; Described method comprises:
Back up described the first configuration information;
When the control of described configurable peripherals is switched to described the first subsystem by the second subsystem in described at least two sub-systems, according to the configuration of the described configurable peripherals of described the first configuration information recovery, so that described the first subsystem uses described configurable peripherals.
2. method according to claim 1 is characterized in that, described the first configuration information of described backup comprises:
When described the first subsystem generates the first configuration information, back up described the first configuration information; Perhaps,
When the control of described configurable peripherals is switched to other subsystem by described the first subsystem, back up described the first configuration information.
3. method according to claim 1 is characterized in that, also comprises:
In described at least two sub-systems except any one subsystem of described the first subsystem, behind the described configurable peripherals of initialization, according to the configuration of the described configurable peripherals of configuration information recovery of each self-generating.
4. method according to claim 1 is characterized in that, also comprises before the described configuration according to the described configurable peripherals of described the first configuration information recovery:
Receive the use request of the configurable peripherals of described at least two sub-systems transmission;
Use described configurable peripherals according to the first subsystem in described at least two sub-systems of rules of arbitration arbitration that set in advance;
Controlling described configurable peripherals is communicated with described the first subsystem.
5. method according to claim 4 is characterized in that, described rules of arbitration comprise:
Send the sequencing that uses request according to described at least two sub-systems, determine that it is the first subsystem that the subsystem of request is used at first transmission; Perhaps,
For described at least two sub-systems arrange priority, determining to send the highest subsystem of use request medium priority is the first subsystem; Perhaps,
Described at least two sub-systems use described configurable peripherals in turn.
6. method according to claim 1 is characterized in that, the configurable peripherals of described initialization comprises:
Comprise the resource of address space for described configurable peripherals distributes, and described resource is written in the configuration space of described configurable peripherals;
For configurable peripherals provides service routine;
The address space that the address space that distributes for described configurable peripherals is set to monopolize.
7. method according to claim 6 is characterized in that, described the first configuration information of described backup is specially: preserve the resource that comprises described address space;
Described configuration according to the described configurable peripherals of described the first configuration information recovery is specially: the resource that comprises described address space that will preserve is written in the configuration space of described configurable peripherals.
8. a portable terminal device is characterized in that, comprising: at least two sub-systems, at least one configurable peripherals, and described at least one configurable peripherals is the shared device of described at least two sub-systems; Comprise the first subsystem and the second subsystem at least in described two sub-systems, wherein,
Described the first subsystem comprises:
Initialization unit, be used for when the control of the described configurable peripherals of the first acquisition of described the first subsystem, the described configurable peripherals of initialization, and generate the first configuration information, and use described configurable peripherals according to described the first configuration information;
Backup units is used for backing up described the first configuration information;
Recovery unit, be used for when the control of described configurable peripherals is switched to described the first subsystem by the second subsystem of described at least two sub-systems, according to the configuration of the described configurable peripherals of the first configuration information recovery in the described backup units, so that described the first subsystem uses described configurable peripherals.
9. portable terminal device according to claim 8, it is characterized in that, described backup units, concrete being used for when generating the first configuration information, back up described the first configuration information, perhaps when the control of described configurable peripherals is switched to other subsystem by described the first subsystem, back up described the first configuration information.
10. portable terminal device according to claim 8 is characterized in that, described portable terminal device also comprises:
Receiving element is for the use request of the configurable peripherals that receives described at least two sub-systems transmission;
Arbitration unit is used for using described configurable peripherals according to the first subsystem of described at least two sub-systems of rules of arbitration arbitration that set in advance;
Control module is used for controlling described configurable peripherals and is communicated with described the first subsystem.
11. portable terminal device according to claim 10 is characterized in that, described receiving element, arbitration unit and control module are independent of described at least two sub-systems and arrange separately; Perhaps, described receiving element, arbitration unit and control module are arranged in any one subsystem in described two sub-systems at least.
12. portable terminal device according to claim 8 is characterized in that, described initialization unit comprises:
Allocation units are used to described configurable peripherals to distribute the resource that comprises address space;
Writing unit is for the configuration space that described resource is written to described configurable peripherals;
Provide the unit, the service routine that is used to configurable peripherals to provide;
Setting unit is used for the address space that is set to monopolize for address space that described configurable peripherals distributes.
13. portable terminal device according to claim 12 is characterized in that,
Described backup units is concrete for preserving the resource that comprises described address space;
Described recovery unit, the concrete resource that comprises described address space that is used for preserving is written to the configuration space of described configurable peripherals.
14. portable terminal device according to claim 8 is characterized in that,
Described the first subsystem is integrated in the first equipment as main frame, and described the second subsystem is integrated in the second equipment as display screen, described the first equipment be connected the second equipment and connect by physical interface, form described portable terminal device; Perhaps,
Described the first subsystem is integrated in the 3rd equipment that comprises main frame and display screen, and described the second subsystem is integrated in the integrated circuit board, and described integrated circuit board forms described portable terminal device by inserting in the slot default on described the 3rd equipment.
CN201110260709.1A 2011-09-05 2011-09-05 The control method of configurable peripheral device and portable terminal device Active CN102981597B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110260709.1A CN102981597B (en) 2011-09-05 2011-09-05 The control method of configurable peripheral device and portable terminal device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110260709.1A CN102981597B (en) 2011-09-05 2011-09-05 The control method of configurable peripheral device and portable terminal device

Publications (2)

Publication Number Publication Date
CN102981597A true CN102981597A (en) 2013-03-20
CN102981597B CN102981597B (en) 2016-03-30

Family

ID=47855728

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110260709.1A Active CN102981597B (en) 2011-09-05 2011-09-05 The control method of configurable peripheral device and portable terminal device

Country Status (1)

Country Link
CN (1) CN102981597B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103648001A (en) * 2013-11-29 2014-03-19 乐视致新电子科技(天津)有限公司 Switching method and apparatus
CN104462010A (en) * 2013-09-13 2015-03-25 联想(北京)有限公司 Electronic equipment and state control method

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1383068A (en) * 2001-04-27 2002-12-04 邵通 Device and method for changing state of computing equipment
CN1609825A (en) * 2003-10-23 2005-04-27 南京易思克网络安全技术有限责任公司 Apparatus and method for realizing computing equipment status safety transition
CN1797351A (en) * 2004-12-24 2006-07-05 联想(北京)有限公司 Method for switching multiple operation systems of computer
CN101059762A (en) * 2006-04-20 2007-10-24 联想(北京)有限公司 Dummy machine system and its video card access method
CN101187880A (en) * 2006-11-15 2008-05-28 联想(北京)有限公司 Dummy machine system and its video card usage method
CN101241445A (en) * 2007-02-08 2008-08-13 联想(北京)有限公司 Virtual machine system and its method for accessing display card
CN101546279A (en) * 2009-05-14 2009-09-30 华为技术有限公司 Device, system and method for exception processing of embedded device
CN101963917A (en) * 2004-12-31 2011-02-02 钟巨航 Data processing system with a plurality of subsystems and method
CN101996090A (en) * 2009-08-28 2011-03-30 联想(北京)有限公司 Computer and method for reconfiguring equipment under virtual machine
CN102033850A (en) * 2009-09-29 2011-04-27 联想(北京)有限公司 Portable terminal and control method thereof, portable device and control method thereof

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1383068A (en) * 2001-04-27 2002-12-04 邵通 Device and method for changing state of computing equipment
CN1609825A (en) * 2003-10-23 2005-04-27 南京易思克网络安全技术有限责任公司 Apparatus and method for realizing computing equipment status safety transition
CN1797351A (en) * 2004-12-24 2006-07-05 联想(北京)有限公司 Method for switching multiple operation systems of computer
CN101963917A (en) * 2004-12-31 2011-02-02 钟巨航 Data processing system with a plurality of subsystems and method
CN101059762A (en) * 2006-04-20 2007-10-24 联想(北京)有限公司 Dummy machine system and its video card access method
CN101187880A (en) * 2006-11-15 2008-05-28 联想(北京)有限公司 Dummy machine system and its video card usage method
CN101241445A (en) * 2007-02-08 2008-08-13 联想(北京)有限公司 Virtual machine system and its method for accessing display card
CN101546279A (en) * 2009-05-14 2009-09-30 华为技术有限公司 Device, system and method for exception processing of embedded device
CN101996090A (en) * 2009-08-28 2011-03-30 联想(北京)有限公司 Computer and method for reconfiguring equipment under virtual machine
CN102033850A (en) * 2009-09-29 2011-04-27 联想(北京)有限公司 Portable terminal and control method thereof, portable device and control method thereof

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104462010A (en) * 2013-09-13 2015-03-25 联想(北京)有限公司 Electronic equipment and state control method
CN103648001A (en) * 2013-11-29 2014-03-19 乐视致新电子科技(天津)有限公司 Switching method and apparatus

Also Published As

Publication number Publication date
CN102981597B (en) 2016-03-30

Similar Documents

Publication Publication Date Title
US10387362B2 (en) Secondary data channel communication system
KR101875363B1 (en) Configurable connector for system-level communication
CA2793617C (en) Dynamic configuration of connectors for system-level communications
CN106797388B (en) Cross-system multimedia data encoding and decoding method and device, electronic equipment and computer program product
CN102388357B (en) Method and system for accessing memory device
CN102053857A (en) Apparatus for managing a running virtual machine and switching method thereof
MX2012014354A (en) Systems and methods for dynamic multi-link compilation partitioning.
US20140280960A1 (en) Methods and apparatus for dynamically allocating devices between multiple controllers
CN104021047A (en) Virtual function distribution system, method and management host thereof
EP3301574B1 (en) Method for managing graphic cards in a computing system
CN110971855A (en) DVR system and method based on USB Type-C interface
CN105335309A (en) Data transmission method and computer
CN104424145A (en) Electronic device and data transmission method
CN116774933A (en) Virtualization processing method of storage device, bridging device, system and medium
CN107301151B (en) Mainboard and server
CN104462010A (en) Electronic equipment and state control method
CN102981597A (en) Control method and portable terminal for configurable peripheral device
US10534734B1 (en) Processor/endpoint communication coupling configuration system
CN105677606A (en) Hot-swapping method of bus device and bus device
CN108874699B (en) Method and device for using MTP (Multi-time transfer protocol) function by multiple systems and electronic equipment
CN103455372A (en) Data migration method for memory modules in server and server
CN103003806B (en) A kind of method of PCI allocation E port, device and equipment
CN105786409B (en) A kind of electronic equipment and resource share method
CN100507887C (en) Method for conducting information flow exchange by two electronic device under USB structure and system for applying the same method
CN216014148U (en) Server and server backboard

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