CN105119844A - Method and device for controlling working mode of built-in WIFI module - Google Patents

Method and device for controlling working mode of built-in WIFI module Download PDF

Info

Publication number
CN105119844A
CN105119844A CN201510563323.6A CN201510563323A CN105119844A CN 105119844 A CN105119844 A CN 105119844A CN 201510563323 A CN201510563323 A CN 201510563323A CN 105119844 A CN105119844 A CN 105119844A
Authority
CN
China
Prior art keywords
uploading data
length
queue
mode
wifi module
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
CN201510563323.6A
Other languages
Chinese (zh)
Other versions
CN105119844B (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 CN201510563323.6A priority Critical patent/CN105119844B/en
Publication of CN105119844A publication Critical patent/CN105119844A/en
Application granted granted Critical
Publication of CN105119844B publication Critical patent/CN105119844B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/50Queue scheduling
    • H04L47/62Queue scheduling characterised by scheduling criteria
    • H04L47/6295Queue scheduling characterised by scheduling criteria using multiple queues, one for each individual QoS, connection, flow or priority
    • 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/02Terminal devices
    • 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

Landscapes

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

Abstract

The invention provides a method and a device for controlling a working mode of a built-in WIFI module. The method includes receiving a data uploading request sent from a wearable device, wherein the data uploading request carries identification information of the wearable device; inquiring the correspondence of the prestored identification information and uploaded data priorities according to the identification information, and acquiring the uploaded data priorities; according to the uploaded data priorities, performing classification storage on the uploaded data in a queue form; and controlling the WIFI module to be in an access point (AP) mode or switch to an STA mode according to the length of each queue of the stored uploaded data. Through adoption of the method, the working mode of the WIFI module can be controlled reasonably according to the length of each queue of the stored uploaded data of different priorities, so that the data uploading efficiency is improved.

Description

The operating mode control method of built-in WIFI module and device
Technical field
The embodiment of the present invention relates to technology of Internet of things field, particularly relates to a kind of operating mode control method and device of built-in WIFI module.
Background technology
Along with the develop rapidly of information-intensive society, various wearable device comes into vogue.These wearable device functions are multifarious, comprise health monitoring class, motion monitoring class, amusement class etc.Health monitoring class comprises heartbeat inspecting instrument, position monitor, respiration monitor etc., and motion monitoring class comprises pedometer, bracelet etc., and amusement class comprises intelligent watch etc.In order to meet the different demands of user, these wearable devices are had by same user.Ideally, each wearable terminal should built-in wide area network access module, to enjoy the network insertion service that Virtual network operator provides.But in fact, taking cost into account, be not the built-in wide area network access module of each wearable terminal.
In order to realize the network insertion service of multiple wearable devices of same user, at present carry a small-sized gateway device by user, as the IAD of person ownership wearable device, this gateway device is built-in wide area network access module and WIFI module, and in wearable terminal built-in WIFI module, when the WIFI module of gateway device is in AP mode of operation, under multiple wearable device is in STA mode, realize the local interconnection of gateway device and multiple wearable device, and carry out the transmission of data.Under the WIFI module of gateway device is in STA mode of operation, gateway device disconnects the local interconnection with multiple wearable device, is transferred data in the webserver by wide area network access module.
Because the WIFI module in gateway device can switch in two kinds of mode of operations, in prior art when there being data to need to upload to the webserver, the classification of gateway device no matter uploading data, makes WIFI module always constantly switch in ap mode and STA mode, affects the upper transfer efficiency of data.
Summary of the invention
The embodiment of the present invention provides a kind of operating mode control method of built-in WIFI module, reasonably can control the mode of operation of WIFI module, improve the upper transfer efficiency of data according to the length of each queue of the uploading data of the different priorities stored.
The embodiment of the present invention provides a kind of operating mode control method of built-in WIFI module, comprising:
Receive the data upload requests that wearable device sends, in described data upload requests, carry the identification information of wearable device;
According to described identification information, the inquiry identification information of pre-stored and the corresponding relation of uploading data priority, obtain the priority of uploading data;
According to the priority of described uploading data, described uploading data is carried out classification with the form of queue and stores;
According to the length of each queue storing uploading data, control WIFI module remain on ap mode under or be switched in STA mode.
The embodiment of the present invention provides a kind of mode of operation control device of built-in WIFI module, comprising:
Receiver module, for receiving the data upload requests that wearable device sends, carries the identification information of wearable device in described data upload requests;
Enquiry module, for according to described identification information, inquires about the identification information of pre-stored and the corresponding relation of uploading data priority, obtains the priority of uploading data;
Memory module, for the priority according to described uploading data, carries out classification by described uploading data with the form of queue and stores;
Control module, for according to the length of each queue storing uploading data, control WIFI module remain on ap mode under or be switched in STA mode.
The embodiment of the present invention provides a kind of operating mode control method and device of built-in WIFI module, the data upload requests that the method sends by receiving wearable device, carries the identification information of wearable device in data upload requests; According to identification information, the inquiry identification information of pre-stored and the corresponding relation of uploading data priority, obtain the priority of uploading data; According to the priority of uploading data, uploading data is carried out classification with the form of queue and stores; According to the length of each queue storing uploading data, control WIFI module remain on ap mode under or be switched in STA mode.Reasonably can control the mode of operation of WIFI module according to the length of each queue of the uploading data of the different priorities stored, improve the upper transfer efficiency of data.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the flow chart of the operating mode control method embodiment one of the built-in WIFI module of the present invention;
Fig. 2 is the flow chart of the operating mode control method embodiment two of the built-in WIFI module of the present invention;
Fig. 3 is the structural representation of the mode of operation control device embodiment one of the built-in WIFI module of the present invention;
Fig. 4 is the structural representation of the mode of operation control device embodiment two of the built-in WIFI module of the present invention.
Embodiment
For making the object of the embodiment of the present invention, technical scheme and advantage clearly, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
Fig. 1 is the flow chart of the operating mode control method embodiment one of the built-in WIFI module of the present invention, as shown in Figure 1, executive agent in the present embodiment is the gateway device being built-in with WIFI module, also built-in wide area network access module in this gateway device, when gateway device controls under built-in WIFI module is in AP mode of operation, this gateway device carries out local interconnection by WIFI module and multiple wearable device, now the WIFI module of multiple wearable device is in STA mode, when gateway device control built-in WIFI module be in STA mode of operation time, this gateway device is connected with the webserver, upload the data in the webserver.The operating mode control method of the built-in WIFI module that the present embodiment provides comprises:
Step 101, receives the data upload requests that wearable device sends, carries the identification information of wearable device in data upload requests.
In the present embodiment, gateway device and multiple wearable device belong to same user, and gateway device upload the data in the corresponding webserver for multiple wearable devices of same user.
In the present embodiment, the initial condition of the built-in WIFI module of gateway device is in AP mode of operation, and the WIFI module in multiple wearable device is in STA mode of operation, and gateway device carries out local interconnection by WIFI module and multiple wearable device.
In the present embodiment, when wearable device needs the webserver uploading data to correspondence, send data upload requests to gateway device.Gateway device receives the data upload requests that wearable device sends, and carries the identification information of wearable device in data upload requests.
Wherein, the wearable device in the present embodiment is the wearable device performing single business, as being heartbeat detection instrument, position detector, respiration monitor, pedometer, intelligent watch etc.
In the present embodiment, the identification information of wearable device can be the identify label number of wearable device.
Step 102, according to identification information, the inquiry identification information of pre-stored and the corresponding relation of uploading data priority, obtain the priority of uploading data.
In the present embodiment, because wearable device carries out single business, so the identification information of each wearable device and the classification of uploading data are unified, so the corresponding relation of the identification information of wearable device and uploading data priority is carried out pre-stored.
According to identification information, the inquiry identification information of pre-stored and the corresponding relation of uploading data priority, obtain the priority of uploading data.
In the present embodiment, the priority of uploading data can be divided into multiple rank, and the business that wearable device carries out is more urgent, and the rank of the priority of corresponding uploading data is higher.
Be illustrated as: multiple wearable device is respectively: heartbeat inspecting instrument, pedometer, intelligent watch.Because heartbeat inspecting instrument needs the heartbeat data of user to be uploaded to the corresponding webserver, monitor according to the heart beat status of heartbeat data to user to make the corresponding webserver, it is related to the life of user, so the priority of this uploading data is high isopreference level, and pedometer needs the step count data of user being run or walking to upload to the corresponding webserver, monitor according to the motion of step count data to user to make the corresponding webserver, it is the behavior of a kind of supervisory user motion, so the uploading data of contrast health monitoring class, the priority of this step count data is high medium priority, and the data that intelligent watch is uploaded are data of amusement class, the priority of this uploading data monitors the uploading data of class and motion monitoring class compared to health, the priority of this uploading data is low isopreference level.
In the present embodiment, do not limit the rank number of the priority of uploading data, the classification of its wearable device that can have according to user limits, as being the priority of three ranks or the priority etc. of five ranks.
Step 103, according to the priority of uploading data, carries out classification by uploading data with the form of queue and stores.
In the present embodiment, uploading data is stored in gateway device with the form of queue, and is stored in a queue for the uploading data of each priority.If the priority of uploading data is three, the uploading data of these three kinds of priority is stored in three queues respectively.
Step 104, according to the length of each queue storing uploading data, control WIFI module remain on ap mode under or be switched in STA mode.
In the present embodiment, because the priority of uploading data stored in each queue is different, so for the length of each queue storing uploading data, control WIFI module remain on ap mode under or be switched in STA mode.If under control WIFI module remains on ap mode, then this gateway device continues to carry out local interconnection with wearable device, the data uploaded by wearable device are carried out classification and are stored, if controlling WIFI module is switched in STA mode, then gateway device disconnects the local interconnection with multiple wearable device, and connect with the corresponding webserver, the uploading data of storage is transferred in corresponding server.
In the present embodiment, when gateway device connects with the corresponding webserver, the network carrying out 3G/4G by wide area network access module and the webserver is connected, also available WIFI whether is covered around by detecting, carry out wireless connections with surrounding devices, and data are transferred in the webserver in the mode of wireless network.In the present embodiment, this is not limited.
The operating mode control method of the built-in WIFI module that the present embodiment provides, by receiving the data upload requests that wearable device sends, carries the identification information of wearable device in data upload requests; According to identification information, the inquiry identification information of pre-stored and the corresponding relation of uploading data priority, obtain the priority of uploading data; According to the priority of uploading data, uploading data is carried out classification with the form of queue and stores; According to the length of each queue of storage uploading data, control WIFI module remain on ap mode under or be switched in STA mode, reasonably can control the mode of operation of WIFI module according to the length of each queue of the uploading data of the different priorities stored, improve the upper transfer efficiency of data.
Fig. 2 is the flow chart of the operating mode control method embodiment two of the built-in WIFI module of the present invention, and as shown in Figure 2, the executive agent in the present embodiment is the gateway device being built-in with WIFI module, also built-in wide area network access module in this gateway device.The operating mode control method of built-in WIFI module that then the present embodiment provides comprises:
Step 201, receives the data upload requests that wearable device sends, carries the identification information of wearable device in data upload requests.
Step 201 in the present embodiment is identical with the step 101 in the operating mode control method embodiment one of the built-in WIFI module of the present invention, and this is no longer going to repeat them.
Step 202, according to identification information, the inquiry identification information of pre-stored and the corresponding relation of uploading data priority, obtain the priority of uploading data.
Further, in the present embodiment, the priority of uploading data is divided into three priority, wherein, if wearable device is health monitoring kind equipment, then the uploading data of corresponding health monitoring class is the first priority, if wearable device is motion monitoring kind equipment, the uploading data of then corresponding motion monitoring class is the second priority, if wearable device is amusement kind equipment, then the uploading data of corresponding amusement class is the 3rd priority.
In the present embodiment, the identification information of pre-stored and the corresponding relation of uploading data priority can be many-to-one relation, and namely the mark of the wearable device of health monitoring class is different, but the priority of the uploading data of correspondence can be identical.As for same user, the wearable device of health monitoring class has heartbeat monitor, position monitor, then heartbeat inspecting instrument is all corresponding with the first priority of uploading data with the identification information of position monitor.
Wherein, the first priority is limit priority, and the 3rd priority is lowest priority.
Step 203, according to the priority of uploading data, carries out classification by uploading data with the form of queue and stores.
Further, in the present embodiment, correspondingly, the uploading data of the first priority is stored in the first queue, and the uploading data of the second priority is stored in the second queue, and the uploading data of the 3rd priority is stored in the 3rd queue.
Whether step 204, according to the length of each queue of storage uploading data, control WIFI module and remain in ap mode, if so, then perform step 205, if not, then perform step 209.
Particularly, in the present embodiment, whether the length according to the first queue storing uploading data is less than the first length threshold, whether the length storing the second queue of uploading data is less than the second length threshold, whether the length of the 3rd queue storing uploading data is less than the 3rd length threshold, controls under whether WIFI module remain on ap mode.
Further, in the present embodiment, if the length of the first queue storing uploading data is less than the first length threshold and the length storing the second queue of uploading data is less than the second length threshold and the length storing the 3rd queue of uploading data is less than the 3rd length threshold, then control under WIFI module remains on ap mode; If the length that the length of the second queue that the length of the first queue storing uploading data is not less than the first length threshold and/or stores uploading data is not less than the second length threshold and/or the 3rd queue that stores uploading data is not less than the 3rd length threshold, then controls WIFI module and no longer to remain under ap mode but to be switched in STA mode.
Wherein, the first length threshold is less than the second length threshold, and the second length threshold is less than the 3rd length threshold.
In the present embodiment, the uploading data stored due to the first queue is the uploading data that health monitors class, the uploading data that second queue stores is the uploading data of motion monitoring class, the uploading data that 3rd queue stores is the uploading data of amusement class, so according to the priority of uploading data, when the uploading data of health monitoring class stores little, will upload in the webserver, when the uploading data of motion monitoring class stores suitable, just need to upload to the webserver, when the uploading data of amusement class stores a lot, just need to upload in the webserver.So in the present embodiment, the first length threshold is less than the second length threshold, and the second length threshold is less than the 3rd length threshold.
Step 205, periodically controls WIFI module and is switched in STA mode, detect and whether cover the wireless network corresponding with the WIFI account of pre-stored around, if so, then perform step 206, if not, then perform step 208.
Particularly, in the present embodiment, owing to controlling under WIFI module remains on ap mode, gateway device can not detect whether cover the wireless network corresponding with the WIFI account of pre-stored around, so, in the present embodiment, when gateway device control WIFI module remains under ap mode, periodically controlling WIFI module is switched in STA mode, whether to cover the wireless network corresponding with the WIFI account of pre-stored to surrounding detects.
In the present embodiment, can preset sense cycle, as being a few minutes or tens minutes etc.Do not limit in this present embodiment.
Step 206, adopts wireless network to be transferred to by uploading data in the corresponding webserver.
In the present embodiment, if in the first queue, the second queue, has the data needing to upload, then, when will preferentially ensure that the first queue is successfully uploaded, carries out uploading of the data stored in the second queue and the 3rd queue in the 3rd queue.
Step 207, judges whether the time that WIFI module is switched in STA mode is less than Preset Time, if so, then performs step 206, if not, then performs step 208.
In the present embodiment, under ensureing that the most of the time of WIFI module is in ap mode, then judge whether the time that WIFI module is switched in STA mode is less than Preset Time.
Wherein, Preset Time presets, and as being 5 minutes, 10 minutes etc., also can being the numerical value in other zone of reasonableness, not limiting in this present embodiment.
If whether the time that control WIFI module is switched in STA mode is less than Preset Time, then continue to adopt wireless network to be transferred to by uploading data in the corresponding webserver.
In the present embodiment, term of execution step 206 adopts wireless network that uploading data is transferred to the corresponding webserver, step 207 can be performed and judges whether the time that WIFI module is switched in STA mode is less than Preset Time.
Step 208, controls WIFI module and is switched in ap mode, perform step 201.
In the present embodiment, if the time that control WIFI module is switched in STA mode is not less than Preset Time, then whether the uploading data of all storages is all uploaded in corresponding network server, all will stop uploading of uploading data, controlled WIFI module and be switched in ap mode.
Step 209, controls WIFI module and is switched in STA mode, is transferred to by uploading data in the corresponding webserver, performs step 207.
In the present embodiment, if the length that the length of the second queue that the length of the first queue storing uploading data is not less than the first length threshold and/or stores uploading data is not less than the second length threshold and/or the 3rd queue that stores uploading data is not less than the 3rd length threshold, then controlling WIFI module is switched in STA mode, be switched to after in STA mode, detect and whether cover the wireless network corresponding with the WIFI account of pre-stored around, if the wireless network that covering is corresponding with the WIFI account of pre-stored detected around, wireless network is then adopted to be transferred to by described uploading data in the corresponding webserver, if there is not the wireless network corresponding with the WIFI account of pre-stored, then adopt 3G/4G network, by wide area network access module, uploading data is transferred in the corresponding webserver.Step 207 is performed in process uploading data being transferred to the corresponding webserver.
The operating mode control method of the built-in WIFI module that the present embodiment provides, whether the length according to the first queue storing uploading data is less than the first length threshold, whether the length storing the second queue of uploading data is less than the second length threshold, whether the length storing the 3rd queue of uploading data is less than the 3rd length threshold, control under whether WIFI module remain on ap mode, whether promptly can control the operating state of WIFI module according to uploading data.And time under WIFI module remains on ap mode, periodically control WIFI module and be switched in STA mode, detect and whether cover the wireless network corresponding with the WIFI account of pre-stored around; If detect and be coated with the wireless network corresponding with the WIFI account of pre-stored around, wireless network is then adopted to be transferred to by uploading data in the corresponding webserver, the uploading data of storage can be made to upload in the webserver under wireless network environment, and no longer adopt 3G/4G network uploading data, save the flow of user.And control under WIFI module is in STA mode in Preset Time, control WIFI module under the most of the time is in ap mode, the wearable device facilitating user carries out the transmission of data to gateway device.
Fig. 3 is the structural representation of the mode of operation control device embodiment one of the built-in WIFI module of the present invention, this application of installation carries out transfer of data between multiple wearable device and the corresponding webserver, this device is arranged in gateway device, in gateway device, wide area network access module is also installed, as shown in Figure 3, the mode of operation control device of the built-in WIFI module that the present embodiment provides comprises: receiver module 301, enquiry module 302, memory module 303 and control module 304.
Wherein, receiver module 301, for receiving the data upload requests that wearable device sends, carries the identification information of wearable device in data upload requests.Enquiry module 302, for according to identification information, inquires about the identification information of pre-stored and the corresponding relation of uploading data priority, obtains the priority of uploading data.Memory module 303, for the priority according to uploading data, carries out classification by uploading data with the form of queue and stores.Control module 304, for according to the length of each queue storing uploading data, control WIFI module remain on ap mode under or be switched in STA mode.
The device of the present embodiment can perform the technical scheme of embodiment of the method shown in Fig. 1, and it realizes principle and technique effect is similar, repeats no more herein.
Fig. 4 is the structural representation of the mode of operation control device embodiment two of the built-in WIFI module of the present invention; As shown in Figure 4, the mode of operation control device of this built-in WIFI module comprises: receiver module 401, enquiry module 402, memory module 403, control module 404, detection module 405 and transport module 406.
Wherein, receiver module 401, for receiving the data upload requests that wearable device sends, carries the identification information of wearable device in data upload requests.Enquiry module 402, for according to identification information, inquires about the identification information of pre-stored and the corresponding relation of uploading data priority, obtains the priority of uploading data.Memory module 403, for the priority according to uploading data, carries out classification by uploading data with the form of queue and stores.Control module 404, for according to the length of each queue storing uploading data, control WIFI module remain on ap mode under or be switched in STA mode.
Further, control module 404, also for: according to the length of each queue storing uploading data, under control WIFI module remains on ap mode or after being switched in STA mode, if the length of each queue according to storage uploading data, controlling WIFI module is switched in STA mode, then in Preset Time, control WIFI module switch back in ap mode.
Further, control module 404 specifically for: if the length of the first queue storing uploading data is less than the first length threshold and the length storing the second queue of uploading data is less than the second length threshold and the length storing the 3rd queue of uploading data is less than the 3rd length threshold, then control under WIFI module remains on ap mode; If the length that the length of the second queue that the length of the first queue storing uploading data is not less than the first length threshold and/or stores uploading data is not less than the second length threshold and/or the 3rd queue that stores uploading data is not less than the 3rd length threshold, then controls WIFI module and be switched in STA mode;
Wherein, the first length threshold is less than the second length threshold, and the second length threshold is less than the 3rd length threshold.
Preferably, control module 404, if also for the length of each queue according to storage uploading data, under control WIFI module remains on ap mode, then periodically controls WIFI module and is switched in STA mode.Whether detection module 405, cover the wireless network corresponding with the WIFI account of pre-stored around for detecting.Transport module 406, is coated with the wireless network corresponding with the WIFI account of pre-stored around if detect for detection module, then adopts wireless network to be transferred to by uploading data in the corresponding webserver.
Further, the uploading data of health monitoring class is the first priority, and the uploading data of motion monitoring class is the second priority, and the uploading data of amusement class is the 3rd priority.
The mode of operation control device of the built-in WIFI module that the present embodiment provides can perform the technical scheme of embodiment of the method shown in Fig. 2, and it realizes principle and technique effect is similar, repeats no more herein.
One of ordinary skill in the art will appreciate that: all or part of step realizing above-mentioned each embodiment of the method can have been come by the hardware that program command is relevant.Aforesaid program can be stored in a computer read/write memory medium.This program, when performing, performs the step comprising above-mentioned each embodiment of the method; And aforesaid storage medium comprises: ROM, RAM, magnetic disc or CD etc. various can be program code stored medium.
Last it is noted that above each embodiment is only in order to illustrate technical scheme of the present invention, be not intended to limit; Although with reference to foregoing embodiments to invention has been detailed description, those of ordinary skill in the art is to be understood that: it still can be modified to the technical scheme described in foregoing embodiments, or carries out equivalent replacement to wherein some or all of technical characteristic; And these amendments or replacement, do not make the essence of appropriate technical solution depart from the scope of various embodiments of the present invention technical scheme.

Claims (10)

1. an operating mode control method for built-in WIFI module, is characterized in that, comprising:
Receive the data upload requests that wearable device sends, in described data upload requests, carry the identification information of wearable device;
According to described identification information, the inquiry identification information of pre-stored and the corresponding relation of uploading data priority, obtain the priority of uploading data;
According to the priority of described uploading data, described uploading data is carried out classification with the form of queue and stores;
According to the length of each queue storing uploading data, control WIFI module remain on ap mode under or be switched in STA mode.
2. method according to claim 1, is characterized in that, the length of described each queue according to storage uploading data, under control WIFI module remains on ap mode or after being switched in STA mode, also comprises:
If the length of each queue according to storage uploading data, control WIFI module and be switched in STA mode, then in Preset Time, control WIFI module switch back in ap mode.
3. method according to claim 2, is characterized in that, the described length of each queue according to storing uploading data, control WIFI module remain on ap mode under or be switched in STA mode and specifically comprise:
If the length of the first queue storing uploading data is less than the first length threshold and the length storing the second queue of uploading data is less than the second length threshold and the length storing the 3rd queue of uploading data is less than the 3rd length threshold, then control under WIFI module remains on ap mode;
If the length that the length of the second queue that the length of the first queue storing uploading data is not less than the first length threshold and/or stores uploading data is not less than the second length threshold and/or the 3rd queue that stores uploading data is not less than the 3rd length threshold, then controls WIFI module and be switched in STA mode;
Wherein, described first length threshold is less than described second length threshold, and described second length threshold is less than the 3rd length threshold.
4. method according to claim 1, is characterized in that, if the length of each queue according to storage uploading data, under control WIFI module remains on ap mode, then also comprises:
Periodically controlling WIFI module is switched in STA mode, detects and whether covers the wireless network corresponding with the WIFI account of pre-stored around;
If detect and be coated with the wireless network corresponding with the WIFI account of pre-stored around, then wireless network is adopted to be transferred to by described uploading data in the corresponding webserver.
5. the method according to any one of claim 1-4, is characterized in that, the uploading data of health monitoring class is the first priority, and the uploading data of motion monitoring class is the second priority, and the uploading data of amusement class is the 3rd priority.
6. a mode of operation control device for built-in WIFI module, is characterized in that, comprising:
Receiver module, for receiving the data upload requests that wearable device sends, carries the identification information of wearable device in described data upload requests;
Enquiry module, for according to described identification information, inquires about the identification information of pre-stored and the corresponding relation of uploading data priority, obtains the priority of uploading data;
Memory module, for the priority according to described uploading data, carries out classification by described uploading data with the form of queue and stores;
Control module, for according to the length of each queue storing uploading data, control WIFI module remain on ap mode under or be switched in STA mode.
7. device according to claim 6, it is characterized in that, described control module, also for: according to the length of each queue storing uploading data, under control WIFI module remains on ap mode or after being switched in STA mode, if the length of each queue according to storage uploading data, control WIFI module and be switched in STA mode, then in Preset Time, control WIFI module switch back in ap mode.
8. device according to claim 7, is characterized in that, described control module specifically for:
If the length of the first queue storing uploading data is less than the first length threshold and the length storing the second queue of uploading data is less than the second length threshold and the length storing the 3rd queue of uploading data is less than the 3rd length threshold, then control under WIFI module remains on ap mode;
If the length that the length of the second queue that the length of the first queue storing uploading data is not less than the first length threshold and/or stores uploading data is not less than the second length threshold and/or the 3rd queue that stores uploading data is not less than the 3rd length threshold, then controls WIFI module and be switched in STA mode;
Wherein, described first length threshold is less than described second length threshold, and described second length threshold is less than the 3rd length threshold.
9. device according to claim 6, is characterized in that, also comprises: detection module and transport module;
Described control module, if also for the length of each queue according to storage uploading data, under control WIFI module remains on ap mode, then periodically controls WIFI module and is switched in STA mode;
Whether described detection module, cover the wireless network corresponding with the WIFI account of pre-stored around for detecting;
Transport module, is coated with the wireless network corresponding with the WIFI account of pre-stored around if detect for detection module, then adopts wireless network to be transferred to by described uploading data in the corresponding webserver.
10. the device according to any one of claim 6-9, is characterized in that, the uploading data of health monitoring class is the first priority, and the uploading data of motion monitoring class is the second priority, and the uploading data of amusement class is the 3rd priority.
CN201510563323.6A 2015-09-07 2015-09-07 The operating mode control method and device of built-in WIFI module Active CN105119844B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510563323.6A CN105119844B (en) 2015-09-07 2015-09-07 The operating mode control method and device of built-in WIFI module

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510563323.6A CN105119844B (en) 2015-09-07 2015-09-07 The operating mode control method and device of built-in WIFI module

Publications (2)

Publication Number Publication Date
CN105119844A true CN105119844A (en) 2015-12-02
CN105119844B CN105119844B (en) 2018-09-14

Family

ID=54667739

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510563323.6A Active CN105119844B (en) 2015-09-07 2015-09-07 The operating mode control method and device of built-in WIFI module

Country Status (1)

Country Link
CN (1) CN105119844B (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105721907A (en) * 2016-02-03 2016-06-29 杨斌 Media player system and control method of media player
CN105722121A (en) * 2016-03-30 2016-06-29 中国联合网络通信集团有限公司 Gateway working mode switching method and device, gateway and wearable device
CN106789279A (en) * 2016-12-26 2017-05-31 新奥科技发展有限公司 A kind of control method of gateway, the control method and device of remote control terminal
CN106899995A (en) * 2017-03-13 2017-06-27 宇龙计算机通信科技(深圳)有限公司 The access method and device of data
CN107529125A (en) * 2016-06-20 2017-12-29 佛山市顺德区美的电热电器制造有限公司 Equipment communication method and communicator
WO2018001111A1 (en) * 2016-06-28 2018-01-04 华为技术有限公司 Data transmission method and device
CN108737195A (en) * 2018-06-11 2018-11-02 深圳云博科创实业有限公司 A kind of system and method that WI-FI modules are configured by browser
CN113037846A (en) * 2021-03-17 2021-06-25 成都新希望金融信息有限公司 Data reporting method and device, electronic equipment and computer readable storage medium
WO2022062978A1 (en) * 2020-09-27 2022-03-31 华为技术有限公司 Data processing method and electronic device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102917406A (en) * 2012-08-02 2013-02-06 华为技术有限公司 Data flow shunting method and equipment
CN103517348A (en) * 2013-10-09 2014-01-15 中国联合网络通信集团有限公司 Data transmission method and gateway based on data priority
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)
CN103987042A (en) * 2014-05-08 2014-08-13 中国联合网络通信集团有限公司 Access authentication method of terminals and access gateway

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102917406A (en) * 2012-08-02 2013-02-06 华为技术有限公司 Data flow shunting method and equipment
CN103517348A (en) * 2013-10-09 2014-01-15 中国联合网络通信集团有限公司 Data transmission method and gateway based on data priority
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)
CN103987042A (en) * 2014-05-08 2014-08-13 中国联合网络通信集团有限公司 Access authentication method of terminals and access gateway

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
唐鼎,秦小伟: "物联网应用化智能网关技术", 《信息通信技术》 *

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105721907A (en) * 2016-02-03 2016-06-29 杨斌 Media player system and control method of media player
CN105722121A (en) * 2016-03-30 2016-06-29 中国联合网络通信集团有限公司 Gateway working mode switching method and device, gateway and wearable device
CN105722121B (en) * 2016-03-30 2019-03-22 中国联合网络通信集团有限公司 Gateway Working mode switching method and device, gateway, wearable device
CN107529125B (en) * 2016-06-20 2021-05-25 佛山市顺德区美的电热电器制造有限公司 Bluetooth device communication method and communication device
CN107529125A (en) * 2016-06-20 2017-12-29 佛山市顺德区美的电热电器制造有限公司 Equipment communication method and communicator
WO2018001111A1 (en) * 2016-06-28 2018-01-04 华为技术有限公司 Data transmission method and device
CN106789279B (en) * 2016-12-26 2020-08-14 新奥科技发展有限公司 Gateway control method, remote control end control method and device
CN106789279A (en) * 2016-12-26 2017-05-31 新奥科技发展有限公司 A kind of control method of gateway, the control method and device of remote control terminal
CN106899995B (en) * 2017-03-13 2020-12-22 宇龙计算机通信科技(深圳)有限公司 Data access method and device
CN106899995A (en) * 2017-03-13 2017-06-27 宇龙计算机通信科技(深圳)有限公司 The access method and device of data
CN108737195A (en) * 2018-06-11 2018-11-02 深圳云博科创实业有限公司 A kind of system and method that WI-FI modules are configured by browser
WO2022062978A1 (en) * 2020-09-27 2022-03-31 华为技术有限公司 Data processing method and electronic device
CN114362878A (en) * 2020-09-27 2022-04-15 华为技术有限公司 Data processing method and electronic equipment
CN114362878B (en) * 2020-09-27 2024-04-09 华为技术有限公司 Data processing method and electronic equipment
CN113037846A (en) * 2021-03-17 2021-06-25 成都新希望金融信息有限公司 Data reporting method and device, electronic equipment and computer readable storage medium

Also Published As

Publication number Publication date
CN105119844B (en) 2018-09-14

Similar Documents

Publication Publication Date Title
CN105119844A (en) Method and device for controlling working mode of built-in WIFI module
US10887247B2 (en) Dynamic resource allocation for sensor devices on a cellular network
US20180025299A1 (en) Automated data center maintenance
US11586256B2 (en) Server rack for improved data center management
CN102959502B (en) The method that asynchronous event notification is provided in systems
CA2723908C (en) Methods to optimally allocate the computing server load based on the suitability of environmental conditions
US20170082498A1 (en) Remote monitoring system
CN107005796B (en) Mobile terminal and method for determining whether to perform task of electronic device
CN107942958B (en) A kind of industrial control system and method for internet of things oriented
CN105144118A (en) Application testing and analysis
US20170187588A1 (en) Selective measurement reporting from internet of things devices
CN102692985B (en) The steady band external power control method of telemanagement formula computer system and system
US20110251966A1 (en) Source Aware Data Center Power Profiles
CN104813736A (en) Situation aware sensor power management
CN102497292A (en) Method and system for monitoring computer cluster
KR20110021847A (en) Arrangement for operating a data center using building automation system interface
CN209801714U (en) Air conditioner fault detection system
EP2775740B1 (en) Network system, node device group, sensor device group, and method for transmitting and receiving sensor data
EP3065469B1 (en) Peer-to-peer network connectivity in a mobile environment
CN110671802A (en) Device, method and system for controlling air conditioner, storage medium and processor
US20140129863A1 (en) Server, power management system, power management method, and program
JP2021009604A5 (en)
KR20180002442A (en) Apparatus for transmitting of data and method determining data transmission period using the same
KR20210010384A (en) Methods and systems for management of shared network slice instance (nsi) in a wireless network
CN106209946A (en) The propelling movement of object job information, acquisition methods and system

Legal Events

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