CN109526063A - Communicating control method, electronic equipment and computer readable storage medium - Google Patents
Communicating control method, electronic equipment and computer readable storage medium Download PDFInfo
- Publication number
- CN109526063A CN109526063A CN201811624715.9A CN201811624715A CN109526063A CN 109526063 A CN109526063 A CN 109526063A CN 201811624715 A CN201811624715 A CN 201811624715A CN 109526063 A CN109526063 A CN 109526063A
- Authority
- CN
- China
- Prior art keywords
- wifi module
- electronic equipment
- data
- module
- specified type
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W72/00—Local resource management
- H04W72/12—Wireless traffic scheduling
- H04W72/1215—Wireless traffic scheduling for collaboration of different radio technologies
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W88/00—Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
- H04W88/02—Terminal devices
- H04W88/06—Terminal devices adapted for operation in multiple networks or having at least two operational modes, e.g. multi-mode terminals
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
A kind of communicating control method, electronic equipment and computer readable storage medium, wherein, above-mentioned communicating control method includes: to control the bluetooth module under the enabled state of bluetooth module and WiFi module of electronic equipment based on time-division multiplex technology and the WiFi module works under different time-gap;When the electronic equipment, which is based on the bluetooth module, to carry out speech communication or play music, predict whether the WiFi module will receive the data of specified type;When the WiFi module will receive the data of specified type, extend the slot length that the WiFi module occupies.Scheme provided by the present application can improve the performance of WiFi in the case where electronic equipment carries out the scene of speech communication based on bluetooth.
Description
Technical field
This application involves communication technique field more particularly to a kind of communicating control methods, electronic equipment and computer-readable
Storage medium.
Background technique
Major part electronic equipment (such as smart phone, tablet computer, wearable smart machine etc.) all has bluetooth at present
With two kinds of functions of Wireless Fidelity (WiFi, Wireless Fidelity), to adapt to the diversified demand of user.
Since bluetooth and WiFi substantially work in same frequency range (such as 2.4G frequency range), if the two simultaneous transmission number
According to inevitable more or less to interfere with each other.
In the prior art, when electronic equipment is carried out speech communication or played music using bluetooth, the electronic equipment
WiFi just transmits data when being configured in the transmission of bluetooth no data, this has seriously affected the performance of WiFi.
Summary of the invention
The application provides a kind of communicating control method, electronic equipment and computer readable storage medium, can be in electronic equipment
Under the scene for carrying out speech communication based on bluetooth, the performance of WiFi is improved.
The application first aspect provides a kind of communicating control method, comprising:
Under the enabled state of bluetooth module and WiFi module of electronic equipment, institute is controlled based on time-division multiplex technology
It states bluetooth module and the WiFi module works under different time-gap;
When the electronic equipment, which is based on the bluetooth module, to carry out speech communication or play music, the WiFi mould is predicted
Whether block will receive the data of specified type;
When the WiFi module will receive the data of specified type, it is long to extend the time slot that the WiFi module occupies
Degree.
The application second aspect provides a kind of electronic equipment, comprising:
Time-division multiplexing unit, for being based under the bluetooth module of electronic equipment and the enabled state of WiFi module
Time-division multiplex technology controls the bluetooth module and the WiFi module works under different time-gap;
Predicting unit is used for when the electronic equipment is based on bluetooth module progress speech communication or plays music,
Predict whether the WiFi module will receive the data of specified type;
Adjustment unit will extend the WiFi module when for that will receive the data of specified type when the WiFi module
The slot length of occupancy.
The application third aspect provides another electronic equipment, which includes:
Memory, processor and it is stored in the computer program that can be run on above-mentioned memory and on above-mentioned processor,
When above-mentioned processor executes above-mentioned computer program, the communicating control method that above-mentioned the embodiment of the present application first aspect provides is realized
In each step.
The application fourth aspect provides a kind of computer readable storage medium, is stored thereon with computer program, above-mentioned meter
When calculation machine program is executed by processor, each step in the communicating control method of above-mentioned the embodiment of the present application first aspect offer is realized
Suddenly.
Therefore application scheme is under the enabled state of bluetooth module and WiFi module of electronic equipment, base
The bluetooth module is controlled in time-division multiplex technology and the WiFi module works under different time-gap, so that the bluetooth of electronic equipment is logical
News and WiFi communication can coexist.In addition, (making in electronic equipment when electronic equipment is based on bluetooth module progress speech communication
Under the scene for carrying out speech communication with bluetooth) or play music (being played under the scene of music in electronic equipment using bluetooth)
When, by predicting whether WiFi module will receive the data of specified type, and when the WiFi module will receive specified type
Data when, extend the WiFi module occupancy slot length so that the data of the specified type are easier under the scene
It is received, the performance of WiFi in the case where improving the scene to a certain degree.
Detailed description of the invention
Fig. 1-a is communicating control method one embodiment flow diagram provided by the present application;
Fig. 1-b is a kind of timesharing schematic diagram provided by the present application;
Fig. 2 is another embodiment flow diagram of communicating control method provided by the present application;
Fig. 3 is electronic equipment one embodiment structural schematic diagram provided by the present application;
Fig. 4 is another example structure schematic diagram of electronic equipment provided by the present application.
Specific embodiment
To enable present invention purpose, feature, advantage more obvious and understandable, below in conjunction with the application
Attached drawing in embodiment, the technical scheme in the embodiment of the application is clearly and completely described, it is clear that described reality
Applying example is only some embodiments of the present application, and not all embodiments.Based on the embodiment in the application, those skilled in the art
Member's every other embodiment obtained without making creative work, shall fall in the protection scope of this application.
The embodiment of the present application provides a kind of communicating control method, which is applied to electronic equipment, the electronics
Equipment can be the equipment such as smart phone, tablet computer, wearable smart machine, herein without limitation.
Fig. 1-a is please referred to, the communicating control method in the present embodiment mainly comprises the steps that
Step 101, under the enabled state of bluetooth module and WiFi module of electronic equipment, based on time division multiplexing skill
Art controls above-mentioned bluetooth module and above-mentioned WiFi module works under different time-gap;
Electronic equipment in the embodiment of the present application is configured with bluetooth module and WiFi module, and so-called bluetooth module refers to integrated
The chip basic circuit set of Bluetooth function, is used for wireless network communication, and WiFi module refers to the embedded of integrated WiFi function
Module.Above-mentioned bluetooth module and above-mentioned WiFi module are referred to the explanation of existing relevant documentation, and details are not described herein again.
The bluetooth module and WiFi module of electronic equipment have enabled the Bluetooth function for referring to electronic equipment and WiFi function
Open state can be handled, that is, user is the Bluetooth function for opening electronic equipment, and opens the WiFi of the electronic equipment
Function.
Due to WiFi module and bluetooth module be all work 2.4G frequency range (frequency of WiFi module be usually from
2412MHz to 2484MHz, and the frequency of bluetooth module be usually from 2401MHz to 2479MHz, must if the two works at the same time
So can more or less there be the phenomenon that interfering with each other.In order to enable the bluetooth and WiFi of above-mentioned electronic equipment can coexist, in step
In rapid 101, based on time division multiplexing (Time Division Multiplexing, TDM) the above-mentioned bluetooth module of technical controlling and upper
WiFi module is stated to work under different time-gap.Specifically, having regulation arbitration mode and signal (Packet in 802.15.2
Traffic Arbitration) frame, can be by PTA controller (PTA controller is generally integrated in WiFi module) to upper
It states bluetooth module and above-mentioned WiFi module carries out Time-sharing control, for example, bluetooth module and WiFi module are when needing to communicate to PTA
Controller submits application, and PTA controller determines currently whether permit according to the time slot for being pre-assigned to bluetooth module and WiFi module
Perhaps WiFi module or bluetooth module transmit data.For example, a kind of timesharing schematic diagram as shown in Fig. 1-b, in time shaft t
On, if presetting S1For the time slot that WiFi module occupies, S2For bluetooth module occupy time slot, then in time slot S1Allow WiFi
Module transfer data, in time slot S2Bluetooth module is allowed to transmit data.
Step 102, when above-mentioned electronic equipment be based on above-mentioned bluetooth module carry out speech communication when, predict above-mentioned WiFi module
Whether the data of specified type will be received;
Based on HFP (full name in English Hands-free Profile) agreement, electronic equipment can be carried out by bluetooth module
Speech communication simultaneously controls phone, such as answers, hangs up, rejection, phonetic dialing.
Under the scene of WiFi and Bluetooth coexistence, speech communication is carried out when above-mentioned electronic equipment is based on above-mentioned bluetooth module
When, to avoid voice from falling sound, the occupied time slot of WiFi module be normally provided as smaller value (i.e. as shown in Fig. 1-b, S1When
Gap length is arranged to smaller value).However, present inventor is the study found that the package important in interaction due to WiFi module
When in order to guarantee success rate, often all sent with the low speed of 1Mbps for the package, if electronic equipment be based on bluetooth
The package (such as packet data in certain 802.1x verification process) is received under the scene of module progress speech communication, then
The package can not completely be received at all in the occupied time slot of WiFi module, this leads to such package eternal nothing under the scene
Method is successfully received.
Therefore, in a step 102, when above-mentioned electronic equipment, which is based on above-mentioned bluetooth module, carries out speech communication, in prediction
State whether WiFi module will receive the data of specified type.Since electronic equipment can be obtained by PTA controller or other ports
Know above-mentioned WiFi module state in which and application scenarios, and if the message of specified type is to need to receive under an application scenarios
Data, then, based on the application scenarios that above-mentioned WiFi is presently in can be predicted the WiFi module whether will receive it is specified
The data of type.
Optionally, the data of above-mentioned specified type include: the package in 802.1X verification process.In a step 102, above-mentioned
The data whether prediction WiFi module will receive specified type include: the data based on the interaction of above-mentioned WiFi module the last time
Detect the certification whether above-mentioned electronic equipment is carrying out 802.1X;If detecting, above-mentioned electronic equipment is carrying out 802.1X's
Certification, it is determined that above-mentioned WiFi module will receive the data of specified type.
Certainly, it is based on the application thought, the data of above-mentioned specified type also may include other types of data, such as its
It provides the data for being only capable of being sent using the low speed of 1Mbps, is not construed as limiting herein.
It should be noted that a plurality of types of data can be preassigned in application embodiment, on step 102 predicts
When the data of specified one of type will be received by stating WiFi module, that is, it can determine that the WiFi module will receive specified class
The data of type.
Step 103, when above-mentioned WiFi module will receive the data of specified type, extend what above-mentioned WiFi module occupied
Slot length;
In the embodiment of the present application, when step 102, which predicts above-mentioned WiFi module, will receive the data of specified type, prolong
Slot length that long above-mentioned WiFi module occupies (enables the WiFi module to occupy longer time slot work, as will be shown in 1-b
S1Extend), so that above-mentioned WiFi module can be properly received the data of the specified type in the time slot after extension.
Further, the slot length that the above-mentioned WiFi module of above-mentioned extension occupies can also include: according to the specified type (
Predict will received data type) search corresponding with specified type slot length, above-mentioned WiFi module is accounted for
Slot length is extended for the slot length found.It in this scenario, can be corresponding according to different types of data setting
Slot length, with improve slot length setting flexibility.For example, this type set of package can be authenticated for 802.1X
First slot length, for payment verification data (i.e. the data to be interacted in the case where paying scene) this second time slot of type set
Length, when step 102 predicts, above-mentioned WiFi module will receive the data of specified type and the data are 802.1X certification envelope
The slot length that above-mentioned WiFi module occupies is extended for the first slot length by Bao Shi, when step 102 predicts above-mentioned WiFi mould
Block will receive the data of specified type and the data when being payment verification data, the slot length that above-mentioned WiFi module is occupied
It is extended for the second slot length.
Optionally, after being properly received the data of above-mentioned specified type, the slot length that above-mentioned WiFi module is occupied is extensive
The multiple slot length for before the last extend.For example, setting the time slot in step 103 occupying above-mentioned WiFi module
Length is from T1It is extended for T2(T2>T1), after being successfully received the data of above-mentioned specified type, above-mentioned WiFi module is occupied
Slot length is from T2Revert to T1。
Further, the slot length before the slot length for occupying above-mentioned WiFi module reverts to the last extend
Before, compression processing is carried out to above-mentioned bluetooth module voice data to be transmitted, so that above-mentioned bluetooth module transmits at through compression
Voice data after reason improves the transmission success rate of voice data.
Therefore the embodiment of the present application is under the enabled state of bluetooth module and WiFi module of electronic equipment,
The bluetooth module is controlled based on time-division multiplex technology and the WiFi module works under different time-gap, so that the bluetooth of electronic equipment
Communication and WiFi communication can coexist.In addition, when electronic equipment is based on (setting in electronics when the bluetooth module carries out speech communication
Under the standby scene for carrying out speech communication using bluetooth), by predicting whether WiFi module will receive the data of specified type, and
When the WiFi module will receive the data of specified type, extend the slot length of WiFi module occupancy, so that should
The data of specified type are easier to be received under the scene, the performance of WiFi in the case where improving the scene to a certain degree.
The embodiment of the present application provides another communicating control method, which is applied to electronic equipment, the electricity
Sub- equipment can be the equipment such as smart phone, tablet computer, wearable smart machine, herein without limitation.
Referring to Fig. 2, the communicating control method in the present embodiment mainly comprises the steps that
Step 201, under the enabled state of bluetooth module and WiFi module of electronic equipment, based on time division multiplexing skill
Art controls above-mentioned bluetooth module and above-mentioned WiFi module works under different time-gap;
Electronic equipment in the embodiment of the present application is configured with bluetooth module and WiFi module, and so-called bluetooth module refers to integrated
The chip basic circuit set of Bluetooth function, is used for wireless network communication, and WiFi module refers to the embedded of integrated WiFi function
Module.Above-mentioned bluetooth module and above-mentioned WiFi module are referred to the explanation of existing relevant documentation, and details are not described herein again.
The bluetooth module and WiFi module of electronic equipment have enabled the Bluetooth function for referring to electronic equipment and WiFi function
Open state can be handled, that is, user is the Bluetooth function for opening electronic equipment, and opens the WiFi of the electronic equipment
Function.
Due to WiFi module and bluetooth module be all work 2.4G frequency range (frequency of WiFi module be usually from
2412MHz to 2484MHz, and the frequency of bluetooth module be usually from 2401MHz to 2479MHz, must if the two works at the same time
So can more or less there be the phenomenon that interfering with each other.In order to enable the bluetooth and WiFi of above-mentioned electronic equipment can coexist, in step
In rapid 201, based on time division multiplexing (Time Division Multiplexing, TDM) the above-mentioned bluetooth module of technical controlling and upper
WiFi module is stated to work under different time-gap.Specifically, having regulation arbitration mode and signal (Packet in 802.15.2
Traffic Arbitration) frame, can be by PTA controller (PTA controller is generally integrated in WiFi module) to upper
It states bluetooth module and above-mentioned WiFi module carries out Time-sharing control, for example, bluetooth module and WiFi module are when needing to communicate to PTA
Controller submits application, and PTA controller determines currently whether permit according to the time slot for being pre-assigned to bluetooth module and WiFi module
Perhaps WiFi module or bluetooth module transmit data.For example, the time shaft as shown in Fig. 1-b, if presetting S1For WiFi
The time slot that module occupies, S2For bluetooth module occupy time slot, then in time slot S1WiFi module is allowed to transmit data, in time slot S2
Bluetooth module is allowed to transmit data.
Step 202, when above-mentioned electronic equipment be based on above-mentioned bluetooth module play music when, whether predict above-mentioned WiFi module
The data of specified type will be received;
It is reached an agreement on (Advanced Audio Distribution Profile, A2DP) based on Bluetooth audio frequency mode, electricity
Sub- equipment can transmit transmission monophonic or stereo contour quality audio information by bluetooth module, will pass through another bluetooth
Equipment (such as bluetooth headset, Baffle Box of Bluetooth etc.) plays the music in the electronic equipment.
Under the scene of WiFi and Bluetooth coexistence, when above-mentioned electronic equipment, which is based on above-mentioned bluetooth module, plays music, it is
The music Caton played is avoided, the occupied time slot of WiFi module is normally provided as smaller value.However, present inventor grinds
Study carefully discovery, due to WiFi module in the important package of interaction in order to guarantee success rate, for the package often all with 1Mbps
Low speed is sent, if it is (such as certain to receive the package in the case where electronic equipment plays the scene of music based on bluetooth module
Packet data in 802.1x verification process), then can not completely receive the envelope at all in the occupied time slot of WiFi module
Packet, this causes such package that can not be successfully received forever under the scene.
Therefore, in step 202, when above-mentioned electronic equipment, which is based on above-mentioned bluetooth module, plays music, predict above-mentioned
Whether WiFi module will receive the data of specified type.Since electronic equipment would know that by PTA controller or other ports
Above-mentioned WiFi module state in which and application scenarios, and if the message of specified type is received to need under an application scenarios
Data, then, it can be predicted whether the WiFi module will receive specified class based on the application scenarios that above-mentioned WiFi is presently in
The data of type.
Optionally, the data of above-mentioned specified type include: the package in 802.1X verification process.In step 202, above-mentioned
The data whether prediction WiFi module will receive specified type include: the data based on the interaction of above-mentioned WiFi module the last time
Detect the certification whether above-mentioned electronic equipment is carrying out 802.1X;If detecting, above-mentioned electronic equipment is carrying out 802.1X's
Certification, it is determined that above-mentioned WiFi module will receive the data of specified type.
Certainly, it is based on the application thought, the data of above-mentioned specified type also may include other types of data, such as its
It provides the data for being only capable of being sent using the low speed of 1Mbps, is not construed as limiting herein.
It should be noted that a plurality of types of data can be preassigned in application embodiment, on step 202 predicts
When the data of specified one of type will be received by stating WiFi module, that is, it can determine that the WiFi module will receive specified class
The data of type.
Step 203, when above-mentioned WiFi module will receive the data of specified type, extend what above-mentioned WiFi module occupied
Slot length;
In the embodiment of the present application, when step 202, which predicts above-mentioned WiFi module, will receive the data of specified type, prolong
Slot length that long above-mentioned WiFi module occupies (enables the WiFi module to occupy longer time slot work, as will be shown in 1-b
S1Extend), so that above-mentioned WiFi module can be properly received the data of the specified type in the time slot after extension.
Further, the slot length that the above-mentioned WiFi module of above-mentioned extension occupies can also include: according to the specified type (
Predict will received data type) search corresponding with specified type slot length, above-mentioned WiFi module is accounted for
Slot length is extended for the slot length found.It in this scenario, can be corresponding according to different types of data setting
Slot length, with improve slot length setting flexibility.For example, this type set of package can be authenticated for 802.1X
First slot length, for payment verification data (i.e. the data to be interacted in the case where paying scene) this second time slot of type set
Length, when step 202 predicts, above-mentioned WiFi module will receive the data of specified type and the data are 802.1X certification envelope
The slot length that above-mentioned WiFi module occupies is extended for the first slot length by Bao Shi, when step 202 predicts above-mentioned WiFi mould
Block will receive the data of specified type and the data when being payment verification data, the slot length that above-mentioned WiFi module is occupied
It is extended for the second slot length.
Optionally, after being properly received the data of above-mentioned specified type, the slot length that above-mentioned WiFi module is occupied is extensive
The multiple slot length for before the last extend.For example, setting the time slot in step 203 occupying above-mentioned WiFi module
Length is from T1It is extended for T2(T2>T1), after being successfully received the data of above-mentioned specified type, above-mentioned WiFi module is occupied
Slot length is from T2Revert to T1。
Further, the slot length before the slot length for occupying above-mentioned WiFi module reverts to the last extend
Before, compression processing is carried out to above-mentioned bluetooth module voice data to be transmitted, so that above-mentioned bluetooth module transmits at through compression
Voice data after reason improves the transmission success rate of voice data.
Therefore the embodiment of the present application is under the enabled state of bluetooth module and WiFi module of electronic equipment,
The bluetooth module is controlled based on time-division multiplex technology and the WiFi module works under different time-gap, so that the bluetooth of electronic equipment
Communication and WiFi communication can coexist.In addition, when electronic equipment is based on (making in electronic equipment when the bluetooth module plays music
Under the scene for playing music with bluetooth), by predicting whether WiFi module will receive the data of specified type, and work as the WiFi
When module will receive the data of specified type, extend the slot length of WiFi module occupancy, so that the specified type
Data be easier to be received under the scene, the performance of WiFi in the case where improving the scene to a certain degree.
Fig. 3 provides a kind of electronic equipment for the embodiment of the present application.The electronic equipment can be used for realizing shown in Fig. 1-a or Fig. 2
Communicating control method in embodiment.As shown in figure 3, the electronic equipment specifically includes that
Time-division multiplexing unit 301, under the bluetooth module of electronic equipment and the enabled state of WiFi module, base
Above-mentioned bluetooth module is controlled in time-division multiplex technology and above-mentioned WiFi module works under different time-gap;
Predicting unit 302, for carrying out speech communication or broadcasting music when above-mentioned electronic equipment is based on above-mentioned bluetooth module
When, predict whether above-mentioned WiFi module will receive the data of specified type;
Adjustment unit 303 when for that will receive the data of specified type when above-mentioned WiFi module, extends above-mentioned WiFi mould
The slot length that block occupies.
Optionally, the data of above-mentioned specified type include: the package in 802.1X verification process;
Predicting unit 302 is specifically used for: based on above-mentioned WiFi module the last time, the above-mentioned electronics of Data Detection of interaction is set
The standby certification for whether being carrying out 802.1X;If detecting, above-mentioned electronic equipment is carrying out the certification of 802.1X, it is determined that on
The data of specified type will be received by stating WiFi module.
Optionally, adjustment unit 303 is also used to: after being properly received the data of above-mentioned specified type, by above-mentioned WiFi mould
The slot length that block occupies reverts to the last slot length before extending.
Optionally, the electronic equipment in the embodiment of the present application further include: compression processing unit, in adjustment unit 303
Extend after the slot length that above-mentioned WiFi module occupies, and is reverted to recently in the slot length for occupying above-mentioned WiFi module
Before slot length before primary extension, compression processing is carried out to above-mentioned bluetooth module voice data to be transmitted, so as to upper
It states bluetooth module and transmits the voice data after compression processing.
Optionally, adjustment unit 303 is specifically used for: according to above-mentioned specified type, (what is predicted will received data
Type) search corresponding with specified type slot length, the slot length that above-mentioned WiFi module occupies is extended for searching
The slot length arrived.
It should be noted that the division of each functional module is only to lift in the embodiment of the exemplary electronic equipment of figure 3 above
Example explanation, can according to need in practical application, such as the convenient of realization of configuration requirement or software of corresponding hardware considers,
And be completed by different functional modules above-mentioned function distribution, i.e., the internal structure of electronic equipment is divided into different function moulds
Block, to complete all or part of the functions described above.Moreover, in practical applications, the corresponding function in the present embodiment
Module can be by corresponding hardware realization, can also execute corresponding software by corresponding hardware and complete.This specification provides
Each embodiment all can apply foregoing description principle, repeat no more below.
The detailed process of the respective function of each Implement of Function Module, refers to above-mentioned side in electronic equipment provided in this embodiment
Particular content described in method embodiment, details are not described herein again.
Therefore application scheme is under the enabled state of bluetooth module and WiFi module of electronic equipment, base
The bluetooth module is controlled in time-division multiplex technology and the WiFi module works under different time-gap, so that the bluetooth of electronic equipment is logical
News and WiFi communication can coexist.In addition, (making in electronic equipment when electronic equipment is based on bluetooth module progress speech communication
Under the scene for carrying out speech communication with bluetooth) or play music (being played under the scene of music in electronic equipment using bluetooth)
When, by predicting whether WiFi module will receive the data of specified type, and when the WiFi module will receive specified type
Data when, extend the WiFi module occupancy slot length so that the data of the specified type are easier under the scene
It is received, the performance of WiFi in the case where improving the scene to a certain degree.
Fig. 4 provides a kind of electronic equipment for the embodiment of the present application.The electronic equipment can be used for realizing in embodiment illustrated in fig. 1
Communicating control method.As shown in figure 4, the electronic equipment specifically includes that
Memory 401, processor 402 and it is stored in the computer journey that can be run on memory 401 and on the processor 402
Sequence when processor 402 executes the computer program, realizes the communicating control method in Fig. 1-a or embodiment illustrated in fig. 2.
Further, the electronic equipment further include:
At least one input equipment 403 and at least one output equipment 404.
Above-mentioned memory 401, processor 402, input equipment 403 and output equipment 404, are connected by bus 405.
Wherein, input equipment 403 concretely camera, touch panel, physical button or mouse etc..Output equipment
404 concretely display screens.
Memory 401 can be high random access memory body (RAM, Random Access Memory) memory,
It can be non-labile memory (non-volatile memory), such as magnetic disk storage.Memory 401 is for storing one
Group executable program code, processor 402 are coupled with memory 401.
Therefore the electronic equipment of the embodiment of the present application has been opened in the bluetooth module and WiFi module of the electronic equipment
In the state of, which is controlled based on time-division multiplex technology and the WiFi module works under different time-gap, so that electric
The bluetooth communication and WiFi communication of sub- equipment can coexist.In addition, carrying out speech communication when electronic equipment is based on the bluetooth module
(being carried out under the scene of speech communication in electronic equipment using bluetooth) or broadcasting music (are played in electronic equipment using bluetooth
Under the scene of music) when, by predicting whether WiFi module will receive the data of specified type, and when the WiFi module will
When receiving the data of specified type, extend the slot length of WiFi module occupancy, so that the data of the specified type exist
It is easier to be received under the scene, the performance of WiFi in the case where improving the scene to a certain degree.
Further, the embodiment of the present application also provides a kind of computer readable storage medium, the computer-readable storages
Medium can be in the electronic equipment being set in the various embodiments described above, which can be earlier figures 4
Memory in illustrated embodiment.It is stored with computer program on the computer readable storage medium, which is held by processor
The communicating control method in embodiment illustrated in fig. 1 is realized when row.Further, the computer can storage medium can also be USB flash disk,
Mobile hard disk, read-only memory (ROM, Read-Only Memory), RAM, magnetic or disk etc. are various to can store program
The medium of code.
In several embodiments provided herein, it should be understood that disclosed device and method can pass through it
Its mode is realized.For example, the apparatus embodiments described above are merely exemplary, for example, the division of above-mentioned module, only
Only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple module or components can be tied
Another system is closed or is desirably integrated into, or some features can be ignored or not executed.Another point, it is shown or discussed
Mutual coupling, direct-coupling or communication connection can be through some interfaces, the INDIRECT COUPLING or logical of device or module
Letter connection can be electrical property, mechanical or other forms.
Above-mentioned module as illustrated by the separation member may or may not be physically separated, aobvious as module
The component shown may or may not be physical module, it can and it is in one place, or may be distributed over multiple
On network module.Some or all of the modules therein can be selected to realize the mesh of this embodiment scheme according to the actual needs
's.
It, can also be in addition, can integrate in a processing module in each functional module in each embodiment of the application
It is that modules physically exist alone, can also be integrated in two or more modules in a module.Above-mentioned integrated mould
Block both can take the form of hardware realization, can also be realized in the form of software function module.
If above-mentioned integrated module is realized in the form of software function module and sells or use as independent product
When, it can store in a computer readable storage medium.Based on this understanding, the technical solution of the application is substantially
The all or part of the part that contributes to existing technology or the technical solution can be in the form of software products in other words
It embodies, which is stored in a readable storage medium storing program for executing, including some instructions are used so that a meter
It calculates machine equipment (can be personal computer, server or the network equipment etc.) and executes each embodiment above method of the application
All or part of the steps.And readable storage medium storing program for executing above-mentioned includes: USB flash disk, mobile hard disk, ROM, RAM, magnetic or disk etc.
The various media that can store program code.
It should be noted that for the various method embodiments described above, describing for simplicity, therefore, it is stated as a series of
Combination of actions, but those skilled in the art should understand that, the application is not limited by the described action sequence because
According to the application, certain steps can use other sequences or carry out simultaneously.Secondly, those skilled in the art should also know
It knows, the embodiments described in the specification are all preferred embodiments, and related actions and modules might not all be this Shen
It please be necessary.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, there is no the portion being described in detail in some embodiment
Point, it may refer to the associated description of other embodiments.
The above are retouching to communicating control method provided herein, electronic equipment and computer readable storage medium
It states, for those skilled in the art, according to the thought of the embodiment of the present application, can in specific embodiments and applications
There is change place, to sum up, the contents of this specification should not be construed as limiting the present application.
Claims (10)
1. a kind of communicating control method characterized by comprising
Under the enabled state of bluetooth module and WiFi module of electronic equipment, the indigo plant is controlled based on time-division multiplex technology
Tooth module and the WiFi module work under different time-gap;
When the electronic equipment, which is based on the bluetooth module, to carry out speech communication or play music, predict that the WiFi module is
The no data that will receive specified type;
When the WiFi module will receive the data of specified type, extend the slot length that the WiFi module occupies.
2. communicating control method according to claim 1, which is characterized in that the data of the specified type include:
Package in 802.1X verification process;
The data whether prediction WiFi module will receive specified type include:
Whether electronic equipment described in the Data Detection based on the interaction of described WiFi module the last time is carrying out recognizing for 802.1X
Card;
If detecting, the electronic equipment is carrying out the certification of 802.1X, it is determined that the WiFi module will receive specified class
The data of type.
3. communicating control method according to claim 1 or 2, which is characterized in that described to extend the WiFi module occupancy
Slot length after further include:
After being properly received the data of the specified type, the slot length that the WiFi module occupies is reverted into the last time
Slot length before extension.
4. communicating control method according to claim 3, which is characterized in that it is described extend that the WiFi module occupies when
After gap length further include:
Before the slot length before the slot length for occupying the WiFi module reverts to the last extend, to described
Bluetooth module voice data to be transmitted carries out compression processing, so that the bluetooth module transmits the voice number after compression processing
According to.
5. communicating control method according to claim 1 or 2, which is characterized in that described to extend the WiFi module occupancy
Slot length include:
Slot length corresponding with the specified type, the time slot that the WiFi module is occupied are searched according to the specified type
Extension is the slot length found.
6. a kind of electronic equipment characterized by comprising
Time-division multiplexing unit, for being based on the time-division under the bluetooth module of electronic equipment and the enabled state of WiFi module
Multiplexing technology controls the bluetooth module and the WiFi module works under different time-gap;
Predicting unit, for predicting when the electronic equipment is based on bluetooth module progress speech communication or plays music
Whether the WiFi module will receive the data of specified type;
Adjustment unit when for that will receive the data of specified type when the WiFi module, extends the WiFi module and occupies
Slot length.
7. electronic equipment according to claim 6, which is characterized in that the data of the specified type include: that 802.1X recognizes
Package during card;
The predicting unit is specifically used for: electronic equipment described in the Data Detection based on the interaction of described WiFi module the last time is
The no certification for being carrying out 802.1X;If detecting, the electronic equipment is carrying out the certification of 802.1X, it is determined that described
WiFi module will receive the data of specified type.
8. electronic equipment according to claim 6 or 7, which is characterized in that the adjustment unit is also used to: working as successful reception
After the data of the specified type, the slot length that the WiFi module occupies is reverted to the time slot before the last extend
Length.
9. a kind of electronic equipment, comprising: memory, processor and be stored on the memory and can transport on the processor
Capable computer program, which is characterized in that when the processor executes the computer program, realize in claim 1 to 5 and appoint
Step in one the method.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program
When being executed by processor, the step in any one of claim 1 to 5 the method is realized.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811624715.9A CN109526063A (en) | 2018-12-28 | 2018-12-28 | Communicating control method, electronic equipment and computer readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811624715.9A CN109526063A (en) | 2018-12-28 | 2018-12-28 | Communicating control method, electronic equipment and computer readable storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109526063A true CN109526063A (en) | 2019-03-26 |
Family
ID=65798001
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811624715.9A Pending CN109526063A (en) | 2018-12-28 | 2018-12-28 | Communicating control method, electronic equipment and computer readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109526063A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2020237703A1 (en) * | 2019-05-29 | 2020-12-03 | 上海庆科信息技术有限公司 | Communication mode switching method and device, storage medium, processor, and system |
CN114080077A (en) * | 2021-11-30 | 2022-02-22 | 深圳市飞天鹰科技有限公司 | LED controller with WIFI and Bluetooth dual modes |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101129025A (en) * | 2005-02-25 | 2008-02-20 | 诺基亚公司 | Method and system for VoIP over WLAN to bluetooth headset using ACL link and sniff for alighed eSCO transmission |
CN106856412A (en) * | 2015-12-08 | 2017-06-16 | 展讯通信(上海)有限公司 | Terminal device and its bluetooth and WIFI coexist time scheduling method |
CN107889087A (en) * | 2016-09-29 | 2018-04-06 | 英特尔Ip公司 | Dispatched using the bluetooth WIFI of the coordination of Bluetooth slots availability mask |
-
2018
- 2018-12-28 CN CN201811624715.9A patent/CN109526063A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101129025A (en) * | 2005-02-25 | 2008-02-20 | 诺基亚公司 | Method and system for VoIP over WLAN to bluetooth headset using ACL link and sniff for alighed eSCO transmission |
CN106856412A (en) * | 2015-12-08 | 2017-06-16 | 展讯通信(上海)有限公司 | Terminal device and its bluetooth and WIFI coexist time scheduling method |
CN107889087A (en) * | 2016-09-29 | 2018-04-06 | 英特尔Ip公司 | Dispatched using the bluetooth WIFI of the coordination of Bluetooth slots availability mask |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2020237703A1 (en) * | 2019-05-29 | 2020-12-03 | 上海庆科信息技术有限公司 | Communication mode switching method and device, storage medium, processor, and system |
CN114080077A (en) * | 2021-11-30 | 2022-02-22 | 深圳市飞天鹰科技有限公司 | LED controller with WIFI and Bluetooth dual modes |
CN114080077B (en) * | 2021-11-30 | 2024-01-12 | 深圳市飞天鹰科技有限公司 | LED controller with WIFI and Bluetooth modes |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103841495B (en) | A kind of audio frequency parameter method of adjustment and device | |
AU2020329461B2 (en) | Sidelink Resource Mapping Method, Sidelink Resource Transmission Method, Network Device, and Terminal Device | |
TWI493997B (en) | System and method for intelligently selecting a network interface | |
CN105653486A (en) | Mobile terminal and method for reusing USB ports of processors thereof | |
RU2765682C1 (en) | Detection method, subscriber equipment and network device | |
CN105722249B (en) | A kind of method, apparatus and terminal of switching connection | |
CN101882116A (en) | Method for realizing audio transmission and mobile terminal | |
JP7194819B2 (en) | Resource allocation methods, terminals and network equipment | |
CN105975063B (en) | A kind of method and apparatus controlling intelligent terminal | |
CN110035556A (en) | The processing method and terminal of conflict in process of communication service | |
CN110933712B (en) | Data transmission method, terminal and storage medium | |
CN105657656B (en) | A kind of transmission power adjustment method and user equipment | |
CN108810860B (en) | Audio transmission method, terminal equipment and main earphone | |
CN111405336A (en) | Multi-device synchronous playing method and system, electronic device and storage medium | |
CN105718405B (en) | The method that the USB interface of mobile terminal and its processor is multiplexed | |
CN109526063A (en) | Communicating control method, electronic equipment and computer readable storage medium | |
CN109729519A (en) | The method and relevant apparatus of data downloading | |
EP3438824A1 (en) | Method for resource allocation and terminal device | |
CN105049464A (en) | Technologies for accelerating network virtualization | |
JP2021519009A (en) | Transmission method, device, and storage medium for synchronous signal blocks | |
JP7208413B2 (en) | Transmission method, terminal equipment and network side equipment | |
CN115086248A (en) | Data packet processing method, communication chip and computer equipment | |
US20200053021A1 (en) | Asynchronous medium access control layer scheduler for directional networks | |
CN107968848A (en) | A kind of method, terminal device and storage medium for obtaining IP address | |
EP4213571A1 (en) | Data transmission method and apparatus, and storage medium and mobile terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190326 |