CN108834223A - A kind of method and electronic equipment switching WiFi frequency range - Google Patents

A kind of method and electronic equipment switching WiFi frequency range Download PDF

Info

Publication number
CN108834223A
CN108834223A CN201810654522.1A CN201810654522A CN108834223A CN 108834223 A CN108834223 A CN 108834223A CN 201810654522 A CN201810654522 A CN 201810654522A CN 108834223 A CN108834223 A CN 108834223A
Authority
CN
China
Prior art keywords
service
electronic equipment
data packet
type
threshold
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201810654522.1A
Other languages
Chinese (zh)
Other versions
CN108834223B (en
Inventor
钟秀芳
林鹏
李洁
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China United Network Communications Group Co Ltd
Original Assignee
China United Network Communications Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China United Network Communications Group Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN201810654522.1A priority Critical patent/CN108834223B/en
Publication of CN108834223A publication Critical patent/CN108834223A/en
Application granted granted Critical
Publication of CN108834223B publication Critical patent/CN108834223B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/0005Control or signalling for completing the hand-off
    • H04W36/0011Control or signalling for completing the hand-off for data sessions of end-to-end connection
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/0005Control or signalling for completing the hand-off
    • H04W36/0083Determination of parameters used for hand-off, e.g. generation or modification of neighbour cell lists

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

This application discloses a kind of methods and electronic equipment for switching WiFi frequency range, are related to field of communication technology, are able to solve the problem of frequency range switching in the prior art is no longer satisfied business demand.Method provided by the present application includes:First electronic equipment and the second electronic equipment establish connection by the first frequency range of WIFI;First electronic equipment determines the type of service of data packet according to the data packet transmitted between the first electronic equipment and the second electronic equipment;First electronic equipment determines the corresponding threshold value of type of service of data packet according to the type of service of data packet;First electronic equipment determines whether the data transmission between the first electronic equipment and the second electronic equipment meets preset condition according to the corresponding threshold value of type of service of current data transmission parameters and data packet;If meeting preset condition, the first electronic equipment and the second electronic equipment establish connection by the second frequency range of WIFI, wherein the first frequency range and the second frequency range are different.

Description

A kind of method and electronic equipment switching WiFi frequency range
Technical field
This application involves field of communication technology more particularly to a kind of methods and electronic equipment for switching WiFi frequency range.
Background technique
With the development of Wireless Fidelity (Wireless Fidelity, WiFi) technology, most of family's WiFi equipment, Such as home gateway, router, repeater can support double frequency mode, i.e. 2.4G and 5G WiFi dual band capability.
Currently, user can by the service set of the 2.4G of WiFi equipment and 5G (Service Set Identifier, SSID) be arranged to it is identical, and open roaming switch switch.In this way, WiFi equipment can be between real-time monitoring and the terminal of connection Signal strength, when signal strength reach WiFi equipment setting threshold value when, will be forced to the terminal switching frequency range.
However, only carrying out frequency range switching by monitoring signals intensity is no longer satisfied demand.Such as:User is using When mobile phone watches 4K video, it is possible to which signal strength is not up to switching threshold, then WiFi equipment is not that the mobile phone is switched to 5G Frequency range still uses 2.4G frequency range.But the message transmission rate of 2.4G frequency range is low, and it is existing that user's viewing 4K video is easy to appear Caton As poor user experience.
Summary of the invention
The embodiment of the present application provides a kind of method and electronic equipment for switching WiFi frequency range, is able to solve in the prior art The problem of frequency range switching is no longer satisfied business demand.
In order to achieve the above objectives, the embodiment of the present application adopts the following technical scheme that:
In a first aspect, the embodiment of the present application provides a kind of method for switching WiFi frequency range, this method is specifically included:
First electronic equipment and second electronic equipment establish connection by the first frequency range of WIFI;Described first Electronic equipment determines the data packet according to the data packet transmitted between first electronic equipment and second electronic equipment Type of service;First electronic equipment determines the type of service pair of the data packet according to the type of service of the data packet The threshold value answered;First electronic equipment is corresponding according to the type of service of current data transmission parameters and the data packet Threshold value, determine between first electronic equipment and second electronic equipment data transmission whether meet preset condition; If meeting the preset condition, the first electronic equipment and second electronic equipment are established by the second frequency range of WIFI and are connected It connects, wherein the first frequency range and the second frequency range difference.
Second aspect, the embodiment of the present application provide a kind of electronic equipment, including:Communication unit, for being set with the second electronics It is standby that connection is established by the first frequency range of WIFI;Processing unit, for according to first electronic equipment and second electronics The data packet transmitted between equipment determines the type of service of the data packet;The processing unit is also used to according to the data The type of service of packet determines the corresponding threshold value of the type of service of the data packet;The processing unit is also used to according to current The corresponding threshold value of the type of service of data transmission parameters and the data packet determines first electronic equipment and described Whether the data transmission between two electronic equipments meets preset condition;The communication unit, if being also used to meet the default item Part, then the first electronic equipment and second electronic equipment establish connection by the second frequency range of WIFI, wherein the first frequency range with Second frequency range is different.
The third aspect, the application provide a kind of electronic equipment, which includes:Processor, transceiver and memory. Wherein, memory is for storing one or more programs.The one or more program includes computer executed instructions, when the electronics When equipment is run, processor executes the computer executed instructions of memory storage, so that the electronic equipment executes first party Any method in face and its various optional implementations.
Fourth aspect, the application provide a kind of computer readable storage medium, are stored in computer readable storage medium Instruction, when computer executes the instruction, which, which executes in above-mentioned first aspect and its various optional implementations, appoints Method described in one.
A kind of method switching WiFi frequency range provided by the embodiments of the present application, can be according to the number transmitted between electronic equipment According to the type of service for determining the data packet is wrapped, further according to the corresponding threshold value of determining type of service.Then current according to data packet Data transmission parameters and the threshold value, determine whether current data transmission meets preset condition.If satisfied, being then switched to WiFi frequency Section.In compared with the existing technology, electronic equipment carries out the switching of WiFi frequency range according only to signal strength, it may not be possible to meet current Business demand, user experience is poor.Method provided by the present application can determine different according to the type of service of transmission data packet Threshold value, further according to current data transmission scenarios and threshold value the case where, it is determined whether switching frequency range.In this way, being conducive to Electronic equipment uses different service switching conditions for different service types, promotes user experience.
Detailed description of the invention
It in order to more clearly explain the technical solutions in the embodiments of the present application, below will be to needed in the embodiment Attached drawing is briefly described, it should be apparent that, the drawings in the following description are only some examples of the present application, for ability For the those of ordinary skill of domain, without creative efforts, it can also be obtained according to these attached drawings other attached Figure.
Fig. 1 is a kind of architecture diagram of communication system provided by the embodiments of the present application;
Fig. 2 is a kind of flow diagram of method for switching WiFi frequency range provided by the embodiments of the present application;
Fig. 3 is the structural schematic diagram of a kind of electronic equipment provided by the embodiments of the present application;
Fig. 4 is the structural schematic diagram of another electronic equipment provided by the embodiments of the present application.
Specific embodiment
To mobile network UDP traffic congestion processing method provided by the embodiments of the present application, device and it is with reference to the accompanying drawing System is described in detail.
The terms "and/or", only a kind of incidence relation for describing affiliated partner, indicates that there may be three kinds of passes System, for example, A and/or B, can indicate:Individualism A exists simultaneously A and B, these three situations of individualism B.
Term " first " and " second " in the description of the present application and attached drawing etc. be for distinguishing different objects, or Person is used to distinguish the different disposal to same target, rather than is used for the particular order of description object.
In addition, the term " includes " being previously mentioned in the description of the present application and " having " and their any deformation, it is intended that It is to cover and non-exclusive includes.Such as the process, method, system, product or equipment for containing a series of steps or units do not have It is defined in listed step or unit, but optionally further comprising the step of other are not listed or unit, or optionally It further include the other step or units intrinsic for these process, methods, product or equipment.
It should be noted that in the embodiment of the present application, " illustrative " or " such as " etc. words make example, example for indicating Card or explanation.Be described as in the embodiment of the present application " illustrative " or " such as " any embodiment or design scheme do not answer It is interpreted than other embodiments or design scheme more preferably or more advantage.Specifically, " illustrative " or " example are used Such as " word is intended to that related notion is presented in specific ways.
In the description of the present application, unless otherwise indicated, the meaning of " plurality " is refer to two or more.
A kind of method switching WiFi frequency range provided by the embodiments of the present application can operate with comprising the first electronic equipment and the The communication system of two electronic equipments.As shown in Figure 1, the communication system includes the first electronic equipment 100 and the second electronic equipment 200.Wherein, the first electronic equipment 100 is to provide the equipment of WiFi signal, such as can be home gateway, router, relaying Device, panel AP, Homeplug, enterprise gateway, mobile terminal etc..Second electronic equipment 200 is to pass through with the first electronic equipment 100 The equipment that WiFi is attached, such as can be mobile phone, computer, personal digital assistant (personal digital Assistant, PDA), laptop computer, TV set-top box (set top box, STB) and/or other equipment.The application is real Example is applied to the concrete form of the first electronic equipment and the second electronic equipment without limitation.
Technical solution provided by the embodiments of the present application in order to facilitate understanding is first briefly described WiFi frequency range.
The signal frequency of 2.4G frequency range is low, and decaying is smaller when propagating in air or barrier, and propagation distance is farther.But That 2.4G signal bandwidth is relatively narrow, at present many equipment be all using 2.4G frequency range, so wireless environment is more crowded, interference It is larger.
The signal bandwidth of 5G frequency range is wider, and wireless environment is cleaner, and interference is few, and network speed is stablized, and 5G can be supported more It is high without line rate.But 5G signal frequency is higher, decays when propagating in air or barrier larger, coverage distance is opposite For, it is smaller than 2.4G signal.
Therefore 2.4G and 5G respectively have advantage and disadvantage, therefore, it is necessary to be directed to different network conditions, using optimal frequency Section carries out data transmission.So, electronic equipment needs to switch different frequency range according to different situations.
As shown in Fig. 2, providing a kind of flow diagram of method for switching WiFi frequency range, this method for the embodiment of the present application It specifically includes:
S101, the first electronic equipment and the second electronic equipment establish connection by the first frequency range of WiFi.
In some examples of the application, the first electronic equipment can be to provide the equipment of WiFi signal, and the first electronics is set Standby have a WiFi multiband ability, such as:First electronic equipment can provide the dual band capability of 2.4G frequency range and 5G frequency range WiFi. Second electronic equipment can be the equipment being connect by WiFi with the first electronic equipment.
Such as:First electronic equipment is WiFi equipment, and the second electronic equipment is terminal.Terminal passes through connection WiFi equipment WiFi signal is surfed the Internet.
In other examples of the application, the second electronic equipment is to provide the equipment of WiFi signal, the second electronic equipment With WiFi multiband ability, such as:Second electronic equipment can provide the dual band capability of 2.4G frequency range and 5G frequency range WiFi.The One electronic equipment is the equipment being connect by WiFi with the first electronic equipment.
Such as:First electronic equipment is terminal, and the second electronic equipment is WiFi equipment.Terminal passes through connection WiFi equipment WiFi signal is surfed the Internet.
S102, the first electronic equipment are according to the data packet transmitted between the first electronic equipment and the second electronic equipment, i.e. mesh Data packet is marked, determines the type of service of the target packet.
Specifically, by the data packet transmitted between the first electronic equipment of analysis and the second electronic equipment, to determine user The type of currently used business, to determine whether the current data transmission of user meets business demand.
Illustratively, can according to the transmission control protocol of data packet (Transmission Control Protocol, TCP)/User Datagram Protocol (User Datagram Protocol, UDP) destination port number, data communication protocol, data packet Size etc. judges.
In general, TCP/UDP destination port number range is 1~65535, wherein 1~1023 generally has been defined as commonly using Port type.And these common port types generally correspond to relatively-stationary type of service, it therefore, can be according to data TCP/UDP destination port number in packet determines the type of service of target packet.Further more, the business of different service types has often Communication protocol, therefore can be combined in target packet communication protocol to determine the corresponding type of service of target packet.
So, the first electronic equipment can pre-save the corresponding mark sheet of each type of service, such as:Each service class The corresponding communication protocol of type, each corresponding TCP/UDP destination port number of type of service and the corresponding number of each type of service According to the size etc. of packet.Communication protocol, TCP/UDP in the type of service for judging target packet, in reading target packet The information such as destination port number, data package size are compared with pre-stored each type of service character pair table.Work as target When each feature of data packet meets each feature in pre-stored mark sheet, it may be determined that target packet is corresponding industry Service type.
For example, table one is the example of the corresponding mark sheet of each type of service, as follows:
Table one
It should be noted that the port numbers that most game service uses all have defined, upper table is exemplary gives The explanation of several port numbers.Port numbers corresponding for other game services are no longer enumerated one by one.
Further, it is also possible to determine the corresponding type of service of target packet according to the size of data packet.Such as:Usually trip The data packet length of play business is all small, data package size first interval (such as:Between 40-159 byte), however it is big on network The data packet length of partial service second interval (such as:More than 1400 bytes).Therefore, detect the certain of certain data flow more The data package size of ratio is all in first interval, and interval time is less than such as 1 second, then can determine whether as game service, can be by this The TCP/UDP destination slogan of a little data packets is recorded in mark sheet, is labeled as game service.
S103, the first electronic equipment determine the corresponding threshold value of the type of service according to the type of service of target packet.
In view of the requirement that the business of different service types transmits data is different, such as:In order to avoid user watches height Clearly, there is Caton when the video of 4K, 8K, influence user experience, it is usually higher to the transmission rate request of this kind of video traffic.Again There is game service relatively high to transmission rate and delay requirement.Therefore, the embodiment of the present application is needed according to target packet pair The type of service answered further determines that the corresponding data transfer demands of the type of service.
Wherein, the corresponding threshold value of type of service is used to reflect the Minimum requirements of the corresponding data transmission of each type of service. Wherein threshold value includes signal strength threshold, data transmission rates threshold, delay threshold etc..The corresponding number of threshold values of each type of service Amount may be different, and the numerical values recited of the corresponding threshold value of each type of service can also can be different.For example, each type of service Corresponding threshold value can refer to table two, as follows:
Table two
Type of service Internet business Video traffic Game service Voice service
Signal strength
Rate
Time delay
From the above, it can be seen that:For internet business, usually consider the problems of it is signal strength, therefore the corresponding threshold value of internet business is Signal strength threshold.For video traffic, it usually needs consider signal strength and message transmission rate, therefore video traffic is corresponding Threshold value includes signal strength threshold and transmission rate threshold.For game service, usually consideration signal strength, transmission rate and Delay problem, therefore the corresponding threshold value of game service includes signal strength threshold, transmission rate threshold and delay threshold.For voice Business usually considers transmission rate and delay problem, therefore the corresponding threshold value of voice service includes transmission rate threshold and time delay threshold Value.
Wherein, video traffic can also specifically divide different video modes, such as:SD mode, high definition mode, 4K mode With 8K mode etc., for the video traffic of different mode, different threshold values may be corresponded to, as shown in Table 3.
Table three
In order to better understand the meaning of the threshold value in the embodiment of the present application, as shown in Table 4, different business is given below The example of the corresponding different threshold values of type.It should be noted that numerical values recited here is only with example, the embodiment of the present application The numerical values recited of threshold value is not limited.
Table four
S104, the first electronic equipment are according to the corresponding thresholds of type of service of current data transmission parameters and data packet Value, it is determining that connection is established by the second frequency range of WIFI with the second electronic equipment.
Wherein, the first frequency range and the second frequency range difference.
Wherein, current data transmission parameters include signal strength, message transmission rate and time delay etc..If current data When configured transmission meets preset condition, then the first electronic equipment is determining and the second electronic equipment is established by the second frequency range of WiFi Connection.
Illustratively, if the type of service of target packet is internet business, preset condition is current signal strength Signal strength threshold corresponding less than or equal to internet business.If the type of service of target packet is video traffic, preset Condition is that current signal strength is less than or equal to the corresponding signal strength threshold of video traffic, or and current transmission rate Transmission rate threshold corresponding less than or equal to video traffic.If the type of service of target packet is game service, preset Condition is that current signal strength is less than or equal to the corresponding signal strength threshold of game service or current transmission rate is small In or equal to the corresponding transmission rate threshold of game service or current time delay more than or equal to the corresponding time delay of game service Threshold value.If the type of service of target packet is voice service, preset condition is that current transmission rate is less than or equal to language The corresponding transmission rate threshold of sound business or current time delay are greater than or equal to the corresponding delay threshold of voice service.
Such as:The first electronic equipment or the online of the second electronic equipment, and the first electronic equipment and second is used in user Electronic equipment is connected by 2.4G frequency range.Detect that the signal strength of 2.4 frequency ranges is less than or equal in the first electronic equipment When the signal strength threshold of 2.4G, shows that the signal strength of 2.4G at this time is very weak, will affect the online experience of user.Therefore, One electronic equipment, which can be determined, to be attached with the second electronic equipment by 5G frequency range, to promote the online experience of user.
In another example:The first electronic equipment or the second electronic equipment viewing video, and the first electronic equipment is used in user It with the second electronic equipment is connected by 2.4G frequency range.Detect that the signal strength of 2.4 frequency ranges is greater than in the first electronic equipment The signal strength threshold of 2.4G, but it is corresponding to detect that the message transmission rate between two equipment is less than or equal to video traffic The threshold value of transmission rate shows that the data transmission of business at this time is very slow, may influence whether that user watches video.Therefore, first Electronic equipment, which can be determined, to be attached with the second electronic equipment by 5G frequency range, to meet the need that user watches video traffic It asks.
Again for example:User is used the first electronic equipment or the second electronic equipment and plays game, and the first electronic equipment and Second electronic equipment is connected by 2.4G frequency range.Detect that the signal strength of 2.4 frequency ranges is greater than in the first electronic equipment The signal strength threshold of 2.4G, the message transmission rate transmission rate threshold corresponding also greater than game service between two equipment Value, but the time delay between two equipment is greater than or equal to the corresponding delay threshold of game service, when showing the data of business at this time Prolong it is larger, may influence whether user play game.Therefore, the first electronic equipment, which can be determined, passes through 5G frequency with the second electronic equipment Section is attached, to meet the needs of user plays game.
Later, after the first electronic equipment is determining and the second electronic equipment is attached by the second frequency range, the first electronics Equipment disconnects the connection with the second electronic equipment in the first frequency range.Then, the first electronic equipment is carried out in the channel of the second frequency range Scanning.It when scanning is to the second electronic equipment, is authenticated, be associated with the second electronic equipment, cipher key interaction etc., then with second Electronic equipment establishes connection in the second frequency range, is then carried out data transmission by the second frequency range.
It should be noted that in the embodiment of the present application, the first electronic equipment and the second electronic equipment are in above-described embodiment The division of labor can be arbitrary.That is, can be the type of service that the first electronic equipment determines data packet, and according to business Type determines corresponding threshold value, then determines whether to switch frequency range.It is also possible to the service class that the second electronic equipment determines data packet Type, and corresponding threshold value is determined according to type of service, then determine whether to switch frequency range.The embodiment of the present application does not limit this.
It should also be noted that, switching method provided by the embodiments of the present application is not only applicable in same electronic equipment Switching between 2.4G to 5G is readily applicable to switching between different devices.Such as family has 2 WiFi equipments, one Start terminal to be connected on the 2.4G of the first WiFi equipment, when the threshold value handover operation for receiving the first WiFi equipment or terminal itself Afterwards, may be coupled to when reconnect on the 5G of the first WiFi equipment, also may be coupled to 2.4G in the second WiFi equipment or 5G.Switching principle can refer to foregoing description, not repeat to repeat again.
A kind of method switching WiFi frequency range provided by the embodiments of the present application, can be according to the number transmitted between electronic equipment According to the type of service for determining the data packet is wrapped, further according to the corresponding threshold value of determining type of service.Then current according to data packet Data transmission parameters and the threshold value, determine whether current data transmission meets preset condition.If satisfied, being then switched to WiFi frequency Section.In compared with the existing technology, electronic equipment carries out the switching of WiFi frequency range according only to signal strength, it may not be possible to meet current Business demand, user experience is poor.Method provided by the present application can determine different according to the type of service of transmission data packet Threshold value, further according to current data transmission scenarios and threshold value the case where, it is determined whether switching frequency range.In this way, being conducive to Electronic equipment uses different service switching conditions for different service types, promotes user experience.
The embodiment of the present application can carry out functional module or function list to the first electronic equipment according to above method example The division of member, for example, each functional module of each function division or functional unit can be corresponded to, it can also be by two or two Above function is integrated in a processing module.Above-mentioned integrated module both can take the form of hardware realization, can also be with It is realized in the form of software function module or functional unit.Wherein, module or unit are drawn in the embodiment of the present application It is schematical for dividing, and only a kind of logical function partition, there may be another division manner in actual implementation.
Fig. 3 shows the one of electronic equipment involved in above-described embodiment (the first electronic equipment or the second electronic equipment) The possible structural schematic diagram of kind.The electronic equipment 20 includes communication unit 21 and processing unit 22.
Wherein, communication unit 21, for establishing connection by the first frequency range of WIFI with the second electronic equipment.
The processing unit 22, for according to the number transmitted between first electronic equipment and second electronic equipment According to packet, the type of service of the data packet is determined;
The processing unit 22 is also used to determine the type of service of the data packet according to the type of service of the data packet Corresponding threshold value;
The processing unit 22 is also used to the type of service according to current data transmission parameters and the data packet Corresponding threshold value, determines whether the data transmission between first electronic equipment and second electronic equipment meets default item Part;
The communication unit 21, if being also used to meet the preset condition, the first electronic equipment and second electronics Equipment establishes connection by the second frequency range of WIFI, wherein the first frequency range and the second frequency range difference.
Optionally, the processing unit 22 is also used to determine the data packet according to the type of service of the data packet The corresponding threshold value of type of service is specially:If the type of service of the data packet is internet business, the business of the data packet The corresponding threshold value of type includes signal strength threshold;If the type of service of the data packet is video traffic, the data packet The corresponding threshold value of type of service include signal strength threshold and transmission rate threshold;If the type of service of the data packet is trip Play business, then the corresponding threshold value of the type of service of the data packet includes signal strength threshold, transmission rate threshold and time delay threshold Value;If the type of service of the data packet is voice service, the corresponding threshold value of the type of service of the data packet includes transmission Rate-valve value and delay threshold.
Optionally, the data transmission parameters include:Signal strength, transmission rate and time delay.
Optionally, the preset condition includes:
If the type of service of the data packet is internet business, preset condition is that current signal strength is less than or equal to The corresponding signal strength threshold of internet business;If the type of service of the data packet is video traffic, preset condition is current Signal strength be less than or equal to the corresponding signal strength threshold of video traffic, or and current transmission rate be less than or equal to The corresponding transmission rate threshold of video traffic;If the type of service of the data packet is game service, preset condition is current Signal strength be less than or equal to the corresponding signal strength threshold of game service or current transmission rate and be less than or equal to trip The corresponding transmission rate threshold of play business or current time delay are greater than or equal to the corresponding delay threshold of game service;If institute The type of service for stating data packet is voice service, then preset condition is that current transmission rate is corresponding less than or equal to voice service Transmission rate threshold or current time delay be greater than or equal to the corresponding delay threshold of voice service.
Optionally, the processing unit 22, for according between first electronic equipment and second electronic equipment The data packet of transmission determines that the type of service of the data packet is specially:According to first electronic equipment and second electricity The destination slogan for the data packet transmitted between sub- equipment, data communication protocol, data package size determine the industry of the data packet Service type.
A kind of the first electronic equipment switching WiFi frequency range provided by the embodiments of the present application, can be according between electronic equipment The data packet of transmission determines the type of service of the data packet, further according to the corresponding threshold value of determining type of service.Then according to data Current data transmission parameters and the threshold value are wrapped, determine whether current data transmission meets preset condition.If satisfied, then switching To WiFi frequency range.In compared with the existing technology, electronic equipment carries out the switching of WiFi frequency range according only to signal strength, it may not be possible to Meet current business demand, user experience is poor.Method provided by the present application can be according to the type of service of transmission data packet Determine different threshold values, further according to current data transmission scenarios and threshold value the case where, it is determined whether switching frequency range.This Sample is conducive to electronic equipment for different service types using different service switching conditions, promotes user experience.
Fig. 4 shows electronic equipment involved in above-described embodiment (the first electronic equipment or the second electronic equipment) again A kind of possible structural schematic diagram.The electronic equipment 300 includes:Processing module 301 and communication module 302.Processing module 301 is used Control management is carried out in the movement to the first electronic equipment, for example, executing the step of above-mentioned processing unit 22 executes and/or being used for Execute other processes of techniques described herein.Communication module 302 is used for the first electronic equipment of support and the second electronic equipment, And the communication of other network entities, for example, executing the step of above-mentioned communication unit 21 executes.First electronic equipment can also wrap Memory module 303 and bus 304 are included, memory module 303 is used to store the program code and data of the first electronic equipment.
Wherein, above-mentioned processing module 301 can be processor or controller in the first electronic equipment, the processor or control Device processed, which may be implemented or execute, combines various illustrative logic blocks, module and circuit described in present disclosure. The processor or controller can be central processing unit, general processor, digital signal processor, specific integrated circuit, scene Programmable gate array or other programmable logic device, transistor logic, hardware component or any combination thereof.It can To realize or execute various illustrative logic blocks, module and circuit in conjunction with described in present disclosure.The place Reason device is also possible to realize the combination of computing function, such as combines comprising one or more microprocessors, DSP and microprocessor Combination etc..
Communication module 302 can be transceiver, transmission circuit or communication interface in the first electronic equipment etc..
Memory module 303 can be the memory etc. in the first electronic equipment, which may include volatile storage Device, such as random access memory;The memory also may include nonvolatile memory, such as read-only memory, flash memory Reservoir, hard disk or solid state hard disk;The memory can also include the combination of the memory of mentioned kind.
Bus 304 can be expanding the industrial standard structure (Extended Industry Standard Architecture, EISA) bus etc..Bus 304 can be divided into address bus, data/address bus, control bus etc..For convenient for table Show, only indicated with a thick line in Fig. 4, it is not intended that an only bus or a type of bus.
Through the above description of the embodiments, it is apparent to those skilled in the art that, for description It is convenienct and succinct, only the example of the division of the above functional modules, in practical application, can according to need and will be upper It states function distribution to be completed by different functional modules, i.e., the internal structure of device is divided into different functional modules, to complete All or part of function described above.The specific work process of the system, apparatus, and unit of foregoing description, before can referring to The corresponding process in embodiment of the method is stated, details are not described herein.
The embodiment of the present application also provides a kind of computer readable storage medium, and finger is stored in computer readable storage medium It enables, when computer executes the instruction, which can execute network in method flow shown in above method embodiment and set Standby performed each step.
Wherein, computer readable storage medium, such as electricity, magnetic, optical, electromagnetic, infrared ray can be but not limited to or partly led System, device or the device of body, or any above combination.The more specific example of computer readable storage medium is (non-poor The list of act) include:Electrical connection, portable computer diskette with one or more conducting wires, hard disk, random access memory (Random Access Memory, RAM), read-only memory (Read-Only Memory, ROM), erasable type may be programmed read-only It is memory (Erasable Programmable Read Only Memory, EPROM), register, hard disk, optical fiber, portable Compact disc read-only memory (Compact Disc Read-Only Memory, CD-ROM), light storage device, magnetic memory The computer readable storage medium of part or above-mentioned any appropriate combination or any other form well known in the art. A kind of illustrative storage medium is coupled to processor, to enable a processor to from the read information, and can be to Information is written in the storage medium.Certainly, storage medium is also possible to the component part of processor.Pocessor and storage media can be with In application-specific IC (Application Specific Integrated Circuit, ASIC).In the application In embodiment, computer readable storage medium can be any tangible medium for including or store program, which can be referred to Enable execution system, device or device use or in connection.
The above, the only specific embodiment of the application, but the protection scope of the application is not limited thereto, it is any Change or replacement within the technical scope of the present application should all be covered within the scope of protection of this application.Therefore, this Shen Protection scope please should be subject to the protection scope in claims.

Claims (10)

1. a kind of method for switching Wireless Fidelity WIFI frequency range, which is characterized in that be applied to include the first electronic equipment and second The communication system of electronic equipment, the method includes:
First electronic equipment and second electronic equipment establish connection by the first frequency range of WIFI;
First electronic equipment is according to the data packet transmitted between first electronic equipment and second electronic equipment, really The type of service of the fixed data packet;
First electronic equipment determines the corresponding threshold of type of service of the data packet according to the type of service of the data packet Value;
First electronic equipment is according to the corresponding thresholds of type of service of current data transmission parameters and the data packet Value, determines whether the data transmission between first electronic equipment and second electronic equipment meets preset condition;
If meeting the preset condition, the first electronic equipment and second electronic equipment are established by the second frequency range of WIFI Connection, wherein the first frequency range and the second frequency range difference.
2. the method according to claim 1, wherein business of first electronic equipment according to the data packet Type determines that the corresponding threshold value of the type of service of the data packet includes:
If the type of service of the data packet is internet business, the corresponding threshold value of the type of service of the data packet includes signal Intensity threshold;
If the type of service of the data packet is video traffic, the corresponding threshold value of the type of service of the data packet includes signal Intensity threshold and transmission rate threshold;
If the type of service of the data packet is game service, the corresponding threshold value of the type of service of the data packet includes signal Intensity threshold, transmission rate threshold and delay threshold;
If the type of service of the data packet is voice service, the corresponding threshold value of the type of service of the data packet includes transmission Rate-valve value and delay threshold.
3. method according to claim 1 or 2, which is characterized in that the data transmission parameters include:Signal strength, biography Defeated rate and time delay.
4. according to the method described in claim 3, it is characterized in that, the preset condition includes:
If the type of service of the data packet is internet business, preset condition is that current signal strength is less than or equal to online The corresponding signal strength threshold of business;
If the type of service of the data packet is video traffic, preset condition is that current signal strength is less than or equal to video The corresponding signal strength threshold of business, or and current transmission rate be less than or equal to the corresponding transmission rate threshold of video traffic Value;
If the type of service of the data packet is game service, preset condition is that current signal strength is less than or equal to game The corresponding signal strength threshold of business or current transmission rate are less than or equal to the corresponding transmission rate threshold of game service Value or current time delay are greater than or equal to the corresponding delay threshold of game service;
If the type of service of the data packet is voice service, preset condition is that current transmission rate is less than or equal to voice The corresponding transmission rate threshold of business or current time delay are greater than or equal to the corresponding delay threshold of voice service.
5. the method according to claim 1, wherein first electronic equipment is according to first electronic equipment The data packet transmitted between second electronic equipment determines that the type of service of the data packet includes:
First electronic equipment is according to the data packet transmitted between first electronic equipment and second electronic equipment Destination slogan, data communication protocol, data package size determine the type of service of the data packet.
6. a kind of electronic equipment, which is characterized in that including:
Communication unit, for establishing connection by the first frequency range of WIFI with the second electronic equipment;
Processing unit, for determining according to the data packet transmitted between first electronic equipment and second electronic equipment The type of service of the data packet;
The processing unit is also used to determine that the type of service of the data packet is corresponding according to the type of service of the data packet Threshold value;
The processing unit is also used to corresponding according to the type of service of current data transmission parameters and the data packet Threshold value, determines whether the data transmission between first electronic equipment and second electronic equipment meets preset condition;
The communication unit, if being also used to meet the preset condition, the first electronic equipment and second electronic equipment are logical The second frequency range for crossing WIFI establishes connection, wherein the first frequency range and the second frequency range difference.
7. electronic equipment according to claim 6, which is characterized in that the processing unit is also used to according to the data The type of service of packet determines that the corresponding threshold value of the type of service of the data packet is specially:
If the type of service of the data packet is internet business, the corresponding threshold value of the type of service of the data packet includes signal Intensity threshold;
If the type of service of the data packet is video traffic, the corresponding threshold value of the type of service of the data packet includes signal Intensity threshold and transmission rate threshold;
If the type of service of the data packet is game service, the corresponding threshold value of the type of service of the data packet includes signal Intensity threshold, transmission rate threshold and delay threshold;
If the type of service of the data packet is voice service, the corresponding threshold value of the type of service of the data packet includes transmission Rate-valve value and delay threshold.
8. electronic equipment according to claim 6 or 7, which is characterized in that the data transmission parameters include:Signal is strong Degree, transmission rate and time delay.
9. electronic equipment according to claim 8, which is characterized in that the preset condition includes:
If the type of service of the data packet is internet business, preset condition is that current signal strength is less than or equal to online The corresponding signal strength threshold of business;
If the type of service of the data packet is video traffic, preset condition is that current signal strength is less than or equal to video The corresponding signal strength threshold of business, or and current transmission rate be less than or equal to the corresponding transmission rate threshold of video traffic Value;
If the type of service of the data packet is game service, preset condition is that current signal strength is less than or equal to game The corresponding signal strength threshold of business or current transmission rate are less than or equal to the corresponding transmission rate threshold of game service Value or current time delay are greater than or equal to the corresponding delay threshold of game service;
If the type of service of the data packet is voice service, preset condition is that current transmission rate is less than or equal to voice The corresponding transmission rate threshold of business or current time delay are greater than or equal to the corresponding delay threshold of voice service.
10. electronic equipment according to claim 6, which is characterized in that the processing unit, for according to first electricity The data packet transmitted between sub- equipment and second electronic equipment determines that the type of service of the data packet is specially:
It is logical according to the destination slogan for the data packet transmitted between first electronic equipment and second electronic equipment, data Believe agreement, data package size, determines the type of service of the data packet.
CN201810654522.1A 2018-06-22 2018-06-22 Method for switching WiFi frequency band and electronic equipment Active CN108834223B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810654522.1A CN108834223B (en) 2018-06-22 2018-06-22 Method for switching WiFi frequency band and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810654522.1A CN108834223B (en) 2018-06-22 2018-06-22 Method for switching WiFi frequency band and electronic equipment

Publications (2)

Publication Number Publication Date
CN108834223A true CN108834223A (en) 2018-11-16
CN108834223B CN108834223B (en) 2020-12-08

Family

ID=64137983

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810654522.1A Active CN108834223B (en) 2018-06-22 2018-06-22 Method for switching WiFi frequency band and electronic equipment

Country Status (1)

Country Link
CN (1) CN108834223B (en)

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109890087A (en) * 2018-12-29 2019-06-14 华为终端有限公司 A kind of method and apparatus handling data packet
CN109982399A (en) * 2019-03-04 2019-07-05 成都小步创想慧联科技有限公司 Improve the method and router of router 5G frequency range utilization rate
CN110198555A (en) * 2019-05-21 2019-09-03 中国联合网络通信集团有限公司 A kind of configuration method and device of network slice
CN110392393A (en) * 2019-06-19 2019-10-29 ***通信集团湖北有限公司 For the business delamination process and device of VoLTE voice service and data service
CN111787599A (en) * 2020-08-06 2020-10-16 Oppo(重庆)智能科技有限公司 WIFI frequency band selection method and device, electronic equipment and storage medium
CN112105068A (en) * 2020-07-28 2020-12-18 华为技术有限公司 Wireless data transmission method and related equipment thereof
CN112272398A (en) * 2020-11-13 2021-01-26 Oppo广东移动通信有限公司 Data transmission method and device, electronic equipment and storage medium
CN112351461A (en) * 2019-08-08 2021-02-09 Oppo广东移动通信有限公司 WiFi network switching method, device, terminal and storage medium
WO2021036881A1 (en) * 2019-08-31 2021-03-04 Oppo广东移动通信有限公司 Wifi roaming method and device, mobile terminal, and storage medium
CN112821947A (en) * 2019-11-18 2021-05-18 Oppo广东移动通信有限公司 Light fidelity LiFi communication control method, device, equipment and medium of electronic equipment
CN113938990A (en) * 2020-06-29 2022-01-14 华为技术有限公司 Equipment management method and communication device
CN114375021A (en) * 2021-12-17 2022-04-19 北京小米移动软件有限公司 Relay communication method, device, relay equipment, terminal and storage medium
CN114390337A (en) * 2020-10-21 2022-04-22 华为技术有限公司 Screen projection method and system and electronic equipment
CN114828129A (en) * 2022-06-20 2022-07-29 统信软件技术有限公司 Roaming method and device of wireless local area network, mobile terminal and readable storage medium
EP4057768A4 (en) * 2019-12-11 2023-01-04 Huawei Technologies Co., Ltd. Transmission rate configuration method and apparatus

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102497661A (en) * 2011-12-16 2012-06-13 清华大学 Heterogeneous network selection method based on transmitting power of terminal
CN102769922A (en) * 2011-05-05 2012-11-07 鼎桥通信技术有限公司 Service scheduling method in wireless communication system
CN104469958A (en) * 2014-12-31 2015-03-25 华为技术有限公司 Dual-frequency communication method and WLAN device
CN105210448A (en) * 2013-03-15 2015-12-30 惠普发展公司,有限责任合伙企业 Multiband operation of a single Wi-Fi radio
US20160088633A1 (en) * 2012-09-06 2016-03-24 Dell Products, Lp Method and Apparatus for Predicting Mobile Device Wireless Link Quality of Service Requirements Along a Predicted Path
CN106358223A (en) * 2016-08-31 2017-01-25 广东欧珀移动通信有限公司 Communication method and device as well as mobile terminal
CN107979496A (en) * 2017-12-07 2018-05-01 锐捷网络股份有限公司 A kind of method and server for obtaining user experience quality

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102769922A (en) * 2011-05-05 2012-11-07 鼎桥通信技术有限公司 Service scheduling method in wireless communication system
CN102497661A (en) * 2011-12-16 2012-06-13 清华大学 Heterogeneous network selection method based on transmitting power of terminal
US20160088633A1 (en) * 2012-09-06 2016-03-24 Dell Products, Lp Method and Apparatus for Predicting Mobile Device Wireless Link Quality of Service Requirements Along a Predicted Path
CN105210448A (en) * 2013-03-15 2015-12-30 惠普发展公司,有限责任合伙企业 Multiband operation of a single Wi-Fi radio
CN104469958A (en) * 2014-12-31 2015-03-25 华为技术有限公司 Dual-frequency communication method and WLAN device
CN106358223A (en) * 2016-08-31 2017-01-25 广东欧珀移动通信有限公司 Communication method and device as well as mobile terminal
CN107979496A (en) * 2017-12-07 2018-05-01 锐捷网络股份有限公司 A kind of method and server for obtaining user experience quality

Cited By (28)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109890087B (en) * 2018-12-29 2022-08-09 华为终端有限公司 Method and device for processing data packet
CN109890087A (en) * 2018-12-29 2019-06-14 华为终端有限公司 A kind of method and apparatus handling data packet
CN109982399A (en) * 2019-03-04 2019-07-05 成都小步创想慧联科技有限公司 Improve the method and router of router 5G frequency range utilization rate
CN110198555A (en) * 2019-05-21 2019-09-03 中国联合网络通信集团有限公司 A kind of configuration method and device of network slice
CN110198555B (en) * 2019-05-21 2022-09-02 中国联合网络通信集团有限公司 Network slice configuration method and device
CN110392393A (en) * 2019-06-19 2019-10-29 ***通信集团湖北有限公司 For the business delamination process and device of VoLTE voice service and data service
CN112351461B (en) * 2019-08-08 2023-08-22 Oppo广东移动通信有限公司 WiFi network switching method, wiFi network switching device, terminal and storage medium
CN112351461A (en) * 2019-08-08 2021-02-09 Oppo广东移动通信有限公司 WiFi network switching method, device, terminal and storage medium
CN112449401A (en) * 2019-08-31 2021-03-05 Oppo广东移动通信有限公司 WiFi roaming method and device, mobile terminal and storage medium
WO2021036881A1 (en) * 2019-08-31 2021-03-04 Oppo广东移动通信有限公司 Wifi roaming method and device, mobile terminal, and storage medium
CN112449401B (en) * 2019-08-31 2022-03-08 Oppo广东移动通信有限公司 WiFi roaming method and device, mobile terminal and storage medium
CN112821947A (en) * 2019-11-18 2021-05-18 Oppo广东移动通信有限公司 Light fidelity LiFi communication control method, device, equipment and medium of electronic equipment
EP4057768A4 (en) * 2019-12-11 2023-01-04 Huawei Technologies Co., Ltd. Transmission rate configuration method and apparatus
CN113938990A (en) * 2020-06-29 2022-01-14 华为技术有限公司 Equipment management method and communication device
CN113938990B (en) * 2020-06-29 2023-11-17 华为技术有限公司 Equipment management method and communication device
CN114205879A (en) * 2020-07-28 2022-03-18 华为技术有限公司 Wireless data transmission method and related equipment thereof
CN114222333A (en) * 2020-07-28 2022-03-22 华为技术有限公司 Wireless data transmission method and related equipment thereof
WO2022022474A1 (en) * 2020-07-28 2022-02-03 华为技术有限公司 Wireless data transmission method and related devices therefor
CN114222333B (en) * 2020-07-28 2022-11-25 华为技术有限公司 Wireless data transmission method, equipment, storage medium and chip system
CN112105068A (en) * 2020-07-28 2020-12-18 华为技术有限公司 Wireless data transmission method and related equipment thereof
EP4178305A4 (en) * 2020-07-28 2023-12-20 Huawei Technologies Co., Ltd. Wireless data transmission method and related devices therefor
CN111787599B (en) * 2020-08-06 2022-09-16 Oppo(重庆)智能科技有限公司 WIFI frequency band selection method and device, electronic equipment and storage medium
CN111787599A (en) * 2020-08-06 2020-10-16 Oppo(重庆)智能科技有限公司 WIFI frequency band selection method and device, electronic equipment and storage medium
CN114390337A (en) * 2020-10-21 2022-04-22 华为技术有限公司 Screen projection method and system and electronic equipment
CN112272398A (en) * 2020-11-13 2021-01-26 Oppo广东移动通信有限公司 Data transmission method and device, electronic equipment and storage medium
CN112272398B (en) * 2020-11-13 2024-01-19 Oppo广东移动通信有限公司 Data transmission method and device, electronic equipment and storage medium
CN114375021A (en) * 2021-12-17 2022-04-19 北京小米移动软件有限公司 Relay communication method, device, relay equipment, terminal and storage medium
CN114828129A (en) * 2022-06-20 2022-07-29 统信软件技术有限公司 Roaming method and device of wireless local area network, mobile terminal and readable storage medium

Also Published As

Publication number Publication date
CN108834223B (en) 2020-12-08

Similar Documents

Publication Publication Date Title
CN108834223A (en) A kind of method and electronic equipment switching WiFi frequency range
CN109618373B (en) Link selection method and related device
WO2020147606A1 (en) Wireless roaming method and device
EP3637824B1 (en) Measurement gap configuration method and device
US11109277B2 (en) Service configuration method and related product
JP2013500627A (en) Method and apparatus for improving power efficiency and latency of mobile devices using out-of-band wireless resources
CN104754003A (en) Data transmission method and system
CN107370685A (en) A kind of internet-of-things terminal cut-in method and device
CN112153710A (en) Data transmission method and device, electronic equipment and storage medium
CN104918225A (en) Implementation method and device of bi-pass function of double-card single-pass terminal
WO2015066972A1 (en) Video call transfer method, terminal and system
JP2023528613A (en) Wireless communication method and device, terminal and storage medium
CN107820246A (en) The methods, devices and systems of user authentication
CN105557045A (en) Access network node, core network node and paging method
KR100790155B1 (en) System and method for emboding a multimedia service in mobile terminal through a remote apparatus
CN112566262B (en) Data processing method and device, communication equipment and storage medium
EP3276987A1 (en) Service allocation method and device
Coyac-Torres et al. Cognitive radio based system for best effort communications in sound-based covert channel for iot environments
CN108200604B (en) Data transmission method and device
CN109729567A (en) A kind of message treatment method and access point apparatus and message processing device
JP5645008B2 (en) Coexistence communication system, coexistence processing method between communication networks
CN115544324A (en) User data analysis method and device and storage medium
KR100673287B1 (en) Method and system for handoff to a destination base station by measuring signal strength of carrier signals during at least one CSMA-backoff time
CN108449755A (en) A kind of terminal access method and device
US20240146663A1 (en) Gateway device and method therefor, medium and application product

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant