CN107239106A - A kind of recognition methods of power supply adaptor and device - Google Patents

A kind of recognition methods of power supply adaptor and device Download PDF

Info

Publication number
CN107239106A
CN107239106A CN201710400347.9A CN201710400347A CN107239106A CN 107239106 A CN107239106 A CN 107239106A CN 201710400347 A CN201710400347 A CN 201710400347A CN 107239106 A CN107239106 A CN 107239106A
Authority
CN
China
Prior art keywords
power supply
supply adaptor
adapter
electronic equipment
charging
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
CN201710400347.9A
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.)
Meizu Technology Co Ltd
Original Assignee
Meizu 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 Meizu Technology Co Ltd filed Critical Meizu Technology Co Ltd
Priority to CN201710400347.9A priority Critical patent/CN107239106A/en
Publication of CN107239106A publication Critical patent/CN107239106A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/16Constructional details or arrangements
    • G06F1/1613Constructional details or arrangements for portable computers
    • G06F1/1633Constructional details or arrangements of portable computers not specific to the type of enclosures covered by groups G06F1/1615 - G06F1/1626
    • G06F1/1635Details related to the integration of battery packs and other power supplies such as fuel cells or integrated AC adapter
    • 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]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Theoretical Computer Science (AREA)
  • Power Engineering (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Charge And Discharge Circuits For Batteries Or The Like (AREA)

Abstract

The invention discloses a kind of recognition methods of power supply adaptor and device, the charging system constituted applied to the power supply adaptor with A type USB interfaces with the electronic equipment with c-type USB interface;The device recognition methods of the power adaptation may include:When detecting electronic equipment and having upper electric adapter access, the first communications pins in the electronic equipment and the second communications pins in the adapter are turned on by signal wire, and to the adapter sends model and reads and instruct;And receive the adapter type information that the power supply adaptor reads instruction feedback for the model;And, however, it is determined that the adapter type information is consistent with default type information, it is determined that the power supply adaptor is private adapter.Compare and prior art, the first communications pins in electronic equipment can be connected with the second communications pins in power supply adaptor, be enable to realize the identification of power supply adaptor based on the information exchange between power supply adaptor and electronic equipment.

Description

A kind of recognition methods of power supply adaptor and device
Technical field
The present invention relates to recognition methods and the device in charging technique field, more particularly to a kind of power supply adaptor.
Background technology
It is well known that in the charging process of electronic equipment, electronic equipment would generally will be charged by signal of communication line to be controlled Signal (as filled charging signals, common charging signals soon, prohibiting and fill charging signals) processed is sent to being connected with the electronic equipment Power supply adaptor, can be exported by the power supply adaptor based on charging control signal adjustment to the electronic equipment Voltage and electric current.
But, with the popularization of USB Type-C interfaces, the electronic equipment for possessing USB Type-C interfaces is more and more, and The interface of power supply adaptor is still often USB Type-A interfaces, and USB Power Delivery are met when needing to use The data line of (Universal Serial Bus Power Delivery, USB power output) agreement enters During the transmission of the charging control signal between row power supply adaptor and electronic equipment, due to the power adaptation of USB Type-A interfaces Device can not realize that PD communicates between the electronic equipment of USB Type-C interfaces with possessing, thus may result in electronic equipment can not The problem of recognizing power supply adaptor or identification mistake.
That is, there is the problem of accuracy is relatively low in the recognition methods of existing power supply adaptor.
The content of the invention
The embodiments of the invention provide a kind of recognition methods of power supply adaptor and device, fitted to solve existing power supply The problem of accuracy present in the recognition methods of orchestration is relatively low.
The embodiments of the invention provide a kind of recognition methods of power supply adaptor, applied to the power supply with A type USB interfaces It is provided with the charging system that adapter is constituted with the electronic equipment with c-type USB interface, the c-type USB interface of the electronic equipment The second communications pins are provided with first communications pins, the A type USB interfaces of the adapter;The device identification side of the power adaptation Method includes:
When detecting electronic equipment and having upper electric adapter access, the in the electronic equipment is turned on by signal wire One communications pins and the second communications pins in the adapter, and send model reading instruction to the adapter;
Receive the adapter type information that the power supply adaptor reads instruction feedback for the model;
If it is determined that the adapter type information is consistent with default type information, it is determined that the power supply adaptor is special Use adapter.
Correspondingly, the embodiments of the invention provide a kind of identifying device of power supply adaptor, connect applied to A types USB The charging system that the power supply adaptor of mouth is constituted with the electronic equipment with c-type USB interface, the c-type USB of the electronic equipment connects It is provided with mouthful in the first communications pins, the A type USB interfaces of the adapter and is provided with the second communications pins;The power adaptation Device identifying device includes:
Sending module, for when detecting electronic equipment and having upper electric adapter access, being turned on by signal wire described The first communications pins in electronic equipment and the second communications pins in the adapter, and send model reading to the adapter Instruction fetch;
Receiving module, the adapter model letter of instruction feedback is read for receiving the power supply adaptor for the model Breath;
Processing module, for if it is determined that the adapter type information is consistent with default type information, it is determined that described Power supply adaptor is private adapter.
Further, the embodiments of the invention provide a kind of computing device, including memory and processor, wherein:
The memory, for storage program instruction;
The processor, sheet is performed for calling the programmed instruction stored in the memory, and according to the program of acquisition The recognition methods of power supply adaptor described in inventive embodiments.
In addition, the embodiment of the present invention additionally provides a kind of computer-readable storage medium, the computer-readable storage medium is stored with Computer executable instructions, the computer executable instructions are used to make the computer perform described in the embodiment of the present invention The recognition methods of power supply adaptor.
The present invention has the beneficial effect that:
The embodiments of the invention provide a kind of recognition methods of power supply adaptor, applied to the power supply with A type USB interfaces It is provided with the charging system that adapter is constituted with the electronic equipment with c-type USB interface, the c-type USB interface of the electronic equipment The second communications pins are provided with first communications pins, the A type USB interfaces of the adapter;The device identification side of the power adaptation Method may include:When detecting electronic equipment and having upper electric adapter access, turned on by signal wire in the electronic equipment First communications pins and the second communications pins in the adapter, and send model reading instruction to the adapter;And connect Receive the adapter type information that the power supply adaptor reads instruction feedback for the model;And, however, it is determined that the adaptation Device type information is consistent with default type information, it is determined that the power supply adaptor is private adapter.Compared to existing skill Art, in embodiments of the present invention, the A types that the first communications pins in the c-type USB interface of electronic equipment can be with power supply adaptor The second communications pins in USB interface are connected so that electronic equipment can based on power supply adaptor and electronic equipment it Between information exchange realize the identification of power supply adaptor.It is accurate present in the recognition methods of existing power supply adaptor to solve The problem of property is relatively low.
Brief description of the drawings
Technical scheme in order to illustrate the embodiments of the present invention more clearly, makes required in being described below to embodiment Accompanying drawing is briefly introduced, it should be apparent that, drawings in the following description are only some embodiments of the present invention, for this For the those of ordinary skill in field, on the premise of not paying creative work, other can also be obtained according to these accompanying drawings Accompanying drawing.
Fig. 1 show the schematic flow sheet of the recognition methods of the power supply adaptor provided in the embodiment of the present invention one;
Fig. 2 show the structural representation of the identifying device of the power supply adaptor provided in the embodiment of the present invention two;
Fig. 3 show the structural representation of the computing device provided in the embodiment of the present invention three.
Embodiment
In order that the object, technical solutions and advantages of the present invention are clearer, below in conjunction with accompanying drawing the present invention is made into One step it is described in detail, it is clear that described embodiment is only a part of embodiment of the invention, rather than whole implementation Example.Based on the embodiment in the present invention, what those of ordinary skill in the art were obtained under the premise of creative work is not made All other embodiment, belongs to the scope of protection of the invention.
Embodiment one:
In order to solve the problem of accuracy present in the recognition methods of existing power supply adaptor is relatively low, the present invention is implemented Example one provides a kind of recognition methods of power supply adaptor, as shown in figure 1, it is the power adaptation described in the embodiment of the present invention The schematic flow sheet of the recognition methods of device.Specifically, as shown in Figure 1, in embodiments of the present invention, the knowledge of the power supply adaptor Other method can be applied to the charging that the power supply adaptor with A type USB interfaces is constituted with the electronic equipment with c-type USB interface It is provided with the first communications pins, the A type USB interfaces of the adapter and is provided with system, the c-type USB interface of the electronic equipment Second communications pins;The device recognition methods of the power adaptation may include following steps:
Step 101:When detecting electronic equipment and having upper electric adapter access, the electronics is turned on by signal wire and set The first communications pins in standby and the second communications pins in the adapter, and refer to adapter transmission model reading Order;
Step 102:Receive the adapter type information that the power supply adaptor reads instruction feedback for the model;
Step 103:If it is determined that the adapter type information is consistent with default type information, it is determined that the power supply is fitted Orchestration is private adapter.
That is, in embodiments of the present invention, the recognition methods of the power supply adaptor is applied to that there is A types USB to connect The charging system that the power supply adaptor of mouth is constituted with the electronic equipment with c-type USB interface, the c-type USB of the electronic equipment connects It is provided with mouthful in the first communications pins, the A type USB interfaces of the adapter and is provided with the second communications pins;The power adaptation Device recognition methods may include:When detecting electronic equipment and having upper electric adapter access, the electronics is turned on by signal wire The first communications pins in equipment and the second communications pins in the adapter, and refer to adapter transmission model reading Order;And receive the adapter type information that the power supply adaptor reads instruction feedback for the model;And, however, it is determined that institute State adapter type information consistent with default type information, it is determined that the power supply adaptor is private adapter.Compared to Prior art, in embodiments of the present invention, the first communications pins in the c-type USB interface of electronic equipment can be with power adaptation The second communications pins in the A type USB interfaces of device are connected, so that electronic equipment can be based on power supply adaptor and electronics Information exchange between equipment realizes the identification of power supply adaptor.Present in the recognition methods for solving existing power supply adaptor Accuracy it is relatively low the problem of.
Wherein, the A type USB interfaces described in the embodiment of the present invention generally can be USB Type-A interfaces, the c-type USB Interface generally can be USB Type-C interfaces.
Further, it is determined that the power supply adaptor be private adapter after, the identification side of the power supply adaptor Method may also include:
Sent to the power supply adaptor and fill charge information soon, so that power supply adaptor output charging quickly is pressed and filled soon Electric current.
, wherein it is desired to be explanatorily, the charge information that fills soon is that the electronic equipment is electric according to itself current charging What pressure and charging current were obtained;Under normal circumstances, when the current charging current of the electronic equipment is smaller, it can generate described Charge information is filled soon, to extend CC (Constant Current, the constant current) charging stages of the electronic equipment, so as to shorten electricity In the charging interval of sub- equipment, lift the charge efficiency of electronic equipment.
Specifically, sent to the power supply adaptor and fill charge information soon, so that the power supply adaptor exports charging quickly Pressure and charging quickly stream, are specifically included:
Gather the charging voltage and charging current of the battery in real time, and charging voltage according to the battery and fill Charge information is filled in electric current generation soon, and, sent to the power supply adaptor and fill charge information soon, to cause the power supply to fit Orchestration adjusts the output voltage and output current of power supply adaptor to the charging quickly pressure according to the charge information that fills soon With the charging quickly stream.
Wherein, the charging quickly pressure and the charging quickly stream can be obtained according to the charging quickly point information, to this not It is limited in any way.
It should be noted that, the electronic equipment generate it is described fill charge information soon after, can also soon be filled described Power information is encoded, and can send the charge information that fills soon after coding to the power supply adaptor;Power supply adaptor is connecing Receive and fill soon after charge information, will can soon fill charge information first and be decoded, and charging letter can be filled soon according to decoded Breath, the voltage and electric current exported to power supply adaptor is adjusted, so as to ensure that the security of information.
Further, the recognition methods of the power supply adaptor may also include:
If it is determined that the adapter type information is not consistent with default type information, it is determined that the power supply adaptor is Non-dedicated adapter, and sent to the non-dedicated adapter and general fill charge information or forbid the non-dedicated adapter to be described The instruction of electronic equipment charging.
That is, when determining that the adapter type information is not consistent with default type information, then can determine that access Power supply adaptor be private adapter, now, can to the power supply adaptor send it is general fill charge information or prohibit fill Power information (forbids the non-dedicated adapter to be the instruction that the electronic equipment charges), to protect filling for the electronic equipment Electric security, it is to avoid burn the electronic equipment, signal wire or corresponding power supply adaptor.
Specifically, in order to lift the efficiency of data transfer, between first communications pins and second communications pins CC communications can be carried out based on USB PD agreements.That is, it can be carried out between described first communications pins and second communications pins PD communicates.
In addition, it is necessary to explanation, when PD can be carried out between first communications pins and second communications pins During communication, the model, which reads instruction, can generally pass through (the Vendor Defined Message of the VDM in PD protocol specifications:Factory Family's custom instruction) obtain.That is, the manufacturer of chip producer or electronic equipment etc. communication protocols of oneself defined in VDM View, to realize the information exchange between electronic equipment and private adapter, the embodiment of the present invention is not repeated this.
The embodiments of the invention provide a kind of recognition methods of power supply adaptor, applied to the power supply with A type USB interfaces It is provided with the charging system that adapter is constituted with the electronic equipment with c-type USB interface, the c-type USB interface of the electronic equipment The second communications pins are provided with first communications pins, the A type USB interfaces of the adapter;The device identification side of the power adaptation Method may include:When detecting electronic equipment and having upper electric adapter access, turned on by signal wire in the electronic equipment First communications pins and the second communications pins in the adapter, and send model reading instruction to the adapter;And connect Receive the adapter type information that the power supply adaptor reads instruction feedback for the model;And, however, it is determined that the adaptation Device type information is consistent with default type information, it is determined that the power supply adaptor is private adapter.Compared to existing skill Art, in embodiments of the present invention, the A types that the first communications pins in the c-type USB interface of electronic equipment can be with power supply adaptor The second communications pins in USB interface are connected so that electronic equipment can based on power supply adaptor and electronic equipment it Between information exchange realize the identification of power supply adaptor.It is accurate present in the recognition methods of existing power supply adaptor to solve The problem of property is relatively low.
Embodiment two:
Based on the identical inventive concept of the embodiment of the present invention one, the embodiment of the present invention two provide a kind of power supply adaptor Identifying device, as shown in Fig. 2 its be the embodiment of the present invention described in power supply adaptor identifying device structural representation Figure, specifically, as shown in Figure 2, in the embodiment of the present invention two, the identifying device of the power supply adaptor can be applied to A The charging system that the power supply adaptor of type USB interface is constituted with the electronic equipment with c-type USB interface, the C of the electronic equipment It is provided with type USB interface in the first communications pins, the A type USB interfaces of the adapter and is provided with the second communications pins;The power supply The device identifying device of adaptation may include:
Sending module 21, available for when detecting electronic equipment and having upper electric adapter access, is turned on by signal wire The first communications pins in the electronic equipment and the second communications pins in the adapter, and to the adapter transmission type Number read instruction;
Receiving module 22, the adapter type that the model reads instruction feedback is directed to available for the power supply adaptor is received Number information;
Processing module 23, available for if it is determined that the adapter type information is consistent with default type information, it is determined that The power supply adaptor is private adapter.
That is, in embodiments of the present invention, the identifying device of the power supply adaptor connects applied to A types USB The charging system that the power supply adaptor of mouth is constituted with the electronic equipment with c-type USB interface, the c-type USB of the electronic equipment connects It is provided with mouthful in the first communications pins, the A type USB interfaces of the adapter and is provided with the second communications pins;The power adaptation Device identifying device may include for when detecting electronic equipment and having upper electric adapter access, the electricity to be turned on by signal wire The first communications pins in sub- equipment and the second communications pins in the adapter, and send model reading to the adapter The sending module of instruction, the adapter type information of instruction feedback is read for receiving the power supply adaptor for the model Receiving module and for if it is determined that the adapter type information is consistent with default type information, it is determined that the power supply Adapter is the processing module of private adapter.Compared to prior art, in embodiments of the present invention, the c-type USB of electronic equipment The first communications pins in interface can be connected with the second communications pins in the A type USB interfaces of power supply adaptor, so that Electronic equipment can realize the identification of power supply adaptor based on the information exchange between power supply adaptor and electronic equipment.Solve The problem of accuracy present in the identifying device of existing power supply adaptor is relatively low.
It should be noted that the identifying device of the power supply adaptor is the integrated dress being integrated in the electronic equipment Put, be also the self-contained unit independently of the electronic equipment, the embodiment of the present invention is not limited in any way to this.
Further, the sending module 21, it may also be used for it is determined that the power supply adaptor be private adapter after, Sent to the power supply adaptor and fill charge information soon, so that power supply adaptor output charging quickly pressure and charging quickly stream.
Specifically, the sending module 21, is particularly used in the charging voltage for gathering the battery in real time and charging electricity Flow, and the charging voltage and charging current according to the battery generate and fill charge information soon, and, to the power supply adaptor Charge information is filled in transmission soon, to cause the power supply adaptor according to the charge information that fills soon by the output electricity of power supply adaptor Pressure and output current are adjusted to charging quickly pressure and the charging quickly stream.
Further, the processing module 23, it may also be used for if it is determined that the adapter type information is believed with default model Breath is not consistent, it is determined that the power supply adaptor is non-dedicated adapter;
The sending module 21, it may also be used for after it is determined that the power supply adaptor is non-dedicated adapter, to described Non-dedicated adapter sends the general instruction filled charge information or forbid that the non-dedicated adapter is electronic equipment charging.
Further, CC is carried out based on USB PD agreements between first communications pins and second communications pins to lead to Letter.
The embodiment of the present invention two provides a kind of identifying device of power supply adaptor, applied to the electricity with A type USB interfaces Set in the charging system that source adapter is constituted with the electronic equipment with c-type USB interface, the c-type USB interface of the electronic equipment Have and the second communications pins are provided with the first communications pins, the A type USB interfaces of the adapter;The device identification of the power adaptation Device may include for when detecting electronic equipment and having upper electric adapter access, the electronic equipment to be turned on by signal wire In the first communications pins and the adapter in the second communications pins, and send model to the adapter and read instruction Sending module, for receiving the reception that the power supply adaptor reads the adapter type information of instruction feedback for the model Module and for if it is determined that the adapter type information is consistent with default type information, it is determined that the power supply adaptor For the processing module of private adapter.Compared to prior art, in embodiments of the present invention, in the c-type USB interface of electronic equipment The first communications pins can be connected with the second communications pins in the A type USB interfaces of power supply adaptor so that electronics is set It is standby that the identification of power supply adaptor can be realized based on the information exchange between power supply adaptor and electronic equipment.Solve existing Power supply adaptor identifying device present in accuracy it is relatively low the problem of.
Embodiment three:
The embodiment of the present invention three provides a kind of computing device, as shown in figure 3, it is the meter described in the embodiment of the present invention Calculate the structural representation of equipment.The computing device is specifically as follows desktop computer, portable computer, smart mobile phone, flat board Computer, personal digital assistant (Personal Digital Assistant, PDA) etc..Specifically, described in the embodiment of the present invention Computing device can include central processing unit (Center Processing Unit, CPU) 301, memory 302, input set Standby 303 and output equipment 304 etc., input equipment 303 can include keyboard, mouse, touch-screen etc., and output equipment 304 can be with Including display device, such as liquid crystal display (Liquid Crystal Display, LCD), cathode-ray tube (Cathode Ray Tube, CRT) etc..
Memory 302 can include read-only storage (ROM) and random access memory (RAM), and to central processing unit The programmed instruction and data stored in 301 offer memories 302.In embodiments of the present invention, memory 302 can be used for storage The program of the recognition methods of power supply adaptor.
Central processing unit 301 by call memory 302 store programmed instruction, central processing unit 301 can be used for according to The programmed instruction of acquisition is performed:When detecting electronic equipment and having upper electric adapter access, the electricity is turned on by signal wire The first communications pins in sub- equipment and the second communications pins in the adapter, and send model reading to the adapter Instruction;Receive the adapter type information that the power supply adaptor reads instruction feedback for the model;If it is determined that described suitable Orchestration type information is consistent with default type information, it is determined that the power supply adaptor is private adapter.
Example IV:
The embodiment of the present invention four provides a kind of computer-readable storage medium, by saving as based on used in above-mentioned computing device Calculation machine programmed instruction, it includes the program for the recognition methods for being used to perform above-mentioned power supply adaptor.
The computer-readable storage medium can be any usable medium or data storage device that computer can be accessed, bag Include but be not limited to magnetic storage (such as floppy disk, hard disk, tape, magneto-optic disk (MO)), optical memory (such as CD, DVD, BD, HVD etc.) and semiconductor memory it is (such as ROM, EPROM, EEPROM, nonvolatile memory (NAND FLASH), solid State hard disk (SSD)) etc..
It will be understood by those skilled in the art that embodiments of the invention can be provided as method, device (equipment) or computer journey Sequence product.Therefore, in terms of the present invention can be using complete hardware embodiment, complete software embodiment or combination software and hardware The form of embodiment.Moreover, the present invention can be used in one or more calculating for wherein including computer usable program code The computer program that machine usable storage medium is implemented on (including but is not limited to magnetic disk storage, CD-ROM, optical memory etc.) The form of product.
The present invention is the flow chart with reference to method according to embodiments of the present invention, device (equipment) and computer program product And/or block diagram is described.It should be understood that can be by each flow in computer program instructions implementation process figure and/or block diagram And/or square frame and the flow in flow chart and/or block diagram and/or the combination of square frame.These computer programs can be provided to refer to The processor of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing devices is made to produce One machine so that produced by the instruction of computer or the computing device of other programmable data processing devices for realizing The device for the function of being specified in one flow of flow chart or multiple flows and/or one square frame of block diagram or multiple square frames.
These computer program instructions, which may be alternatively stored in, can guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works so that the instruction being stored in the computer-readable memory, which is produced, to be included referring to Make the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one square frame of block diagram or The function of being specified in multiple square frames.
These computer program instructions can be also loaded into computer or other programmable data processing devices so that in meter Series of operation steps is performed on calculation machine or other programmable devices to produce computer implemented processing, thus in computer or The instruction performed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram one The step of function of being specified in individual square frame or multiple square frames.
, but those skilled in the art once know basic creation although preferred embodiments of the present invention have been described Property concept, then can make other change and modification to these embodiments.So, appended claims are intended to be construed to include excellent Select embodiment and fall into having altered and changing for the scope of the invention.
Obviously, those skilled in the art can carry out the essence of various changes and modification without departing from the present invention to the present invention God and scope.So, if these modifications and variations of the present invention belong to the scope of the claims in the present invention and its equivalent technologies Within, then the present invention is also intended to comprising including these changes and modification.

Claims (12)

1. a kind of recognition methods of power supply adaptor, applied to the power supply adaptor with A type USB interfaces with being connect with c-type USB The charging system of the electronic equipment composition of mouth, it is characterised in that provided with the first communication in the c-type USB interface of the electronic equipment The second communications pins are provided with pin, the A type USB interfaces of the adapter;The device recognition methods of the power adaptation includes:
When detecting electronic equipment and having upper electric adapter access, turn on first in the electronic equipment by signal wire and lead to Believe pin and the second communications pins in the adapter, and model is sent to the adapter and read instruction;
Receive the adapter type information that the power supply adaptor reads instruction feedback for the model;
If it is determined that the adapter type information is consistent with default type information, it is determined that the power supply adaptor is special suitable Orchestration.
2. the recognition methods of power supply adaptor as claimed in claim 1, it is characterised in that it is determined that the power supply adaptor is After private adapter, the recognition methods of the power supply adaptor also includes:
Sent to the power supply adaptor and fill charge information soon, so that power supply adaptor output charging quickly pressure and charging quickly Stream.
3. the recognition methods of power supply adaptor as claimed in claim 2, it is characterised in that send fast to the power supply adaptor Charge information is filled, so that power supply adaptor output charging quickly pressure and charging quickly stream, are specifically included:
The charging voltage and charging current of the battery, and charging voltage and charging electricity according to the battery are gathered in real time Charge information is filled in stream generation soon, and, sent to the power supply adaptor and fill charge information soon, to cause the power supply adaptor The output voltage and output current of power supply adaptor are adjusted to charging quickly pressure and institute according to the charge information that fills soon State charging quickly stream.
4. the recognition methods of power supply adaptor as claimed in claim 1, it is characterised in that the identification side of the power supply adaptor Method also includes:
If it is determined that the adapter type information is not consistent with default type information, it is determined that the power supply adaptor is non-special With adapter, and sent to the non-dedicated adapter and general fill charge information or forbid the non-dedicated adapter to be the electronics The instruction of equipment charge.
5. the recognition methods of power supply adaptor as claimed in claim 1, it is characterised in that first communications pins with it is described CC communications are carried out based on USB PD agreements between second communications pins.
6. a kind of identifying device of power supply adaptor, applied to the power supply adaptor with A type USB interfaces with being connect with c-type USB The charging system of the electronic equipment composition of mouth, it is characterised in that provided with the first communication in the c-type USB interface of the electronic equipment The second communications pins are provided with pin, the A type USB interfaces of the adapter;The power supply adaptor identifying device includes:
Sending module, for when detecting electronic equipment and having upper electric adapter access, the electronics to be turned on by signal wire The first communications pins in equipment and the second communications pins in the adapter, and refer to adapter transmission model reading Order;
Receiving module, the adapter type information of instruction feedback is read for receiving the power supply adaptor for the model;
Processing module, for if it is determined that the adapter type information is consistent with default type information, it is determined that the power supply Adapter is private adapter.
7. the identifying device of power supply adaptor as claimed in claim 6, it is characterised in that
The sending module, be additionally operable to it is determined that the power supply adaptor be private adapter after, to the power supply adaptor Charge information is filled in transmission soon, so that power supply adaptor output charging quickly pressure and charging quickly stream.
8. the identifying device of power supply adaptor as claimed in claim 6, it is characterised in that
The sending module, charging voltage and charging current specifically for gathering the battery in real time, and according to the electricity Charge information is filled in charging voltage and the charging current generation in pond soon, and, send charging soon to the power supply adaptor and believe Breath, to cause the power supply adaptor according to the charge information that fills soon by the output voltage and output current of power supply adaptor Adjust to charging quickly pressure and the charging quickly stream.
9. the identifying device of power supply adaptor as claimed in claim 8, it is characterised in that
The processing module, is additionally operable to if it is determined that the adapter type information is not consistent with default type information, it is determined that The power supply adaptor is non-dedicated adapter;
The sending module, is additionally operable to after it is determined that the power supply adaptor is non-dedicated adapter, to described non-dedicated suitable Orchestration sends the general instruction filled charge information or forbid that the non-dedicated adapter is electronic equipment charging.
10. the identifying device of power supply adaptor as claimed in claim 6, it is characterised in that first communications pins and institute State between the second communications pins and CC communications are carried out based on USB PD agreements.
11. a kind of computing device, it is characterised in that including memory and processor, wherein:
The memory, for storage program instruction;
The processor, for calling the programmed instruction stored in the memory, and will according to the program execution profit of acquisition Ask the recognition methods of the power supply adaptor described in 1~5 any one.
12. a kind of computer-readable storage medium, it is characterised in that the computer-readable storage medium is stored with, and computer is executable to be referred to Order, the computer executable instructions are used to make the computer perform claim require the power supply adaptor described in 1~5 any one Recognition methods.
CN201710400347.9A 2017-05-31 2017-05-31 A kind of recognition methods of power supply adaptor and device Pending CN107239106A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710400347.9A CN107239106A (en) 2017-05-31 2017-05-31 A kind of recognition methods of power supply adaptor and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710400347.9A CN107239106A (en) 2017-05-31 2017-05-31 A kind of recognition methods of power supply adaptor and device

Publications (1)

Publication Number Publication Date
CN107239106A true CN107239106A (en) 2017-10-10

Family

ID=59984785

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710400347.9A Pending CN107239106A (en) 2017-05-31 2017-05-31 A kind of recognition methods of power supply adaptor and device

Country Status (1)

Country Link
CN (1) CN107239106A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108664430A (en) * 2018-05-21 2018-10-16 Oppo广东移动通信有限公司 Recognition methods, device, storage medium and the electronic equipment of equipment
CN108845655A (en) * 2018-06-21 2018-11-20 Oppo广东移动通信有限公司 Control method of electronic device, device, control circuit and electronic equipment
CN108988431A (en) * 2018-08-07 2018-12-11 安克创新科技股份有限公司 A kind of multi-protocols charging unit and multi-protocols charging method
CN109507507A (en) * 2018-11-20 2019-03-22 Oppo(重庆)智能科技有限公司 Adapter detection method, device, storage medium, test board and detection system
CN112671073A (en) * 2021-01-08 2021-04-16 深圳拓邦股份有限公司 Power adaptation circuit, controller, electric appliance device, power adaptation method and device
CN112701738A (en) * 2019-10-23 2021-04-23 北京小米移动软件有限公司 Charging method, charging device and electronic equipment
CN114442778A (en) * 2020-11-02 2022-05-06 微盟电子(昆山)有限公司 Power supply access method, power supply switching method and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20010021659A1 (en) * 2000-03-08 2001-09-13 Nec Corporation Method and system for connecting a mobile communication unit to a personal computer
CN101636893A (en) * 2007-03-23 2010-01-27 索尼爱立信移动通讯股份有限公司 Charger device
CN104283284A (en) * 2014-10-27 2015-01-14 北京元隆雅图文化传播股份有限公司 Multifunctional data portable power source and charging method
CN106253400A (en) * 2016-08-25 2016-12-21 维沃移动通信有限公司 A kind of charging method, mobile terminal and charger

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20010021659A1 (en) * 2000-03-08 2001-09-13 Nec Corporation Method and system for connecting a mobile communication unit to a personal computer
CN101636893A (en) * 2007-03-23 2010-01-27 索尼爱立信移动通讯股份有限公司 Charger device
CN104283284A (en) * 2014-10-27 2015-01-14 北京元隆雅图文化传播股份有限公司 Multifunctional data portable power source and charging method
CN106253400A (en) * 2016-08-25 2016-12-21 维沃移动通信有限公司 A kind of charging method, mobile terminal and charger

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108664430A (en) * 2018-05-21 2018-10-16 Oppo广东移动通信有限公司 Recognition methods, device, storage medium and the electronic equipment of equipment
CN108664430B (en) * 2018-05-21 2020-09-08 Oppo广东移动通信有限公司 Equipment identification method and device, storage medium and electronic equipment
CN108845655A (en) * 2018-06-21 2018-11-20 Oppo广东移动通信有限公司 Control method of electronic device, device, control circuit and electronic equipment
CN108845655B (en) * 2018-06-21 2022-03-22 Oppo广东移动通信有限公司 Electronic equipment control method and device, control circuit and electronic equipment
CN108988431A (en) * 2018-08-07 2018-12-11 安克创新科技股份有限公司 A kind of multi-protocols charging unit and multi-protocols charging method
CN108988431B (en) * 2018-08-07 2021-09-17 安克创新科技股份有限公司 Multi-protocol charging device and multi-protocol charging method
CN109507507A (en) * 2018-11-20 2019-03-22 Oppo(重庆)智能科技有限公司 Adapter detection method, device, storage medium, test board and detection system
CN112701738A (en) * 2019-10-23 2021-04-23 北京小米移动软件有限公司 Charging method, charging device and electronic equipment
CN114442778A (en) * 2020-11-02 2022-05-06 微盟电子(昆山)有限公司 Power supply access method, power supply switching method and electronic equipment
CN112671073A (en) * 2021-01-08 2021-04-16 深圳拓邦股份有限公司 Power adaptation circuit, controller, electric appliance device, power adaptation method and device
CN112671073B (en) * 2021-01-08 2024-03-29 深圳拓邦股份有限公司 Power adaptation circuit, controller, electrical device, power adaptation method and device

Similar Documents

Publication Publication Date Title
CN107239106A (en) A kind of recognition methods of power supply adaptor and device
KR102677472B1 (en) An apparatus for supplying external device with power and a method thereof
KR102177796B1 (en) Electronic device charging method and apparatus
CN108132401A (en) Charge abnormal detection method, device, storage medium and mobile terminal
CN104967758B (en) A kind of method and user terminal for controlling data transfer
CN104617615B (en) Charging method and electronic equipment
CN108845655B (en) Electronic equipment control method and device, control circuit and electronic equipment
CN109256162A (en) Semiconductor storage unit and its programmed method
JP2012133783A (en) Multi-interface memory card and its operation method
CN106712179A (en) Method and device realizing reverse charging
CN106207294A (en) A kind of charging method and device
CN106775871A (en) Firmware upgrade method and equipment
CN107181145A (en) A kind of data line and USB data line interface
CN107111564A (en) For the adapter concatenated to connector
CN105975289A (en) Method and device for obtaining hardware version information
CN107885683A (en) A kind of current test method of terminal and terminal
CN107681730A (en) A kind of battery, terminal device, charging system, the recognition methods of battery and device
US20240248125A1 (en) Method for Detecting Impedance of Charging Cable, Electronic Device, and Power Supply Device
CN109254210A (en) Electronic device port type detection method, apparatus, detection circuit and electronic equipment
CN101662519B (en) System and method for controlling current test of mobile telephone
CN107204206A (en) A kind of electrical fuse programming method, terminal and computer-readable recording medium
CN206993113U (en) Signal transmitting apparatus and system
CN107544019A (en) Apparatus for testing chip and chip detecting method
CN106325453A (en) Configuration method of output current and terminal
CN205721866U (en) IC-card read-write equipment and include the communication system of IC-card read-write equipment

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20171010