CN105898795A - Method for realizing dual-mode coexistence on WIFI chip and electronic device - Google Patents

Method for realizing dual-mode coexistence on WIFI chip and electronic device Download PDF

Info

Publication number
CN105898795A
CN105898795A CN201610183074.2A CN201610183074A CN105898795A CN 105898795 A CN105898795 A CN 105898795A CN 201610183074 A CN201610183074 A CN 201610183074A CN 105898795 A CN105898795 A CN 105898795A
Authority
CN
China
Prior art keywords
mode
channel
time slot
communications sub
file
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201610183074.2A
Other languages
Chinese (zh)
Inventor
洪阳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201610183074.2A priority Critical patent/CN105898795A/en
Publication of CN105898795A publication Critical patent/CN105898795A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W74/00Wireless channel access, e.g. scheduled or random access
    • H04W74/08Non-scheduled or contention based access, e.g. random access, ALOHA, CSMA [Carrier Sense Multiple Access]
    • H04W74/0833Non-scheduled or contention based access, e.g. random access, ALOHA, CSMA [Carrier Sense Multiple Access] using a random access procedure
    • H04W74/0841Non-scheduled or contention based access, e.g. random access, ALOHA, CSMA [Carrier Sense Multiple Access] using a random access procedure with collision treatment
    • H04W74/085Non-scheduled or contention based access, e.g. random access, ALOHA, CSMA [Carrier Sense Multiple Access] using a random access procedure with collision treatment collision avoidance
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/08Access point devices
    • H04W88/10Access point devices adapted for operation in multiple networks, e.g. multi-mode access points

Abstract

The invention discloses a method for realizing dual-mode coexistence on a WIFI chip and an electronic device. The method comprises: a control instruction for indicating coexistence of a station (STA) mode and an access point (AP) mode is obtained; responding to the control instruction is carried out and an NV file is loaded, wherein the NV file at least includes control information for a communication channel on the condition of coexistence of the STA mode and the AP mode; and under control of the NV file, a communication channel of a frequency band supported by the WIFI chip is controlled, thereby realizing coexistence of the STA mode and the AP mode.

Description

The double mode method coexisted and electronic equipment is realized on a kind of WIFI chip
Technical field
The present invention relates to the communication pattern management technique of communication equipment, particularly relate on a kind of WIFI chip real The existing double mode method coexisted and electronic equipment.
Background technology
WIIF chip in electronic equipment, such as smart mobile phone can possess STA (Station, website) pattern Or AP (Access Point, focus) pattern;Wherein, STA mode and AP mould are used when WIIF chip The problem not havinging channel confliction during one of which in formula.But when same wifi chip, the most both when Station works as again AP, the same time be i.e. in STA mode be in ap mode again time, then there is channel Conflict.It can be seen that the wifi chip of prior art can not realize STA mode and ap mode coexists.
Summary of the invention
The embodiment of the present invention provides and realizes the double mode method coexisted and electronic equipment on a kind of WIFI chip, Can at least solve the problems referred to above that prior art exists.
The technical scheme of the embodiment of the present invention is achieved in that
The embodiment of the present invention provides a kind of double mode method coexisted, the described method of realizing on WIFI chip Including:
Obtain the control instruction for indicating STA mode and ap mode to coexist;
Respond described control instruction, load NV file, described NV file at least includes at STA mould Formula and ap mode coexist in the case of for the control information of communication channel;
Under the control of described NV file, for the communication channel of the frequency range that described WIFI chip is supported It is controlled, so that described STA mode and described ap mode coexist.
Additionally providing a kind of electronic equipment in the embodiment of the present invention, described electronic equipment includes:
Information acquisition unit, for obtaining the control instruction for indicating STA mode and ap mode to coexist;
Processing unit, is used for responding described control instruction, loads NV file, in described NV file at least Include the control information for communication channel in the case of STA mode and ap mode coexist;Described Under the control of NV file, the communication channel of the frequency range supported for described WIFI chip is controlled, with Described STA mode and described ap mode are coexisted.
The double mode method coexisted and electronic equipment, energy is realized on the WIFI chip that the embodiment of the present invention provides Enough by loading NV file, get the STA mode of NV file and in the case of ap mode coexists Control information for communication channel so that WIFI chip is at STA mode and ap mode is total to Deposit.So, allowing for electronic equipment can either can be as access point again as accessing points access network Other equipment provides network, extends the mode of operation of WIFI chip in electronic equipment, and improves electricity Subset is suitable for scene.
Accompanying drawing explanation
Fig. 1 is to realize the double mode method flow schematic diagram coexisted in the embodiment of the present invention on WIFI chip;
Fig. 2 is the operation interface schematic diagram that the embodiment of the present invention chooses the mode of operation of WIFI chip;
Fig. 3 is that in the embodiment of the present invention, 2.4G frequency range and channel frequency divide schematic diagram;
Fig. 4 is that in the embodiment of the present invention, 5G frequency range and channel frequency divide schematic diagram;
Fig. 5 is that embodiment of the present invention time slot divides schematic diagram;
Fig. 6 is embodiment of the present invention time-sharing work schematic flow sheet;
Fig. 7 is that embodiment of the present invention electronic equipment forms structural representation.
Detailed description of the invention
With specific embodiment, the present invention is described in further detail below in conjunction with the accompanying drawings.
Embodiment one,
Embodiments provide a kind of double mode method coexisted that realizes on WIFI chip, such as Fig. 1 institute Show, including:
Step 101: obtain the control instruction for indicating STA mode and ap mode to coexist;
Step 102: respond described control instruction, loads NV file, at least includes in described NV file There is the control information for communication channel in the case of STA mode and ap mode coexist;
Step 103: under the control of described NV file, the frequency range supported for described WIFI chip Communication channel is controlled, so that described STA mode and described ap mode coexist.
Here, described STA mode can set up communication connection by WIFI with network side for expression, and And by the pattern of described communication connection Yu network side interaction data;
Described ap mode can be set up communication connection, be passed through institute by WIFI chip and network side for sign While stating communication connection and network side interaction data, additionally it is possible to allow other electronics to set as WAP The standby pattern accessed and pass through its access network.
The mode of the control instruction that described acquisition coexists for indicating STA mode and ap mode, Ke Yiwei, User chooses the WIFI function of current electronic device and is in which kind of pattern by arranging interface, such as, sees Fig. 2, can choose the option of " STA mode and ap mode " from figure, thus get above-mentioned bimodulus The control instruction that formula coexists.
It should be noted that the scene that above-mentioned Fig. 2 is given is only a kind of possible mode of operation, it addition, its Directly can also not show with STA mode in fact, can work as when choose " WLAN ", really Surely enter STA mode, when choosing " individual focus ", determine entrance ap mode, if possessed and can When choosing the option of " WLAN and individual focus coexist ", it is possible to determine get for referring to Show the control instruction that STA mode and ap mode coexist.
Further, the described control instruction of described response, loading NV file can be: when detection obtains institute When stating control instruction, from WIFI chip, call default NV file.
Wherein, the content that described NV file includes can remove STA mode described above and ap mode In the case of coexisting for the control information of communication channel outside, it is also possible to include, at described WIFI chip Need to get the control information for communication channel when STA mode, and described WIFI chip is in The control information for communication channel got is needed during ap mode.It is to say, for each pattern, Can possess an identification information in described NV file, once receive and be in certain pattern for instruction Control instruction time, just according to the mark that this pattern is corresponding find from described NV file correspondence mark Information, and the control information of the communication channel obtained under this pattern is extracted based on described identification information.
Further, described under the control of described NV file, supported for described WIFI chip Frequency range generally can include 2.5G and 5G two kinds.
Visible, by using such scheme can get the STA of NV file by loading NV file Pattern and ap mode coexist in the case of for the control information of communication channel so that WIFI chip can It is in STA mode and ap mode coexists.So, allow for electronic equipment to connect as accessing points Enter network, network can be provided as access point for other equipment again, extend WIFI core in electronic equipment The mode of operation of sheet, and improve electronic equipment and be suitable for scene.
Embodiment two,
Embodiments provide a kind of double mode method coexisted that realizes on WIFI chip, such as Fig. 1 institute Show, including:
Step 101: obtain the control instruction for indicating STA mode and ap mode to coexist;
Step 102: respond described control instruction, loads NV file, at least includes in described NV file There is the control information for communication channel in the case of STA mode and ap mode coexist;
Step 103: under the control of described NV file, the frequency range supported for described WIFI chip Communication channel is controlled, so that described STA mode and described ap mode coexist.
Here, described STA mode can set up communication connection by WIFI with network side for expression, and And by the pattern of described communication connection Yu network side interaction data;
Described ap mode can be set up communication connection, be passed through institute by WIFI chip and network side for sign While stating communication connection and network side interaction data, additionally it is possible to allow other electronics to set as WAP The standby pattern accessed and pass through its access network.
The mode of the control instruction that described acquisition coexists for indicating STA mode and ap mode, Ke Yiwei, User chooses the WIFI function of current electronic device and is in which kind of pattern by arranging interface, such as, sees Fig. 2, can choose the option of " STA mode and ap mode " from figure, thus get above-mentioned bimodulus The control instruction that formula coexists.
It should be noted that the scene that above-mentioned Fig. 2 is given is only a kind of possible mode of operation, it addition, its Directly can also not show with STA mode in fact, can work as when choose " WLAN ", really Surely enter STA mode, when choosing " individual focus ", determine entrance ap mode, if possessed and can When choosing the option of " WLAN and individual focus coexist ", it is possible to determine get for referring to Show the control instruction that STA mode and ap mode coexist.
Further, the described control instruction of described response, loading NV file can be: when detection obtains institute When stating control instruction, from WIFI chip, call default NV file.
Wherein, the content that described NV file includes can remove STA mode described above and ap mode In the case of coexisting for the control information of communication channel outside, it is also possible to include, at described WIFI chip Need to get the control information for communication channel when STA mode, and described WIFI chip is in The control information for communication channel got is needed during ap mode.It is to say, for each pattern, Can possess an identification information in described NV file, once receive and be in certain pattern for instruction Control instruction time, just according to the mark that this pattern is corresponding find from described NV file correspondence mark Information, and the control information of the communication channel obtained under this pattern is extracted based on described identification information.
Further, the present embodiment provides a kind of specific embodiment, in the present embodiment with STA mode And ap mode to be in different transmission bands be to carry out follow-up explanation as a example by embodiment, specific as follows:
Described under the control of described NV file, for the communication of the frequency range that described WIFI chip is supported Channel is controlled, including:
Choose from described NV file obtain STA mode and described ap mode coexist in the case of distribution The first communications sub-channel that transmission band is different and the second communications sub-channel;
Control described first communications sub-channel for supporting the data interaction of STA mode, and control described second Communications sub-channel is for supporting the data interaction of ap mode.
Wherein, described transmission band is different the first communications sub-channel and the second communications sub-channel can bases The different scenes that the different frequency range of WIFI support is corresponding are configured, such as:
Scene one, the scene for 2.4G commonly used most, if WIFI chip only supports the frequency of 2.4G Section, sees Fig. 3 as a example by the channel of 2.5G frequency range distributes, where it is assumed that each channel bands of WIFI 2.4G Scattergram, does not interfere with each other channel (1,6,11) in whole frequency range.So can specify the first communicator letter Road be channel the 1, second communications sub-channel be channel 6;Or, the first communications sub-channel be channel 11, Two communications sub-channel are channel 1.
Scene two, when WIFI chip can support the channel of two frequency ranges of 2.4G and 5G, first tie Channel bands division in 5G frequency range is illustrated by the division figure (Fig. 4) closing 5G frequency range, shows in Fig. 4 Anticipate out 802.11a.n, each channel bands scattergram under WIFI 5G different bandwidth in ac specification.At China WiFi The spendable channel of 5G is CH 36~48, CH 149~165.
Can be seen that in conjunction with Fig. 3 and Fig. 4 the frequency range of 2.4G and 5G is isolated farther out.It is to say, work as WIFI When chip can support the channel of two frequency ranges of 2.4G and 5G, can arrange the first communications sub-channel is 2.4G The channel that any one in frequency range is supported, the second communications sub-channel is that any one in 5G frequency range is supported Channel, such as, can arrange the first communications sub-channel is channel 6, arrange the second communications sub-channel for letter Road 40.
Preferably, the scene provided for above-mentioned the present embodiment, it is also possible to specify and described first communicator is set The transmission band of channel is higher than the transmission band of described second communications sub-channel.It is to say, for above-mentioned field Scape two be given when WIFI chip can support the channel of two frequency ranges of 2.4G and 5G, can arrange First communications sub-channel is the channel bands that any one in 5G frequency range is supported, the second communications sub-channel is The channel bands that any one in 2.4G frequency range is supported.Such as, the first communications sub-channel can be set for letter Road 48, the second communications sub-channel is channel 11.
Visible, by using such scheme can get the STA of NV file by loading NV file Pattern and ap mode coexist in the case of for the control information of communication channel so that WIFI chip can It is in STA mode and ap mode coexists.So, allow for electronic equipment to connect as accessing points Enter network, network can be provided as access point for other equipment again, extend WIFI core in electronic equipment The mode of operation of sheet, and improve electronic equipment and be suitable for scene.
Embodiment three,
Embodiments provide a kind of double mode method coexisted that realizes on WIFI chip, such as Fig. 1 institute Show, including:
Step 101: obtain the control instruction for indicating STA mode and ap mode to coexist;
Step 102: respond described control instruction, loads NV file, at least includes in described NV file There is the control information for communication channel in the case of STA mode and ap mode coexist;
Step 103: under the control of described NV file, the frequency range supported for described WIFI chip Communication channel is controlled, so that described STA mode and described ap mode coexist.
Here, described STA mode can set up communication connection by WIFI with network side for expression, and And by the pattern of described communication connection Yu network side interaction data;
Described ap mode can be set up communication connection, be passed through institute by WIFI chip and network side for sign While stating communication connection and network side interaction data, additionally it is possible to allow other electronics to set as WAP The standby pattern accessed and pass through its access network.
The mode of the control instruction that described acquisition coexists for indicating STA mode and ap mode, Ke Yiwei, User chooses the WIFI function of current electronic device and is in which kind of pattern by arranging interface, such as, sees Fig. 2, can choose the option of " STA mode and ap mode " from figure, thus get above-mentioned bimodulus The control instruction that formula coexists.
It should be noted that the scene that above-mentioned Fig. 2 is given is only a kind of possible mode of operation, it addition, its Directly can also not show with STA mode in fact, can work as when choose " WLAN ", really Surely enter STA mode, when choosing " individual focus ", determine entrance ap mode, if possessed and can When choosing the option of " WLAN and individual focus coexist ", it is possible to determine get for referring to Show the control instruction that STA mode and ap mode coexist.
Further, the described control instruction of described response, loading NV file can be: when detection obtains institute When stating control instruction, from WIFI chip, call default NV file.
Wherein, the content that described NV file includes can remove STA mode described above and ap mode In the case of coexisting for the control information of communication channel outside, it is also possible to include, at described WIFI chip Need to get the control information for communication channel when STA mode, and described WIFI chip is in The control information for communication channel got is needed during ap mode.It is to say, for each pattern, Can possess an identification information in described NV file, once receive and be in certain pattern for instruction Control instruction time, just according to the mark that this pattern is corresponding find from described NV file correspondence mark Information, and the control information of the communication channel obtained under this pattern is extracted based on described identification information.
Further, the present embodiment provides the specific embodiment different from previous embodiment, in this enforcement In example with STA mode and ap mode be in the different transmission periods as embodiment as a example by carry out after continue Bright, specific as follows:
Described under the control of described NV file, for the communication of the frequency range that described WIFI chip is supported Channel is controlled, including:
Choose from described NV file obtain STA mode and described ap mode coexist in the case of distribution The first communications sub-channel that working time slot is different and the second communications sub-channel;
Control described first communications sub-channel for supporting the data interaction of STA mode, and control described second Communications sub-channel is for supporting the data interaction of ap mode.
It is to say, under this scene, the first first communications sub-channel and the second communications sub-channel all use phase Same frequency range, but it is operated at different time slots.The present embodiment can use the 2.4G frequency shown in Fig. 3 Channel in Duan illustrates, it would however also be possible to employ the channel in the 5G frequency range shown in Fig. 4 illustrates, The most do not carry out the restriction of frequency range.
Concrete, described first communications sub-channel includes the up work being set at least one the first time slot Make time slot and be set to the downlink working time slot of at least one the second time slot;Accordingly, described second leads to Letter subchannel includes and is set to the up working time slot of at least one the 3rd time slot and is set at least one The downlink working time slot of individual 4th time slot;Wherein, described first time slot, the second time slot, the 3rd time slot and 4th time slot all differs.
It should be noted that the time slot for communications sub-channel divides, can be according to practical situation in end side And network side pre-sets, such as, a length of N during a radio frames can be set, wherein possess M Individual time slot, namely time a length of no more than N/M of each time slot, in the present embodiment in a radio frames At least can there are four time slots, such as, see Fig. 5, it is assumed that the first communications sub-channel uses time slot 1 to make Being the first time slot i.e. ascending time slot, time slot 2 is the second time slot i.e. descending time slot, and the second communications sub-channel uses Time slot 3 is ascending time slot, time slot 4 is the 4th i.e. descending time slot of time slot.By the such time slot of similar Fig. 5 Divide so that the first communications sub-channel and the second communications sub-channel can make a distinction in time, thus Avoid the channel collision issues between STA and AP both of which.It should be understood that Fig. 5 only gives Each communications sub-channel possesses the example of two time slots, in actual treatment, for each communications sub-channel The most up and descending time slot all can be set, and for the concrete data processing method of each time slot Identical with the example in Fig. 5, do not repeat.
In addition, it is necessary to explanation, ascending time slot that described first communications sub-channel is corresponding and descending time slot Setting, can be configured equally at network side in advance, such as, can work as determine electronic equipment enter STA During the scene that pattern and ap mode coexist, a notice can be sent to network side in advance so that network Side obtains described electronic equipment to enter the double mode scene coexisted, and when described electronic equipment uses different The communications sub-channel of gap is respectively used to the data under mutual both of which, and now, network side just can be according in advance If the presupposed information of the communications sub-channel for different mode, respectively by different uplink and downlink timeslots to electricity Subset side interaction data.
The present embodiment may refer to Fig. 6 and again carries out process description, when WIFI chip be in STA mode or During any one mode of operation in person's ap mode, can control the acquiescence of WIIF chip operation frequency range and In channel;Once detect and control in the scene that WIFI chip is in STA mode and ap mode coexists, The control information being based in NV file, carries out Time-sharing control to STA mode and ap mode, with STA mode and ap mode is made to coexist eventually.
Visible, by using such scheme can get the STA of NV file by loading NV file Pattern and ap mode coexist in the case of for the control information of communication channel so that WIFI chip can It is in STA mode and ap mode coexists.So, allow for electronic equipment to connect as accessing points Enter network, network can be provided as access point for other equipment again, extend WIFI core in electronic equipment The mode of operation of sheet, and improve electronic equipment and be suitable for scene.
Embodiment four,
Embodiments provide a kind of electronic equipment, as it is shown in fig. 7, described electronic equipment includes:
Information acquisition unit 71, for obtaining the control instruction for indicating STA mode and ap mode to coexist;
Processing unit 72, is used for responding described control instruction, loads NV file, in described NV file extremely Include the control information for communication channel in the case of STA mode and ap mode coexist less;Institute Stating under the control of NV file, the communication channel of the frequency range supported for described WIFI chip is controlled, So that described STA mode and described ap mode coexist.
Here, described STA mode can set up communication connection by WIFI with network side for expression, and And by the pattern of described communication connection Yu network side interaction data;
Described ap mode can be set up communication connection, be passed through institute by WIFI chip and network side for sign While stating communication connection and network side interaction data, additionally it is possible to allow other electronics to set as WAP The standby pattern accessed and pass through its access network.
The mode of the control instruction that described acquisition coexists for indicating STA mode and ap mode, Ke Yiwei, User chooses the WIFI function of current electronic device and is in which kind of pattern by arranging interface, such as, sees Fig. 2, can choose the option of " STA mode and ap mode " from figure, thus get above-mentioned bimodulus The control instruction that formula coexists.
It should be noted that the scene that above-mentioned Fig. 2 is given is only a kind of possible mode of operation, it addition, its Directly can also not show with STA mode in fact, can work as when choose " WLAN ", really Surely enter STA mode, when choosing " individual focus ", determine entrance ap mode, if possessed and can When choosing the option of " WLAN and individual focus coexist ", it is possible to determine get for referring to Show the control instruction that STA mode and ap mode coexist.
Further, the described control instruction of described response, loading NV file can be: when detection obtains institute When stating control instruction, from WIFI chip, call default NV file.
Wherein, the content that described NV file includes can remove STA mode described above and ap mode In the case of coexisting for the control information of communication channel outside, processing unit 72, for described WIFI core Need when sheet is in STA mode to get the control information for communication channel, and described WIFI chip The control information for communication channel got is needed when being in ap mode.It is to say, for each The pattern of kind, can possess an identification information in described NV file, once receives and is in for instruction During the control instruction of certain pattern, it is right just to find from described NV file according to the mark that this pattern is corresponding The identification information answered, and the control information of the communication channel obtained under this pattern is extracted based on described identification information.
Further, described under the control of described NV file, supported for described WIFI chip Frequency range generally can include 2.5G and 5G two kinds.
Visible, by using such scheme can get the STA of NV file by loading NV file Pattern and ap mode coexist in the case of for the control information of communication channel so that WIFI chip can It is in STA mode and ap mode coexists.So, allow for electronic equipment to connect as accessing points Enter network, network can be provided as access point for other equipment again, extend WIFI core in electronic equipment The mode of operation of sheet, and improve electronic equipment and be suitable for scene.
Embodiment five,
Embodiments provide a kind of electronic equipment, as it is shown in fig. 7, described electronic equipment includes:
Information acquisition unit 71, for obtaining the control instruction for indicating STA mode and ap mode to coexist;
Processing unit 72, is used for responding described control instruction, loads NV file, in described NV file extremely Include the control information for communication channel in the case of STA mode and ap mode coexist less;Institute Stating under the control of NV file, the communication channel of the frequency range supported for described WIFI chip is controlled, So that described STA mode and described ap mode coexist.
Here, described STA mode can set up communication connection by WIFI with network side for expression, and And by the pattern of described communication connection Yu network side interaction data;
Described ap mode can be set up communication connection, be passed through institute by WIFI chip and network side for sign While stating communication connection and network side interaction data, additionally it is possible to allow other electronics to set as WAP The standby pattern accessed and pass through its access network.
The mode of the control instruction that described acquisition coexists for indicating STA mode and ap mode, Ke Yiwei, User chooses the WIFI function of current electronic device and is in which kind of pattern by arranging interface, such as, sees Fig. 2, can choose the option of " STA mode and ap mode " from figure, thus get above-mentioned bimodulus The control instruction that formula coexists.
It should be noted that the scene that above-mentioned Fig. 2 is given is only a kind of possible mode of operation, it addition, its Directly can also not show with STA mode in fact, can work as when choose " WLAN ", really Surely enter STA mode, when choosing " individual focus ", determine entrance ap mode, if possessed and can When choosing the option of " WLAN and individual focus coexist ", it is possible to determine get for referring to Show the control instruction that STA mode and ap mode coexist.
Further, the described control instruction of described response, loading NV file can be: when detection obtains institute When stating control instruction, from WIFI chip, call default NV file.
Wherein, the content that described NV file includes can remove STA mode described above and ap mode In the case of coexisting for the control information of communication channel outside, it is also possible to include, at described WIFI chip Need to get the control information for communication channel when STA mode, and described WIFI chip is in The control information for communication channel got is needed during ap mode.It is to say, for each pattern, Can possess an identification information in described NV file, once receive and be in certain pattern for instruction Control instruction time, just according to the mark that this pattern is corresponding find from described NV file correspondence mark Information, and the control information of the communication channel obtained under this pattern is extracted based on described identification information.
Further, the present embodiment provides a kind of specific embodiment, in the present embodiment with STA mode And ap mode to be in different transmission bands be to carry out follow-up explanation as a example by embodiment, specific as follows:
Processing unit 72, obtains STA mode and described ap mode altogether for choosing from described NV file Different first communications sub-channel of transmission band of distribution in the case of depositing and the second communications sub-channel;Control Described first communications sub-channel is for supporting the data interaction of STA mode, and controls described second communicator letter Road is for supporting the data interaction of ap mode.
Wherein, described transmission band is different the first communications sub-channel and the second communications sub-channel can bases The different scenes that the different frequency range of WIFI support is corresponding are configured, such as:
Scene one, the scene for 2.4G commonly used most, if WIFI chip only supports the frequency of 2.4G Section, sees Fig. 3 as a example by the channel of 2.5G frequency range distributes, where it is assumed that each channel bands of WIFI 2.4G Scattergram, does not interfere with each other channel (1,6,11) in whole frequency range.So can specify the first communicator letter Road be channel the 1, second communications sub-channel be channel 6;Or, the first communications sub-channel be channel 11, Two communications sub-channel are channel 1.
Scene two, when WIFI chip can support the channel of two frequency ranges of 2.4G and 5G, first tie Channel bands division in 5G frequency range is illustrated by the division figure (Fig. 4) closing 5G frequency range, shows in Fig. 4 Anticipate out 802.11a.n, each channel bands scattergram under WIFI 5G different bandwidth in ac specification.At China WiFi The spendable channel of 5G is CH 36~48, CH 149~165.
Can be seen that in conjunction with Fig. 3 and Fig. 4 the frequency range of 2.4G and 5G is isolated farther out.It is to say, work as WIFI When chip can support the channel of two frequency ranges of 2.4G and 5G, can arrange the first communications sub-channel is 2.4G The channel that any one in frequency range is supported, the second communications sub-channel is that any one in 5G frequency range is supported Channel, such as, can arrange the first communications sub-channel is channel 6, arrange the second communications sub-channel for letter Road 37.
Preferably, the scene provided for above-mentioned the present embodiment, it is also possible to specify and described first communicator is set The transmission band of channel is higher than the transmission band of described second communications sub-channel.It is to say, for above-mentioned field Scape two be given when WIFI chip can support the channel of two frequency ranges of 2.4G and 5G, can arrange First communications sub-channel is the channel bands that any one in 5G frequency range is supported, the second communications sub-channel is The channel bands that any one in 2.4G frequency range is supported.Such as, the first communications sub-channel can be set for letter Road 48, the second communications sub-channel is channel 11.
Visible, by using such scheme can get the STA of NV file by loading NV file Pattern and ap mode coexist in the case of for the control information of communication channel so that WIFI chip can It is in STA mode and ap mode coexists.So, allow for electronic equipment to connect as accessing points Enter network, network can be provided as access point for other equipment again, extend WIFI core in electronic equipment The mode of operation of sheet, and improve electronic equipment and be suitable for scene.
Embodiment six,
Embodiments provide a kind of electronic equipment, as it is shown in fig. 7, described electronic equipment includes:
Information acquisition unit 71, for obtaining the control instruction for indicating STA mode and ap mode to coexist;
Processing unit 72, is used for responding described control instruction, loads NV file, in described NV file extremely Include the control information for communication channel in the case of STA mode and ap mode coexist less;Institute Stating under the control of NV file, the communication channel of the frequency range supported for described WIFI chip is controlled, So that described STA mode and described ap mode coexist.
Here, described STA mode can set up communication connection by WIFI with network side for expression, and And by the pattern of described communication connection Yu network side interaction data;
Described ap mode can be set up communication connection, be passed through institute by WIFI chip and network side for sign While stating communication connection and network side interaction data, additionally it is possible to allow other electronics to set as WAP The standby pattern accessed and pass through its access network.
The mode of the control instruction that described acquisition coexists for indicating STA mode and ap mode, Ke Yiwei, User chooses the WIFI function of current electronic device and is in which kind of pattern by arranging interface, such as, sees Fig. 2, can choose the option of " STA mode and ap mode " from figure, thus get above-mentioned bimodulus The control instruction that formula coexists.
It should be noted that the scene that above-mentioned Fig. 2 is given is only a kind of possible mode of operation, it addition, its Directly can also not show with STA mode in fact, can work as when choose " WLAN ", really Surely enter STA mode, when choosing " individual focus ", determine entrance ap mode, if possessed and can When choosing the option of " WLAN and individual focus coexist ", it is possible to determine get for referring to Show the control instruction that STA mode and ap mode coexist.
Further, the described control instruction of described response, loading NV file can be: when detection obtains institute When stating control instruction, from WIFI chip, call default NV file.
Wherein, the content that described NV file includes can remove STA mode described above and ap mode In the case of coexisting for the control information of communication channel outside, it is also possible to include, at described WIFI chip Need to get the control information for communication channel when STA mode, and described WIFI chip is in The control information for communication channel got is needed during ap mode.It is to say, for each pattern, Can possess an identification information in described NV file, once receive and be in certain pattern for instruction Control instruction time, just according to the mark that this pattern is corresponding find from described NV file correspondence mark Information, and the control information of the communication channel obtained under this pattern is extracted based on described identification information.
Further, the present embodiment provides the specific embodiment different from previous embodiment, in this enforcement In example with STA mode and ap mode be in the different transmission periods as embodiment as a example by carry out after continue Bright, specific as follows:
Described processing unit 72, obtains STA mode and described AP mould for choosing from described NV file Formula coexist in the case of different the first communications sub-channel of assignment time slot and the second communications sub-channel; Control described first communications sub-channel for supporting the data interaction of STA mode, and control described second communication Subchannel is for supporting the data interaction of ap mode.
It is to say, under this scene, the first first communications sub-channel and the second communications sub-channel all use phase Same frequency range, but it is operated at different time slots.The present embodiment can use the 2.4G frequency shown in Fig. 3 Channel in Duan illustrates, it would however also be possible to employ the channel in the 5G frequency range shown in Fig. 4 illustrates, The most do not carry out the restriction of frequency range.
Concrete, described first communications sub-channel includes the up work being set at least one the first time slot Make time slot and be set to the downlink working time slot of at least one the second time slot;Accordingly, described second leads to Letter subchannel includes and is set to the up working time slot of at least one the 3rd time slot and is set at least one The downlink working time slot of individual 4th time slot;Wherein, described first time slot, the second time slot, the 3rd time slot and 4th time slot all differs.
It should be noted that the time slot for communications sub-channel divides, can be according to practical situation in end side And network side pre-sets, such as, a length of N during a radio frames can be set, wherein possess M Individual time slot, namely time a length of no more than N/M of each time slot, in the present embodiment in a radio frames At least can there are four time slots, such as, see Fig. 5, it is assumed that the first communications sub-channel uses time slot 1 to make Being the first time slot i.e. ascending time slot, time slot 2 is the second time slot i.e. descending time slot, and the second communications sub-channel uses Time slot 3 is ascending time slot, time slot 4 is the 4th i.e. descending time slot of time slot.By the such time slot of similar Fig. 5 Divide so that the first communications sub-channel and the second communications sub-channel can make a distinction in time, thus Avoid the channel collision issues between STA and AP both of which.It should be understood that Fig. 5 only gives Each communications sub-channel possesses the example of two time slots, in actual treatment, for each communications sub-channel The most up and descending time slot all can be set, and for the concrete data processing method of each time slot Identical with the example in Fig. 5, do not repeat.
In addition, it is necessary to explanation, ascending time slot that described first communications sub-channel is corresponding and descending time slot Setting, can be configured equally at network side in advance, such as, can work as determine electronic equipment enter STA During the scene that pattern and ap mode coexist, a notice can be sent to network side in advance so that network Side obtains described electronic equipment to enter the double mode scene coexisted, and when described electronic equipment uses different The communications sub-channel of gap is respectively used to the data under mutual both of which, and now, network side just can be according in advance If the presupposed information of the communications sub-channel for different mode, respectively by different uplink and downlink timeslots to electricity Subset side interaction data.
Visible, by using such scheme can get the STA of NV file by loading NV file Pattern and ap mode coexist in the case of for the control information of communication channel so that WIFI chip can It is in STA mode and ap mode coexists.So, allow for electronic equipment to connect as accessing points Enter network, network can be provided as access point for other equipment again, extend WIFI core in electronic equipment The mode of operation of sheet, and improve electronic equipment and be suitable for scene.
One of ordinary skill in the art will appreciate that: all or part of step realizing said method embodiment can Completing with the hardware relevant by programmed instruction, aforesaid program can be stored in an embodied on computer readable and deposit In storage media, this program upon execution, performs to include the step of said method embodiment;And aforesaid storage Medium includes: movable storage device, read only memory (ROM, Read-Only Memory), deposit at random Access to memory (RAM, Random Access Memory), magnetic disc or CD etc. are various can store journey The medium of sequence code.
Or, if the above-mentioned integrated unit of the present invention is using the form realization of software function module and as independent Production marketing or use time, it is also possible to be stored in a computer read/write memory medium.Based on so Understanding, the part that prior art is contributed by the technical scheme of the embodiment of the present invention the most in other words can Embodying with the form with software product, this computer software product is stored in a storage medium, bag Include some instructions with so that a computer equipment (can be personal computer, server or network Equipment etc.) perform all or part of of method described in each embodiment of the present invention.And aforesaid storage medium bag Include: various Jie that can store program code such as movable storage device, ROM, RAM, magnetic disc or CD Matter.
The above, the only detailed description of the invention of the present invention, but protection scope of the present invention is not limited to This, any those familiar with the art, in the technical scope that the invention discloses, can readily occur in Change or replacement, all should contain within protection scope of the present invention.Therefore, protection scope of the present invention should It is as the criterion with described scope of the claims.

Claims (10)

1. realize the double mode method coexisted on a WIFI chip, it is characterised in that described method includes:
Obtain the control instruction for indicating STA mode and ap mode to coexist;
Respond described control instruction, load NV file, described NV file at least includes at STA mould Formula and ap mode coexist in the case of for the control information of communication channel;
Under the control of described NV file, for the communication channel of the frequency range that described WIFI chip is supported It is controlled, so that described STA mode and described ap mode coexist.
Method the most according to claim 1, it is characterised in that the described control at described NV file Under, the communication channel of the frequency range supported for described WIFI chip is controlled, including:
Choose from described NV file obtain STA mode and described ap mode coexist in the case of distribution The first communications sub-channel that transmission band is different and the second communications sub-channel;
Control described first communications sub-channel for supporting the data interaction of STA mode, and control described second Communications sub-channel is for supporting the data interaction of ap mode.
Method the most according to claim 2, it is characterised in that the transmission of described first communications sub-channel Frequency range is higher than the transmission band of described second communications sub-channel.
Method the most according to claim 1, it is characterised in that the described control at described NV file Under, the communication channel of the frequency range supported for described WIFI chip is controlled, including:
Choose from described NV file obtain STA mode and described ap mode coexist in the case of distribution The first communications sub-channel that working time slot is different and the second communications sub-channel;
Control described first communications sub-channel for supporting the data interaction of STA mode, and control described second Communications sub-channel is for supporting the data interaction of ap mode.
Method the most according to claim 4, it is characterised in that described first communications sub-channel includes Have and be set to the up working time slot of at least one the first time slot and be set at least one the second time slot Downlink working time slot;Accordingly, described second communications sub-channel includes be set at least one the 3rd time The up working time slot of gap and be set to the downlink working time slot of at least one the 4th time slot;
Wherein, described first time slot, the second time slot, the 3rd time slot and the 4th time slot all differ.
6. an electronic equipment, it is characterised in that described electronic equipment includes:
Information acquisition unit, for obtaining the control instruction for indicating STA mode and ap mode to coexist;
Processing unit, is used for responding described control instruction, loads NV file, in described NV file at least Include the control information for communication channel in the case of STA mode and ap mode coexist;Described Under the control of NV file, the communication channel of the frequency range supported for described WIFI chip is controlled, with Described STA mode and described ap mode are coexisted.
Electronic equipment the most according to claim 6, it is characterised in that
Described processing unit, obtains STA mode and described ap mode for choosing from described NV file Different first communications sub-channel of transmission band of distribution in the case of coexisting and the second communications sub-channel;Control Make described first communications sub-channel for supporting the data interaction of STA mode, and control described second communicator Channel is for supporting the data interaction of ap mode.
Electronic equipment the most according to claim 7, it is characterised in that described first communications sub-channel Transmission band is higher than the transmission band of described second communications sub-channel.
Electronic equipment the most according to claim 6, it is characterised in that described processing unit, for from Described NV file is chosen obtain STA mode and described ap mode coexist in the case of assignment time The first communications sub-channel that gap is different and the second communications sub-channel;Control described first communications sub-channel to be used for Support the data interaction of STA mode, and control described second communications sub-channel for supporting the number of ap mode According to alternately.
Electronic equipment the most according to claim 9, it is characterised in that described first communications sub-channel In include be set to the up working time slot of at least one the first time slot and be set at least one second The downlink working time slot of time slot;Accordingly, described second communications sub-channel includes it is set at least one The up working time slot of the 3rd time slot and be set to the downlink working time slot of at least one the 4th time slot;
Wherein, described first time slot, the second time slot, the 3rd time slot and the 4th time slot all differ.
CN201610183074.2A 2016-03-28 2016-03-28 Method for realizing dual-mode coexistence on WIFI chip and electronic device Pending CN105898795A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610183074.2A CN105898795A (en) 2016-03-28 2016-03-28 Method for realizing dual-mode coexistence on WIFI chip and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610183074.2A CN105898795A (en) 2016-03-28 2016-03-28 Method for realizing dual-mode coexistence on WIFI chip and electronic device

Publications (1)

Publication Number Publication Date
CN105898795A true CN105898795A (en) 2016-08-24

Family

ID=57013918

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610183074.2A Pending CN105898795A (en) 2016-03-28 2016-03-28 Method for realizing dual-mode coexistence on WIFI chip and electronic device

Country Status (1)

Country Link
CN (1) CN105898795A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106572510A (en) * 2016-10-31 2017-04-19 青岛海信电器股份有限公司 Channel selection method and intelligent terminal
CN106817742A (en) * 2016-12-30 2017-06-09 南京中科创达软件科技有限公司 A kind of method that wireless WiFi double working modes are realized on Android

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN202873086U (en) * 2012-10-31 2013-04-10 上海斐讯数据通信技术有限公司 Wireless double-frequency AP (Access Point)
CN103529793A (en) * 2013-10-18 2014-01-22 中山司南物联网科技有限公司 Control system and control method for Internet of things based on STA (Station) mode and AP (Access Point) mode of WIFI (Wireless Fidelity)
CN104185224A (en) * 2014-08-15 2014-12-03 深圳市同洲电子股份有限公司 Wifi chip and control method during coexistence of station (STA) mode and access point (AP) mode
CN104717684A (en) * 2015-03-30 2015-06-17 福州瑞芯微电子有限公司 WIFI mode virtual co-existence method and device
CN105592491A (en) * 2015-09-25 2016-05-18 深圳市美贝壳科技有限公司 Method for coexistence of AP mode and P2P mode of dual-WIFI module

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN202873086U (en) * 2012-10-31 2013-04-10 上海斐讯数据通信技术有限公司 Wireless double-frequency AP (Access Point)
CN103529793A (en) * 2013-10-18 2014-01-22 中山司南物联网科技有限公司 Control system and control method for Internet of things based on STA (Station) mode and AP (Access Point) mode of WIFI (Wireless Fidelity)
CN104185224A (en) * 2014-08-15 2014-12-03 深圳市同洲电子股份有限公司 Wifi chip and control method during coexistence of station (STA) mode and access point (AP) mode
CN104717684A (en) * 2015-03-30 2015-06-17 福州瑞芯微电子有限公司 WIFI mode virtual co-existence method and device
CN105592491A (en) * 2015-09-25 2016-05-18 深圳市美贝壳科技有限公司 Method for coexistence of AP mode and P2P mode of dual-WIFI module

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
柏宁宁: "多工作模式的IEEE802.11无线接入点的设计与实现", 《中国优秀硕士论文》 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106572510A (en) * 2016-10-31 2017-04-19 青岛海信电器股份有限公司 Channel selection method and intelligent terminal
CN106817742A (en) * 2016-12-30 2017-06-09 南京中科创达软件科技有限公司 A kind of method that wireless WiFi double working modes are realized on Android
CN106817742B (en) * 2016-12-30 2020-07-24 南京中科创达软件科技有限公司 Method for realizing wireless WiFi dual-working mode on Android

Similar Documents

Publication Publication Date Title
US10728892B2 (en) Method and device for scheduling resources in internet of vehicles system
RU2651811C1 (en) Method and device for effective communication
US10136353B2 (en) System and method for carrier aggregation for wireless local area networks
CN105519225B (en) Uplink and downlink CCA are coupled in LTE-U
CN105453674B (en) Method and system for the daynamic bandwidth managment in millimeter-wave systems
CN104335625B (en) Method and apparatus for the waiting for an opportunity property radio resources allocation in multi-carrier communications systems
CN104303439B (en) Technology for managing isomery carrier type
JP5753592B2 (en) Wireless communication system and method using reference signal
CN102064879B (en) Method, system and equipment for time division duplex communication
EP2835024B1 (en) Wireless channelization
EP3292723B1 (en) Progressive resource allocation for vehicular communication
RU2520602C2 (en) Apparatus and method of allocating resources in communication network
CN102340875B (en) Method and device for allocating resources
CN102428733B (en) For the method for priorization uplink carrier, equipment and computer program
CN102026385B (en) Radio resource manager device and radio communication device
CN102204310B (en) Resource allocation method, apparatus and base station
CN104717686A (en) Channel detection method of unauthorized frequency band and network cell equipment
CN101951635B (en) Multi-card multi-standby communication device and gain tracking method of non-business card
CN101079777B (en) Wireless communication method and system
CN103493572B (en) Multi-technology coexistence for IBSS networks
US8126471B2 (en) Cognitive radio communication method for controlling sensing operation and cognitive radio communication apparatus enabling the method
US8797988B2 (en) Resource allocation methods and use thereof for sounding reference signals in uplink
US7031292B2 (en) Method of scheduling regular signal transmission in a cellular wireless system
CN103297979B (en) Realize method and the base station of interference coordination
CN105612802A (en) Prioritization of different operators in shared spectrum

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination