CN113127396A - Equipment function expansion method, intelligent terminal and accessory expansion connector - Google Patents

Equipment function expansion method, intelligent terminal and accessory expansion connector Download PDF

Info

Publication number
CN113127396A
CN113127396A CN202110474983.2A CN202110474983A CN113127396A CN 113127396 A CN113127396 A CN 113127396A CN 202110474983 A CN202110474983 A CN 202110474983A CN 113127396 A CN113127396 A CN 113127396A
Authority
CN
China
Prior art keywords
data interface
accessory
intelligent terminal
connector
female
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
CN202110474983.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.)
Dongguan ELF Education Software Co Ltd
Original Assignee
Dongguan ELF Education Software 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 Dongguan ELF Education Software Co Ltd filed Critical Dongguan ELF Education Software Co Ltd
Priority to CN202110474983.2A priority Critical patent/CN113127396A/en
Priority to PCT/CN2021/097179 priority patent/WO2022227201A1/en
Publication of CN113127396A publication Critical patent/CN113127396A/en
Pending legal-status Critical Current

Links

Images

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/385Information transfer, e.g. on bus using universal interface adapter for adaptation of a particular data processing system to different peripheral devices
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/266Arrangements to supply power to external peripherals either directly from the computer or under computer control, e.g. supply of power through the communication port, computer controlled power-strips
    • 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]

Abstract

The invention provides a device function expansion method, an intelligent terminal and an accessory expansion connector, wherein the method comprises the following steps: detecting the female data interface to judge whether the female data interface is connected with the accessory expansion connector or not; when connection with an accessory extension connector is established and a function extension starting command is obtained, controlling the rechargeable battery to provide driving voltage for the accessory extension connector; and sending the acquired control instruction to the accessory extension connector so that the accessory extension connector controls the connected functional accessory to execute corresponding operation. The invention enriches and expands product functions and improves the cost performance and competitiveness of the intelligent terminal.

Description

Equipment function expansion method, intelligent terminal and accessory expansion connector
Technical Field
The invention relates to the technical field of intelligent terminals, in particular to an equipment function expansion method, an intelligent terminal and an accessory expansion connector.
Background
With STEAM education advocated by the education department, the programming education industry for children is developed vigorously, and training institutions for software programming for children and hardware products supporting programming applications are greatly developed.
However, each programming hardware product has relatively single function, higher cost and lower cost performance for users.
In addition, the intelligent terminal lacks innovative functions due to serious product function homogenization, and the competitiveness of a new product is not strong.
Disclosure of Invention
The invention aims to provide an equipment function expansion method, an intelligent terminal and an accessory expansion connector, which can realize the abundant expansion of product functions and improve the cost performance and competitiveness of the intelligent terminal.
The technical scheme provided by the invention is as follows:
the invention provides an equipment function expansion method, which is applied to an intelligent terminal provided with a rechargeable battery and a mother data interface and comprises the following steps:
detecting the female data interface to judge whether the female data interface is connected with the accessory expansion connector or not;
when connection with an accessory extension connector is established and a function extension starting command is obtained, controlling the rechargeable battery to provide driving voltage for the accessory extension connector;
and sending the acquired control instruction to the accessory extension connector so that the accessory extension connector controls the connected functional accessory to execute corresponding operation.
Further, the step of detecting the female data interface and determining whether the female data interface is connected with the accessory expansion connector includes:
detecting a signal change state of the female data interface, and judging whether an equipment identifier acquired by the female data interface is a preset identifier of the accessory extension connector;
when the equipment identification is the preset identification of the accessory expansion connector, and current flows out of the female data interface, or a signal flows out of the female data interface, the connection between the equipment identification and the accessory expansion connector is judged.
Further, the controlling the rechargeable battery to provide the driving voltage for the accessory extension connector comprises the steps of:
judging whether the identity of the master device is the slave device or the master device according to the level change of the data pin of the master data interface;
when the identity type of the self is the main equipment, the voltage of the rechargeable battery is boosted through a reverse boosting circuit, and driving voltage is provided for the accessory expansion connector through the female data interface;
and when the identity type of the self is the slave equipment, the self is controlled to be switched to the master mode, the voltage of the rechargeable battery is boosted through a reverse boosting circuit, and the drive voltage is provided for the accessory expansion connector through the female data interface.
The invention also provides an equipment function expansion method, which is applied to an accessory expansion connector provided with an expansion interface and a male data interface matched with the female data interface, and comprises the following steps:
detecting the public data interface to judge whether the public data interface is connected with an intelligent terminal or not;
when connection with an intelligent terminal is established and a control instruction sent by the intelligent terminal is received, converting the control instruction into a control signal which can be identified by a functional accessory connected with the expansion interface;
and controlling the functional accessory to execute corresponding operation according to the control signal.
Further, the step of detecting the public data interface to determine whether to establish connection with the intelligent terminal comprises the following steps:
detecting the signal change state of the public data interface, and judging whether the equipment identifier acquired by the public data interface is a preset identifier of the intelligent terminal;
and when the equipment identifier is the preset identifier of the intelligent terminal, current flows into the public data interface, or a signal flows into the public data interface, judging that the equipment identifier is connected with the intelligent terminal.
The present invention also provides an intelligent terminal, comprising: the device comprises a baseband module, a rechargeable battery and a mother data interface;
the baseband module is used for detecting the female data interface and judging whether the female data interface is connected with the accessory expansion connector or not;
the baseband module is further configured to control the rechargeable battery to provide a driving voltage for the accessory extension connector when connection with the accessory extension connector is established and a function extension starting command is obtained;
the baseband module is further configured to send the acquired control instruction to the accessory extension connector, so that the accessory extension connector controls the connected functional accessory to execute a corresponding operation.
Further, the baseband module includes:
the first judging unit is used for detecting the signal change state of the female data interface and judging whether the equipment identifier acquired by the female data interface is a preset identifier of the accessory expansion connector;
and the first processing unit is used for judging that the first processing unit is connected with the accessory extension connector when the equipment identifier is the preset identifier of the accessory extension connector and the current flows out of the female data interface or the signal flows out of the female data interface.
Further, the baseband module further includes:
the first detection unit is used for judging whether the identity of the first detection unit is the master equipment or the slave equipment according to the level change of the data pin of the female data interface;
the control unit is used for boosting the voltage of the rechargeable battery through a reverse boosting circuit when the identity type of the control unit is the main equipment, and providing driving voltage for the accessory expansion connector through the female data interface;
the control unit is further configured to control the self to switch to the master mode when the identity type of the self is the slave device, boost the voltage of the rechargeable battery through the reverse boost circuit, and provide a driving voltage for the accessory extension connector through the female data interface.
The present invention also provides an accessory expansion connector comprising: the expansion interface and a public data interface matched with the female data interface;
the processing module is used for detecting the public data interface and judging whether the public data interface is connected with the intelligent terminal or not;
the processing module is also used for converting the control instruction into a control signal which can be identified by the functional accessory connected with the expansion interface when the connection with the intelligent terminal is established and the control instruction sent by the intelligent terminal is received;
the processing module is further used for controlling the functional accessories to execute corresponding operations according to the control signals.
Further, the processing module comprises:
the second judging unit is used for detecting the signal change state of the public data interface and judging whether the equipment identifier acquired by the public data interface is a preset identifier of the intelligent terminal;
and the second processing unit is used for judging that the equipment is connected with the intelligent terminal when the equipment identifier is the preset identifier of the intelligent terminal and current flows into the public data interface or a signal flows into the public data interface.
By the aid of the equipment function expansion method, the intelligent terminal and the accessory expansion connector, product functions can be enriched and expanded, and cost performance and competitiveness of the intelligent terminal are improved.
Drawings
The above features, technical features, advantages and implementations of a device function expanding method, a smart terminal and an accessory expanding connector will be further described in the following detailed description of preferred embodiments in a clearly understandable manner with reference to the accompanying drawings.
FIG. 1 is a flow chart of one embodiment of a method for device functionality expansion of the present invention;
FIG. 2 is a flow chart of one embodiment of a method for device functionality expansion of the present invention;
FIG. 3 is a flow chart of one embodiment of a method for device functionality expansion of the present invention;
FIG. 4 is a flow chart of one embodiment of a device function expansion method of the present invention;
FIG. 5 is a flow chart of one embodiment of a device function expansion method of the present invention;
FIG. 6 is a schematic diagram of the configuration of the extended connection of the smart terminal, accessory extension connector and functional accessory of the present invention;
fig. 7 is a schematic structural diagram of another extended connection of the smart terminal, the accessory extension connector and the functional accessory of the present invention.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system structures, techniques, etc. in order to provide a thorough understanding of the embodiments of the present application. However, it will be apparent to one skilled in the art that the present application may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.
It will be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
For the sake of simplicity, the drawings only schematically show the parts relevant to the present invention, and they do not represent the actual structure as a product. In addition, for simplicity and clarity of understanding, only one of the components having the same structure or function is schematically illustrated or labeled in some of the drawings. In this document, "one" means not only "only one" but also a case of "more than one".
It should be further understood that the term "and/or" as used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.
In addition, in the description of the present application, the terms "first", "second", and the like are used only for distinguishing the description, and are not intended to indicate or imply relative importance.
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following description will be made with reference to the accompanying drawings. It is obvious that the drawings in the following description are only some examples of the invention, and that for a person skilled in the art, other drawings and embodiments can be derived from them without inventive effort.
An embodiment of the present invention, as shown in fig. 1, is an apparatus function expansion method applied to an intelligent terminal having a rechargeable battery and a mother data interface, including the steps of:
s110, detecting the female data interface to judge whether the female data interface is connected with the accessory expansion connector or not;
specifically, the intelligent terminal includes intelligent wearing equipment (for example, smart watch, smart headset, smart bracelet, smart phone, etc.). A female data interface generally refers to a USB female interface having two power pins and two data pins. The intelligent terminal can periodically carry out connectivity detection on the female data interface of the intelligent terminal, namely, the intelligent terminal can judge whether the intelligent terminal is connected with the accessory expansion connector or not.
S120, when connection with an accessory extension connector is established and a function extension starting command is obtained, controlling the rechargeable battery to provide driving voltage for the accessory extension connector;
specifically, the intelligent terminal can establish a background thread to monitor whether a function expansion starting command is acquired or not in real time, and if the intelligent terminal does not monitor the function expansion starting command, the intelligent terminal still keeps an original working state even if a female data interface of the intelligent terminal is connected with an accessory expansion connector. Of course, if the female data interface of the intelligent terminal is connected with the accessory extension connector, but the intelligent terminal does not monitor the function extension starting command, the intelligent terminal still keeps the original working state.
The intelligent terminal can control a rechargeable battery built in the intelligent terminal to perform voltage conversion to provide driving voltage for the accessory extension connector only when the female data interface is connected with the accessory extension connector and the intelligent terminal monitors a function extension starting command.
S130 sends the acquired control command to the accessory extension connector, so that the accessory extension connector controls the connected functional accessory to execute a corresponding operation.
Specifically, the functional accessories include, but are not limited to, a drive motor, a display, a handle, a keyboard, and other hardware peripherals. The intelligent terminal is internally provided with a communication module and an input module, and the input module can be a voice module, a touch module, a key module and the like. The intelligent terminal can acquire the control instruction input by the user through the input module, and can also receive the control instruction input by the user through the communication module. After the intelligent terminal obtains the control instruction, the obtained control instruction is sent to the accessory extension connector, so that the accessory extension connector controls the connected functional accessories to execute corresponding operation.
According to the invention, the intelligent terminal is connected with the accessory extension connector, so that the intelligent terminal not only provides service functions of the intelligent terminal for users, but also can more fully utilize the wireless communication, signal processing and other capabilities of the intelligent terminal through the accessory extension connector, on one hand, the functions of the intelligent terminal are greatly expanded, the differentiation is enriched, and the intelligent terminal product has market competitiveness, on the other hand, the intelligent terminal is used as a host of programmable hardware, so that one machine has multiple purposes, the cost of various programmable intelligent terminals can be effectively reduced, and meanwhile, the programmable intelligent terminal has stronger expandability.
An embodiment of the present invention, as shown in fig. 2, is an apparatus function expansion method applied to an intelligent terminal having a rechargeable battery and a mother data interface, including the steps of:
s111, detecting a signal change state of the female data interface, and judging whether an equipment identifier acquired by the female data interface is a preset identifier of the accessory extension connector;
s112, when the equipment identifier is a preset identifier of the accessory extension connector, and current flows out of the female data interface, or a signal flows out of the female data interface, determining that the equipment identifier is connected with the accessory extension connector;
specifically, this embodiment is an optimized embodiment of the foregoing embodiment, and the same portions in this embodiment as those in the foregoing embodiment are referred to the foregoing embodiment, and are not described in detail herein. The intelligent terminal detects whether the current flows out of the female data interface of the intelligent terminal and detects whether the signal flows out of the female data interface. If the female data interface has neither current outflow nor signal outflow, it is indicated that even though the female data interface of the intelligent terminal is physically connected with the accessory extension connector, the female data interface of the intelligent terminal and the accessory extension connector are not successfully connected on the electrical plane.
Of course, if the current flows out of the female data interface or the signal flows out of the female data interface, it is indicated that the female data interface of the intelligent terminal is not only physically connected with the accessory extension connector, but also the female data interface of the intelligent terminal is successfully connected with the accessory extension connector on the electrical plane.
S120, when connection with an accessory extension connector is established and a function extension starting command is obtained, controlling the rechargeable battery to provide driving voltage for the accessory extension connector;
s130 sends the acquired control command to the accessory extension connector, so that the accessory extension connector controls the connected functional accessory to execute a corresponding operation.
Preferably, the intelligent terminal can also use wireless communication technologies such as bluetooth, wifi, cellular network and the like as a transmission mode of the control instruction.
Preferably, the intelligent terminal can also use a wireless charging reverse power supply mode as an accessory power supply to provide driving voltage for the accessory extension connector. Support wireless intelligent terminal who charges promptly, can reverse external power supply and communication through wireless charging coil, utilize this function can realize power and signal connection between intelligent terminal and the accessory.
Preferably, more electrical interfaces are reserved in the intelligent terminal design, and the power supply and communication functions in other modes are realized.
According to the invention, the intelligent terminal is connected with the accessory extension connector, so that the intelligent terminal not only provides service functions of the intelligent terminal for users, but also can more fully utilize the wireless communication, signal processing and other capabilities of the intelligent terminal through the accessory extension connector, on one hand, the functions of the intelligent terminal are greatly expanded, the differentiation is enriched, and the intelligent terminal product has market competitiveness, on the other hand, the intelligent terminal is used as a host of programmable hardware, so that one machine has multiple purposes, the cost of various programmable intelligent terminals can be effectively reduced, and meanwhile, the programmable intelligent terminal has stronger expandability.
An embodiment of the present invention, as shown in fig. 3, is an apparatus function expansion method applied to an intelligent terminal having a rechargeable battery and a mother data interface, including the steps of:
s111, detecting a signal change state of the female data interface, and judging whether an equipment identifier acquired by the female data interface is a preset identifier of the accessory extension connector;
s112, when the equipment identifier is a preset identifier of the accessory extension connector, and current flows out of the female data interface, or a signal flows out of the female data interface, determining that the equipment identifier is connected with the accessory extension connector;
s121, when connection with an accessory extension connector is established and a function extension starting command is obtained, whether the identity of the user is a master device or a slave device is judged according to the level change of a data pin of the female data interface;
s122, when the identity type of the self is the main equipment, boosting the voltage of the rechargeable battery through a reverse boosting circuit, and providing a driving voltage for the accessory expansion connector through the female data interface;
s123, when the identity type of the self is the slave equipment, the self is controlled to be switched to the master mode, the voltage of the rechargeable battery is boosted through the reverse boost circuit, and the drive voltage is provided for the accessory expansion connector through the master data interface;
specifically, this embodiment is an optimized embodiment of the foregoing embodiment, and the same portions in this embodiment as those in the foregoing embodiment are referred to the foregoing embodiment, and are not described in detail herein. Whether the identity type of the device is a master device (host device) or a slave device (device) is judged by detecting the level change of a data pin of the mother data interface.
When the intelligent terminal works as a host, because the rechargeable battery is connected with the baseband module, the intelligent terminal can reversely boost the battery voltage of the rechargeable battery to a preset voltage value by using the OTG function so as to provide a driving voltage for the accessory extension connector and work in a main mode.
When the intelligent terminal works as device, the intelligent terminal can control the intelligent terminal to switch to the main mode due to the fact that the rechargeable battery is connected with the baseband module, and the battery voltage of the rechargeable battery is reversely boosted to a preset voltage value by the OTG function, so that driving voltage is provided for the accessory expansion connector and the intelligent terminal works in the main mode.
Preferably, the data line that detects to insert this female data interface through the ID pin on the female data interface is OTG data line or ordinary USB data line, when the ID pin on the female data interface ground connection, defaults to OTG data line and inserts, when the ID pin on the female data interface is empty, defaults to USB data line and inserts to, thereby, intelligent terminal can judge it as the equipment of waiting to charge through the type of the data line of inserting, still provides drive voltage's power supply unit for accessory extension connector and uses. When the charging equipment is in the data transmission state, can set up electronic switch's enable control end for the low level through application software, make two standard data lines on the OTG and the USB signal connection on the treater, when the charging equipment is in the reverse power supply state of OTG, it is the high level to set up enable control end through software, at this moment, two data lines and two short circuit end connection of OTG are in the short circuit state, female data interface only provides power cord and ground wire, female data interface can regard as standard charger interface to use, realize for accessory extension connector reverse current power supply.
S130 sends the acquired control command to the accessory extension connector, so that the accessory extension connector controls the connected functional accessory to execute a corresponding operation.
According to the invention, the intelligent terminal is connected with the accessory extension connector, so that the intelligent terminal not only provides service functions of the intelligent terminal for users, but also can more fully utilize the wireless communication, signal processing and other capabilities of the intelligent terminal through the accessory extension connector, on one hand, the functions of the intelligent terminal are greatly expanded, the differentiation is enriched, and the intelligent terminal product has market competitiveness, on the other hand, the intelligent terminal is used as a host of programmable hardware, so that one machine has multiple purposes, the cost of various programmable intelligent terminals can be effectively reduced, and meanwhile, the programmable intelligent terminal has stronger expandability.
The invention realizes the program operation by carrying the accessory extension connector on various intelligent terminals, for example, the accessory extension connector is carried on the intelligent watch, and the function of the intelligent watch for expanding the simulated traffic light is realized by the red, yellow and green light-emitting lamps connected with the accessory extension connector, so that the interest of users such as primary and secondary school students in programming can be aroused, the boring in the programming process is avoided, the interest of the users such as the primary and secondary school students in programming is aroused, the logic thinking of the users can be preliminarily developed, and the aim of cultivating the talents of the programming from childhood is fulfilled.
Illustratively, the intelligent terminal and the accessory extension connector are separated, and the accessory extension connector is connected with different functional accessories in a building block connection mode. The limited expansion interface at the accessory expansion connector can be used for time-sharing multiplexing of more functional accessories, and a flexible and changeable programming mode is achieved. Various function accessories can be carried on any one or more intelligent terminals through accessory extension connectors, for example, when the function accessories are display screens, the display screens can be carried and connected with the intelligent watch through the accessory extension connectors, and can also be carried and connected with the intelligent mobile phone through the accessory extension connectors, so that more product schemes can be realized.
An embodiment of the present invention, as shown in fig. 4, is an apparatus function expansion method applied to an accessory expansion connector having an expansion interface and a male data interface adapted to a female data interface, including the steps of:
s210, detecting the public data interface to judge whether the public data interface is connected with an intelligent terminal or not;
specifically, the intelligent terminal includes intelligent wearing equipment (for example, smart watch, smart headset, smart bracelet, smart phone, etc.). A female data interface generally refers to a USB female interface having two power pins and two data pins. The intelligent terminal can periodically perform connectivity detection on the female data interface of the intelligent terminal and judge whether the intelligent terminal is connected with the accessory expansion connector or not.
S220, when the connection with the intelligent terminal is established and a control instruction sent by the intelligent terminal is received, converting the control instruction into a control signal which can be identified by a functional accessory connected with the expansion interface;
specifically, the functional accessories include, but are not limited to, a drive motor, a display, a handle, a keyboard, and other hardware peripherals. The intelligent terminal is internally provided with a communication module and an input module, and the input module can be a voice module, a touch module, a key module and the like. The intelligent terminal can acquire the control instruction input by the user through the input module, and can also receive the control instruction input by the user through the communication module. And after the intelligent terminal acquires the control instruction, the acquired control instruction is sent to the accessory expansion connector.
And S230, controlling the functional accessory to execute corresponding operation according to the control signal.
Specifically, the accessory extension connector receives a control instruction sent by the intelligent terminal, and since the communication protocol types of the functional accessories connected to the extension interface of the accessory extension connector are various, the accessory extension connector needs to convert the control instruction into a control signal that can be recognized by the functional accessories connected to the extension interface. For example, the control instruction is converted into a binary or decimal control signal, and then the control signal is sent to the function accessory to control the function accessory to perform the corresponding operation.
Illustratively, the control instruction is "open the display screen and play the audio file", the display screen is used as a control instruction that cannot be identified by functional control, then the accessory extension connector is required to convert the control instruction into a control signal that can be identified by the display screen according to a prestored instruction conversion rule, and then the accessory extension connector sends the control signal to the display screen to control the display screen to open and play the audio file.
According to the invention, the intelligent terminal is connected with the accessory extension connector, so that the intelligent terminal not only provides service functions of the intelligent terminal for users, but also can more fully utilize the wireless communication, signal processing and other capabilities of the intelligent terminal through the accessory extension connector, on one hand, the functions of the intelligent terminal are greatly expanded, the differentiation is enriched, and the intelligent terminal product has market competitiveness, on the other hand, the intelligent terminal is used as a host of programmable hardware, so that one machine has multiple purposes, the cost of various programmable intelligent terminals can be effectively reduced, and meanwhile, the programmable intelligent terminal has stronger expandability.
An embodiment of the present invention, as shown in fig. 5, is an apparatus function expansion method applied to an accessory expansion connector having an expansion interface and a male data interface adapted to a female data interface, including the steps of:
s211, detecting a signal change state of the public data interface, and judging whether an equipment identifier acquired by the public data interface is a preset identifier of the intelligent terminal;
s212, when the equipment identifier is a preset identifier of the intelligent terminal, current flows into the public data interface, or a signal flows into the public data interface, the intelligent terminal is judged to be connected with the public data interface;
specifically, this embodiment is an optimized embodiment of the foregoing embodiment, and the same portions in this embodiment as those in the foregoing embodiment are referred to the foregoing embodiment, and are not described in detail herein. The accessory extension connector detects whether current flows into the male data interface of the accessory extension connector and detects whether signals flow into the male data interface. If the male data interface has neither current inflow nor signal inflow, it means that even if the male data interface of the accessory extension connector is physically connected with the intelligent terminal, the male data interface of the accessory extension connector and the intelligent terminal are not successfully connected in the electrical plane.
Of course, if there is current flowing into the male data interface or there is signal flowing into the male data interface, it indicates that the male data interface of the accessory extension connector is not only physically connected to the intelligent terminal, but also the male data interface of the accessory extension connector is not successfully connected to the intelligent terminal in the electrical plane.
S220, when the connection with the intelligent terminal is established and a control instruction sent by the intelligent terminal is received, converting the control instruction into a control signal which can be identified by a functional accessory connected with the expansion interface;
and S230, controlling the functional accessory to execute corresponding operation according to the control signal.
According to the invention, the intelligent terminal is connected with the accessory extension connector, so that the intelligent terminal not only provides service functions of the intelligent terminal for users, but also can more fully utilize the wireless communication, signal processing and other capabilities of the intelligent terminal through the accessory extension connector, on one hand, the functions of the intelligent terminal are greatly expanded, the differentiation is enriched, and the intelligent terminal product has market competitiveness, on the other hand, the intelligent terminal is used as a host of programmable hardware, so that one machine has multiple purposes, the cost of various programmable intelligent terminals can be effectively reduced, and meanwhile, the programmable intelligent terminal has stronger expandability.
In one embodiment of the present invention, an intelligent terminal includes: the device comprises a baseband module, a rechargeable battery and a mother data interface;
the baseband module is used for detecting the female data interface and judging whether the female data interface is connected with the accessory expansion connector or not;
specifically, the intelligent terminal includes intelligent wearing equipment (for example, smart watch, smart headset, smart bracelet, smart phone, etc.). A female data interface generally refers to a USB female interface having two power pins and two data pins. The intelligent terminal can periodically detect the connectivity of the female data interface of the intelligent terminal, and generally judges whether the intelligent terminal is connected with the accessory expansion connector.
The baseband module is further configured to control the rechargeable battery to provide a driving voltage for the accessory extension connector when connection with the accessory extension connector is established and a function extension starting command is obtained;
specifically, the intelligent terminal can establish a background thread to monitor whether a function expansion starting command is acquired or not in real time, and if the intelligent terminal does not monitor the function expansion starting command, the intelligent terminal still keeps an original working state even if a female data interface of the intelligent terminal is connected with an accessory expansion connector. Of course, if the female data interface of the intelligent terminal is connected with the accessory extension connector, but the intelligent terminal does not monitor the function extension starting command, the intelligent terminal still keeps the original working state.
The intelligent terminal can control a rechargeable battery built in the intelligent terminal to perform voltage conversion to provide driving voltage for the accessory extension connector only when the female data interface is connected with the accessory extension connector and the intelligent terminal does not monitor a function extension starting command.
The baseband module is further configured to send the acquired control instruction to the accessory extension connector, so that the accessory extension connector controls the connected functional accessory to execute a corresponding operation.
Specifically, the functional accessories include, but are not limited to, a drive motor, a display, a handle, a keyboard, and other hardware peripherals. The intelligent terminal is internally provided with a communication module and an input module, and the input module can be a voice module, a touch module, a key module and the like. The intelligent terminal can acquire the control instruction input by the user through the input module, and can also receive the control instruction input by the user through the communication module. After the intelligent terminal obtains the control instruction, the obtained control instruction is sent to the accessory extension connector, so that the accessory extension connector controls the connected functional accessories to execute corresponding operation.
Preferably, the intelligent terminal can also use wireless communication technologies such as bluetooth, wifi, cellular network and the like as a transmission mode of the control instruction.
Preferably, the intelligent terminal can also use a wireless charging reverse power supply mode as an accessory power supply to provide driving voltage for the accessory extension connector. Support wireless intelligent terminal who charges promptly, can reverse external power supply and communication through wireless charging coil, utilize this function can realize power and signal connection between intelligent terminal and the accessory.
Preferably, more electrical interfaces are reserved in the intelligent terminal design, and the power supply and communication functions in other modes are realized.
According to the invention, the intelligent terminal is connected with the accessory extension connector, so that the intelligent terminal not only provides service functions of the intelligent terminal for users, but also can more fully utilize the wireless communication, signal processing and other capabilities of the intelligent terminal through the accessory extension connector, on one hand, the functions of the intelligent terminal are greatly expanded, the differentiation is enriched, and the intelligent terminal product has market competitiveness, on the other hand, the intelligent terminal is used as a host of programmable hardware, so that one machine has multiple purposes, the cost of various programmable intelligent terminals can be effectively reduced, and meanwhile, the programmable intelligent terminal has stronger expandability.
Based on the foregoing embodiments, the baseband module includes:
the first judging unit is used for detecting the signal change state of the female data interface and judging whether the equipment identifier acquired by the female data interface is a preset identifier of the accessory expansion connector;
and the first processing unit is used for judging that the first processing unit is connected with the accessory extension connector when the equipment identifier is the preset identifier of the accessory extension connector and the current flows out of the female data interface or the signal flows out of the female data interface.
Specifically, this embodiment is an optimized embodiment of the foregoing embodiment, and the same portions in this embodiment as those in the foregoing embodiment are referred to the foregoing embodiment, and are not described in detail herein. The intelligent terminal detects whether the current flows out of the female data interface of the intelligent terminal and detects whether the signal flows out of the female data interface. If the female data interface has neither current outflow nor signal outflow, it is indicated that even though the female data interface of the intelligent terminal is physically connected with the accessory extension connector, the female data interface of the intelligent terminal and the accessory extension connector are not successfully connected on the electrical plane.
Of course, if the current flows out of the female data interface or the signal flows out of the female data interface, it indicates that the female data interface of the intelligent terminal is not physically connected with the accessory extension connector, and the female data interface of the intelligent terminal is not successfully connected with the accessory extension connector in the electrical plane.
According to the invention, the intelligent terminal is connected with the accessory extension connector, so that the intelligent terminal not only provides service functions of the intelligent terminal for users, but also can more fully utilize the wireless communication, signal processing and other capabilities of the intelligent terminal through the accessory extension connector, on one hand, the functions of the intelligent terminal are greatly expanded, the differentiation is enriched, and the intelligent terminal product has market competitiveness, on the other hand, the intelligent terminal is used as a host of programmable hardware, so that one machine has multiple purposes, the cost of various programmable intelligent terminals can be effectively reduced, and meanwhile, the programmable intelligent terminal has stronger expandability.
Based on the foregoing embodiment, the baseband module further includes:
the first detection unit is used for judging whether the identity of the first detection unit is the master equipment or the slave equipment according to the level change of the data pin of the female data interface;
the control unit is used for boosting the voltage of the rechargeable battery through a reverse boosting circuit when the identity type of the control unit is the main equipment, and providing driving voltage for the accessory expansion connector through the female data interface;
the control unit is further configured to control the self to switch to the master mode when the identity type of the self is the slave device, boost the voltage of the rechargeable battery through the reverse boost circuit, and provide a driving voltage for the accessory extension connector through the female data interface.
Specifically, this embodiment is an optimized embodiment of the foregoing embodiment, and the same portions in this embodiment as those in the foregoing embodiment are referred to the foregoing embodiment, and are not described in detail herein. Whether the identity type of the device is a master device (host device) or a slave device (device) is judged by detecting the level change of a data pin of the mother data interface.
When the intelligent terminal works as a host, the intelligent terminal can reversely boost the battery voltage of the rechargeable battery to a preset voltage value by using the OTG function due to the fact that the rechargeable battery is connected with the baseband module, so that a driving voltage is provided for the accessory extension connector and the intelligent terminal works in a main mode.
When the intelligent terminal works as device, the intelligent terminal can control the intelligent terminal to switch to the main mode due to the fact that the rechargeable battery is connected with the baseband module, and the battery voltage of the rechargeable battery is reversely boosted to a preset voltage value by the OTG function, so that driving voltage is provided for the accessory expansion connector and the intelligent terminal works in the main mode.
Preferably, the data line that detects to insert this female data interface through the ID pin on the female data interface is OTG data line or ordinary USB data line, when the ID pin on the female data interface ground connection, defaults to OTG data line and inserts, when the ID pin on the female data interface is empty, defaults to USB data line and inserts to, thereby, intelligent terminal can judge it as the equipment of waiting to charge through the type of the data line of inserting, still provides drive voltage's power supply unit for accessory extension connector and uses. When the charging equipment is in the data transmission state, can set up electronic switch's enable control end for the low level through application software, make two standard data lines on the OTG and the USB signal connection on the treater, when the charging equipment is in the reverse power supply state of OTG, it is the high level to set up enable control end through software, at this moment, two data lines and two short circuit end connection of OTG are in the short circuit state, female data interface only provides power cord and ground wire, female data interface can regard as standard charger interface to use, realize for accessory extension connector reverse current power supply.
The invention realizes the program operation by carrying the accessory extension connector on various intelligent terminals, for example, the accessory extension connector is carried on the intelligent watch, and the function of the intelligent watch for expanding the simulated traffic lights is realized by the red, yellow and green light-emitting lamps connected with the accessory extension connector, so that the interest of users such as primary and secondary school students in programming programs can be aroused, the boring in the programming process is avoided, and the purposes of arousing the interest of the primary and secondary school students in scientific technology and primarily cultivating the logic thinking of the primary and secondary school students are achieved.
Illustratively, the intelligent terminal and the accessory extension connector are separated, and the accessory extension connector is connected with different functional accessories in a building block connection mode. The limited expansion interface at the accessory expansion connector can be used for time-sharing multiplexing of more functional accessories, and a flexible and changeable programming mode is achieved. Various function accessories can be carried on any one or more intelligent terminals through accessory extension connectors, for example, when the function accessories are display screens, the display screens can be carried and connected with the intelligent watch through the accessory extension connectors, and can also be carried and connected with the intelligent mobile phone through the accessory extension connectors, so that more product schemes can be realized.
In one embodiment, the present invention also provides a fitting expansion connector, including: the expansion interface and a public data interface matched with the female data interface;
the processing module is used for detecting the public data interface and judging whether the public data interface is connected with the intelligent terminal or not;
specifically, the smart terminal includes smart wearable devices (e.g., smart watches, smart headsets, smart bracelets, smart phones, etc.) and home devices (e.g., robots, televisions, etc.). The female data interface generally refers to a USB female interface having four power pins and one data pin. The intelligent terminal can periodically detect the connectivity of the female data interface of the intelligent terminal, and generally judges whether the intelligent terminal is connected with the accessory expansion connector.
The processing module is also used for converting the control instruction into a control signal which can be identified by the functional accessory connected with the expansion interface when the connection with the intelligent terminal is established and the control instruction sent by the intelligent terminal is received;
specifically, the functional accessories include, but are not limited to, a drive motor, a display, a handle, a keyboard, and other hardware peripherals. The intelligent terminal is internally provided with a communication module and an input module, and the input module can be a voice module, a touch module, a key module and the like. The intelligent terminal can acquire the control instruction input by the user through the input module, and can also receive the control instruction input by the user through the communication module. And after the intelligent terminal acquires the control instruction, the acquired control instruction is sent to the accessory expansion connector.
The processing module is further used for controlling the functional accessories to execute corresponding operations according to the control signals.
Specifically, the accessory extension connector receives a control instruction sent by the intelligent terminal, and since the communication protocol types of the functional accessories connected to the extension interface of the accessory extension connector are various, the accessory extension connector needs to convert the control instruction into a control signal that can be recognized by the functional accessories connected to the extension interface. For example, the control instruction is converted into a binary or decimal control signal, and then the control signal is sent to the function accessory to control the function accessory to perform the corresponding operation.
Illustratively, the control instruction is "open the display screen and play the audio file", the display screen is used as a control instruction that cannot be identified by functional control, then the accessory extension connector is required to convert the control instruction into a control signal that can be identified by the display screen according to a prestored instruction conversion rule, and then the accessory extension connector sends the control signal to the display screen to control the display screen to open and play the audio file.
According to the invention, the intelligent terminal is connected with the accessory extension connector, so that the intelligent terminal not only provides service functions of the intelligent terminal for users, but also can more fully utilize the wireless communication, signal processing and other capabilities of the intelligent terminal through the accessory extension connector, on one hand, the functions of the intelligent terminal are greatly expanded, the differentiation is enriched, and the intelligent terminal product has market competitiveness, on the other hand, the intelligent terminal is used as a host of programmable hardware, so that one machine has multiple purposes, the cost of various programmable intelligent terminals can be effectively reduced, and meanwhile, the programmable intelligent terminal has stronger expandability.
Based on the foregoing embodiments, the processing module includes:
the second judging unit is used for detecting the signal change state of the public data interface and judging whether the equipment identifier acquired by the public data interface is a preset identifier of the intelligent terminal;
and the second processing unit is used for judging that the equipment is connected with the intelligent terminal when the equipment identifier is the preset identifier of the intelligent terminal and current flows into the public data interface or a signal flows into the public data interface.
Specifically, this embodiment is an optimized embodiment of the foregoing embodiment, and the same portions in this embodiment as those in the foregoing embodiment are referred to the foregoing embodiment, and are not described in detail herein. The accessory extension connector detects whether current flows into the male data interface of the accessory extension connector and detects whether signals flow into the male data interface. If the male data interface has neither current inflow nor signal inflow, it means that even if the male data interface of the accessory extension connector is physically connected with the intelligent terminal, the male data interface of the accessory extension connector and the intelligent terminal are not successfully connected in the electrical plane.
Of course, if there is current flowing into the male data interface or there is signal flowing into the male data interface, it indicates that the male data interface of the accessory extension connector is not only physically connected to the intelligent terminal, but also the male data interface of the accessory extension connector is not successfully connected to the intelligent terminal in the electrical plane.
According to the invention, the intelligent terminal is connected with the accessory extension connector, so that the intelligent terminal not only provides service functions of the intelligent terminal for users, but also can more fully utilize the wireless communication, signal processing and other capabilities of the intelligent terminal through the accessory extension connector, on one hand, the functions of the intelligent terminal are greatly expanded, the differentiation is enriched, and the intelligent terminal product has market competitiveness, on the other hand, the intelligent terminal is used as a host of programmable hardware, so that one machine has multiple purposes, the cost of various programmable intelligent terminals can be effectively reduced, and meanwhile, the programmable intelligent terminal has stronger expandability.
Illustratively, as shown in fig. 6, the smart wearable device includes a baseband module, a power module (including the rechargeable battery of the present invention) and a communication module. The intelligent wearable device can also be selectively provided with a sensor, a display module and a voice module. An accessory docking station (equivalent to an accessory docking connector of the present invention) includes a microprocessor (equivalent to a processing module of the present invention), a modular docking interface (equivalent to an docking interface of the present invention), and a port. The accessory docking station can also be selectively provided with a power supply module and can also be connected with an external power supply through a building block type expansion interface.
Illustratively, as shown in fig. 7, the smart wearable device includes a baseband module, a power module (including the rechargeable battery of the present invention) and a communication module. The intelligent wearable device can also be selectively provided with a sensor, a display module and a voice module. The accessory docking station (corresponding to the accessory expansion connector of the invention) comprises a microprocessor (corresponding to the processing module of the invention), a modular expansion interface (corresponding to the expansion interface of the invention) and any one or more of an LED port, a GPIO port, an I2C port, a motor drive port and an ADC port. The accessory docking station can also be selectively provided with a power supply module and can also be connected with an external power supply through a building block type expansion interface.
According to the invention, the intelligent wearable equipment is innovatively combined with the programmable hardware product, on one hand, the playability of the intelligent wearable equipment is improved due to the newly added function, on the other hand, the existing hardware function of the intelligent wearable equipment is fully utilized, the cost of the programmable hardware product is greatly reduced in a way of accessory expansion, and the competitiveness of the product is improved.
According to the scheme of the invention, the USB charging interface of the intelligent wearable device is utilized in an accessory expansion mode, and the internal OTG circuit is used for realizing reverse power supply and data communication, so that multifunctional expansion of the function of the wearable watch is realized. The accessory docking station plays a role in USB signal conversion, the charging interface of the intelligent wearable device obtains electricity, the microprocessor is used for receiving signals on a USB data line of the intelligent wearable device, and the signals are converted into operations such as state control and data reading of functional accessories. The specific process is that a user uses a programming platform through other intelligent devices such as a computer, a tablet personal computer and a mobile phone, after customized programming operation is carried out on different functional accessories, a written control program can be burnt into the host of the intelligent wearable device through a USB interface of the intelligent wearable device or other wireless communication modes, and the intelligent wearable device is combined with an accessory docking station and corresponding functional accessories to realize a new function of programming control.
According to the invention, through a mode of accessory expansion, the capabilities of wireless communication, signal processing and the like of the intelligent wearable device are more fully utilized, on one hand, the functions of the intelligent wearable device are expanded to a great extent, the differentiation of the intelligent wearable device is enriched, and the intelligent wearable device product has market competitiveness, on the other hand, the intelligent wearable device is used as a host of programmable hardware, so that one machine has multiple purposes, the cost of various programmable hardware devices can be effectively reduced, and meanwhile, the programmable hardware devices have stronger expandability. The intelligent wearable device is innovatively expanded into a programmable hardware product in the form of the accessory docking station, the due scenes of the intelligent wearable device are enriched, and the product playability is improved. In addition, the accessory docking station converts the intelligent wearable device into a programmable hardware platform with good expandability through the USB interface, and the docking station can be conveniently expanded into programmable hardware products with different forms by reserving building block type interfaces with different forms. The intelligent wearable device is expanded into a programmable hardware product host in a USB docking station mode.
The intelligent terminal is matched and connected through the accessory extension connector, so that the functions of the intelligent terminal are richer and easier to use, and the intelligent terminal can be extended to a programmable hardware product host for young learning of intelligent hardware and programming knowledge. The wearable product and the programmable hardware product are innovatively combined, on one hand, the playability of the wearable product is improved due to the newly added functions, on the other hand, the existing hardware functions of the wearable product are fully utilized, the cost of the programmable hardware product is greatly reduced in a fitting expansion mode, and the competitiveness of the product is improved.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-described division of program modules is illustrated, and in practical applications, the above-described distribution of functions may be performed by different program modules, that is, the internal structure of the apparatus may be divided into different program units or modules to perform all or part of the above-described functions. Each program module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one processing unit, and the integrated unit may be implemented in a form of hardware, or may be implemented in a form of software program unit. In addition, the specific names of the program modules are only used for distinguishing the program modules from one another, and are not used for limiting the protection scope of the application.
The intelligent terminal can be a desktop computer, a notebook, a palm computer, a tablet computer, a mobile phone, a human-computer interaction screen, an intelligent watch, an intelligent bracelet, intelligent glasses and other equipment. The intelligent terminal can include, but is not limited to, a processor, a memory. Those skilled in the art will appreciate that the foregoing is merely an example of a smart terminal and is not limiting of smart terminals and may include more or fewer components than those shown, or some components in combination, or different components, such as: the intelligent terminal may also include input/output interfaces, display devices, network access devices, communication buses, communication interfaces, and the like. A communication interface and a communication bus, and may further comprise an input/output interface, wherein the processor, the memory, the input/output interface and the communication interface complete communication with each other through the communication bus. The memory stores a computer program, and the processor is used for executing the computer program stored on the memory and realizing the device function expansion method in the corresponding method embodiment.
The Processor may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic device, discrete hardware component, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory may be an internal storage unit of the smart terminal, such as: hard disk or memory of intelligent terminal. The memory may also be an external storage device of the intelligent terminal, such as: the intelligent terminal is provided with a plug-in hard disk, an intelligent memory Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card) and the like. Further, the memory may also include both an internal storage unit and an external storage device of the smart terminal. The memory is used for storing the computer program and other programs and data required by the intelligent terminal. The memory may also be used to temporarily store data that has been output or is to be output.
A communication bus is a circuit that connects the described elements and enables transmission between the elements. For example, the processor receives commands from other elements through the communication bus, decrypts the received commands, and performs calculations or data processing according to the decrypted commands. The memory may include program modules such as a kernel (kernel), middleware (middleware), an Application Programming Interface (API), and applications. The program modules may be comprised of software, firmware or hardware, or at least two of the same. The input/output interface forwards commands or data entered by a user via the input/output interface (e.g., sensor, keyboard, touch screen). The communication interface connects the intelligent terminal with other network equipment, user equipment and a network. For example, the communication interface may be connected to a network by wire or wirelessly to connect to external other network devices or user devices. The wireless communication may include at least one of: wireless fidelity (WiFi), Bluetooth (BT), Near Field Communication (NFC), and cellular communications, among others. The wired communication may include at least one of: universal Serial Bus (USB), high-definition multimedia interface (HDMI), asynchronous transfer standard interface (RS-232), and the like. The network may be a telecommunications network and a communications network. The communication network may be a computer network, the internet of things, a telephone network. The intelligent terminal may be connected to the network via a communication interface, and a protocol used by the intelligent terminal to communicate with other network devices may be supported by at least one of an application, an Application Programming Interface (API), middleware, a kernel, and a communication interface.
They may be implemented in program code that is executable by a computing device such that it is executed by the computing device, or separately, or as individual integrated circuit modules, or as a plurality or steps of individual integrated circuit modules. Thus, the present invention is not limited to any specific combination of hardware and software.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or recited in detail in a certain embodiment.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus/intelligent terminal and method may be implemented in other ways. For example, the above-described device/intelligent terminal embodiments are merely illustrative, and for example, the division of the modules or units is only one logical function division, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated modules/units may be stored in a storage medium if they are implemented in the form of software functional units and sold or used as separate products. Based on such understanding, all or part of the flow of the method according to the embodiments of the present invention may also be implemented by sending instructions to relevant hardware through a computer program, where the computer program may be stored in a storage medium, and when the computer program is executed by a processor, the steps of the method embodiments may be implemented. Wherein the computer program may be in source code form, object code form, an executable file or some intermediate form, etc. The storage medium may include: any entity or device capable of carrying the computer program, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signal, telecommunication signal, software distribution medium, etc. It should be noted that the content of the storage medium may be increased or decreased as appropriate according to the requirements of legislation and patent practice in the jurisdiction, for example: in certain jurisdictions, in accordance with legislation and patent practice, computer-readable storage media do not include electrical carrier signals and telecommunications signals.
It should be noted that the above embodiments can be freely combined as necessary. The foregoing is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the present invention, and these modifications and decorations should also be regarded as the protection scope of the present invention.

Claims (10)

1. The utility model provides an equipment function extension method which characterized in that, is applied to the intelligent terminal who is equipped with rechargeable battery and female data interface, includes the step:
detecting the female data interface to judge whether the female data interface is connected with the accessory expansion connector or not;
when connection with an accessory extension connector is established and a function extension starting command is obtained, controlling the rechargeable battery to provide driving voltage for the accessory extension connector;
and sending the acquired control instruction to the accessory extension connector so that the accessory extension connector controls the connected functional accessory to execute corresponding operation.
2. The device function expansion method according to claim 1, wherein the step of detecting the female data interface to determine whether the female data interface establishes a connection with the accessory expansion connector comprises the steps of:
detecting a signal change state of the female data interface, and judging whether an equipment identifier acquired by the female data interface is a preset identifier of the accessory extension connector;
when the equipment identification is the preset identification of the accessory expansion connector, and current flows out of the female data interface, or a signal flows out of the female data interface, the connection between the equipment identification and the accessory expansion connector is judged.
3. The device function expansion method according to claim 1 or 2, wherein the controlling the rechargeable battery to supply a driving voltage to the accessory expansion connector comprises the steps of:
judging whether the identity of the master device is the slave device or the master device according to the level change of the data pin of the master data interface;
when the identity type of the self is the main equipment, the voltage of the rechargeable battery is boosted through a reverse boosting circuit, and driving voltage is provided for the accessory expansion connector through the female data interface;
and when the identity type of the self is the slave equipment, the self is controlled to be switched to the master mode, the voltage of the rechargeable battery is boosted through a reverse boosting circuit, and the drive voltage is provided for the accessory expansion connector through the female data interface.
4. The method for expanding the function of the equipment is characterized by being applied to an accessory expanding connector provided with an expanding interface and a male data interface matched with the female data interface, and comprising the following steps of:
detecting the public data interface to judge whether the public data interface is connected with an intelligent terminal or not;
when connection with an intelligent terminal is established and a control instruction sent by the intelligent terminal is received, converting the control instruction into a control signal which can be identified by a functional accessory connected with the expansion interface;
and controlling the functional accessory to execute corresponding operation according to the control signal.
5. The device function expansion method according to claim 4, wherein the step of detecting the public data interface to determine whether the public data interface establishes a connection with the intelligent terminal comprises the steps of:
detecting the signal change state of the public data interface, and judging whether the equipment identifier acquired by the public data interface is a preset identifier of the intelligent terminal;
and when the equipment identifier is the preset identifier of the intelligent terminal, current flows into the public data interface, or a signal flows into the public data interface, judging that the equipment identifier is connected with the intelligent terminal.
6. An intelligent terminal, comprising: the device comprises a baseband module, a rechargeable battery and a mother data interface;
the baseband module is used for detecting the female data interface and judging whether the female data interface is connected with the accessory expansion connector or not;
the baseband module is further configured to control the rechargeable battery to provide a driving voltage for the accessory extension connector when connection with the accessory extension connector is established and a function extension starting command is obtained;
the baseband module is further configured to send the acquired control instruction to the accessory extension connector, so that the accessory extension connector controls the connected functional accessory to execute a corresponding operation.
7. The intelligent terminal of claim 6, wherein the baseband module comprises:
the first judging unit is used for detecting the signal change state of the female data interface and judging whether the equipment identifier acquired by the female data interface is a preset identifier of the accessory expansion connector;
and the first processing unit is used for judging that the first processing unit is connected with the accessory extension connector when the equipment identifier is the preset identifier of the accessory extension connector and the current flows out of the female data interface or the signal flows out of the female data interface.
8. The intelligent terminal according to claim 6 or 7, wherein the baseband module further comprises:
the first detection unit is used for judging whether the identity of the first detection unit is the master equipment or the slave equipment according to the level change of the data pin of the female data interface;
the control unit is used for boosting the voltage of the rechargeable battery through a reverse boosting circuit when the identity type of the control unit is the main equipment, and providing driving voltage for the accessory expansion connector through the female data interface;
the control unit is further configured to control the self to switch to the master mode when the identity type of the self is the slave device, boost the voltage of the rechargeable battery through the reverse boost circuit, and provide a driving voltage for the accessory extension connector through the female data interface.
9. A fitting expansion connector, comprising: the expansion interface and a public data interface matched with the female data interface;
the processing module is used for detecting the public data interface and judging whether the public data interface is connected with the intelligent terminal or not;
the processing module is also used for converting the control instruction into a control signal which can be identified by the functional accessory connected with the expansion interface when the connection with the intelligent terminal is established and the control instruction sent by the intelligent terminal is received;
the processing module is further used for controlling the functional accessories to execute corresponding operations according to the control signals.
10. The device function expansion method according to claim 9, wherein the processing module comprises:
the second judging unit is used for detecting the signal change state of the public data interface and judging whether the equipment identifier acquired by the public data interface is a preset identifier of the intelligent terminal;
and the second processing unit is used for judging that the equipment is connected with the intelligent terminal when the equipment identifier is the preset identifier of the intelligent terminal and current flows into the public data interface or a signal flows into the public data interface.
CN202110474983.2A 2021-04-29 2021-04-29 Equipment function expansion method, intelligent terminal and accessory expansion connector Pending CN113127396A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202110474983.2A CN113127396A (en) 2021-04-29 2021-04-29 Equipment function expansion method, intelligent terminal and accessory expansion connector
PCT/CN2021/097179 WO2022227201A1 (en) 2021-04-29 2021-05-31 Device function expansion method, intelligent terminal, and accessory expansion connector

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110474983.2A CN113127396A (en) 2021-04-29 2021-04-29 Equipment function expansion method, intelligent terminal and accessory expansion connector

Publications (1)

Publication Number Publication Date
CN113127396A true CN113127396A (en) 2021-07-16

Family

ID=76780547

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110474983.2A Pending CN113127396A (en) 2021-04-29 2021-04-29 Equipment function expansion method, intelligent terminal and accessory expansion connector

Country Status (2)

Country Link
CN (1) CN113127396A (en)
WO (1) WO2022227201A1 (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100022277A1 (en) * 2008-07-25 2010-01-28 An Hyuk San Mobile terminal having expansion module and method of controlling operation of the mobile terminal
CN103444258A (en) * 2011-03-21 2013-12-11 三星电子株式会社 Mobile terminal and interface method thereof
CN104267781A (en) * 2014-08-07 2015-01-07 惠州Tcl移动通信有限公司 Dock multiplex mobile terminal and dock multiplexing method
US20160364360A1 (en) * 2015-06-10 2016-12-15 Samsung Electronics Co., Ltd. Method and apparatus for providing interface
CN107657866A (en) * 2016-07-25 2018-02-02 北京东易晖煌国际教育科技有限公司 A kind of Intelligent teaching robot of Modular programmable
CN107948080A (en) * 2017-11-23 2018-04-20 上海斐讯数据通信技术有限公司 A kind of modularization extension router and its control method, control system
CN110785909A (en) * 2018-08-01 2020-02-11 深圳市大疆创新科技有限公司 Control method of intelligent battery, intelligent battery and unmanned aerial vehicle
CN210670889U (en) * 2019-08-28 2020-06-02 魏晋书 Intelligent device protective shell with modular user-defined extended functions
CN112463659A (en) * 2020-11-27 2021-03-09 努比亚技术有限公司 Docking station identification detection circuit and terminal equipment

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7028126B1 (en) * 2000-09-21 2006-04-11 Ping Liang Universal serial bus for mobile devices having expansion modules
JP2005242498A (en) * 2004-02-25 2005-09-08 Contec Co Ltd Data transmitting equipment
CN101778174A (en) * 2009-12-22 2010-07-14 中兴通讯股份有限公司 Method, system and external card for achieving function extension of mobile terminal
CN201623750U (en) * 2009-12-29 2010-11-03 比亚迪股份有限公司 Mobile terminal with expansion function and system for realizing mobile terminal expansion function
CN106658759A (en) * 2015-10-29 2017-05-10 中国电信股份有限公司 Combined Internet of things terminal pedestal and system

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100022277A1 (en) * 2008-07-25 2010-01-28 An Hyuk San Mobile terminal having expansion module and method of controlling operation of the mobile terminal
CN103444258A (en) * 2011-03-21 2013-12-11 三星电子株式会社 Mobile terminal and interface method thereof
CN104267781A (en) * 2014-08-07 2015-01-07 惠州Tcl移动通信有限公司 Dock multiplex mobile terminal and dock multiplexing method
US20160364360A1 (en) * 2015-06-10 2016-12-15 Samsung Electronics Co., Ltd. Method and apparatus for providing interface
CN107657866A (en) * 2016-07-25 2018-02-02 北京东易晖煌国际教育科技有限公司 A kind of Intelligent teaching robot of Modular programmable
CN107948080A (en) * 2017-11-23 2018-04-20 上海斐讯数据通信技术有限公司 A kind of modularization extension router and its control method, control system
CN110785909A (en) * 2018-08-01 2020-02-11 深圳市大疆创新科技有限公司 Control method of intelligent battery, intelligent battery and unmanned aerial vehicle
CN210670889U (en) * 2019-08-28 2020-06-02 魏晋书 Intelligent device protective shell with modular user-defined extended functions
CN112463659A (en) * 2020-11-27 2021-03-09 努比亚技术有限公司 Docking station identification detection circuit and terminal equipment

Also Published As

Publication number Publication date
WO2022227201A1 (en) 2022-11-03

Similar Documents

Publication Publication Date Title
CN101583935B (en) Enhanced communication via a serial interface
TWI404349B (en) Apparatuses and methods that facilitate the transfer of power and information among electrical device
US9237217B2 (en) Docking station for simultaneously establishing connections from a smartphone to an external display and USB device
CN104081368B (en) Mobile device automatic detection device and method
CN108696946A (en) A kind of data processing method, charging unit and mobile terminal
WO2020134246A1 (en) Communication control method, device and system, charging box and wireless earpiece
US9383772B2 (en) Docking station with KVM switch
WO2018176901A1 (en) Adapter, terminal device and adapter system
EP3125513A1 (en) Multi-mode power saving multimedia transmission method and system
CN107707000B (en) OTG power supply and wireless charging compatible circuit, related method and terminal equipment
JP2011248891A (en) Connector and interface device
CN107643994B (en) Terminal, terminal peripheral, signal sending and receiving method and data transmission system
WO2016187895A1 (en) Charging type concentrator
CN110829523A (en) Electronic equipment and reverse charging method
CN105635885A (en) USB interface multiplex circuit, mobile terminal and earphone
CN203813491U (en) Charging adapter device
JP2011250409A (en) Medium player device and wake-up method
CN105491421A (en) No-power line television based on type-C interface
CN207124689U (en) A kind of head-mounted display
US10929090B2 (en) Wireless display screen
CN109861038A (en) It can automatically switch the USB Port and its control method of connection mode
CN106532382A (en) USB Type-C adapter and implementation method thereof
CN112492433A (en) Charging box, wireless earphone and wireless earphone charging system
CN105141714A (en) First mobile equipment, external equipment and second mobile equipment
CN211017659U (en) USB connects converting circuit and connects converter

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