CN108268398A - For operating the method for peripheral equipment, equipment and computer readable storage medium - Google Patents

For operating the method for peripheral equipment, equipment and computer readable storage medium Download PDF

Info

Publication number
CN108268398A
CN108268398A CN201810101331.2A CN201810101331A CN108268398A CN 108268398 A CN108268398 A CN 108268398A CN 201810101331 A CN201810101331 A CN 201810101331A CN 108268398 A CN108268398 A CN 108268398A
Authority
CN
China
Prior art keywords
electronic equipment
communication interface
peripheral module
terminal device
equipment
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201810101331.2A
Other languages
Chinese (zh)
Inventor
吴登峰
田远
熊涛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Baidu Online Network Technology Beijing Co Ltd
Shanghai Xiaodu Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN201810101331.2A priority Critical patent/CN108268398A/en
Publication of CN108268398A publication Critical patent/CN108268398A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/382Information transfer, e.g. on bus using universal interface adapter
    • G06F13/387Information transfer, e.g. on bus using universal interface adapter for adaptation of different data processing systems to different peripheral devices, e.g. protocol converters for incompatible systems, open system
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/40Bus structure
    • G06F13/4063Device-to-bus coupling
    • G06F13/4068Electrical coupling
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/42Bus transfer protocol, e.g. handshake; Synchronisation
    • G06F13/4282Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2213/00Indexing scheme relating to interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F2213/0042Universal serial bus [USB]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2213/00Indexing scheme relating to interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F2213/38Universal adapter
    • G06F2213/3812USB port controller

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Selective Calling Equipment (AREA)

Abstract

Embodiment of the disclosure is related to method, equipment and computer readable storage medium for operating peripheral equipment.A kind of electronic equipment includes the first communication interface, the second communication interface and controller.The controller is configured to respond to terminal device and is coupled the first communication interface, and in the case of using electronic equipment for power terminal equipment, the control message at least one peripheral module is received from terminal device.At least one peripheral module is coupled to the second communication interface.The controller is additionally configured to send the control message at least one peripheral module so that at least one peripheral module is based on the control message and is operated by terminal device.Embodiment of the disclosure allows terminal device while being charged by communication interface for terminal device that can operate various peripheral equipments using same communication interface.

Description

For operating the method for peripheral equipment, equipment and computer readable storage medium
Technical field
Embodiment of the disclosure relates generally to electronic equipment, and more particularly relates to the side of operation peripheral equipment Method, equipment and computer readable storage medium.
Background technology
Currently there are the speaker base products for terminal device, can be while charging for terminal device There is provided other functions such as music, phonetic entry for the terminal device.However, this kind of speaker base products be typically based on it is specific Bus architecture (for example, Lighting buses of Apple Inc.) and build, can not be suitable for do not support the specific bus framework Other-end equipment.For supporting the terminal device of universal serial bus (USB), when by USB interface be the terminal device During charging, due to the limitation of USB mode, which can not be operated such as microphone, be raised using same USB interface The peripheral equipment of sound device etc..
Invention content
Embodiment of the disclosure provide it is a kind of for support the method for operation of the terminal device to peripheral equipment, equipment and Computer readable storage medium.
According to the disclosure in a first aspect, providing a kind of electronic equipment.The electronic equipment includes the first communication interface, the Two communication interfaces and controller.The controller is configured to respond to terminal device and is coupled the first communication interface, is utilizing electricity In the case that sub- equipment is power terminal equipment, the control message at least one peripheral module is received from terminal device.Extremely A few peripheral module is coupled to the second communication interface.The controller is additionally configured to send at least one peripheral module and be somebody's turn to do Control message so that at least one peripheral module is based on the control message and is operated by terminal device.
According to the second aspect of the disclosure, a kind of method realized at electronic equipment is provided.This method includes:Response The first communication interface of the electronic equipment is coupled in terminal device, is utilizing the feelings that the electronic equipment is power terminal equipment Under condition, the control message at least one peripheral module is received from terminal device, at least one peripheral module is coupled to this Second communication interface of electronic equipment;And send the control message at least one peripheral module so that at least one peripheral hardware Module is based on the control message and is operated by terminal device.
According to the third aspect of the disclosure, a kind of computing device is provided.The computing device includes:At least one processing Device;And storage device, for storing computer program, when the computer program is performed by least one processor so that extremely A few processor realizes the method according to second aspect.
According to the fourth aspect of the disclosure, a kind of computer readable storage medium is provided, is stored thereon with computer journey Sequence realizes the method according to second aspect when the computer program is executed by processor.
In accordance with an embodiment of the present disclosure, Summary is provided it is in order to which simplified form introduces the choosing to concept It selects, will be further described in their specific embodiments below.Summary is not intended to identify the key of the disclosure Feature or main feature, are also not intended to limit the scope of the present disclosure.
Description of the drawings
Disclosure exemplary embodiment is described in more detail in conjunction with the accompanying drawings, the disclosure it is above-mentioned and other Purpose, feature and advantage will be apparent, wherein, in disclosure exemplary embodiment, identical reference label is usual Represent same parts.
Fig. 1 is shown in which to realize the schematic diagram of the example context of multiple embodiments according to the disclosure;
Fig. 2 shows the schematic block diagrams of the peripheral module according to some embodiments of the present disclosure;
Fig. 3 shows the schematic block diagram of the electronic equipment according to some embodiments of the present disclosure;
Fig. 4 shows the flow chart of the method realized at electronic equipment according to some embodiments of the present disclosure;And
Fig. 5 shows the schematic block diagram that can be used for implementing the example apparatus of embodiment of the disclosure.
Specific embodiment
Preferred embodiment of the present disclosure is more fully described below with reference to accompanying drawings.Although the disclosure is shown in attached drawing Preferred embodiment, however, it is to be appreciated that may be realized in various forms the disclosure without should be limited by embodiments set forth here System.On the contrary, these embodiments are provided so that the disclosure is more thorough and complete, and can be complete by the scope of the present disclosure Ground is communicated to those skilled in the art.
Terminology used in this article " comprising " and its deformation represent that opening includes, i.e., " include but not limited to ".Unless Especially statement, term "or" represent "and/or".Term "based" represents " being based at least partially on ".Term " implemented by an example Example " and " one embodiment " expression " at least one example embodiment ".Term " another embodiment " expression is " at least one other Embodiment ".Term " first ", " second " etc. may refer to different or identical objects.It is hereafter also possible that other bright True and implicit definition.
In traditional scheme, USB slave patterns are must operate at for example, by the terminal device that USB interface is electrically charged.However, Terminal device under USB slave patterns can not send order or carry out data transmission.Therefore, which is being electrically charged While the peripheral equipment of microphone, loud speaker etc. can not be operated using same USB interface.
Regarding to the issue above and potential other problems, embodiment of the disclosure provide one kind for terminal to be supported to set The technical solution of the standby operation to peripheral equipment.It is terminal device that the program, which allows in the communication interface by such as USB interface, Terminal device is enabled to operate various peripheral equipments using same communication interface while charging, is achieved in such as The multiple functions such as high-quality music broadcasting, remote control, extended screen are shown, data storage and access.
In the following description, using USB interface as the example of communication interface.It will be appreciated, however, that this is only by way of example With the purpose convenient for description, and it is not intended to be limited to the scope of the present disclosure.Embodiment of the disclosure can also utilize except USB interface it Outer communication interface realizes, including but not limited to any to have or the communication interface of exploitation in the future.
Fig. 1 is shown according to the schematic diagram of example context 100 that can wherein realize multiple embodiments according to the disclosure. As shown in Figure 1, environment 100 can include terminal device 110, electronic equipment 120 and at least one peripheral module 130.It should Understand, the purpose that environment 100 as shown in Figure 1 is given for example only, and do not imply that any restrictions for the scope of the present disclosure.This Disclosed embodiment can be implemented in the environment different from environment 100.
As shown in Figure 1, terminal device 110 can be coupled to electronic equipment 120.In some embodiments, terminal device 110 can be coupled to electronic equipment 120 via communication interface.Terminal device 110 can be various mobile terminals or portable Equipment, including but not limited to mobile phone, tablet computer, portable multimedia apparatus etc..
As shown in Figure 1, peripheral module 130 can also be coupled to electronic equipment 120.In some embodiments, electronics is set Standby 120 can provide at least one communication interface to be coupled at least one peripheral module 130.Peripheral module 130 can be each The peripheral equipment of type, such as microphone, loud speaker, display screen, remote controler, alarm clock, storage device etc..Microphone can be The microphone array formed by multiple microphones can realize far field pickup function.For example, as user and the distance of microphone Farther out and true environment is there are when a large amount of noise, multipath reflection and reverberation, and microphone array can be to preferably capture voice Information.Loud speaker can be operable to playing audio-fequency data, music etc..Display screen can be operable to display information.It is distant Control device can receive control instruction, and perform corresponding remote control based on control instruction.Storage device can be used for depositing Data are stored up, storage medium that is any known or will developing can be included.Alarm clock can indicate the time, can also be set with It is made a sound or other signals in predetermined instant.It should be appreciated that microphone, loud speaker, display screen, remote controler, alarm clock or storage Device etc. is provided as just the example of peripheral module, and is not intended to be limited to the scope of the present disclosure.In the implementation of the disclosure In example, peripheral module is not limited to above-mentioned these common peripheral modules enumerated, but can include via communication interface can coming Any function module of operation.
In some embodiments, peripheral module 130 can be coupled directly to the communication interface of electronic equipment 120.For example, Electronic equipment 120 can provide multiple communication interfaces, to be coupled respectively with multiple peripheral modules 130.Alternatively, at other In embodiment, electronic equipment 120 can only provide a communication interface, to be coupled with multiple peripheral modules 130.With USB interface As the example of communication interface, in some embodiments, multiple peripheral modules 130 can be coupled to electricity via usb hub The USB interface that sub- equipment 120 is provided.
In this regard, Fig. 2 shows the schematic frames of multiple peripheral modules 130 according to some embodiments of the present disclosure Figure.As shown in Fig. 2, such as microphone 130-1, loud speaker 130-2, display screen 130-3, alarm clock 130-4, remote controler 130-5 with And multiple peripheral modules 130 of storage device 130-6 etc. are respectively coupled to multiple USB interfaces of usb hub 210.In addition, A USB interface in usb hub 210 may also coupled to the USB interface provided by electronic equipment 120, be achieved in The coupling of multiple peripheral modules 130 and electronic equipment 120.It, should although only showing a usb hub 210 in fig. 2 Understand that this is solely for the purpose of illustration, and be not intended to be limited to the scope of the present disclosure.In some embodiments, phase can be utilized Mutual cascade multiple usb hubs support the coupling of more peripheral modules and electronic equipment 120.
Referring back to Fig. 1, in some embodiments, electronic equipment 120 can be speaker, such as intelligent sound box.Additionally Or alternatively, in some embodiments, electronic equipment 120 can be the pedestal for carrying terminal device 110, such as provide The speaker pedestal of USB interface.In some embodiments, electronic equipment 120 is the base that can be charged to terminal device 110 Seat can utilize at least one peripheral module 130 to perform at least part function of speaker.It should be appreciated that pedestal, intelligent sound box And other implementations it is merely exemplary be provided, electronic equipment 120 can also be presented in the form of other are suitable.
It will be appreciated that though be shown as being separated from each other by electronic equipment 120 and at least one peripheral module 130 in Fig. 1, But at least part peripheral module in electronic equipment 120 and at least one peripheral module 130 can be by some embodiments It realizes on the same device.For example, in some embodiments, peripheral module 130-1~130-6 as shown in Figure 2 and USB set Line device 210 can be included in electronic equipment 120.In addition, in some embodiments, utilizing mutual cascade multiple USB For hub come in the case of connecting more peripheral modules, part peripheral module in these peripheral modules (and connects theirs Usb hub) it can be included in electronic equipment 120, and remaining peripheral module (and connecting their usb hub) can To be not included in electronic equipment 120.
In environment 100 as shown in Figure 1, electronic equipment 120 can charge via communication interface for terminal device 110. At the same time, electronic equipment 120 can realize bidirectional data transfers between terminal device 110 and peripheral module 130 so that eventually End equipment 110 can operate peripheral module 130 by same communication interface.
Fig. 3 shows the schematic block diagram of the electronic equipment 120 according to some embodiments of the present disclosure.It should be appreciated that such as The modules of electronic equipment 120 shown in Fig. 3 only provide in an exemplary fashion, and are not intended to be limited to the scope of the present disclosure, Those skilled in the art can be added the module in Fig. 3, be deleted or modified.
As shown in figure 3, electronic equipment 120 can at least include the first communication interface 310-1 and the second communication interface 310- 2.For example, the first communication interface 310-1 can be the first USB host interface, and the second communication interface 310-2 can be second USB host interface.Only by way of example and the purpose convenient for description, it is set in being described below of Fig. 3 using USB interface as electronics The example of standby 120 communication interface.Specifically, the first communication interface 310-1 with the first USB host interface 310-1 is interchangeable makes With, and the second communication interface 310-2 and the second USB host interface 310-2 is used interchangeably.It should be appreciated, however, that this not purport In limitation the scope of the present disclosure, embodiment of the disclosure can be realized by the communication interface in addition to USB interface, including but It is not limited to any communication interface having or develop in the future.
In some embodiments, terminal device 110 as shown in Figure 1 can be coupled to the first USB host interface 310- 1, and peripheral module 130 can be coupled to the second USB host interface 310-2.For exemplary purposes, in figure 3, electronics is set Standby 120 are shown merely for a USB interface (that is, second USB host interface 310-2) for coupling peripheral module 130.For example, Multiple peripheral modules 130 can be coupled to the second USB host interface 310-2 via usb hub.It should be appreciated, however, that this Purpose only by way of example, and it is not intended to be limited to the scope of the present disclosure.In some implementations, electronic equipment 120 can provide More than two USB host interface, to realize the coupling with terminal device 110 and multiple peripheral modules 130 respectively.
Electronic equipment 120 can also include controller 320, and controller 320 can be processor (for example, general processor) Or control circuit system.For example, control circuit system can be application-specific integrated circuit (ASIC) or field programmable gate The programmable circuits such as array (FPGA).
In some embodiments, controller 320 can be operated in USB holotypes, and make to connect coupled to the first usb host The terminal device 110 of mouthful 310-1 and it is operated in USB slave patterns coupled to the peripheral module 130 of the second USB host interface 320-1. In the case, controller 320 can be powered using power supply 330 for the terminal device 110 being operated under USB slave patterns. In some embodiments, such as shown in figure 3, power supply 330 can be the battery inside electronic equipment 120.It is additionally or standby Choosing, in further embodiments, power supply 330 can be the power supply module outside electronic equipment 120.In some embodiments In, in the case where being powered using power supply 330 for terminal device 110, controller 320 can also receive needle from terminal device 110 At least one peripheral module 130 is forwarded to the control message of at least one peripheral module 130, and by the control message, is made The control message can be based on and be operated by terminal device 110 by obtaining at least one peripheral module 130.In other words, controller 320 can With in the case where being powered using power supply 330 for terminal device 110 so that terminal device 110 can operate at least one Peripheral module 130.
In some embodiments, in the case where being powered using power supply 330 for terminal device 110, controller 320 can be from Terminal device 110 receives instruction terminal equipment 110 will be to the control message of some 130 transmission data of peripheral module.Controller 320 The control message can be forwarded to corresponding peripheral module 130 so that the peripheral module 130 be based on the control message and by Operation.
In some embodiments, for example, the control message can be wanted to utilize as shown in Figure 3 with instruction terminal equipment 110 Loud speaker 130-2 plays music.In the case, controller 320 can be set via the first USB host interface 310-1 from terminal Standby 110 receive the music to be played, and the music is sent to loud speaker 130-2 via the second USB host interface 310-2, For playing.By this method, terminal device 110 can be broadcast while being electrically charged using loud speaker 130-2 as shown in Figure 3 Put high-quality music.
In some embodiments, for example, the control information can be wanted to utilize as shown in Figure 3 with instruction terminal equipment 110 Display screen 130-3 shows information.In the case, controller 320 can be set via the first USB host interface 310-1 from terminal Standby 110 receive information to be shown, and send that information to display screen 130-3 via the second USB host interface 310-2, For display.By this method, terminal device 110 can be shown while being electrically charged using display screen 130-3 as shown in Figure 3 Show information.
In some embodiments, for example, the control information can be wanted to deposit to as shown in Figure 3 with instruction terminal equipment 110 Storage device 130-6 stores data.In the case, controller 320 can be set via the first USB host interface 310-1 from terminal Standby 110 receive data to be stored, and send the data to storage device via the second USB host interface 310-2 130-6, for storage.By this method, terminal device 110 can be while being electrically charged to storage device as shown in Figure 3 130-6 stores data.
In further embodiments, for example, the control information can be wanted with instruction terminal equipment 110 to as shown in Figure 3 Remote controler 130-5 sends control instruction to realize remote control.In the case, controller 320 can be via the first usb host Interface 310-1 receives control instruction from terminal device 110, and sends out the control instruction via the second USB host interface 310-2 Remote controler 130-5 is given, for carrying out remote control.By this method, terminal device 110 can be while being electrically charged to such as Remote controler 130-5 shown in Fig. 3 sends control instruction to realize remote control.
Additionally or alternatively, in some embodiments, the situation that power supply 330 is the power supply of terminal device 110 is being utilized Under, controller 320 can receive instruction terminal equipment 110 from terminal device 110 to obtain data from some peripheral module 130 Control message.The control message can be forwarded to corresponding peripheral module 130 by controller 320, so that the peripheral module 130 It is operated based on the control message.
In some embodiments, for example, the control message can be wanted with instruction terminal equipment 110 from wheat as shown in Figure 3 The voice command that gram wind 130-1 acquisition is captured by microphone 130-1.In the case, controller 320 can be via the 2nd USB Host interface 310-2 obtains the voice command of its capture from microphone 130-1, and the voice command is sent to terminal device 110, to carry out the operations such as voice command identification.By this method, terminal device 110 can be while being electrically charged from such as Fig. 3 institutes The voice command that the microphone 130-1 acquisitions shown are captured by microphone 130-1, to carry out respective handling.
In further embodiments, for example, the control information can be wanted with instruction terminal equipment 110 from as shown in Figure 3 Storage device 130-6 reads stored data etc..In the case, controller 320 can be via the second USB host interface 310-2 reads the data of storage from storage device 130-6, and by read data forwarding to terminal device 110.With this side Formula, terminal device 110 can read stored data while being electrically charged from storage device 130-6 as shown in Figure 3.
By above description, it can be seen that embodiment of the disclosure provides one kind for terminal device to be supported to set periphery The technical solution of standby operation.The program allows terminal while being charged by communication interface for terminal device to set It is standby that various peripheral equipments can be operated using same communication interface, be achieved in such as high-quality music broadcasting, remote control, The multiple functions such as extended screen is shown, data storage and access.
Fig. 4 shows the flow of the method 400 realized at electronic equipment 120 according to some embodiments of the present disclosure Figure.Method 400 can be realized at Fig. 1 or shown in Fig. 3 electronic equipments 120.For example, method 400 can be by as shown in Figure 3 Controller 320 is realized.It should be appreciated that method 400 can also include unshowned additional move and/or can be omitted shown Action, and the scope of the present disclosure is not limited in this respect.
In frame 410, electronic equipment 120 determine terminal device 110 whether be coupled to electronic equipment 120 first communication connect Mouth 310-1.When electronic equipment 120 determines that terminal device 110 is coupled to the first communication interface 310-1 of electronic equipment 120, Method 400 is carried out to frame 420.
In frame 420 in the case where being powered using electronic equipment 120 for terminal device 110, electronic equipment 120 is from terminal Equipment 110 receives the control message at least one peripheral module 130.In other words, it is terminal device in electronic equipment 120 While 110 power supply, electronic equipment 120 receives the control message from terminal device 110.At least one peripheral module 130 can be with It is coupled to the second communication interface 310-2 of electronic equipment 120.
In some embodiments, at least one peripheral module 130 can include microphone, loud speaker, alarm clock, display screen, Remote controler, storage device and/or other appropriate modules.
In some embodiments, at least one peripheral module 130 can be included in electronic equipment 120.Alternatively, exist In some embodiments, at least one peripheral module 130 can be coupled to the second communication interface 310-2 via usb hub.It is attached Add ground or alternatively, the usb hub and at least one peripheral module 130 can be all included in electronic equipment 120.
In some embodiments, electronic equipment 120 can be powered using battery inside it for terminal device 110. Alternatively, in further embodiments, electronic equipment 120 can be utilized supplies from its external electric power for terminal device 110 Electricity.
In frame 430, electronic equipment 120 can send control information at least one peripheral module 130 so that at least one Peripheral module 130 is based on the control information and is operated by terminal device 110.
In some embodiments, which can will be sent out with instruction terminal equipment 110 at least one peripheral module 130 Send data.The control message can be sent at least one peripheral module 130 by electronic equipment 120.In addition, electronic equipment 120 Via the first communication interface 310-1 its number to be sent at least one peripheral module 130 can be received from terminal device 110 According to, and send the data at least one peripheral module 130 via the second communication interface 310-2.
In further embodiments, which can will be from least one peripheral module 130 with instruction terminal equipment 110 Obtain data.The control message can be sent at least one peripheral module 130 by electronic equipment 120.In addition, electronic equipment 120 can obtain data, and via the first communication interface 310- via the second communication interface from least one peripheral module 130 1 sends the data to terminal device 110.
By this method, embodiment of the disclosure allows to carry out for terminal device in the communication interface by such as USB interface Terminal device is enabled to operate various peripheral equipments using same communication interface while charging, is achieved in such as Gao Pin The multiple functions such as matter music, remote control, extended screen are shown, data storage and access.
Fig. 5 shows the schematic block diagram that can be used for implementing the example apparatus 500 of embodiment of the disclosure.For example, it sets Standby 500 can be used to implement controller 320 as shown in Figure 3.As shown in the figure, equipment 500 includes central processing unit (CPU) 501, it can be loaded according to the computer program instructions being stored in read-only memory (ROM) 502 or from storage unit 508 To the computer program instructions in random access storage device (RAM) 503, to perform various appropriate actions and processing.In RAM In 503, can also storage device 500 operate required various programs and data.CPU 501, ROM 502 and RAM 503 pass through Bus 504 is connected with each other.Input/output (I/O) interface 505 is also connected to bus 504.
Multiple components in equipment 500 are connected to I/O interfaces 505, including:Input unit 506, such as keyboard, mouse etc.; Output unit 507, such as various types of displays, loud speaker etc.;Storage unit 508, such as disk, CD etc.;It is and logical Believe unit 509, such as network interface card, modem, wireless communication transceiver etc..Communication unit 509 allows equipment 500 by such as The computer network of internet and/or various telecommunication networks exchange information/data with other equipment.
Processing unit 501 performs each method as described above and processing, such as method 400.For example, in some implementations In example, method 400 can be implemented as computer software programs, be tangibly embodied in machine readable media, such as storage list Member 508.In some embodiments, some or all of of computer program can be via ROM 502 and/or communication unit 509 And it is loaded into and/or is installed in equipment 500.It, can be with when computer program loads to RAM 503 and when being performed by CPU 501 Perform the one or more steps of method as described above 400.Alternatively, in other embodiments, CPU 501 can pass through it His any appropriate mode (for example, by means of firmware) and be configured as execution method 400.
Function described herein can be performed by one or more hardware logic components at least partly.Example Such as, without limitation, the hardware logic component for the exemplary type that can be used includes:It is field programmable gate array (FPGA), special Integrated circuit (ASIC), Application Specific Standard Product (ASSP), the system (SOC) of system on chip, load programmable logic device (CPLD) etc..
Any combinations that one or more programming languages may be used in program code for implementing disclosed method are come It writes.These program codes can be supplied to the place of all-purpose computer, special purpose computer or other programmable data processing units Manage device or controller so that program code when processor or controller execution when by making defined in flow chart and/or block diagram Function/operation is carried out.Program code can be performed completely on machine, partly be performed on machine, as stand alone software It is performed on machine to packet portion and partly performs or performed on remote machine or server completely on the remote machine.
In the context of the disclosure, machine readable media can be tangible medium, can include or be stored for The program that instruction execution system, device or equipment are used or is used in combination with instruction execution system, device or equipment.Machine can It can be machine-readable signal medium or machine-readable storage medium to read medium.Machine readable media can include but is not limited to electricity Son, magnetic, optical, electromagnetism, infrared or semiconductor system, device or equipment or the above any conjunction Suitable combination.The more specific example of machine readable storage medium can include being electrically connected based on one or more lines, portable meter Calculation machine disk, hard disk, random access memory (RAM), read-only memory (ROM), Erasable Programmable Read Only Memory EPROM (EPROM Or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage facilities or Any appropriate combination of the above.
Although in addition, depicting each operation using certain order, this should be understood to requirement operation in this way with shown The certain order that goes out performs or requires the operation of all diagrams should be performed to obtain desired result in sequential order. Under certain environment, it may be advantageous for multitask and parallel processing.Similarly, although containing several tools in being discussed above Body realizes details, but these are not construed as the limitation to the scope of the present disclosure.In the context of individual embodiment Described in certain features can also in combination realize in single realization.On the contrary, described in the context of single realization Various features can also individually or in any suitable subcombination realize in multiple realizations.
It, should although having used specific to this theme of the language description of structure feature and/or method logical action When understanding that the theme defined in the appended claims is not necessarily limited to special characteristic described above or action.On on the contrary, The described special characteristic in face and action are only to realize the exemplary forms of claims.

Claims (22)

1. a kind of electronic equipment, including:
First communication interface;
Second communication interface;And
Controller, the controller are configured as:
First communication interface is coupled in response to terminal device, is being the power terminal equipment using the electronic equipment In the case of, receive the control message at least one peripheral module, at least one peripheral hardware mould from the terminal device Block is coupled to second communication interface;And
The control message is sent at least one peripheral module so that at least one peripheral module is based on the control Message processed and operated by the terminal device.
2. electronic equipment according to claim 1, wherein at least one peripheral module is including at least one of following:Wheat Gram wind, loud speaker, alarm clock, display screen, remote controler and storage device.
3. electronic equipment according to claim 1 is set wherein at least one peripheral module is included in the electronics In standby.
4. electronic equipment according to claim 1, wherein first communication interface is the first universal serial bus (USB) Host interface, and second communication interface is the second USB host interface.
5. electronic equipment according to claim 4, wherein at least one peripheral module is coupled via usb hub To second USB host interface.
6. electronic equipment according to claim 1, wherein being included using the electronic equipment for the power terminal equipment:
It is the power terminal equipment using the battery in the inside of the electronic equipment.
7. electronic equipment according to claim 1, wherein being included using the electronic equipment for the power terminal equipment:
It is the power terminal equipment using the electric power from the electronic device exterior.
8. electronic equipment according to claim 1, wherein the control message indicate the terminal device will to it is described extremely A few peripheral module transmission data, and the controller is additionally configured to:
Via first communication interface data are received from the terminal device;And
Via second communication interface data are sent at least one peripheral module.
9. electronic equipment according to claim 1, wherein the control message indicate the terminal device will from it is described to A few peripheral module obtains data, and the controller is additionally configured to:
Via second communication interface data are obtained from least one peripheral module;And
Via first communication interface data are sent to the terminal device.
10. electronic equipment according to claim 1, wherein the electronic equipment is the base for carrying the terminal device Seat.
11. a kind of method realized at electronic equipment, including:
The first communication interface of the electronic equipment is coupled in response to terminal device, is being described using the electronic equipment In the case of power terminal equipment, from the terminal device receive at least one peripheral module control message, it is described extremely A few peripheral module is coupled to the second communication interface of the electronic equipment;And
The control message is sent at least one peripheral module so that at least one peripheral module is based on the control Message processed and operated by the terminal device.
12. according to the method for claim 11, wherein at least one peripheral module is including at least one of following:Mike Wind, loud speaker, alarm clock, display screen, remote controler and storage device.
13. according to the method for claim 11, wherein at least one peripheral module is included in the electronic equipment In.
14. according to the method for claim 11, wherein first communication interface is that the first universal serial bus (USB) is main Machine interface, and second communication interface is the second USB host interface.
15. according to the method for claim 14, wherein at least one peripheral module is coupled to via usb hub Second USB host interface.
16. according to the method for claim 11, wherein being included using the electronic equipment for the power terminal equipment:
It is the power terminal equipment using the battery in the inside of the electronic equipment.
17. according to the method for claim 11, wherein being included using the electronic equipment for the power terminal equipment:
It is the power terminal equipment using the electric power from the electronic device exterior.
18. according to the method for claim 11, wherein the control message indicate the terminal device will to it is described at least One peripheral module transmission data, and the method further includes:
Via first communication interface data are received from the terminal device;And
Via second communication interface data are sent at least one peripheral module.
19. according to the method for claim 11, wherein the control message indicate the terminal device will from it is described at least One peripheral module obtains data, and the method further includes:
Via second communication interface data are obtained from least one peripheral module;And
Via first communication interface data are sent to the terminal device.
20. according to the method for claim 11, wherein the electronic equipment is the pedestal for carrying the terminal device.
21. a kind of computing device, including:
At least one processor;And
Memory, for storing computer program, when the computer program is performed by least one processor so that institute State method of at least one processor realization according to any one of claim 11-20.
22. a kind of computer readable storage medium is stored thereon with computer program, is realized when described program is executed by processor According to the method described in any one of claim 11-20.
CN201810101331.2A 2018-02-01 2018-02-01 For operating the method for peripheral equipment, equipment and computer readable storage medium Pending CN108268398A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810101331.2A CN108268398A (en) 2018-02-01 2018-02-01 For operating the method for peripheral equipment, equipment and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810101331.2A CN108268398A (en) 2018-02-01 2018-02-01 For operating the method for peripheral equipment, equipment and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN108268398A true CN108268398A (en) 2018-07-10

Family

ID=62777237

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810101331.2A Pending CN108268398A (en) 2018-02-01 2018-02-01 For operating the method for peripheral equipment, equipment and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN108268398A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110601986A (en) * 2019-08-02 2019-12-20 广州市高科通信技术股份有限公司 Router supporting peripheral control over mobile terminal equipment, control method and device
CN110794282A (en) * 2018-08-02 2020-02-14 大陆汽车投资(上海)有限公司 dSPACE-HIL system based method and apparatus for communicating with electronic devices
CN114780161A (en) * 2022-06-13 2022-07-22 深圳市乐目通讯有限公司 Device capable of adapting to multiple electronic components and electronic product capable of replacing electronic components

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN205544514U (en) * 2016-03-11 2016-08-31 深圳市普洛威电子有限公司 Take DATA TRANSFER FUNCTIONS's integrated charger
CN106021155A (en) * 2016-05-25 2016-10-12 深圳市昂宇电子有限公司 USB power supply port capable of outputting audio videos
CN205680090U (en) * 2015-11-12 2016-11-09 深圳市睿佳利电子科技有限公司 A kind of USB interface hub
CN107220206A (en) * 2017-05-25 2017-09-29 上海传英信息技术有限公司 Converter and the method that mobile terminal and external equipment are connected by converter
CN206541267U (en) * 2016-12-19 2017-10-03 深圳泰克威云储科技股份有限公司 A kind of storage system device for supporting Intelligent mobile equipment data transfer and charging
CN107533529A (en) * 2015-04-28 2018-01-02 密克罗奇普技术公司 USB intelligent HUB
CN107562168A (en) * 2017-09-12 2018-01-09 深圳凯晖电子科技有限公司 Power supply adaptor with usb data read-write

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107533529A (en) * 2015-04-28 2018-01-02 密克罗奇普技术公司 USB intelligent HUB
CN205680090U (en) * 2015-11-12 2016-11-09 深圳市睿佳利电子科技有限公司 A kind of USB interface hub
CN205544514U (en) * 2016-03-11 2016-08-31 深圳市普洛威电子有限公司 Take DATA TRANSFER FUNCTIONS's integrated charger
CN106021155A (en) * 2016-05-25 2016-10-12 深圳市昂宇电子有限公司 USB power supply port capable of outputting audio videos
CN206541267U (en) * 2016-12-19 2017-10-03 深圳泰克威云储科技股份有限公司 A kind of storage system device for supporting Intelligent mobile equipment data transfer and charging
CN107220206A (en) * 2017-05-25 2017-09-29 上海传英信息技术有限公司 Converter and the method that mobile terminal and external equipment are connected by converter
CN107562168A (en) * 2017-09-12 2018-01-09 深圳凯晖电子科技有限公司 Power supply adaptor with usb data read-write

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110794282A (en) * 2018-08-02 2020-02-14 大陆汽车投资(上海)有限公司 dSPACE-HIL system based method and apparatus for communicating with electronic devices
CN110794282B (en) * 2018-08-02 2021-11-02 大陆汽车投资(上海)有限公司 dSPACE-HIL system based method and apparatus for communicating with electronic devices
CN110601986A (en) * 2019-08-02 2019-12-20 广州市高科通信技术股份有限公司 Router supporting peripheral control over mobile terminal equipment, control method and device
CN114780161A (en) * 2022-06-13 2022-07-22 深圳市乐目通讯有限公司 Device capable of adapting to multiple electronic components and electronic product capable of replacing electronic components

Similar Documents

Publication Publication Date Title
CN102187544B (en) Accessory power management
CN112736599B (en) Method and apparatus for providing an interface
CN113675636B (en) Electronic device and method for electronic device to identify connection terminal of external device
WO2019184300A1 (en) Ai control element, smart household control system and control method
CN108268398A (en) For operating the method for peripheral equipment, equipment and computer readable storage medium
CN106233530B (en) The antenna of electronic device and the component using electronic device
CN108399917A (en) Method of speech processing, equipment and computer readable storage medium
CN107274902A (en) Phonetic controller and method for household electrical appliances
CN106101979A (en) Method and the electronic equipment of use the method for short-distance wireless communication
CN105163236A (en) Intelligent sound system with gateway control function
CN108076226A (en) A kind of method, mobile terminal and the storage medium of speech quality adjustment
KR20200045367A (en) Electronic device using a bluetooth communication and method of operating the same
CN108291930A (en) Electronic equipment including antenna
KR102512614B1 (en) Electronic device audio enhancement and method thereof
CN104950739A (en) Electronic device, audio device, and method for supplying power to the audio device
CN108347719A (en) Connection method of Bluetooth device, device, storage medium, mobile terminal and server
KR20190037834A (en) Electronic device having a ground for an ear set
US11204882B2 (en) Electronic device for controlling external conversion device
CN104217709A (en) Electronic organ with keys freely combinable and method for realizing free combination
CN106453005A (en) Intelligent air-conditioning system having personalized speech broadcast function
KR20220016544A (en) Electronic device for supporting audio sharing
CN105703806A (en) Bluetooth module control method and apparatus of playing equipment, and audio-video playing system
CN203708426U (en) Earphone
CN203352572U (en) Novel digital interphone
CN106560764A (en) Multifunctional general embedded multi-system management server

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right

Effective date of registration: 20210508

Address after: 100080 No.10, Shangdi 10th Street, Haidian District, Beijing

Applicant after: BAIDU ONLINE NETWORK TECHNOLOGY (BEIJING) Co.,Ltd.

Applicant after: Shanghai Xiaodu Technology Co.,Ltd.

Address before: 100080 No.10, Shangdi 10th Street, Haidian District, Beijing

Applicant before: BAIDU ONLINE NETWORK TECHNOLOGY (BEIJING) Co.,Ltd.

TA01 Transfer of patent application right
RJ01 Rejection of invention patent application after publication

Application publication date: 20180710

RJ01 Rejection of invention patent application after publication