CN105487923A - Method and device for controlling working mode - Google Patents

Method and device for controlling working mode Download PDF

Info

Publication number
CN105487923A
CN105487923A CN201510844793.XA CN201510844793A CN105487923A CN 105487923 A CN105487923 A CN 105487923A CN 201510844793 A CN201510844793 A CN 201510844793A CN 105487923 A CN105487923 A CN 105487923A
Authority
CN
China
Prior art keywords
mode
flow range
traffic information
flow
time period
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201510844793.XA
Other languages
Chinese (zh)
Inventor
陈勇
张鹏飞
刘铁俊
董玉泉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Technology Co Ltd
Xiaomi Inc
Original Assignee
Xiaomi Inc
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 Xiaomi Inc filed Critical Xiaomi Inc
Priority to CN201510844793.XA priority Critical patent/CN105487923A/en
Publication of CN105487923A publication Critical patent/CN105487923A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching
    • G06F9/4843Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system

Abstract

The invention relates to a method and a device for controlling a working mode, and is used for realizing the working mode capable of more accurately controlling equipment. The method comprises the following steps: obtaining current network traffic information; determining the working mode corresponding to the obtained current network traffic information; and sending a control instruction to preset intelligent equipment, wherein the control instruction comprises an identifier of the determined working mode and indicates the intelligent equipment to switch to the determined working mode.

Description

Control method and the device of mode of operation
Technical field
The disclosure relates to communication and computer disposal field, particularly relates to the method and device that control mode of operation.
Background technology
Along with the development of electronic technology, the electronic equipments such as mobile phone, TV, air-conditioning, refrigerator, air purifier emerge in an endless stream.The equipment such as air-conditioning and air purifier, has sleep pattern usually, facilitates for user provides better service after user is sleeping, and minimizing is disturbed user.
Summary of the invention
For overcoming Problems existing in correlation technique, the disclosure provides a kind of method and the device that control mode of operation.
According to the first aspect of disclosure embodiment, a kind of method controlling mode of operation is provided, comprises:
Obtain current network traffic information;
Determine the mode of operation that the described network traffic information of acquisition is corresponding;
To the smart machine sending controling instruction preset, described steering order comprises the mark of the described mode of operation determined, the described mode of operation indicating described smart machine to be switched to determine.
The technical scheme that embodiment of the present disclosure provides can comprise following beneficial effect: the present embodiment controls the mode of operation of smart machine according to the size of network traffics, provides a kind of control mode of brand-new mode of operation.To the control of mode of operation, provide a kind of new reference factor.
In one embodiment, described network traffic information comprises network flow value;
The mode of operation that the described described network traffic information determining to obtain is corresponding, comprising:
Determine the flow range belonging to described network flow value obtained;
Determine the mode of operation that affiliated flow range is corresponding.
The technical scheme that embodiment of the present disclosure provides can comprise following beneficial effect: the flow range determination mode of operation of the present embodiment belonging to network flow value, the corresponding relation of simplified network flow information and mode of operation, implementation procedure efficiency is higher.
In one embodiment, described method also comprises:
Determine the time period belonging to current time;
Describedly determine the mode of operation that affiliated flow range is corresponding, comprising:
Determine affiliated time period and mode of operation corresponding to flow range.
The technical scheme that embodiment of the present disclosure provides can comprise following beneficial effect: current time is combined with network traffics by the present embodiment, the mode of operation of co-controlling smart machine, and it is more accurate to make the control of mode of operation.
In one embodiment, the described time period is the time period of default configuration, or the time period pre-set for user.
The technical scheme that embodiment of the present disclosure provides can comprise following beneficial effect: in the present embodiment, the time period can be configured by system default, is also arranged voluntarily by user.Be accustomed to according to work and rest that is local and individual and determine.
In one embodiment, described method also comprises:
Determine that the described network flow value obtained continues to belong to the duration of described flow range;
Judge whether the duration continuing to belong to described flow range reaches default duration threshold value;
Describedly determine the mode of operation that affiliated flow range is corresponding, comprising:
When the duration continuing to belong to described flow range reaches default duration threshold value, determine the mode of operation that affiliated flow range is corresponding.
The technical scheme that embodiment of the present disclosure provides can comprise following beneficial effect: by duration threshold value, the present embodiment determines that network traffic information is stabilized in certain flow range, thus control mode of operation more accurately, reduce the impact of network traffics fluctuation on mode of operation.
In one embodiment, the network traffic information that described acquisition is current, comprising:
Periodic access router interface, obtains current network traffic information.
The technical scheme that embodiment of the present disclosure provides can comprise following beneficial effect: in the present embodiment, router provides access interface, and the terminal controlling smart machine can obtain network traffic information by this router interface of access.
According to the second aspect of disclosure embodiment, a kind of device controlling mode of operation is provided, comprises:
Flow acquisition module, for obtaining current network traffic information;
Determination module, for determining the mode of operation that the described network traffic information of acquisition is corresponding;
Sending module, for the smart machine sending controling instruction preset, described steering order comprises the mark of the described mode of operation determined, the described mode of operation indicating described smart machine to be switched to determine.
In one embodiment, described network traffic information comprises network flow value;
Described determination module comprises:
Flow submodule, for determine obtain described network flow value belonging to flow range;
Pattern submodule, for determining the mode of operation that affiliated flow range is corresponding.
In one embodiment, described device also comprises:
Time period module, for determining the time period belonging to current time;
Described pattern submodule determines affiliated time period and mode of operation corresponding to flow range.
In one embodiment, the described time period is the time period of default configuration, or the time period pre-set for user.
In one embodiment, described device also comprises:
Duration module, for determining that the described network flow value obtained continues to belong to the duration of described flow range;
Judge module, for judging the duration the threshold value whether duration continuing to belong to described flow range reaches default;
Described pattern submodule, when the duration continuing to belong to described flow range reaches default duration threshold value, determines the mode of operation that affiliated flow range is corresponding.
In one embodiment, described flow acquisition module comprises:
Flow obtains submodule, for periodic access router interface, obtains current network traffic information.
According to the third aspect of disclosure embodiment, a kind of device controlling mode of operation is provided, comprises:
Processor;
For the storer of storage of processor executable instruction;
Wherein, described processor is configured to:
Obtain current network traffic information;
Determine the mode of operation that the described network traffic information of acquisition is corresponding;
To the smart machine sending controling instruction preset, described steering order comprises the mark of the described mode of operation determined, the described mode of operation indicating described smart machine to be switched to determine.
Should be understood that, it is only exemplary and explanatory that above general description and details hereinafter describe, and can not limit the disclosure.
Accompanying drawing explanation
Accompanying drawing to be herein merged in instructions and to form the part of this instructions, shows and meets embodiment of the present disclosure, and is used from instructions one and explains principle of the present disclosure.
Fig. 1 is a kind of process flow diagram controlling the method for mode of operation according to an exemplary embodiment.
Fig. 2 is a kind of process flow diagram controlling the method for mode of operation according to an exemplary embodiment.
Fig. 3 is a kind of process flow diagram controlling the method for mode of operation according to an exemplary embodiment.
Fig. 4 is a kind of block diagram controlling the device of mode of operation according to an exemplary embodiment.
Fig. 5 is the block diagram of a kind of determination module according to an exemplary embodiment.
Fig. 6 is a kind of block diagram controlling the device of mode of operation according to an exemplary embodiment.
Fig. 7 is a kind of block diagram controlling the device of mode of operation according to an exemplary embodiment.
Fig. 8 is the block diagram of a kind of flow acquisition module according to an exemplary embodiment.
Fig. 9 is the block diagram of a kind of device according to an exemplary embodiment.
Figure 10 is the block diagram of a kind of device according to an exemplary embodiment.
Embodiment
Here will be described exemplary embodiment in detail, its sample table shows in the accompanying drawings.When description below relates to accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawing represents same or analogous key element.Embodiment described in following exemplary embodiment does not represent all embodiments consistent with the disclosure.On the contrary, they only with as in appended claims describe in detail, the example of apparatus and method that aspects more of the present disclosure are consistent.
In correlation technique, smart machine can have the air-conditioning, air purifier, humidifier, TV etc. of wireless communication function.Smart machine can have multiple-working mode, as mode standard, sleep pattern, enhancement mode etc.User can select the mode of operation of smart machine by the telepilot of smart machine.If smart machine is still operated in mode standard after user is sleeping, then causes the power consumption of smart machine higher, cause the wasting of resources.
Utilize the size of network traffics in home environment to reflect the state of user in the present embodiment, such as, if network traffics are large, then determine the in running order or amusement state of user, now can control smart machine and be operated in mode standard.If network traffics are little, then determine that user is in sleep state or stays out, now can control smart machine and be operated in sleep pattern.So the present embodiment controls the mode of operation of smart machine according to the size of network traffics, provide a kind of brand-new control mode.
Fig. 1 is a kind of process flow diagram controlling the method for mode of operation according to an exemplary embodiment, and as shown in Figure 1, the method can be realized by mobile terminal or router, comprises the following steps:
In a step 101, current network traffic information is obtained.
In a step 102, the mode of operation that the described network traffic information of acquisition is corresponding is determined.
In step 103, to the smart machine sending controling instruction preset, described steering order comprises the mark of the described mode of operation determined, the described mode of operation indicating described smart machine to be switched to determine.
The present embodiment controls the mode of operation of smart machine according to the size of network traffics, provides a kind of control mode of brand-new mode of operation.To the control of mode of operation, provide a kind of new reference factor.
In one embodiment, described network traffic information comprises network flow value.
Then step 102 can comprise: steps A 1 and steps A 2.
In steps A 1, determine the flow range belonging to described network flow value obtained;
In steps A 2, determine the mode of operation that affiliated flow range is corresponding.
In advance for network traffics configure multiple flow range in the present embodiment, set up the corresponding relation of each flow range and mode of operation.Each smart machine can have respective flow range and the corresponding relation of mode of operation.This corresponding relation can be joined and is shown in Table 1:
Table 1
Flow range Mode of operation
Flow range 1 Mode of operation 1
Flow range 2 Mode of operation 2
…… ……
Network traffic information in the present embodiment can be network flow value total in LAN (Local Area Network).
The present embodiment can have mobile terminal (as mobile phone) or router to realize.
When being realized by router, router obtains network flow value according to the interface between local and outer net, and this network flow value is total network flow value.And determine this flow range belonging to network flow value.Meanwhile, router can be known and locally-attached smart machine, comprises wired connection and wireless connections.If smart machine has multiple, then for each smart machine, according to should the table 1 of smart machine, determine the mode of operation that flow range is corresponding.Send control command respectively to each smart machine, this control command comprises the mark of the mode of operation of this smart machine.After smart machine receives this control command, be operated in the mode of operation that mark is corresponding.If each smart machine adopts identical table 1, then the process of router determination mode of operation can simplify.
When being realized by mobile terminal, mobile terminal obtains network traffic information from router, and this network traffic information is total network flow value.And determine this flow range belonging to network flow value.Mobile terminal can directly be connected with each smart machine, also can be connected with each smart machine by router.If be connected with each smart machine by router, then can obtain from router the smart machine list being in connection status, thus determine controllable smart machine.If smart machine has multiple, then for each smart machine, according to should the table 1 of smart machine, determine the mode of operation that flow range is corresponding.Send control command (can forward control command by router) respectively to each smart machine, this control command comprises the mark of the mode of operation of this smart machine.After smart machine receives this control command, be operated in the mode of operation that mark is corresponding.If each smart machine adopts identical table 1, then the process of mobile terminal determination mode of operation can simplify.Wherein, mobile terminal can be installed in advance the APP (application) of each smart machine, each APP obtains network traffic information respectively, and completes said process.An APP also can be installed on mobile terminals in advance unify to control each smart machine, and complete said process.
The present embodiment controls the mode of operation of smart machine according to the service condition of network traffics, provides a kind of new control mode, also provides a kind of new reference factor.Achieve the mode of operation controlling smart machine more accurately, reduce equipment power dissipation, simplify user operation simultaneously.
Such as, flow range comprises 0 ~ 200K (containing) and 200K (not containing) ~ 1M (maximum bandwidth of LAN (Local Area Network)) two flow range.If current network flow value belongs to flow range 0 ~ 200K (containing), then control smart machine and be operated in sleep pattern.If current network flow value belongs to flow range 200K (not containing) ~ 1M, then control smart machine and be operated in mode standard.
In one embodiment, before step 103 or steps A 2, described method also comprises: step B1.
In step bl is determined., the time period belonging to current time is determined.
Then steps A 2 can comprise step B2.
In step B2, determine affiliated time period and mode of operation corresponding to flow range.
Pre-configured time period in the present embodiment, corresponding relation between flow range and mode of operation three, this corresponding relation is as shown in table 2:
Table 2
Such as, the time period comprises 8 point (containing) ~ 20 points (not containing) and 20 two time periods of some point (containing) ~ next day 8 (not containing).Flow range comprises 0 ~ 200K (containing) and 200K (not containing) ~ 1M (maximum bandwidth of LAN (Local Area Network)) two flow range.If current time belongs to time period 8 point (containing) ~ 20 point (not containing), current network flow value belongs to flow range 0 ~ 200K (containing), then control smart machine and be operated in mode standard.If current network flow value belongs to flow range 200K (not containing) ~ 1M, then control smart machine and be operated in enhancement mode.If current time belongs to some time period 20 point (containing) ~ next day 8 (not containing), current network flow value belongs to flow range 0 ~ 200K (containing), then control smart machine and be operated in sleep pattern.If current network flow value belongs to flow range 200K (not containing) ~ 1M, then control smart machine and be operated in mode standard.
The present embodiment determines the mode of operation of smart machine jointly in conjunction with current time and network flow value, makes to control more accurately, to simplify user operation, better user experience.
In one embodiment, the described time period is the time period of default configuration, or the time period pre-set for user.In the present embodiment, the time period can be configured by system default, is also arranged voluntarily by user.Be accustomed to according to work and rest that is local and individual and determine.
In one embodiment, time period belonging to described is night, as 8 point (containing) ~ 20 points (not containing), when affiliated flow range is minimum flow scope (as 0 ~ 200K (containing)), corresponding mode of operation is sleep pattern.
In one embodiment, before step 103 or steps A 2, described method also comprises: step C1 and step C2.
In step C1, determine that the described network flow value obtained continues to belong to the duration of described flow range.
In step C2, judge whether the duration continuing to belong to described flow range reaches default duration threshold value.
Then described steps A 2 comprises: step C3.
In step C3, when the duration continuing to belong to described flow range reaches default duration threshold value, determine the mode of operation that affiliated flow range is corresponding.
When the duration continuing to belong to described flow range does not reach default duration threshold value, then continue to obtain network traffic information, be equivalent to continue step 101.
Network traffic information is real-time change, exists and fluctuates up and down.Network flow value as current 1 moment belongs to flow range 1, and the network flow value in next moment belongs to flow range 2.Smart machine may be caused like this to change mode of operation frequently.Therefore, when the duration that in the present embodiment, network flow value continues to belong to a flow range reaches default duration threshold value, just smart machine switching working mode can be controlled.That is, under network traffic information is in a more stable state, just smart machine switching working mode can be controlled.
The mean value of network flow value in duration threshold range can also be determined in the present embodiment, determine the flow range that this mean value belongs to, and then determine mode of operation.So also can reduce the frequent switching of mode of operation.
In one embodiment, if the present embodiment is realized by mobile terminal, then step 101 comprises step D.In step D, periodic access router interface, obtains current network traffic information.
In the present embodiment, router provides API (ApplicationProgrammingInterface, application programming interface).Mobile terminal can obtain network traffic information by access API.Access cycle was as 5 seconds.This cycle is determined by actual needs.
The implementation procedure controlling mode of operation is introduced in detail below by several embodiment.
Fig. 2 is a kind of process flow diagram controlling the method for mode of operation according to an exemplary embodiment, and as shown in Figure 2, the method can be realized by router, comprises the following steps:
In step 201, current network flow value is obtained.
Such as, current network traffic information is 100K.
In step 202., the flow range belonging to described network flow value obtained is determined.
Such as, current network traffic information 100K belongs to flow range 0 ~ 200K.
In step 203, determine that the described network flow value obtained continues to belong to the duration of described flow range.
Such as, repeatedly repeat step 201 and 202, then repeatedly determine the flow range belonging to network flow value.Network traffic information as repeatedly obtained is respectively 50K, 60K, 55K, all belongs to flow range 0 ~ 200K.The duration continued is 15 seconds.
In step 204, judge whether the duration continuing to belong to described flow range reaches default duration threshold value.When the duration continuing to belong to described flow range reaches default duration threshold value, continue step 205.When the duration continuing to belong to described flow range does not reach default duration threshold value, continue step 201.
Such as, duration threshold value is 15 seconds.Continue above-mentioned example, in 15 seconds, network flow value continues to belong to same flow range 0 ~ 200K, then continue step 205.
And for example, repeatedly repeat step 201 and 202, then repeatedly determine the flow range belonging to network flow value.Network traffic information as repeatedly obtained is respectively 50K, 260K, 55K, and the flow range belonged to is 0 ~ 200K, 200K ~ 1M respectively, 0 ~ 200K.Do not continue to belong to same flow range in 15 seconds at duration, then continue step 201, again obtain network traffic information, temporarily do not carry out the switching of mode of operation.
In step 205, the time period belonging to current time is determined.
Such as, current time is point in evening 22, and the affiliated time period is point 20 points-next day 8.
In step 206, affiliated time period and mode of operation corresponding to flow range is determined.
Such as, according to the corresponding relation shown in table 2, flow range 0 ~ 200K and time period 20 points-next day 8 point, corresponding mode of operation is sleep pattern.
In step 207, to the smart machine sending controling instruction preset, described steering order comprises the mark of the described mode of operation determined, the described mode of operation indicating described smart machine to be switched to determine.
Such as, router sends the steering order comprising the mark of sleep pattern to smart machine.If router is connected to multiple smart machine, can send identical steering order to all smart machines connected, prerequisite is that all smart machines share same table 2.If multiple smart machine has respective table 2, then in step 206, router, for each smart machine, determines the mode of operation of each smart machine respectively, then distinguishes sending controling instruction.
Fig. 3 is a kind of process flow diagram controlling the method for mode of operation according to an exemplary embodiment, and as shown in Figure 3, the method can be realized by mobile terminal, comprises the following steps:
In step 301, periodic access router interface, obtains current network flow value.
Such as, the cycle is 5 seconds, and the current network traffic information of 3 cycle acquisitions is respectively 50K, 60K, 55K.
In step 302, the mean value of multiple network flow value in preset duration threshold range is determined.
Such as, continue example above, the mean value of network flow value is 55K.
In step 303, the flow range belonging to mean value of the described network flow value obtained is determined.
Such as, the mean value 55K of current network flow value belongs to flow range 0 ~ 200K.
In step 304, the time period belonging to current time is determined.
Such as, current time is point in evening 22, and the affiliated time period is point 20 points-next day 8.
In step 305, affiliated time period and mode of operation corresponding to flow range is determined.
Such as, according to the corresponding relation shown in table 2, flow range 0 ~ 200K and time period 20 points-next day 8 point, corresponding mode of operation is sleep pattern.
Within step 306, by router to the smart machine sending controling instruction preset, described steering order comprises the mark of the described mode of operation determined, the described mode of operation indicating described smart machine to be switched to determine.
Such as, sent the steering order comprising the mark of sleep pattern to smart machine by router.If be connected to multiple smart machine by router, can send identical steering order to all smart machines connected, prerequisite is that all smart machines share same table 2.If multiple smart machine has respective table 2, then in step 305, mobile terminal, for each smart machine, determines the mode of operation of each smart machine respectively, then distinguishes sending controling instruction.
Control the implementation procedure of mode of operation by being described above to have separated, this process is realized by mobile terminal or router, is introduced below for the inner structure of equipment and function.
Fig. 4 is a kind of device schematic diagram controlling mode of operation according to an exemplary embodiment.With reference to Fig. 4, this device comprises: flow acquisition module 401, determination module 402 and sending module 403.
Flow acquisition module 401, for obtaining current network traffic information.
Determination module 402, for determining the mode of operation that the described network traffic information of acquisition is corresponding.
Sending module 403, for the smart machine sending controling instruction preset, described steering order comprises the mark of the described mode of operation determined, the described mode of operation indicating described smart machine to be switched to determine.
In one embodiment, described network traffic information comprises network flow value.
As shown in Figure 5, described determination module 402 comprises: flow submodule 4021 and pattern submodule 4022.
Flow submodule 4021, for determine obtain described network flow value belonging to flow range.
Pattern submodule 4022, for determining the mode of operation that affiliated flow range is corresponding.
In one embodiment, as shown in Figure 6, described device also comprises: time period module 404.
Time period module 404, for determining the time period belonging to current time.
Described pattern submodule 4022 determines affiliated time period and mode of operation corresponding to flow range.
In one embodiment, the described time period is the time period of default configuration, or the time period pre-set for user.
In one embodiment, as shown in Figure 7, described device also comprises: duration module 405 and judge module 406.
Duration module 405, for determining that the described network flow value obtained continues to belong to the duration of described flow range.
Judge module 406, for judging the duration the threshold value whether duration continuing to belong to described flow range reaches default.
Described pattern submodule 4022, when the duration continuing to belong to described flow range reaches default duration threshold value, determines the mode of operation that affiliated flow range is corresponding.
In one embodiment, as shown in Figure 8, described flow acquisition module 401 comprises: flow obtains submodule 4011.
Flow obtains submodule 4011, for periodic access router interface, obtains current network traffic information.
About the device in above-described embodiment, wherein the concrete mode of modules executable operations has been described in detail in about the embodiment of the method, will not elaborate explanation herein.
Fig. 9 is the block diagram of a kind of device 900 for controlling mode of operation according to an exemplary embodiment.Such as, device 900 can be mobile phone, computing machine, digital broadcast terminal, messaging devices, game console, tablet device, Medical Devices, body-building equipment, personal digital assistant etc.
With reference to Fig. 9, device 900 can comprise following one or more assembly: processing components 902, storer 904, power supply module 906, multimedia groupware 908, audio-frequency assembly 910, the interface 912 of I/O (I/O), sensor module 914, and communications component 916.
The integrated operation of the usual control device 900 of processing components 902, such as with display, call, data communication, camera operation and record operate the operation be associated.Processing components 902 can comprise one or more processor 920 to perform instruction, to complete all or part of step of above-mentioned method.In addition, processing components 902 can comprise one or more module, and what be convenient between processing components 902 and other assemblies is mutual.Such as, processing components 902 can comprise multi-media module, mutual with what facilitate between multimedia groupware 908 and processing components 902.
Storer 904 is configured to store various types of data to be supported in the operation of equipment 900.The example of these data comprises for any application program of operation on device 900 or the instruction of method, contact data, telephone book data, message, picture, video etc.Storer 904 can be realized by the volatibility of any type or non-volatile memory device or their combination, as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM), Erasable Programmable Read Only Memory EPROM (EPROM), programmable read only memory (PROM), ROM (read-only memory) (ROM), magnetic store, flash memory, disk or CD.
The various assemblies that electric power assembly 906 is device 900 provide electric power.Electric power assembly 906 can comprise power-supply management system, one or more power supply, and other and the assembly generating, manage and distribute electric power for device 900 and be associated.
Multimedia groupware 908 is included in the screen providing an output interface between described device 900 and user.In certain embodiments, screen can comprise liquid crystal display (LCD) and touch panel (TP).If screen comprises touch panel, screen may be implemented as touch-screen, to receive the input signal from user.Touch panel comprises one or more touch sensor with the gesture on sensing touch, slip and touch panel.Described touch sensor can the border of not only sensing touch or sliding action, but also detects the duration relevant to described touch or slide and pressure.In certain embodiments, multimedia groupware 908 comprises a front-facing camera and/or post-positioned pick-up head.When equipment 900 is in operator scheme, during as screening-mode or video mode, front-facing camera and/or post-positioned pick-up head can receive outside multi-medium data.Each front-facing camera and post-positioned pick-up head can be fixing optical lens systems or have focal length and optical zoom ability.
Audio-frequency assembly 910 is configured to export and/or input audio signal.Such as, audio-frequency assembly 910 comprises a microphone (MIC), and when device 900 is in operator scheme, during as call model, logging mode and speech recognition mode, microphone is configured to receive external audio signal.The sound signal received can be stored in storer 904 further or be sent via communications component 916.In certain embodiments, audio-frequency assembly 910 also comprises a loudspeaker, for output audio signal.
I/O interface 912 is for providing interface between processing components 902 and peripheral interface module, and above-mentioned peripheral interface module can be keyboard, some striking wheel, button etc.These buttons can include but not limited to: home button, volume button, start button and locking press button.
Sensor module 914 comprises one or more sensor, for providing the state estimation of various aspects for device 900.Such as, sensor module 914 can detect the opening/closing state of equipment 900, the relative positioning of assembly, such as described assembly is display and the keypad of device 900, the position of an assembly of all right pick-up unit 900 of sensor module 914 or device 900 changes, the presence or absence that user contacts with device 900, the temperature variation of device 900 orientation or acceleration/deceleration and device 900.Sensor module 914 can comprise proximity transducer, be configured to without any physical contact time detect near the existence of object.Sensor module 914 can also comprise optical sensor, as CMOS or ccd image sensor, for using in imaging applications.In certain embodiments, this sensor module 914 can also comprise acceleration transducer, gyro sensor, Magnetic Sensor, pressure transducer or temperature sensor.
Communications component 916 is configured to the communication being convenient to wired or wireless mode between device 900 and other equipment.Device 900 can access the wireless network based on communication standard, as WiFi, 2G or 3G, or their combination.In one exemplary embodiment, communication component 916 receives from the broadcast singal of external broadcasting management system or broadcast related information via broadcast channel.In one exemplary embodiment, described communication component 916 also comprises near-field communication (NFC) module, to promote junction service.Such as, can based on radio-frequency (RF) identification (RFID) technology in NFC module, Infrared Data Association (IrDA) technology, ultra broadband (UWB) technology, bluetooth (BT) technology and other technologies realize.
In the exemplary embodiment, device 900 can be realized, for performing said method by one or more application specific integrated circuit (ASIC), digital signal processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD) (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components.
In the exemplary embodiment, additionally provide a kind of non-transitory computer-readable recording medium comprising instruction, such as, comprise the storer 904 of instruction, above-mentioned instruction can perform said method by the processor 920 of device 900.Such as, described non-transitory computer-readable recording medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk and optical data storage devices etc.
Control a device for mode of operation, comprising:
Processor;
For the storer of storage of processor executable instruction;
Wherein, described processor is configured to:
Obtain current network traffic information;
Determine the mode of operation that the described network traffic information of acquisition is corresponding;
To the smart machine sending controling instruction preset, described steering order comprises the mark of the described mode of operation determined, the described mode of operation indicating described smart machine to be switched to determine.
Described processor can also be configured to:
Described network traffic information comprises network flow value;
The mode of operation that the described described network traffic information determining to obtain is corresponding, comprising:
Determine the flow range belonging to described network flow value obtained;
Determine the mode of operation that affiliated flow range is corresponding.
Described processor can also be configured to:
Described method also comprises:
Determine the time period belonging to current time;
Describedly determine the mode of operation that affiliated flow range is corresponding, comprising:
Determine affiliated time period and mode of operation corresponding to flow range.
Described processor can also be configured to:
The described time period is time period of default configuration, or the time period pre-set for user.
Described processor can also be configured to:
Described method also comprises:
Determine that the described network flow value obtained continues to belong to the duration of described flow range;
Judge whether the duration continuing to belong to described flow range reaches default duration threshold value;
Describedly determine the mode of operation that affiliated flow range is corresponding, comprising:
When the duration continuing to belong to described flow range reaches default duration threshold value, determine the mode of operation that affiliated flow range is corresponding.
Described processor can also be configured to:
The network traffic information that described acquisition is current, comprising:
Periodic access router interface, obtains current network traffic information.
A kind of non-transitory computer-readable recording medium, when the instruction in described storage medium is performed by the processor of mobile terminal, make mobile terminal can perform a kind of method controlling mode of operation, described method comprises:
Obtain current network traffic information;
Determine the mode of operation that the described network traffic information of acquisition is corresponding;
To the smart machine sending controling instruction preset, described steering order comprises the mark of the described mode of operation determined, the described mode of operation indicating described smart machine to be switched to determine.
Instruction in described storage medium can also comprise:
Described network traffic information comprises network flow value;
The mode of operation that the described described network traffic information determining to obtain is corresponding, comprising:
Determine the flow range belonging to described network flow value obtained;
Determine the mode of operation that affiliated flow range is corresponding.
Instruction in described storage medium can also comprise:
Described method also comprises:
Determine the time period belonging to current time;
Describedly determine the mode of operation that affiliated flow range is corresponding, comprising:
Determine affiliated time period and mode of operation corresponding to flow range.
Instruction in described storage medium can also comprise:
The described time period is time period of default configuration, or the time period pre-set for user.
Instruction in described storage medium can also comprise:
Described method also comprises:
Determine that the described network flow value obtained continues to belong to the duration of described flow range;
Judge whether the duration continuing to belong to described flow range reaches default duration threshold value;
Describedly determine the mode of operation that affiliated flow range is corresponding, comprising:
When the duration continuing to belong to described flow range reaches default duration threshold value, determine the mode of operation that affiliated flow range is corresponding.
Instruction in described storage medium can also comprise:
The network traffic information that described acquisition is current, comprising:
Periodic access router interface, obtains current network traffic information.
Figure 10 is the block diagram of a kind of device 1000 for controlling mode of operation according to an exemplary embodiment.Such as, device 1000 may be provided in a computing machine.With reference to Figure 10, device 1000 comprises processing components 1022, and it comprises one or more processor further, and the memory resource representated by storer 1032, can such as, by the instruction of the execution of processing components 1022, application program for storing.The application program stored in storer 1032 can comprise each module corresponding to one group of instruction one or more.In addition, processing components 1022 is configured to perform instruction, controls mode of operation to perform the above method.
Device 1000 can also comprise the power management that a power supply module 1026 is configured to actuating unit 1000, and a wired or wireless network interface 1050 is configured to device 1000 to be connected to network, and input and output (I/O) interface 1058.Device 1000 can operate the operating system based on being stored in storer 1032, such as WindowsServerTM, MacOSXTM, UnixTM, LinuxTM, FreeBSDTM or similar.
Those skilled in the art, at consideration instructions and after putting into practice invention disclosed herein, will easily expect other embodiment of the present disclosure.The application is intended to contain any modification of the present disclosure, purposes or adaptations, and these modification, purposes or adaptations are followed general principle of the present disclosure and comprised the undocumented common practise in the art of the disclosure or conventional techniques means.Instructions and embodiment are only regarded as exemplary, and true scope of the present disclosure and spirit are pointed out by claim below.
Should be understood that, the disclosure is not limited to precision architecture described above and illustrated in the accompanying drawings, and can carry out various amendment and change not departing from its scope.The scope of the present disclosure is only limited by appended claim.

Claims (13)

1. control a method for mode of operation, it is characterized in that, comprising:
Obtain current network traffic information;
Determine the mode of operation that the described network traffic information of acquisition is corresponding;
To the smart machine sending controling instruction preset, described steering order comprises the mark of the described mode of operation determined, the described mode of operation indicating described smart machine to be switched to determine.
2. the method for control mode of operation according to claim 1, is characterized in that, described network traffic information comprises network flow value;
The mode of operation that the described described network traffic information determining to obtain is corresponding, comprising:
Determine the flow range belonging to described network flow value obtained;
Determine the mode of operation that affiliated flow range is corresponding.
3. the method for control mode of operation according to claim 2, is characterized in that, described method also comprises:
Determine the time period belonging to current time;
Describedly determine the mode of operation that affiliated flow range is corresponding, comprising:
Determine affiliated time period and mode of operation corresponding to flow range.
4. the method for control mode of operation according to claim 3, is characterized in that, the described time period is the time period of default configuration, or the time period pre-set for user.
5. the method for control mode of operation according to claim 2, is characterized in that, described method also comprises:
Determine that the described network flow value obtained continues to belong to the duration of described flow range;
Judge whether the duration continuing to belong to described flow range reaches default duration threshold value;
Describedly determine the mode of operation that affiliated flow range is corresponding, comprising:
When the duration continuing to belong to described flow range reaches default duration threshold value, determine the mode of operation that affiliated flow range is corresponding.
6. the method for control mode of operation according to claim 1, is characterized in that, the network traffic information that described acquisition is current comprises:
Periodic access router interface, obtains current network traffic information.
7. control a device for mode of operation, it is characterized in that, comprising:
Flow acquisition module, for obtaining current network traffic information;
Determination module, for determining the mode of operation that the described network traffic information of acquisition is corresponding;
Sending module, for the smart machine sending controling instruction preset, described steering order comprises the mark of the described mode of operation determined, the described mode of operation indicating described smart machine to be switched to determine.
8. the device of control mode of operation according to claim 7, is characterized in that, described network traffic information comprises network flow value;
Described determination module comprises:
Flow submodule, for determine obtain described network flow value belonging to flow range;
Pattern submodule, for determining the mode of operation that affiliated flow range is corresponding.
9. the device of control mode of operation according to claim 8, is characterized in that, described device also comprises:
Time period module, for determining the time period belonging to current time;
Described pattern submodule determines affiliated time period and mode of operation corresponding to flow range.
10. the method for control mode of operation according to claim 9, is characterized in that, the described time period is the time period of default configuration, or the time period pre-set for user.
The device of 11. control mode of operations according to claim 8, it is characterized in that, described device also comprises:
Duration module, for determining that the described network flow value obtained continues to belong to the duration of described flow range;
Judge module, for judging the duration the threshold value whether duration continuing to belong to described flow range reaches default;
Described pattern submodule, when the duration continuing to belong to described flow range reaches default duration threshold value, determines the mode of operation that affiliated flow range is corresponding.
The device of 12. control mode of operations according to claim 7, is characterized in that, described flow acquisition module comprises:
Flow obtains submodule, for periodic access router interface, obtains current network traffic information.
13. 1 kinds of devices controlling mode of operation, is characterized in that, comprising:
Processor;
For the storer of storage of processor executable instruction;
Wherein, described processor is configured to:
Obtain current network traffic information;
Determine the mode of operation that the described network traffic information of acquisition is corresponding;
To the smart machine sending controling instruction preset, described steering order comprises the mark of the described mode of operation determined, the described mode of operation indicating described smart machine to be switched to determine.
CN201510844793.XA 2015-11-26 2015-11-26 Method and device for controlling working mode Pending CN105487923A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510844793.XA CN105487923A (en) 2015-11-26 2015-11-26 Method and device for controlling working mode

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510844793.XA CN105487923A (en) 2015-11-26 2015-11-26 Method and device for controlling working mode

Publications (1)

Publication Number Publication Date
CN105487923A true CN105487923A (en) 2016-04-13

Family

ID=55674917

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510844793.XA Pending CN105487923A (en) 2015-11-26 2015-11-26 Method and device for controlling working mode

Country Status (1)

Country Link
CN (1) CN105487923A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106209632A (en) * 2016-08-30 2016-12-07 广东美的制冷设备有限公司 Router and based on router traffic control the method for household electrical appliance, device
CN106340165A (en) * 2016-07-19 2017-01-18 厦门同人物联技术有限公司 LoRa-based tobacco leaf core wireless monitoring system
CN108278722A (en) * 2018-01-25 2018-07-13 芜湖应天光电科技有限责任公司 One kind pinpointing indoor air cleaning system based on LAN
CN108767477A (en) * 2018-05-21 2018-11-06 四川斐讯信息技术有限公司 A kind of control method of router and wireless signal radiation direction
CN109067631A (en) * 2018-10-31 2018-12-21 湖北汽车工业学院 A kind of automobile electrically-controlled method of multinode based on real-time ethernet communication protocol architecture

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103002494A (en) * 2012-12-25 2013-03-27 上海寰创通信科技股份有限公司 Device and method for energy-saving control of household long term evolution (LET) router
CN103747478A (en) * 2014-01-21 2014-04-23 英飞特电子(杭州)股份有限公司 Control method and device for wireless router and wireless router applying method and device
CN104252327A (en) * 2013-06-27 2014-12-31 腾讯科技(深圳)有限公司 Reading mode start method and device
CN104660820A (en) * 2015-02-28 2015-05-27 深圳市中兴移动通信有限公司 Implementation method of management mode of mobile terminal and mobile terminal
CN105005291A (en) * 2015-08-17 2015-10-28 黄可斌 Smart home control method, smart home control device and smart home control system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103002494A (en) * 2012-12-25 2013-03-27 上海寰创通信科技股份有限公司 Device and method for energy-saving control of household long term evolution (LET) router
CN104252327A (en) * 2013-06-27 2014-12-31 腾讯科技(深圳)有限公司 Reading mode start method and device
CN103747478A (en) * 2014-01-21 2014-04-23 英飞特电子(杭州)股份有限公司 Control method and device for wireless router and wireless router applying method and device
CN104660820A (en) * 2015-02-28 2015-05-27 深圳市中兴移动通信有限公司 Implementation method of management mode of mobile terminal and mobile terminal
CN105005291A (en) * 2015-08-17 2015-10-28 黄可斌 Smart home control method, smart home control device and smart home control system

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106340165A (en) * 2016-07-19 2017-01-18 厦门同人物联技术有限公司 LoRa-based tobacco leaf core wireless monitoring system
CN106209632A (en) * 2016-08-30 2016-12-07 广东美的制冷设备有限公司 Router and based on router traffic control the method for household electrical appliance, device
CN106209632B (en) * 2016-08-30 2019-04-30 广东美的制冷设备有限公司 Router and the method, apparatus that household electrical appliance are controlled based on router traffic
CN108278722A (en) * 2018-01-25 2018-07-13 芜湖应天光电科技有限责任公司 One kind pinpointing indoor air cleaning system based on LAN
CN108767477A (en) * 2018-05-21 2018-11-06 四川斐讯信息技术有限公司 A kind of control method of router and wireless signal radiation direction
CN109067631A (en) * 2018-10-31 2018-12-21 湖北汽车工业学院 A kind of automobile electrically-controlled method of multinode based on real-time ethernet communication protocol architecture
CN109067631B (en) * 2018-10-31 2024-01-19 湖北汽车工业学院 Multi-node automobile electric control method based on real-time Ethernet communication protocol architecture

Similar Documents

Publication Publication Date Title
CN105933899B (en) The cut-in method and device of wireless access point
CN104614998A (en) Method and device for controlling household equipment
CN104239094A (en) Method and device for controlling background application programs and terminal equipment
CN105099840A (en) Setting method and device of intelligent household scene
CN105182783A (en) Method, apparatus and terminal for controlling intelligent devices
CN105281994B (en) Working mode switching method and device
CN106131802B (en) Data broadcasting method, data broadcasting device and electronic equipment
CN104965535A (en) Temperature adjusting device control method and apparatus
CN104540184A (en) Equipment networking method and device
CN104601694A (en) Operating control method, terminal, repeater device, intelligent equipment and device
CN105182784A (en) Method and device of controlling intelligent devices and terminal
CN104898505A (en) Smart scene configuration method and device
CN105487923A (en) Method and device for controlling working mode
CN105828201A (en) Video processing method and device
CN105183132A (en) Energy conservation mode starting method and apparatus
CN105404160A (en) Control method and device based on sleep state
CN104837154A (en) Wireless access point control method and device
CN104640166A (en) Communication method and device
CN107817929A (en) The quick control method and device of smart machine
CN105094169A (en) Monitoring method, apparatus and system for temperature adjustment device and temperature adjustment device
CN105068467A (en) Method and device for controlling intelligent equipment
CN105827489A (en) Intelligent household electrical appliance control method and device and intelligent household electrical appliance
CN106604230B (en) The method and device of region configuration
CN103905653A (en) Mobile equipment data service control method and device
CN105093980A (en) Method and apparatus for controlling start-stop of smart apparatus

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20160413