CN110166994A - A kind of data time sharing transmissions mutually use method, system, mobile terminal and storage medium - Google Patents

A kind of data time sharing transmissions mutually use method, system, mobile terminal and storage medium Download PDF

Info

Publication number
CN110166994A
CN110166994A CN201910441074.1A CN201910441074A CN110166994A CN 110166994 A CN110166994 A CN 110166994A CN 201910441074 A CN201910441074 A CN 201910441074A CN 110166994 A CN110166994 A CN 110166994A
Authority
CN
China
Prior art keywords
charging box
bluetooth headset
earphone
mobile terminal
earphone 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.)
Granted
Application number
CN201910441074.1A
Other languages
Chinese (zh)
Other versions
CN110166994B (en
Inventor
唐以彬
蒋飞
羊宗鑫
陆燕金
黄琴
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sz Shuo Xun Electronics Co Ltd
Original Assignee
Sz Shuo Xun Electronics 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 Sz Shuo Xun Electronics Co Ltd filed Critical Sz Shuo Xun Electronics Co Ltd
Priority to CN201910441074.1A priority Critical patent/CN110166994B/en
Publication of CN110166994A publication Critical patent/CN110166994A/en
Application granted granted Critical
Publication of CN110166994B publication Critical patent/CN110166994B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/0047Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with monitoring or indicating devices or circuits
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/14Direct-mode setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/005Discovery of network devices, e.g. terminals
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/0047Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with monitoring or indicating devices or circuits
    • H02J7/0048Detection of remaining charge capacity or state of charge [SOC]
    • H02J7/0049Detection of fully charged condition

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Power Engineering (AREA)
  • Telephone Function (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a kind of data time sharing transmissions mutually to use method, system, mobile terminal and storage medium, the described method includes: mobile terminal and bluetooth headset establish wireless communication connection after bluetooth headset is put into earphone charging box and establishes charging connection with earphone charging box;During earphone charging box is to charging bluetooth earphone, the monitoring data that mobile terminal real-time reception bluetooth headset is sent, by the power end of earphone charging box, timesharing while charging is sent to bluetooth headset to monitoring data;After mobile terminal receives monitoring data, the charged state of current earphone charging box and bluetooth headset is shown in the display interface.Charged state data is transferred to the bluetooth headset by time sharing transmissions during to charging bluetooth earphone by earphone charging box by the present invention, the bluetooth headset is then forwarded to the mobile terminal being attached thereto, and learns the relevant information of the charged state of the earphone charging box and the bluetooth headset in time by the mobile terminal convenient for user.

Description

A kind of data time sharing transmissions mutually use method, system, mobile terminal and storage medium
Technical field
The present invention relates to fields of communication technology more particularly to a kind of data time sharing transmissions mutually to use method, system, mobile terminal And storage medium.
Background technique
With the development of technology, occurs the earphone charging box much to charge to bluetooth headset on the market, earphone fills Electric box is built-in with rechargeable battery, and after bluetooth headset is put into earphone charging box, rechargeable battery gives bluetooth in the case where there is electricity automatically Earphone charges, and earphone charging box is small and exquisite easy to carry, facilitates user in the case where bluetooth headset is without electricity in time to indigo plant Tooth earphone charges.
It (can only be established in the prior art similar since bluetooth headset box can not directly establish wireless connection with mobile terminal The wired connection of USB, wireless connection require hardware, and cost is too high), in bluetooth headset box to the process of charging bluetooth earphone In, it can not judge the current charged state of bluetooth headset, the fully charged instruction by earphone charging box of bluetooth headsets can only be waited Lamp is shown, and also can not accurately know the state of earphone charging box present battery, such as there are also more for the battery of earphone charging box Few electricity, if needs charge to earphone charging box in time in time, and bluetooth can not be given when avoiding earphone charging box is out of power from resulting in the need for Earphone charging, in addition, can not also know the case where whether being put into bluetooth headset in earphone charging box.
That is, the charging of mobile terminal real-time monitoring earphone charging box and bluetooth headset can not be passed through in the prior art The data such as state cause user in use earphone charging box to the inconvenient for operation of charging bluetooth earphone.
Therefore, the existing technology needs to be improved and developed.
Summary of the invention
The main purpose of the present invention is to provide a kind of data time sharing transmissions mutually to use method, system, mobile terminal and storage Medium, it is intended to which solution can not pass through the charged state of mobile terminal real-time monitoring earphone charging box and bluetooth headset in the prior art Etc. data, cause user using earphone charging box to the problem inconvenient for operation of charging bluetooth earphone.
To achieve the above object, the present invention provides a kind of data time sharing transmissions and mutually uses method, and the data time sharing transmissions are mutual Included the following steps: with method
After bluetooth headset is put into earphone charging box and establishes charging connection with the earphone charging box, mobile terminal with it is described Bluetooth headset establishes wireless communication connection;
During the earphone charging box gives the charging bluetooth earphone, bluetooth ear described in the mobile terminal real-time reception The monitoring data that machine is sent, by the power end of the earphone charging box, timesharing while charging is sent to institute to the monitoring data State bluetooth headset;
After the mobile terminal receives the monitoring data, presently described earphone charging box and described is shown in the display interface The charged state of bluetooth headset.
Optionally, the data time sharing transmissions mutually use method, wherein described when bluetooth headset is put into earphone charging box And after with the earphone charging box establishing charging connection, mobile terminal and the bluetooth headset establish the step of wireless communication connection Suddenly, comprising:
After the bluetooth headset is put into the earphone charging box and establishes charging connection with the earphone charging box, described in acquisition Earphone charging box is sent to the unpaired message of the bluetooth headset;
It according to the unpaired message, obtains matched order and starts pairing state, the bluetooth is controlled according to the matched order Earphone and the mobile terminal establish pairing connection.
Optionally, the data time sharing transmissions mutually use method, wherein described to give the bluetooth in the earphone charging box During earphone charges, the monitoring data that bluetooth headset described in the mobile terminal real-time reception is sent, the monitoring data The step of timesharing is sent to the bluetooth headset while charging by the power end of the earphone charging box, comprising:
It is multiple default in passing through data circuit of the power end to the charging bluetooth earphone to preset the earphone charging box The communication data field of period;
During the earphone charging box gives the charging bluetooth earphone by power end, the mobile terminal real-time reception The monitoring data that the bluetooth headset is sent;
The monitoring data is sent to while charging by protocol stack timesharing described by the power end of the earphone charging box Bluetooth headset.
Optionally, the data time sharing transmissions mutually use method, wherein the charged state includes: earphone charging box Battery status information, the charging status information of bluetooth headset and bluetooth headset whether the status information in earphone charging box.
Optionally, the data time sharing transmissions mutually use method, wherein receive the monitoring data in the mobile terminal Afterwards, the step of showing the charged state of presently described earphone charging box and the bluetooth headset in the display interface, comprising:
When the mobile terminal receives the battery status information that the monitoring data is earphone charging box, described mobile whole The information about power that the earphone charging box present battery is shown on the display interface at end, when the electricity of battery is lower than preset threshold When, prompt user to charge the earphone charging box;
When the mobile terminal receives the charging status information that the monitoring data is bluetooth headset, in the mobile terminal Display interface on show the current charge capacity information of the bluetooth headset, for prompting user to know, the bluetooth headset is worked as Preceding charging situation;
When the mobile terminal receive the monitoring data be bluetooth headset whether status information in earphone charging box when, Whether placed the bluetooth headset, for prompting if being shown on the display interface of the mobile terminal in the earphone charging box User knows the current service condition of the earphone charging box.
Optionally, the data time sharing transmissions mutually use method, wherein the protocol stack includes: ICP/IP protocol, network Transport protocol, osi model, Wireless Application Protocol and X.25.
Optionally, the data time sharing transmissions mutually use method, wherein the preset time period is 1ms.
In addition, to achieve the above object, the present invention also provides a kind of mobile terminals, wherein the mobile terminal includes: to deposit It reservoir, processor and is stored in the data time sharing transmissions that can be run on the memory and on the processor and mutually uses program, The data time sharing transmissions realize that data time sharing transmissions as described above mutually use method when mutually being executed with program by the processor The step of.
In addition, to achieve the above object, the present invention also provides a kind of data time sharing transmissions mutually to use system, wherein institute Stating data time sharing transmissions includes mutually mobile terminal as described above with system, and establishes communication connection with the mobile terminal Bluetooth headset, the bluetooth headset are established contact and are communicated to connect by being put into earphone charging box and the earphone charging box;
After the bluetooth headset is put into earphone charging box and establishes charging connection with the earphone charging box, the mobile terminal Wireless communication connection is established with the bluetooth headset;
During the earphone charging box gives the charging bluetooth earphone, bluetooth headset described in the mobile terminal real-time reception The monitoring data of transmission, the monitoring data by the power end of the earphone charging box timesharing while charging be sent to it is described Bluetooth headset;
After the mobile terminal receives the monitoring data, presently described earphone charging box and the indigo plant are shown in the display interface The charged state of tooth earphone.
In addition, to achieve the above object, the present invention also provides a kind of storage mediums, wherein the storage medium is stored with Data time sharing transmissions mutually use program, and the data time sharing transmissions realize data as described above when being mutually executed by processor with program Time sharing transmissions mutually use the step of method.
The present invention passes through time sharing transmissions by earphone charging box for charged state data during giving charging bluetooth earphone It is transferred to the bluetooth headset, the bluetooth headset is then forwarded to the mobile terminal being attached thereto, and passes through the shifting convenient for user Dynamic terminal learns the relevant information of the charged state of the earphone charging box and the bluetooth headset in time, is filled according to the earphone The current state information of electric box and the bluetooth headset is reacted in time, avoids the earphone charging box and the bluetooth headset The uncertain brought inconvenient problem with use of electricity.
Detailed description of the invention
Fig. 1 is the flow chart for the preferred embodiment that data time sharing transmissions of the present invention mutually use method;
Fig. 2 is the flow chart that data time sharing transmissions of the present invention mutually use step S10 in the preferred embodiment of method;
Fig. 3 is the flow chart that data time sharing transmissions of the present invention mutually use step S20 in the preferred embodiment of method;
Fig. 4 is the flow chart that data time sharing transmissions of the present invention mutually use step S30 in the preferred embodiment of method;
Fig. 5 is the energy supply schematic diagram of the preferred embodiment of mobile terminal of the present invention;
Fig. 6 is the whole system schematic diagram for the preferred embodiment that data time sharing transmissions of the present invention mutually use system.
Specific embodiment
To make the objectives, technical solutions, and advantages of the present invention clearer and more explicit, right as follows in conjunction with drawings and embodiments The present invention is further described.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and do not have to It is of the invention in limiting.
Data time sharing transmissions described in present pre-ferred embodiments mutually use method, as shown in Figure 1, the data time sharing transmissions Mutually use method the following steps are included:
Step S10, mobile whole after bluetooth headset is put into earphone charging box and establishes charging connection with the earphone charging box Wireless communication connection is established with the bluetooth headset in end.
Specific process is referring to Fig. 2, it mutually uses the stream of step S10 in method for data time sharing transmissions provided by the invention Cheng Tu.
As shown in Fig. 2, the step S10 includes:
S11, after the bluetooth headset is put into the earphone charging box and establishes charging connection with the earphone charging box, obtain The earphone charging box is sent to the unpaired message of the bluetooth headset;
S12, according to the unpaired message, obtain matched order and simultaneously start pairing state, according to matched order control Bluetooth headset and the mobile terminal establish pairing connection.
Mobile terminal in the present invention can be mobile phone or other can match terminal devices of connection with bluetooth headset, this Embodiment does not do any restrictions to this.
The present invention can not directly be built with earphone charging box (not set bluetooth equipment in earphone charging box) due to mobile terminal It is vertical to be wirelessly connected, and bluetooth headset and mobile terminal can establish wireless connection, therefore, be passed by bluetooth headset as intermediary Defeated earphone charging box and the related monitoring data of itself can be convenient by mobile terminal convenient for user and recognize to mobile terminal The charging of earphone charging box and bluetooth headset and respective service condition.
In the present invention, the mobile terminal can establish wireless communication connection by Bluetooth pairing and the bluetooth headset, Convenient for receiving the data information that the bluetooth headset is sent in time.
Step S20, during the earphone charging box gives the charging bluetooth earphone, the mobile terminal connects in real time The monitoring data that the bluetooth headset is sent is received, the monitoring data is by the power end of the earphone charging box while charging Timesharing is sent to the bluetooth headset.
Specific process is referring to Fig. 3, it mutually uses the stream of step S20 in method for data time sharing transmissions provided by the invention Cheng Tu.
As shown in figure 3, the step S20 includes:
S21, preset the earphone charging box by power end to the charging bluetooth earphone data circuit in it is multiple The communication data field of preset time period;
S22, the earphone charging box by power end give the charging bluetooth earphone during, the mobile terminal is real-time Receive the monitoring data that the bluetooth headset is sent;
S23, the monitoring data are sent to while charging by protocol stack timesharing by the power end of the earphone charging box The bluetooth headset.
Specifically, as shown in fig. 6, after the bluetooth headset is put into the earphone charging box, in the earphone charging box Charging contact electrical connection, charging connection can be established, the earphone charging box passes through VDD(power end) give the bluetooth ear Machine charges.VDD:D=device indicates the meaning of device, the i.e. operating voltage (connecing power supply) of device inside.
In the present invention, is exactly transmitted and communicated by protocol stack while charging to the bluetooth headset using VDD Data give the bluetooth headset, this function is realized by the communication data field of multiple preset time periods.
Wherein, the protocol stack include: ICP/IP protocol, the network transmission protocol, osi model, Wireless Application Protocol and X.25;Wherein, one network communication models of ICP/IP protocol and a whole network transport protocol family are the base of internet Plinth communication construction, TCP/IP provide point-to-point linking mechanism, how data should be encapsulated, addressing, transmission, routing and How destination receives, and is all standardized.The network transmission protocol refer to allow in any physical medium it is two or more The system standard that information is propagated between terminal in Transmission system also refers to the common language of computer communication or on-line apparatus. Osi model (Open System Interconnection Reference Model, open system interconnection communication references mould Type) it is proposed by International Organization for standardization, a standard card cage for attempting that various computers is made worldwide mutually to be linked as network. Wireless Application Protocol allows people using mobile communication terminal devices such as mobile phones, receives various information by wap protocol, surfs the Internet, clear It lookes at webpage, sends and receive e-mail, or even carry out the network communication association of online e-commerce;Wireless application protocol (wap) is What is communicated between the mobile communication equipments such as mobile phone, PDA(Personal Digital Assistant) and internet or other business opens Putting property, global standard.X.25 being one uses phone or isdn device to carry out framework wide area network as network hardware equipment ITU-T network protocol.
Wherein, the preset time period is 1ms, and transmission time is short, and transmission speed is fast.
Step S30, after the mobile terminal receives the monitoring data, presently described earphone is shown in the display interface The charged state of charging box and the bluetooth headset.
Wherein, the charged state includes: the charged state letter of the battery status information of earphone charging box, bluetooth headset Breath and bluetooth headset whether the status information in earphone charging box;It certainly can also include other data informations.
Detailed process is referring to Fig. 4, it mutually uses the process of step S30 in method for data time sharing transmissions provided by the invention Figure.
As shown in figure 4, the step S30 includes:
S31, when the mobile terminal receive the monitoring data be earphone charging box battery status information when, in the shifting The information about power that the earphone charging box present battery is shown on the display interface of dynamic terminal, when the electricity of battery is lower than default threshold When value, user is prompted to charge the earphone charging box;
S32, when the mobile terminal receive the monitoring data be bluetooth headset charging status information when, in the movement The current charge capacity information of the bluetooth headset is shown on the display interface of terminal, for prompting user to know the bluetooth ear The current charging situation of machine;
S33, when the mobile terminal receives the monitoring data, for bluetooth headset, whether the state in earphone charging box is believed Whether when breath, being shown in the earphone charging box on the display interface of the mobile terminal placed the bluetooth headset, use The current service condition of the earphone charging box is known in prompt user.
Specifically, the mobile terminal can directly receive the status information (monitoring data) that the bluetooth headset is sent, The status information (monitoring data) that the earphone charging box can also be received by the bluetooth headset, can pass through convenient for user The mobile terminal knows the bluetooth ear in the prompt information that display interface (such as screen) is shown according to the monitoring data The charge condition of battery in the states, such as the earphone charging box such as the electricity of machine and the earphone charging box, when the earphone In charging box the electricity of battery be lower than preset threshold (such as 20%) when, user be known that needs to the earphone charging box into Row charge, avoid next time to the charging bluetooth earphone when not enough power supply;Such as the charging situation of the bluetooth headset, also It is the bluetooth headset has filled how many electricity, so that user can be used in the enough situations of the electrical quantity of bluetooth headset;Such as Bluetooth headset whether the status information in earphone charging box, sometimes user is not when the earphone charging box is built Know whether the inside placed bluetooth headset, then it is to be understood that the upper cover for opening earphone charging box is just needed just to know, and when blue When tooth earphone is not placed in earphone charging box, then mobile terminal just can't detect the information of earphone charging box, so that it may To know in earphone charging box whether placed bluetooth headset.
In addition, the earphone charging box in the present invention mainly charges to bluetooth headset, while earphone charging box may be used also To realize charged to mobile terminal (such as connecting mobile terminal by the USB interface on earphone charging box), such as basis The information that detection circuit (for detecting the access of bluetooth headset or mobile terminal) detects, control charging chip output are filled Electric current switches the charge mode of charging chip 1, charges for realizing to bluetooth headset and mobile terminal;Wherein, it fills Electrical chip includes two kinds of charge modes, wherein one mode: output 75mA~85mA electric current charges to wireless headset;Second Mode: output 500mA~800mA electric current charges to mobile terminal, because the requirement of the charging current of two kinds of equipment is different 's.A variety of charge modes of earphone charging box are realized, so that solving existing wireless headset charging box cannot move to mobile phone etc. The problem of dynamic equipment charge.
Further, a power switch can also be arranged in the bluetooth headset, and power switch is arranged in series in battery pack Between part and electric connector (bluetooth headset includes battery component, electric connector and master controller), power switch it is controlled End is connect with master controller, when master controller detects the battery capacity of battery component greater than preset charged threshold value, is then controlled The power switch disconnects, and is arranged such in the case where the electricity of bluetooth headset can be prevented sufficient, the earphone charging box also can Automatically the charging bluetooth earphone is given, the bluetooth headset is may cause in this way and overcharges and be compromised.
Wherein, preset charged threshold value can be set according to the power reservoir capacity of battery, such as in battery storage electric energy When range is 4.3V, power supply threshold value then can be set to 4.3V, namely works as and detect that battery capacity is greater than or equal to 4.3V, then table Sign is needed to battery charging complete, and master controller then can be with the earphone charging box communication connection at this time, and outputting communication is believed Number, stop powering to the battery component to trigger the earphone charging box.Or master controller can also be big in battery capacity When preset charged threshold value, control battery component stops charging.Or when bluetooth headset is placed to earphone charging box, inspection When measuring the current battery charge of battery component more than or equal to preset charged threshold value, when with earphone charging box carrying out shake communication, Earphone charging box is not triggered to power to the battery component.
Further, as bluetooth headset is more more and more universal, many headset designs are similar, i.e. the ear of different model Machine size is identical, causes the bluetooth headset of different model that can be put into identical earphone charging box, but setting due to charging box The difference of meter, when charging box and earphone mismatch, during charging due to electric current, may be damaged earphone and Charging box, Product Safety are lower.
Therefore, in the present invention before bluetooth headset accesses progress charging operations, the detection of the bluetooth headset is joined Number is verified, and is just carried out charging operations after meeting preset condition, is effectively prevented the maloperation of user, product can be improved Security performance.
Specifically, when detecting bluetooth headset access, the detection parameters of the bluetooth headset are obtained;Detection parameters can be with The configuration information of upper pull down resistor between model, security code including the bluetooth headset and bluetooth headset and earphone charging box Deng;Judge whether the detection parameters meet preset condition, if then charging operations are carried out to the bluetooth headset, if it is not, then refusing The absolute bluetooth headset carries out charging operations.For example, preset condition can be should when detection parameters are the model of bluetooth headset Whether model matches with the model of earphone charging box;When detection parameters are the security code of bluetooth headset, preset condition can be Whether the security code is the corresponding normal security code of the earphone charging box;When detection parameters be bluetooth headset and earphone charging box it Between upper pull down resistor configuration information, preset condition can for the configuration information whether in preset threshold range.It can be with Whether setting display is in the display device of charged state, such as indicator light etc. on earphone charging box.When detection parameters meet Preset condition, when bluetooth headset is in charged state, indicator light is bright, and when detection parameters are unsatisfactory for preset condition, indicator light does not work, User's bluetooth headset and this earphone charging box is prompted to mismatch with this.
Further, as shown in figure 5, mutually using method based on above-mentioned data time sharing transmissions, the present invention further correspondingly provides one Kind mobile terminal, the mobile terminal includes processor 10, memory 20 and display 30.Fig. 5 illustrates only mobile terminal Members, it should be understood that being not required for implementing all components shown, the implementation that can be substituted is more or less Component.
The memory 20 can be the internal storage unit of the mobile terminal in some embodiments, such as mobile whole The hard disk or memory at end.The external storage that the memory 20 is also possible to the mobile terminal in further embodiments is set Plug-in type hard disk that is standby, such as being equipped on the mobile terminal, intelligent memory card (Smart Media Card, SMC), safety Digital (Secure Digital, SD) card, flash card (Flash Card) etc..Further, the memory 20 can also be both Internal storage unit including the mobile terminal also includes External memory equipment.The memory 20 is installed on institute for storing State the application software and Various types of data of mobile terminal, such as the program code etc. of the installation mobile terminal.The memory 20 It can be also used for temporarily storing the data that has exported or will export.In one embodiment, it is stored on memory 20 Data time sharing transmissions mutually use program 40, which mutually uses program 40 can be performed by processor 10, to realize this Data time sharing transmissions mutually use method in application.
The processor 10 can be in some embodiments a central processing unit (Central Processing Unit, CPU), microprocessor or other data processing chips, for running the program code stored in the memory 20 or processing number According to, such as the data time sharing transmissions are executed mutually with method etc..
The display 30 can be light-emitting diode display, liquid crystal display, touch-control liquid crystal display in some embodiments And OLED(Organic Light-Emitting Diode, Organic Light Emitting Diode) touch device etc..The display 30 is used In the information for being shown in the mobile terminal and for showing visual user interface.The component 10- of the mobile terminal 30 are in communication with each other by system bus.
In one embodiment, when processor 10 executes data time sharing transmissions mutually use program 40 in the memory 20 when realization Following steps:
After bluetooth headset is put into earphone charging box and establishes charging connection with the earphone charging box, mobile terminal with it is described Bluetooth headset establishes wireless communication connection;
During the earphone charging box gives the charging bluetooth earphone, bluetooth ear described in the mobile terminal real-time reception The monitoring data that machine is sent, by the power end of the earphone charging box, timesharing while charging is sent to institute to the monitoring data State bluetooth headset;
After the mobile terminal receives the monitoring data, presently described earphone charging box and described is shown in the display interface The charged state of bluetooth headset.
It is described after bluetooth headset is put into earphone charging box and establishes charging connection with the earphone charging box, it is mobile eventually The step of wireless communication connection is established with the bluetooth headset in end, comprising:
After the bluetooth headset is put into the earphone charging box and establishes charging connection with the earphone charging box, described in acquisition Earphone charging box is sent to the unpaired message of the bluetooth headset;
It according to the unpaired message, obtains matched order and starts pairing state, the bluetooth is controlled according to the matched order Earphone and the mobile terminal establish pairing connection.
It is described the earphone charging box give the charging bluetooth earphone during, the mobile terminal real-time reception institute State bluetooth headset transmission monitoring data, the monitoring data by the earphone charging box power end charging while timesharing The step of being sent to the bluetooth headset, comprising:
It is multiple default in passing through data circuit of the power end to the charging bluetooth earphone to preset the earphone charging box The communication data field of period;
During the earphone charging box gives the charging bluetooth earphone by power end, the mobile terminal real-time reception The monitoring data that the bluetooth headset is sent;
The monitoring data is sent to while charging by protocol stack timesharing described by the power end of the earphone charging box Bluetooth headset.
Wherein, the charged state includes: the charged state letter of the battery status information of earphone charging box, bluetooth headset Breath and bluetooth headset whether the status information in earphone charging box.
It is described after the mobile terminal receives the monitoring data, show presently described earphone charging in the display interface The step of charged state of box and the bluetooth headset, comprising:
When the mobile terminal receives the battery status information that the monitoring data is earphone charging box, described mobile whole The information about power that the earphone charging box present battery is shown on the display interface at end, when the electricity of battery is lower than preset threshold When, prompt user to charge the earphone charging box;
When the mobile terminal receives the charging status information that the monitoring data is bluetooth headset, in the mobile terminal Display interface on show the current charge capacity information of the bluetooth headset, for prompting user to know, the bluetooth headset is worked as Preceding charging situation;
When the mobile terminal receive the monitoring data be bluetooth headset whether status information in earphone charging box when, Whether placed the bluetooth headset, for prompting if being shown on the display interface of the mobile terminal in the earphone charging box User knows the current service condition of the earphone charging box.
Wherein, the protocol stack include: ICP/IP protocol, the network transmission protocol, osi model, Wireless Application Protocol and X.25。
Wherein, the preset time period is 1ms.
Further, as shown in fig. 6, the present invention also provides a kind of data time sharing transmissions mutually to use system, the data timesharing Transmission includes mutually mobile terminal 300 as described above with system, and the bluetooth of communication connection is established with the mobile terminal 300 Earphone 200, the bluetooth headset 200 are established contact with the earphone charging box 100 by being put into earphone charging box 100 and are communicated Connect
Specifically, the bluetooth headset 200 is put into earphone charging box 100 and establishes charging with the earphone charging box 100 and connects After connecing, the mobile terminal 300 establishes wireless communication connection with the bluetooth headset 200;The earphone charging box 100 is to described During bluetooth headset 200 charges, the monitoring data that bluetooth headset 200 described in 300 real-time reception of mobile terminal is sent, By the power end of the earphone charging box 100, timesharing while charging is sent to the bluetooth headset 200 to the monitoring data; After the mobile terminal 300 receives the monitoring data, presently described earphone charging box 100 and described is shown in the display interface The charged state of bluetooth headset 200.
The present invention also provides a kind of storage mediums, wherein and the storage medium is stored with data time sharing transmissions and mutually uses program, The data time sharing transmissions realize that data time sharing transmissions as described above mutually use the step of method when being mutually executed by processor with program Suddenly.
In conclusion the present invention, which provides a kind of data time sharing transmissions, mutually uses method, system, mobile terminal and storage medium, The described method includes: after bluetooth headset is put into earphone charging box and establishes charging connection with the earphone charging box, it is mobile Terminal and the bluetooth headset establish wireless communication connection;The process of the charging bluetooth earphone is given in the earphone charging box In, the monitoring data that bluetooth headset described in the mobile terminal real-time reception is sent, the monitoring data is charged by the earphone Timesharing while charging of the power end of box is sent to the bluetooth headset;The monitoring data is received in the mobile terminal Afterwards, the charged state of presently described earphone charging box and the bluetooth headset is shown in the display interface.The present invention passes through earphone Charged state data is transferred to the bluetooth headset by time sharing transmissions during to charging bluetooth earphone by charging box, described Bluetooth headset is then forwarded to the mobile terminal being attached thereto, and learns that the earphone fills in time by the mobile terminal convenient for user The relevant information of the charged state of electric box and the bluetooth headset.
Certainly, those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, It is that related hardware (such as processor, controller etc.) can be instructed to complete by computer program, the program can store In a computer-readable storage medium, described program may include the process such as above-mentioned each method embodiment when being executed. Wherein the storage medium can be memory, magnetic disk, CD etc..
It should be understood that the application of the present invention is not limited to the above for those of ordinary skills can With improvement or transformation based on the above description, all these modifications and variations all should belong to the guarantor of appended claims of the present invention Protect range.

Claims (10)

1. a kind of data time sharing transmissions mutually use method, which is characterized in that the data time sharing transmissions mutually include: with method
After bluetooth headset is put into earphone charging box and establishes charging connection with the earphone charging box, mobile terminal with it is described Bluetooth headset establishes wireless communication connection;
During the earphone charging box gives the charging bluetooth earphone, bluetooth ear described in the mobile terminal real-time reception The monitoring data that machine is sent, by the power end of the earphone charging box, timesharing while charging is sent to institute to the monitoring data State bluetooth headset;
After the mobile terminal receives the monitoring data, presently described earphone charging box and described is shown in the display interface The charged state of bluetooth headset.
2. data time sharing transmissions according to claim 1 mutually use method, which is characterized in that described when bluetooth headset is put into ear After establishing charging connection in machine charging box and with the earphone charging box, mobile terminal and the bluetooth headset are established and are wirelessly communicated The step of connection, comprising:
After the bluetooth headset is put into the earphone charging box and establishes charging connection with the earphone charging box, described in acquisition Earphone charging box is sent to the unpaired message of the bluetooth headset;
It according to the unpaired message, obtains matched order and starts pairing state, the bluetooth is controlled according to the matched order Earphone and the mobile terminal establish pairing connection.
3. data time sharing transmissions according to claim 2 mutually use method, which is characterized in that described in the earphone charging box During to the charging bluetooth earphone, the monitoring data that bluetooth headset described in the mobile terminal real-time reception is sent, institute State monitoring data by the earphone charging box power end charging while timesharing be sent to the bluetooth headset the step of, packet It includes:
It is multiple default in passing through data circuit of the power end to the charging bluetooth earphone to preset the earphone charging box The communication data field of period;
During the earphone charging box gives the charging bluetooth earphone by power end, the mobile terminal real-time reception The monitoring data that the bluetooth headset is sent;
The monitoring data is sent to while charging by protocol stack timesharing described by the power end of the earphone charging box Bluetooth headset.
4. data time sharing transmissions according to claim 1 mutually use method, which is characterized in that the charged state includes: ear Whether the battery status information of machine charging box, the charging status information of bluetooth headset and bluetooth headset are in earphone charging box Status information.
5. data time sharing transmissions according to claim 4 mutually use method, which is characterized in that described to be connect in the mobile terminal After receiving the monitoring data, the charged state of presently described earphone charging box and the bluetooth headset is shown in the display interface Step, comprising:
When the mobile terminal receives the battery status information that the monitoring data is earphone charging box, described mobile whole The information about power that the earphone charging box present battery is shown on the display interface at end, when the electricity of battery is lower than preset threshold When, prompt user to charge the earphone charging box;
When the mobile terminal receives the charging status information that the monitoring data is bluetooth headset, in the mobile terminal Display interface on show the current charge capacity information of the bluetooth headset, for prompting user to know, the bluetooth headset is worked as Preceding charging situation;
When the mobile terminal receive the monitoring data be bluetooth headset whether status information in earphone charging box when, Whether placed the bluetooth headset, for prompting if being shown on the display interface of the mobile terminal in the earphone charging box User knows the current service condition of the earphone charging box.
6. data time sharing transmissions according to claim 3 mutually use method, which is characterized in that the protocol stack includes: TCP/ IP agreement, the network transmission protocol, osi model, Wireless Application Protocol and X.25.
7. data time sharing transmissions according to claim 3 mutually use method, which is characterized in that the preset time period is 1ms.
8. a kind of mobile terminal, which is characterized in that the mobile terminal includes: memory, processor and is stored in the storage On device and the data time sharing transmissions that can run on the processor mutually use program, and the data time sharing transmissions mutually use program by institute It states when processor executes and realizes the step of mutually using method such as the described in any item data time sharing transmissions of claim 1-7.
9. a kind of data time sharing transmissions mutually use system, which is characterized in that the data time sharing transmissions include mutually such as right with system It is required that mobile terminal described in 8, and the bluetooth headset communicated to connect is established with the mobile terminal, the bluetooth headset passes through It is put into earphone charging box and the earphone charging box establishes contact communication connection;
After the bluetooth headset is put into earphone charging box and establishes charging connection with the earphone charging box, the mobile terminal Wireless communication connection is established with the bluetooth headset;
During the earphone charging box gives the charging bluetooth earphone, bluetooth headset described in the mobile terminal real-time reception The monitoring data of transmission, the monitoring data by the power end of the earphone charging box timesharing while charging be sent to it is described Bluetooth headset;
After the mobile terminal receives the monitoring data, presently described earphone charging box and the indigo plant are shown in the display interface The charged state of tooth earphone.
10. a kind of storage medium, which is characterized in that the storage medium is stored with data time sharing transmissions and mutually uses program, the number It is realized when being mutually executed by processor with program according to time sharing transmissions as the described in any item data time sharing transmissions of claim 1-7 are mutually used The step of method.
CN201910441074.1A 2019-05-24 2019-05-24 Data time-sharing transmission interoperability method, system, mobile terminal and storage medium Active CN110166994B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910441074.1A CN110166994B (en) 2019-05-24 2019-05-24 Data time-sharing transmission interoperability method, system, mobile terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910441074.1A CN110166994B (en) 2019-05-24 2019-05-24 Data time-sharing transmission interoperability method, system, mobile terminal and storage medium

Publications (2)

Publication Number Publication Date
CN110166994A true CN110166994A (en) 2019-08-23
CN110166994B CN110166994B (en) 2020-01-14

Family

ID=67632747

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910441074.1A Active CN110166994B (en) 2019-05-24 2019-05-24 Data time-sharing transmission interoperability method, system, mobile terminal and storage medium

Country Status (1)

Country Link
CN (1) CN110166994B (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111193978A (en) * 2019-12-31 2020-05-22 歌尔科技有限公司 Charging box control method, earphone charging box and computer readable storage medium
CN111246328A (en) * 2019-12-31 2020-06-05 歌尔科技有限公司 Charging box, electric quantity display method and system thereof, and computer readable storage medium
CN111491233A (en) * 2020-04-08 2020-08-04 江苏紫米电子技术有限公司 Method, device and equipment for reminding electric quantity of charging box and storage medium
CN111586521A (en) * 2020-05-19 2020-08-25 歌尔科技有限公司 Auxiliary playing device, control method and control device thereof, and readable storage medium
CN113329387A (en) * 2021-06-18 2021-08-31 英华达(上海)科技有限公司 Bluetooth headset communication method and device
CN113840200A (en) * 2020-06-23 2021-12-24 深圳市万普拉斯科技有限公司 Play equipment determining method and device, earphone accommodating system and electronic equipment
CN114007206A (en) * 2020-07-28 2022-02-01 西万拓私人有限公司 Method for establishing a short-range radio connection, hearing device and charging device
CN114245269A (en) * 2021-11-15 2022-03-25 新线科技有限公司 Earphone interaction method, earphone kit, earphone component and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105264737A (en) * 2013-06-05 2016-01-20 诺基亚技术有限公司 Apparatus and method for providing device charging information
US20180124494A1 (en) * 2016-01-03 2018-05-03 Braven LC Wireless earphones and earphones charging case
KR101885734B1 (en) * 2017-11-20 2018-09-10 주식회사 아론 A case including a speaker for outputting sound using earphones
CN108769856A (en) * 2018-06-12 2018-11-06 歌尔科技有限公司 A kind of method, apparatus, wireless headset and charging box for establishing single line connection
CN109660898A (en) * 2018-12-21 2019-04-19 成都必盛科技有限公司 Charging box, earphone and its control method
CN109744682A (en) * 2019-02-01 2019-05-14 深圳科甲技术有限公司 Multimedia with storage TWS earphone is adapted to machine
CN109768596A (en) * 2019-01-11 2019-05-17 维沃移动通信有限公司 A kind of electric quantity display method, earphone charging unit and earphone

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105264737A (en) * 2013-06-05 2016-01-20 诺基亚技术有限公司 Apparatus and method for providing device charging information
US20180124494A1 (en) * 2016-01-03 2018-05-03 Braven LC Wireless earphones and earphones charging case
KR101885734B1 (en) * 2017-11-20 2018-09-10 주식회사 아론 A case including a speaker for outputting sound using earphones
CN108769856A (en) * 2018-06-12 2018-11-06 歌尔科技有限公司 A kind of method, apparatus, wireless headset and charging box for establishing single line connection
CN109660898A (en) * 2018-12-21 2019-04-19 成都必盛科技有限公司 Charging box, earphone and its control method
CN109768596A (en) * 2019-01-11 2019-05-17 维沃移动通信有限公司 A kind of electric quantity display method, earphone charging unit and earphone
CN109744682A (en) * 2019-02-01 2019-05-14 深圳科甲技术有限公司 Multimedia with storage TWS earphone is adapted to machine

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111193978A (en) * 2019-12-31 2020-05-22 歌尔科技有限公司 Charging box control method, earphone charging box and computer readable storage medium
CN111246328A (en) * 2019-12-31 2020-06-05 歌尔科技有限公司 Charging box, electric quantity display method and system thereof, and computer readable storage medium
CN111193978B (en) * 2019-12-31 2024-07-02 歌尔科技有限公司 Charging box control method, earphone charging box and computer readable storage medium
CN111491233A (en) * 2020-04-08 2020-08-04 江苏紫米电子技术有限公司 Method, device and equipment for reminding electric quantity of charging box and storage medium
CN111586521A (en) * 2020-05-19 2020-08-25 歌尔科技有限公司 Auxiliary playing device, control method and control device thereof, and readable storage medium
WO2021232770A1 (en) * 2020-05-19 2021-11-25 歌尔股份有限公司 Auxiliary playback device and control method therefor, control apparatus, and readable storage medium
CN113840200A (en) * 2020-06-23 2021-12-24 深圳市万普拉斯科技有限公司 Play equipment determining method and device, earphone accommodating system and electronic equipment
CN114007206A (en) * 2020-07-28 2022-02-01 西万拓私人有限公司 Method for establishing a short-range radio connection, hearing device and charging device
CN113329387A (en) * 2021-06-18 2021-08-31 英华达(上海)科技有限公司 Bluetooth headset communication method and device
CN114245269A (en) * 2021-11-15 2022-03-25 新线科技有限公司 Earphone interaction method, earphone kit, earphone component and storage medium
CN114245269B (en) * 2021-11-15 2023-05-05 新线科技有限公司 Earphone interaction method, earphone kit, earphone part and storage medium

Also Published As

Publication number Publication date
CN110166994B (en) 2020-01-14

Similar Documents

Publication Publication Date Title
CN110166994A (en) A kind of data time sharing transmissions mutually use method, system, mobile terminal and storage medium
CN106471697A (en) Control the method charging, device, power supply adaptor and mobile terminal
CN110476316A (en) Managing device, management system, vehicle and program
CN110165736B (en) Electric quantity sharing method and system based on charging state monitoring and mobile terminal
CN106786961B (en) Charging method, device and terminal
CN103682491B (en) The charging method of electric room, charging circuit and electronic equipment
CN202841292U (en) Fingerprint sensing and charging system
CN110518707A (en) Transmitting end equipment, receiving device and wireless charging method
CN103683350A (en) Charging method and charging circuit of electronic equipment, and electronic equipment
CN105334420A (en) Information processing method and electronic device
CN107547755A (en) USB interface guard method, mobile terminal and computer-readable recording medium
CN110138042A (en) A kind of method, apparatus, equipment and storage medium showing electricity in charging box
CN110492575A (en) For the quick charging system and method for handheld device, handheld device
CN109888928A (en) A kind of terminal and wireless charging control method
CN106229573A (en) Mobile phone charging method and device and terminal
CN103929362A (en) Multifunctional 3G/4G router
JP6045518B2 (en) Battery level monitoring system, battery level monitoring method, battery level monitoring target device, battery level monitoring program
CN112018831A (en) Charging control method, charging control device and electronic equipment
CN105281407A (en) Charging acceleration method and system for mobile terminal
CN106444560A (en) Intelligent control system of charger
CN106972598A (en) The detection method and device of short circuit
CN107071810A (en) Processing method, mobile terminal and base station that data cube computation disconnects
CN109992430A (en) A kind of data transmission method, first terminal and second terminal
CN106356913A (en) Electronic equipment charging control method and device
KR20050019240A (en) Controlling Method of Network System

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
GR01 Patent grant
GR01 Patent grant