CN111901211B - Control method, apparatus and storage medium - Google Patents
Control method, apparatus and storage medium Download PDFInfo
- Publication number
- CN111901211B CN111901211B CN202011051971.0A CN202011051971A CN111901211B CN 111901211 B CN111901211 B CN 111901211B CN 202011051971 A CN202011051971 A CN 202011051971A CN 111901211 B CN111901211 B CN 111901211B
- Authority
- CN
- China
- Prior art keywords
- information
- control center
- preset
- control
- related data
- 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.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 152
- 230000004044 response Effects 0.000 claims abstract description 481
- 230000006870 function Effects 0.000 claims description 258
- 206010048669 Terminal state Diseases 0.000 claims description 122
- 238000012545 processing Methods 0.000 claims description 110
- 230000008569 process Effects 0.000 claims description 64
- 230000000977 initiatory effect Effects 0.000 claims description 25
- 238000011217 control strategy Methods 0.000 claims description 24
- 238000009434 installation Methods 0.000 claims description 24
- 230000005611 electricity Effects 0.000 claims description 8
- 230000007613 environmental effect Effects 0.000 claims description 8
- 230000003993 interaction Effects 0.000 abstract description 10
- 230000000875 corresponding effect Effects 0.000 description 640
- 238000012546 transfer Methods 0.000 description 33
- 238000007726 management method Methods 0.000 description 31
- 239000008280 blood Substances 0.000 description 24
- 210000004369 blood Anatomy 0.000 description 24
- 238000004891 communication Methods 0.000 description 17
- 230000005012 migration Effects 0.000 description 17
- 238000013508 migration Methods 0.000 description 17
- 230000033001 locomotion Effects 0.000 description 16
- 238000010586 diagram Methods 0.000 description 13
- QVGXLLKOCUKJST-UHFFFAOYSA-N atomic oxygen Chemical compound [O] QVGXLLKOCUKJST-UHFFFAOYSA-N 0.000 description 12
- 230000036772 blood pressure Effects 0.000 description 12
- 239000001301 oxygen Substances 0.000 description 12
- 229910052760 oxygen Inorganic materials 0.000 description 12
- 230000003213 activating effect Effects 0.000 description 11
- 230000008859 change Effects 0.000 description 11
- 230000006399 behavior Effects 0.000 description 8
- 230000000694 effects Effects 0.000 description 8
- 238000004590 computer program Methods 0.000 description 7
- WQZGKKKJIJFFOK-GASJEMHNSA-N Glucose Natural products OC[C@H]1OC(O)[C@H](O)[C@@H](O)[C@@H]1O WQZGKKKJIJFFOK-GASJEMHNSA-N 0.000 description 6
- 230000001133 acceleration Effects 0.000 description 6
- 238000013528 artificial neural network Methods 0.000 description 6
- 239000007789 gas Substances 0.000 description 6
- 239000008103 glucose Substances 0.000 description 6
- 230000005484 gravity Effects 0.000 description 6
- 230000036541 health Effects 0.000 description 6
- 230000001276 controlling effect Effects 0.000 description 5
- 230000003111 delayed effect Effects 0.000 description 5
- 230000002618 waking effect Effects 0.000 description 5
- 238000012806 monitoring device Methods 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 3
- 230000001960 triggered effect Effects 0.000 description 3
- 230000005540 biological transmission Effects 0.000 description 2
- 238000001514 detection method Methods 0.000 description 2
- 230000007774 longterm Effects 0.000 description 2
- 238000010295 mobile communication Methods 0.000 description 2
- 239000002574 poison Substances 0.000 description 2
- 231100000614 poison Toxicity 0.000 description 2
- 230000000284 resting effect Effects 0.000 description 2
- 230000005236 sound signal Effects 0.000 description 2
- 230000008901 benefit Effects 0.000 description 1
- 230000001413 cellular effect Effects 0.000 description 1
- 238000007599 discharging Methods 0.000 description 1
- 239000003999 initiator Substances 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 238000010079 rubber tapping Methods 0.000 description 1
- 230000011664 signaling Effects 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 230000001629 suppression Effects 0.000 description 1
- 238000010897 surface acoustic wave method Methods 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/2803—Home automation networks
- H04L12/2816—Controlling appliance services of a home automation network by calling their functionalities
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B15/00—Systems controlled by a computer
- G05B15/02—Systems controlled by a computer electric
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/418—Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS] or computer integrated manufacturing [CIM]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/08—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
- H04L43/0876—Network utilisation, e.g. volume of load or congestion level
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/08—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
- H04L43/0876—Network utilisation, e.g. volume of load or congestion level
- H04L43/0894—Packet rate
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B2219/00—Program-control systems
- G05B2219/20—Pc systems
- G05B2219/26—Pc applications
- G05B2219/2642—Domotique, domestic, home control, automation, smart house
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/02—Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]
Landscapes
- Engineering & Computer Science (AREA)
- Automation & Control Theory (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Environmental & Geological Engineering (AREA)
- Manufacturing & Machinery (AREA)
- Quality & Reliability (AREA)
- Selective Calling Equipment (AREA)
- Telephonic Communication Services (AREA)
Abstract
The application discloses a control method, a device and a storage medium, wherein the method comprises the following steps: when a preset event occurs in the connected network, generating a response instruction of target equipment corresponding to the preset event; and acquiring control judgment information, and when the control judgment information meets a control condition, sending the response instruction to the target equipment by the control center, and executing a preset control operation by the control center. According to the method and the device, when the preset event occurs in the connection network, the control center can generate the corresponding response instruction and control the device or the target device to make the corresponding response through the response instruction, so that the control interaction between the devices is more flexible and intelligent after the devices are mutually connected.
Description
Technical Field
The present application relates to the field of electronic technologies, and in particular, to a control method, a device, and a storage medium.
Background
Along with the popularization of wearable smart devices (such as smart watches, smart earphones, smart bracelets and the like), smart home devices (such as smart televisions, smart sound boxes, smart refrigerators, smart routers and the like) and vehicle connection network devices (such as smart automobiles, vehicle-mounted terminals and the like), great convenience is brought to the lives of people. However, after the devices are connected with each other, the control interaction between the devices is relatively simple and/or fixed and not flexible enough, thereby affecting the user experience. Therefore, how to make the control interaction after the devices are mutually connected more flexible and intelligent is a problem which needs to be solved urgently.
The above is only for the purpose of assisting understanding of the technical solutions of the present application, and does not represent an admission that the above is prior art.
Disclosure of Invention
The present application mainly aims to provide a control method, a device, and a storage medium, and aims to solve the technical problem that control interaction between devices is not flexible and intelligent enough after the devices are connected with each other.
In order to achieve the above object, the present application provides a control method, where the control method is applied to an initiator device, and the control method includes:
when a preset event occurs in the connected network, generating a response instruction of target equipment corresponding to the preset event;
and acquiring control judgment information, and when the control judgment information meets a control condition, the control center sends the response instruction to the target equipment and/or executes a preset control operation.
Optionally, the step sequence of generating the response instruction of the target device corresponding to the preset event is optional, and as another implementation, the control method includes the steps of:
when a preset event occurs in the connected network, acquiring control judgment information;
when the control judgment information meets the control condition, generating a response instruction of the target equipment corresponding to the preset event;
And the control center sends the response instruction to the target equipment, and/or executes a preset control operation.
Optionally, the step sequence of determining whether the control judgment information satisfies the control condition is optional, and as another implementation, the control method includes the steps of:
acquiring control judgment information, and generating a response instruction of target equipment corresponding to a preset event if the preset event occurs in a connection network when the control judgment information meets a control condition;
and the control center sends the response instruction to the target equipment, and/or executes a preset control operation.
Optionally, the control center maintains a topology of the connection network, and/or the target device is directly or indirectly connected to the control center.
Optionally, when the preset event determination information meets the preset event determination condition, it is determined that the preset event occurs in the connection network where the connection network is located, and optionally, the preset event determination information may include at least one of the following:
the preset event determines information content, environment information, time information and position information of the information.
Optionally, at least one of the following may be included:
The information content may comprise at least one of: sender information, receiver information, information text content and information display mode;
the environmental information may include at least one of: external environment information, use environment information.
Optionally, the control judgment information may include at least one of:
user physiological parameter information, connection information, usage information, distance information, status information.
Optionally, at least one of the following is included:
the connection information may include at least one of: connection status information, network rate information;
the usage information may include at least one of: flow information, use habit information, current use application information;
the status information may include at least one of: terminal state information, electric quantity information and storage space information.
Optionally, the control judgment information satisfies the control condition, and may include at least one of:
the user physiological parameter information accords with a first preset condition;
the connection information conforms to a second preset condition;
the use information accords with a third preset condition;
the distance information meets a fourth preset condition;
The application information meets a fifth preset condition;
the state information meets a sixth preset condition.
Optionally, the control center performs a preset control operation, which may include at least one of:
the control center immediately or after delaying sends the response instruction to the target equipment;
switching part or all of the control function to the target equipment;
copying part or all of the control function to the target device;
activating part or all of the control functions on the target device;
migrating or transferring the relevant data of the control center to target equipment;
the control center outputs first prompt information and/or controls equipment directly or indirectly connected with the control center to output second prompt information.
Optionally, the related data further includes at least one first related data and/or at least one second related data, and the step of migrating or transferring the related data in the control center to the target device may include at least one of:
backing up or transferring only first relevant data in the control center to the target device;
only backing up or transferring second related data in the control center to the target device;
Backing up or transferring second related data corresponding to the first related data to the target equipment in addition to backing up or transferring the first related data in the control center to the target equipment;
backing up or transferring first related data and corresponding updated data in the control center to the target equipment;
backing up or transferring second related data and corresponding updated data in the control center to the target equipment;
and backing up or transferring the first related data and the corresponding updated data in the control center and the updated data of the second related data to the target equipment.
Optionally, when a preset event occurs in the connected network, the step of generating the response instruction of the target device corresponding to the preset event may include at least one of the following:
when a preset event occurs in the connected network, outputting prompt information for selecting a preset mode, and generating the response instruction based on the selected preset mode;
when a preset event occurs in the connected network, automatically triggering and generating the response instruction according to the corresponding relation between the preset event and the response instruction;
and when a preset event occurs in the connected network, generating the response instruction based on the input control instruction.
The application provides a control method, which is applied to at least one control center and comprises the following steps:
s00: when a preset event occurs in the connected network, acquiring control judgment information, and when the control judgment information meets a control condition, executing the step S10;
s10: acquiring preset information and a preset strategy;
s20: and determining and executing a corresponding control strategy according to the preset information and the preset strategy.
Optionally, the control judgment information includes at least one of:
user physiological parameter information;
connection information, optionally, the connection information includes at least one of: connection status information, network rate information;
usage information, optionally including at least one of: flow information, use habit information, current use application information;
distance information;
application information;
status information, optionally including at least one of: terminal state information, electric quantity information and storage space information.
Optionally, the control judgment information satisfies the control condition, and may include at least one of:
the control center is in a preset mode;
the user physiological parameter information accords with a physiological parameter preset rule;
The connection information conforms to a connection preset rule;
the use information accords with a use preset rule;
the distance information conforms to a preset distance rule;
the application information accords with an application preset rule;
the state information conforms to a state preset rule.
Optionally, the preset information may include at least one of:
connection information, optionally, the connection information may include at least one of: connection status information, network rate information;
status information, optionally, the status information may include at least one of: terminal state information, electric quantity information and storage space information;
the environment information may optionally include at least one of: external environment information and use environment information;
usage information, optionally, the usage information may include at least one of: flow information, use habit information, current use application information;
distance information;
user physiological parameter information.
Optionally, the step of S20 includes at least one of:
if the connection state information accords with a first preset rule, executing corresponding equipment control operation according to a first preset strategy;
If the network rate information accords with a second preset rule, executing corresponding equipment control operation according to a second preset strategy;
if the terminal state information accords with a third preset rule, executing corresponding equipment control operation according to a third preset strategy;
if the electric quantity information accords with a fourth preset rule, executing corresponding equipment control operation according to a fourth preset strategy;
if the storage space information accords with a fifth preset rule, executing corresponding equipment control operation according to a fifth preset strategy;
if the external environment information conforms to a sixth preset rule, executing corresponding equipment control operation according to a sixth preset strategy;
if the using environment information accords with a seventh preset rule, executing corresponding equipment control operation according to a seventh preset strategy;
if the flow information conforms to an eighth preset rule, executing corresponding equipment control operation according to an eighth preset strategy;
if the use habit information accords with a ninth preset rule, executing corresponding equipment control operation according to a ninth preset strategy;
if the distance information accords with a tenth preset rule, executing corresponding equipment control operation according to a tenth preset strategy;
And if the user physiological parameter information accords with an eleventh preset rule, executing corresponding equipment control operation according to an eleventh preset strategy.
Optionally, the device control operation may include at least one of:
establishing a direct or indirect connection between the control center and a target device;
switching part or all of the control function to the target equipment;
copying part or all of the control function to the target device;
activating part or all of the control functions on the target device;
migrating or transferring the relevant data of the control center to target equipment;
the control center outputs first prompt information and/or controls equipment directly or indirectly connected with the control center to output second prompt information.
Optionally, the target device corresponds to the preset information, or the target device is determined by any one of the following manners:
the first or last device initiating the connection;
the equipment with the strongest processing capability or the most smooth state;
the device with the largest battery capacity or the largest remaining amount of electricity;
presetting a system;
the highest priority device;
the device with the shortest or longest distance;
the device with the highest security level;
User selection or user habit.
Optionally, the related data further includes at least one first related data and/or at least one second related data, and the step of migrating or transferring the related data in the control center to the target device may include at least one of:
backing up or transferring only first relevant data in the control center to the target device;
only backing up or transferring second related data in the control center to the target device;
backing up or transferring second related data corresponding to the first related data to the target equipment in addition to backing up or transferring the first related data in the control center to the target equipment;
backing up or transferring first related data and corresponding updated data in the control center to the target equipment;
backing up or transferring second related data and corresponding updated data in the control center to the target equipment;
and backing up or transferring the first relevant data and the corresponding updated data in the control center and the updated data of the second relevant data to the target equipment.
The application provides a control method, which is applied to at least one control center and comprises the following steps:
S210, when a preset event occurs in a network where the network is connected, generating a response instruction of a target device corresponding to the preset event, and acquiring preset information and/or a preset strategy;
s220, determining and executing a corresponding control strategy according to the response instruction, the preset information and/or the preset strategy.
Optionally, the step sequence of generating the response instruction of the target device corresponding to the preset event is optional, and as another implementation, the control method includes the steps of:
s210, when a preset event occurs in a connected network, acquiring preset information and/or a preset strategy; generating a response instruction of the target equipment corresponding to the preset event;
s220, determining and executing a corresponding control strategy according to the response instruction, the preset information and/or the preset strategy.
Optionally, the S220 step may include at least one of:
determining and executing a corresponding control strategy according to the response instruction and the preset information;
determining and executing a corresponding control strategy according to the response instruction and the preset strategy;
determining and executing a corresponding control strategy according to the preset information and the preset strategy;
and determining and executing a corresponding control strategy according to the response instruction, the preset information and the preset strategy.
Optionally, when a preset event occurs in the connected network, the step of generating the response instruction of the target device corresponding to the preset event may include at least one of the following:
when a preset event occurs in the connected network, outputting prompt information for selecting a preset mode, and generating the response instruction based on the selected preset mode;
when a preset event occurs in the connected network, automatically triggering and generating the response instruction according to the corresponding relation between the preset event and the response instruction;
and when a preset event occurs in the connected network, generating the response instruction based on the input control instruction.
Optionally, the preset information may include at least one of:
connection information, optionally, the connection information may include at least one of: connection status information, network rate information;
status information, optionally, the status information may include at least one of: terminal state information, electric quantity information and storage space information;
the environment information may optionally include at least one of: external environment information and use environment information;
usage information, optionally, the usage information may include at least one of: flow information, use habit information, current use application information;
Distance information;
user physiological parameter information.
Optionally, the S220 step may include at least one of:
acquiring control judgment information, and when the control judgment information meets a control condition, sending the response instruction to the target equipment by the control center;
the control center executes a preset control operation;
if the connection state information accords with a first preset rule, executing corresponding equipment control operation according to a first preset strategy;
if the network rate information accords with a second preset rule, executing corresponding equipment control operation according to a second preset strategy;
if the terminal state information accords with a third preset rule, executing corresponding equipment control operation according to a third preset strategy;
if the electric quantity information accords with a fourth preset rule, executing corresponding equipment control operation according to a fourth preset strategy;
if the storage space information accords with a fifth preset rule, executing corresponding equipment control operation according to a fifth preset strategy;
if the external environment information conforms to a sixth preset rule, executing corresponding equipment control operation according to a sixth preset strategy;
if the using environment information accords with a seventh preset rule, executing corresponding equipment control operation according to a seventh preset strategy;
If the flow information conforms to an eighth preset rule, executing corresponding equipment control operation according to an eighth preset strategy;
if the using habit information accords with a ninth preset rule, executing corresponding equipment control operation according to a ninth preset strategy;
if the distance information accords with a tenth preset rule, executing corresponding equipment control operation according to a tenth preset strategy;
and if the user physiological parameter information accords with an eleventh preset rule, executing corresponding equipment control operation according to an eleventh preset strategy.
Optionally, the control judgment information may include at least one of:
user physiological parameter information, connection information, usage information, distance information, application information, status information.
Optionally, the connection information may include at least one of: connection status information, network rate information;
optionally, the usage information may include at least one of: flow information, use habit information, current use application information;
optionally, the status information may include at least one of: terminal state information, electric quantity information and storage space information.
Optionally, the control judgment information satisfies a control condition, and includes at least one of:
The user physiological parameter information accords with a first preset condition;
the connection information conforms to a second preset condition;
the use information accords with a third preset condition;
the distance information meets a fourth preset condition;
the application information meets a fifth preset condition;
the state information meets a sixth preset condition.
Optionally, the control center performs a preset control operation or performs a corresponding device control operation, and may include at least one of the following:
the control center immediately or after delaying sends the response instruction to the target equipment;
switching part or all of the control function to the target equipment;
copying part or all of the control function to the target device;
activating part or all of the control functions on the target device;
migrating or transferring the relevant data of the control center to target equipment;
the control center outputs first prompt information and/or controls equipment directly or indirectly connected with the control center to output second prompt information.
Optionally, the related data further includes at least one first related data and/or at least one second related data, and the step of migrating or transferring the related data in the control center to the target device may include at least one of:
Backing up or transferring only first relevant data in the control center to the target device;
only backing up or transferring second related data in the control center to the target device;
backing up or transferring second related data corresponding to the first related data to the target equipment in addition to backing up or transferring the first related data in the control center to the target equipment;
backing up or transferring first related data and corresponding updated data in the control center to the target equipment;
backing up or transferring second related data and corresponding updated data in the control center to the target equipment;
and backing up or transferring the first related data and the corresponding updated data in the control center and the updated data of the second related data to the target equipment.
Optionally, the target device corresponds to the preset information, or the target device is determined by any one of the following manners:
the first or last device initiating the connection;
the equipment with the strongest processing capability or the most smooth state;
the device with the largest battery capacity or the largest remaining amount of electricity;
presetting a system;
the highest priority device;
The device with the shortest or longest distance;
the device with the highest security level;
user selection or user habit.
The application provides a control method, which is applied to at least one control center and comprises the following steps:
when a preset event occurs in a connected network, generating a response instruction corresponding to the preset event;
acquiring control judgment information, and determining target equipment according to the control judgment information and a preset rule;
and immediately or later sending the response instruction to the target equipment, and/or executing a preset control operation by the control center.
Optionally, the step sequence of generating the response instruction of the target device corresponding to the preset event is optional, and as another implementation, the control method includes the steps of:
when a preset event occurs in the connected network, acquiring control judgment information, and determining target equipment according to the control judgment information and a preset rule;
generating a response instruction corresponding to the preset event;
and immediately or later sending the response instruction to the target equipment, and/or executing a preset control operation by the control center.
Optionally, when a preset event occurs in the connected network, the step of generating a response instruction corresponding to the preset event includes at least one of:
When a preset event occurs in the connected network, outputting prompt information for selecting a preset mode, and generating the response instruction based on the selected preset mode;
when a preset event occurs in the connected network, automatically triggering and generating the response instruction according to the corresponding relation between the preset event and the response instruction;
and when a preset event occurs in the connected network, generating the response instruction based on the input control instruction.
Optionally, the control judgment information includes at least one first control judgment information and/or at least one second control judgment information, and the first control judgment information and/or the second control judgment information includes at least one of the following:
user physiological parameter information, connection information, usage information, distance information, application information, status information.
Optionally, at least one of the following is included:
the connection information includes at least one of: connection status information, network rate information;
the usage information includes at least one of: flow information, use habit information, current use application information;
the status information includes at least one of: terminal state information, electric quantity information and storage space information.
Optionally, the determining the target device according to the control judgment information and a preset rule includes at least one of:
determining target equipment according to the priority of the first control judgment information and/or the second control judgment information;
determining the first or last device initiating connection as a target device;
determining the equipment with the strongest processing capacity or the most smooth state as target equipment;
determining the equipment with the maximum battery capacity or the maximum residual electric quantity as target equipment;
determining that a system is preset as target equipment;
determining the equipment with the highest priority as target equipment;
determining the equipment with the shortest or longest distance as target equipment;
determining the equipment with the highest security level as target equipment;
determining target equipment according to user selection or user habits;
determining the equipment of which the user physiological parameter information meets a first preset condition as target equipment;
determining the equipment of which the connection information meets a second preset condition as target equipment;
determining the equipment of which the use information meets a third preset condition as target equipment;
determining the equipment of which the distance information meets a fourth preset condition as target equipment;
determining the equipment of which the application information meets a fifth preset condition as target equipment;
And determining the equipment of which the state information meets the sixth preset condition as target equipment.
Optionally, the control center performs a preset control operation, including at least one of:
switching part or all of the control function to the target equipment;
copying part or all of the control function to the target device;
activating part or all of the control functions on the target device;
migrating or transferring the relevant data of the control center to target equipment;
the control center outputs first prompt information and/or controls equipment directly or indirectly connected with the control center to output second prompt information.
Optionally, the related data further includes at least one first related data and/or at least one second related data, and the step of migrating or transferring the related data in the control center to the target device includes at least one of:
backing up or transferring only first relevant data in the control center to the target device;
backing up or transferring only second related data in the control center to the target device;
backing up or transferring second related data corresponding to the first related data to the target equipment in addition to backing up or transferring the first related data in the control center to the target equipment;
Backing up or transferring first related data and corresponding updated data in the control center to the target equipment;
backing up or transferring second related data and corresponding updated data in the control center to the target equipment;
and backing up or transferring the first relevant data and the corresponding updated data in the control center and the updated data of the second relevant data to the target equipment.
To achieve the above object, the present application also provides an electronic device including a memory, a processor, and a device control program stored on the memory and executable on the processor, the device control program implementing the steps of the control method as described above when executed by the processor.
To achieve the above object, the present application also provides a computer-readable storage medium having stored thereon a program implementing the control method, the program implementing the control method being executed by a processor to implement the steps of the control method as described above.
According to the method, when a preset event occurs in a connection network, a response instruction of a target device corresponding to the preset event is generated; and acquiring control judgment information, and when the control judgment information meets a control condition, the control center sends the response instruction to the target equipment and/or executes a preset control operation. The control center can generate a corresponding response instruction when a preset event occurs in the connected network, and controls the device or the target device to make a corresponding response through the response instruction, so that the control interaction between the devices is more flexible and intelligent after the devices are mutually connected.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and together with the description, serve to explain the principles of the application. In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings needed to be used in the description of the embodiments will be briefly described below, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
Fig. 1 is a schematic diagram of a hardware structure of a mobile terminal implementing various embodiments of the present application;
fig. 2 is a communication network system architecture diagram according to an embodiment of the present application;
FIG. 3 is a schematic flow chart of a first embodiment of the control method of the present application;
FIG. 4 is a schematic diagram illustrating the switching effect of control functions in the control method of the present application;
FIG. 5 is a schematic diagram illustrating a prompt message effect of the control method of the present application;
FIG. 6 is a schematic diagram illustrating the effect of the output selectable processing item of the control method of the present application;
FIG. 7 is a schematic flow chart of a third embodiment of the control method of the present application;
FIG. 8 is a schematic diagram illustrating the switching effect of another control function of the control method of the present application;
FIG. 9 is a schematic flow chart of a fifth embodiment of the control method of the present application;
FIG. 10 is a schematic flow chart diagram of a seventh embodiment of the control method of the present application;
FIG. 11 is a functional block diagram of the preferred embodiment of the control apparatus of the present application;
fig. 12 is a schematic structural diagram of a hardware operating environment according to an embodiment of the present application.
The implementation, functional features and advantages of the objectives of the present application will be further explained with reference to the accompanying drawings. Specific embodiments of the present application have been shown by way of example in the drawings and will be described in more detail below. The drawings and written description are not intended to limit the scope of the inventive concepts in any manner, but rather to illustrate the concepts of the application by those skilled in the art with reference to specific embodiments.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
In the following description, suffixes such as "module", "component", or "unit" used to denote elements are used only for the convenience of description of the present application, and have no specific meaning by themselves. Thus, "module", "component" or "unit" may be used mixedly.
The apparatus may be embodied in various forms. For example, the devices described in the present application may include mobile terminals such as a mobile phone, a tablet computer, a notebook computer, a palmtop computer, a Personal Digital Assistant (PDA), a Portable Media Player (PMP), a navigation device, a wearable device, a smart band, a pedometer, etc., and fixed terminals such as a Digital TV, a desktop computer, etc., and may also be a car connection network device or a smart home device, etc.
The following description will be given taking a mobile terminal as an example, and it will be understood by those skilled in the art that the configuration according to the embodiment of the present application can be applied to a fixed type terminal in addition to elements particularly used for mobile purposes.
Referring to fig. 1, which is a schematic diagram of a hardware structure of a mobile terminal for implementing various embodiments of the present application, the mobile terminal 100 may include: RF (Radio Frequency) unit 101, WiFi module 102, audio output unit 103, a/V (audio/video) input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, processor 110, and power supply 111. Those skilled in the art will appreciate that the mobile terminal architecture shown in fig. 1 is not intended to be limiting of mobile terminals, and that a mobile terminal may include more or fewer components than shown, or some components may be combined, or a different arrangement of components.
The following specifically describes the components of the mobile terminal with reference to fig. 1:
the radio frequency unit 101 may be configured to receive and transmit signals during information transmission and reception or during a call, and specifically, receive downlink information of a base station and then process the downlink information to the processor 110; in addition, the uplink data is transmitted to the base station. Typically, radio frequency unit 101 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. Alternatively, the radio frequency unit 101 may also communicate with a network and other devices through wireless communication. The wireless communication may use any communication standard or protocol, including but not limited to GSM (Global System for Mobile communications), GPRS (General Packet Radio Service), CDMA2000 (Code Division Multiple Access 2000 ), WCDMA (Wideband Code Division Multiple Access), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access), FDD-LTE (Frequency Division duplex Long Term Evolution), and TDD-LTE (Time Division duplex Long Term Evolution).
WiFi belongs to short-distance wireless transmission technology, and the mobile terminal can help a user to receive and send e-mails, browse webpages, access streaming media and the like through the WiFi module 102, and provides wireless broadband interconnection network access for the user. Although fig. 1 shows the WiFi module 102, it is understood that it does not belong to the essential constitution of the mobile terminal, and may be omitted entirely as needed within the scope not changing the essence of the invention.
The audio output unit 103 may convert audio data received by the radio frequency unit 101 or the WiFi module 102 or stored in the memory 109 into an audio signal and output as sound when the mobile terminal 100 is in a call signal reception mode, a call mode, a recording mode, a voice recognition mode, a broadcast reception mode, or the like. Also, the audio output unit 103 may also provide audio output related to a specific function performed by the mobile terminal 100 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 103 may include a speaker, a buzzer, and the like.
The a/V input unit 104 is used to receive audio or video signals. The a/V input Unit 104 may include a Graphics Processing Unit (GPU) 1041 and a microphone 1042, the Graphics processor 1041 Processing image data of still pictures or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 106. The image frames processed by the graphic processor 1041 may be stored in the memory 109 (or other storage medium) or transmitted via the radio frequency unit 101 or the WiFi module 102. The microphone 1042 can receive sounds (audio data) via the microphone 1042 in a phone call mode, a recording mode, a voice recognition mode, or the like, and can process such sounds into audio data. The processed audio (voice) data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 101 in case of the phone call mode. The microphone 1042 may implement various types of noise cancellation (or suppression) algorithms to cancel (or suppress) noise or interference generated in the course of receiving and transmitting audio signals.
The mobile terminal 100 also includes at least one sensor 105, such as a light sensor, a motion sensor, and other sensors. Alternatively, the light sensor includes an ambient light sensor that may adjust the brightness of the display panel 1061 according to the brightness of ambient light, and a proximity sensor that may turn off the display panel 1061 and/or a backlight when the mobile terminal 100 is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when stationary, and can be used for applications of recognizing the posture of a mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured on the mobile phone, further description is omitted here.
The display unit 106 is used to display information input by a user or information provided to the user. The Display unit 106 may include a Display panel 1061, and the Display panel 1061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 107 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the mobile terminal. Alternatively, the user input unit 107 may include a touch panel 1071 and other input devices 1072. The touch panel 1071, also referred to as a touch screen, may collect a touch operation performed by a user on or near the touch panel 1071 (e.g., an operation performed by the user on or near the touch panel 1071 using a finger, a stylus, or any other suitable object or accessory), and drive a corresponding connection device according to a predetermined program. The touch panel 1071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 110, and can receive and execute commands sent by the processor 110. Alternatively, the touch panel 1071 may be implemented in various types, such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch panel 1071, the user input unit 107 may include other input devices 1072. Optionally, other input devices 1072 may include, but are not limited to, one or more of a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like, and are not limited thereto.
Further, the touch panel 1071 may cover the display panel 1061, and when the touch panel 1071 detects a touch operation thereon or nearby, the touch panel 1071 transmits the touch operation to the processor 110 to determine the type of the touch event, and then the processor 110 provides a corresponding visual output on the display panel 1061 according to the type of the touch event. Although in fig. 1, the touch panel 1071 and the display panel 1061 are two independent components to implement the input and output functions of the mobile terminal, in some embodiments, the touch panel 1071 and the display panel 1061 may be integrated to implement the input and output functions of the mobile terminal, which is not limited herein.
The interface unit 108 serves as an interface through which at least one external device is connected to the mobile terminal 100. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 108 may be used to receive input (e.g., data information, power, etc.) from external devices and transmit the received input to one or more elements within the mobile terminal 100 or may be used to transmit data between the mobile terminal 100 and external devices.
The memory 109 may be used to store software programs as well as various data. The memory 109 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Optionally, the memory 109 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 110 is a control center of the mobile terminal, connects various parts of the entire mobile terminal using various interfaces and lines, and performs various functions of the mobile terminal and processes data by operating or executing software programs and/or modules stored in the memory 109 and calling data stored in the memory 109, thereby performing overall monitoring of the mobile terminal. Processor 110 may include one or more processing units; preferably, the processor 110 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 110.
The mobile terminal 100 may further include a power supply 111 (e.g., a battery) for supplying power to various components, and preferably, the power supply 111 may be logically connected to the processor 110 via a power management system, so as to manage charging, discharging, and power consumption management functions via the power management system.
Although not shown in fig. 1, the mobile terminal 100 may further include a bluetooth module or the like, which is not described in detail herein.
In order to facilitate understanding of the embodiments of the present application, a communication network system on which the mobile terminal of the present application is based is described below.
Referring to fig. 2, fig. 2 is an architecture diagram of a communication Network system according to an embodiment of the present disclosure, where the communication Network system is an LTE system of a universal mobile telecommunications technology, and the LTE system includes a UE (User Equipment) 201, an E-UTRAN (Evolved UMTS Terrestrial Radio Access Network) 202, an EPC (Evolved Packet Core) 203, and an IP service 204 of an operator, which are in communication connection in sequence.
Optionally, the UE201 may be the terminal 100 described above, and is not described herein again.
The E-UTRAN202 includes eNodeB2021 and other eNodeBs 2022, among others. The eNodeB2021 may be connected with other eNodeB2022 via backhaul (e.g., X2 interface), the eNodeB2021 is connected to the EPC203, and the eNodeB2021 may provide the UE201 access to the EPC 203.
The EPC203 may include an MME (Mobility Management Entity) 2031, an HSS (Home Subscriber Server) 2032, other MMEs 2033, an SGW (Serving gateway) 2034, a PGW (PDN gateway) 2035, and a PCRF (Policy and Charging Rules Function) 2036, and the like. The MME2031 is a control node that handles signaling between the UE201 and the EPC203, and provides bearer and connection management. HSS2032 is used to provide registers to manage functions such as home location register (not shown) and holds subscriber specific information about service characteristics, data rates, etc. All user data may be sent through SGW2034, PGW2035 may provide IP address assignment for UE201 and other functions, and PCRF2036 is a policy and charging control policy decision point for traffic data flow and IP bearer resources, which selects and provides available policy and charging control decisions for a policy and charging enforcement function (not shown).
The IP services 204 may include the internet, inter-connected networks, IMS (IP Multimedia Subsystem), or other IP services, etc.
Although the LTE system is described as an example, it should be understood by those skilled in the art that the present application is not limited to the LTE system, but may also be applied to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA, and future new network systems.
Based on the above mobile terminal hardware structure and communication network system, various embodiments of the present application are proposed.
The present application provides a control method, and referring to fig. 3, fig. 3 is a schematic flow chart of a first embodiment of the control method of the present application.
While embodiments of the control method are provided in the present application, it should be noted that although a logical order is shown in the flow chart, in some cases, the steps shown or described may be performed in an order different from that shown or described herein. The control method is applied to at least one control center. The control method comprises the following steps:
step S110, when a preset event occurs in the connected network, generating a response instruction of the target device corresponding to the preset event.
Step S120, obtaining control judgment information, and when the control judgment information meets a control condition, the control center sends the response instruction to the target device, and/or the control center performs a preset control operation.
Optionally, when a preset event occurs in a connection network where the control center is located, a response instruction of the target device corresponding to the preset event is generated. The control center and the target Device can comprise any one of terminal devices (such as a smart phone, a PAD (Portable Android Device), and the like), wearable intelligent devices (such as a smart watch, a smart bracelet, a smart headset, and the like), smart home devices (such as a smart television, a smart sound box, and the like), and vehicle-connected network devices (such as a smart car, a vehicle-mounted terminal, and the like). And then acquiring control judgment information, and when the control judgment information meets the control condition, sending the response instruction to the target equipment by the control center, and/or executing a preset control operation by the control center.
Optionally, the step sequence of generating the response instruction of the target device corresponding to the preset event is optional, and as another implementation, the control method includes the steps of:
when a preset event occurs in the connected network, acquiring control judgment information;
when the control judgment information meets the control condition, generating a response instruction of the target equipment corresponding to the preset event;
and the control center sends the response instruction to the target equipment, and/or executes a preset control operation.
It should be noted that the alternative technical solution differs from the technical solution of the first embodiment only in that the sequence of the steps of generating the response instruction of the target device corresponding to the preset event is different, and the specific implementation manner of each step is the same.
Optionally, the step sequence of determining whether the control judgment information satisfies the control condition is optional, and as another implementation, the control method includes the steps of:
acquiring control judgment information, and generating a response instruction of target equipment corresponding to a preset event if the preset event occurs in a connection network when the control judgment information meets a control condition;
and the control center sends the response instruction to the target equipment, and/or executes a preset control operation.
The alternative technical solution is different from the technical solution of the first embodiment only in the order of the steps of judging whether the control judgment information satisfies the control condition, and the specific implementation of each step is the same.
Optionally, the control center maintains a topology of the connection network, and/or the target device is directly or indirectly connected to the control center.
Optionally, the control center maintains the topology of the connection network, it being understood that the control center may decide whether devices outside the connection network are allowed to access the connection network, or may decide a maximum or minimum of devices within the connection network, or may decide a connection relationship between settings within the connection network (e.g., fixed connection, direct connection, or indirect connection, etc.), or may decide whether to kick devices within the connection network out of the connection network; and/or, the target device is directly or indirectly connected to the control center, it is understood that, in the case of indirect connection between the target device and the control center, an intermediate device exists between the target device and the control center, the intermediate device establishes connection with the target device and the control center, respectively, and the control center indirectly controls the target device by controlling the intermediate device. The control center can also acquire the identity information of the target equipment through the intermediate equipment and establish direct connection with the target equipment through the identity information.
Optionally, the control judgment information includes at least one of:
user physiological parameter information, connection information, usage information, distance information, application information, status information.
Optionally, the control judgment information includes at least one of user physiological parameter information, connection information, usage information, distance information, application information, and status information.
For the physiological parameter information of the user, the equipment connected with the network where the control center is located has the capability of acquiring the physiological parameter information of the user, so that the equipment provides corresponding services, for example, the equipment provides health services by acquiring the physiological parameter information of the user, such as heart rate, blood pressure, pulse, blood oxygen, blood sugar and the like.
For the distance information, the distance between the device and the user may change when the device connected to the network where the control center is located is used by the user, for example, when the user places the smart phone in a bedroom and goes to the living room to watch television, the user moves from the bedroom to the living room, the user is farther away from the smart phone, and the distance between the user and the mobile phone can be specifically sensed through a wearable device (such as a smart watch) or an indoor positioning function or an indoor monitoring device (such as a camera) on the user.
For the application information, the application information may be installation application information and/or running application information, for example, if there is no security protection application (such as jinshanyaoba, 360 security guard, etc.) in the installation application or the running application, there may be a potential safety hazard or risk as a control center.
Optionally, the connection information includes at least one of: connection status information, network rate information.
Optionally, in the connection network, there are terminal devices or other devices (such as wearable devices, smart home devices, or vehicle connection network devices) that newly join the connection network, and also there are terminal devices or other devices that exit the connection network, and in order to grasp connection status information of each device joining or exiting in the connection network, the control center may maintain a connection information table, which may record device information and/or connection information (such as connection state, connection rate, connection history, etc.) of all the connection network devices, and the device information may be at least one of a device physical address, a device name, and a device code, and may also be other information that may represent a device. Wherein, the equipment code can be set by the control center, for example, the equipment code of the first equipment connected with the control center is 001, and the equipment code of the second equipment connected with the control center is 002; optionally, the devices in the connection network generally have a function of connecting with the interconnection network, such as a smart watch, a smart phone, a smart television, a smart car, and the like, and the network rate information corresponding to the devices may be affected by the devices themselves (e.g., the processing capability of the devices is low, and then the network is slow due to more applications of the devices in downloading data or accessing the internet at present, etc.) or affected by external factors (e.g., the signals of the locations of the devices are not good), so that the network rate is low.
The usage information includes at least one of: flow information, usage habit information, current usage application information.
Optionally, in the above-mentioned connection network, the device may have a capability of providing data network service, such as a smart phone, a PAD, etc., and the capability of providing data network service is used for obtaining data from the interconnection network, such as updating an application in the device, etc., and the cost of the current data network is not low, so that when the data network service is used, special attention needs to be paid to traffic information; for the use habit information, the user may be used to use a certain device in the connected network, that is, the frequency of using a certain device is high, or used to use a certain device in the connected network for a certain time period, a certain place and a certain purpose of use, for example, the user is used to use PAD to watch video, but not used to use a smart phone to watch video; for the current application information, in the using process of the device, a user can install some corresponding applications, such as video applications and game applications, according to the using requirements.
The status information includes at least one of: terminal state information, electric quantity information and storage space information.
Optionally, in the connection network, the terminal state information may be determined by the data processing capability of the device, the data processing capability of the device is strong or weak, and the current data processing capability of the device corresponding to the terminal state information is not good under the hardware condition, and it can be understood that the current data processing capability of the device in the hardware condition in the dead halt state is very weak; optionally, the terminal status information may also be whether the device is in a charging state, and it can be understood that the device needs electric energy during use, and the electric energy is generally provided by a battery, and the battery needs to be charged when the battery is exhausted or is about to be exhausted. For the electric quantity information, different devices in a connection network have batteries with different capacities, and the batteries have different residual electric quantities or different endurance times, for example, the battery capacity of a mobile phone is generally larger than that of a smart watch, and in addition, the situation that the residual electric quantity is smaller than the current electric quantity of the smart watch due to the fact that the mobile phone is not charged exists; the devices in the connected network exchange data during use and need to store the received data, and the storage space information of the devices may affect the working performance of the devices and may even determine the work that the devices can support, for example, the storage space of the devices is not large enough to support the data size that must be downloaded during their working.
Optionally, the control judgment information satisfies a control condition, and includes at least one of:
the user physiological parameter information accords with a first preset condition;
the connection information conforms to a second preset condition;
the use information accords with a third preset condition;
the distance information meets a fourth preset condition;
the application information meets a fifth preset condition;
the state information meets a sixth preset condition.
Optionally, the control judgment information meeting the control condition includes at least one of the condition that the user physiological parameter information meets a first preset condition, the connection information meets a second preset condition, the usage information meets a third preset condition, the distance information meets a fourth preset condition, the application information meets a fifth preset condition, and the state information meets a sixth preset condition.
Optionally, for the condition that the user physiological parameter information meets the first preset condition, in an embodiment, when it is detected that the user physiological parameter information reaches a preset physiological parameter information threshold, it is determined that the user physiological parameter information meets the first preset condition. Alternatively, the user physiological parameter information may be detected by a device within the connected network. The user physiological parameter information may be at least one of heart rate, blood pressure, pulse, blood oxygen, blood glucose. For example, if a user is asleep with a typical heart rate of 70 to 80 beats/minute, and the user is asleep with a typical heart rate of 40 to 50 beats/minute, then the preset heart rate threshold may be set to 50 beats/minute, and when the user's heart rate is detected to reach 50 beats/minute, it may be determined that the user is asleep; for another example, the heart rate of a user in the exercise state is generally 100 to 130 times/minute, and when the heart rate of the user is detected to reach 110 times/minute, the user can be determined to be in the exercise state, and then the physiological parameter information of the user is determined to meet the first preset condition.
Optionally, for the connection information meeting the second preset condition, the second preset condition may include determining whether the control center exits from the connection network by detecting the connection condition information, and if the control center exits from the connection network, the connection condition information meeting the second preset condition, and/or if the control center does not exit from the connection network, the connection condition information not meeting the second preset condition. In one embodiment, if the number of connections of the control center exceeds a preset threshold or a maximum value, the connection status information meets the second preset condition. In another embodiment, the connection status information may be in accordance with a second preset condition if the connection status of the control center is not smooth or the number of dropped connections exceeds a preset number.
The second preset condition may further include a rule for detecting the network rate information to determine whether the control center is suitable to continue to function as the control center to provide the control function. In order not to affect the linkage of each device in the connection network, a device with good network speed needs to be selected as a control center.
For example, it may be determined that the network rate of the other device controlled by the control center is greater than the network rate of the control center, that is, the network rate information meets the second preset condition. For example, the network rate of the control center is 500KB/s, and if there is a device with a network rate greater than 500KB/s among other devices controlled by the control center, it may be determined that the network rate information meets the second preset condition.
In this embodiment, a first network rate threshold may also be set for comparison between the network rate of other devices controlled by the control center and the network rate of the control center. For example, when the network rate of the other devices controlled by the control center is greater than or equal to the sum of the network rate of the control center and the first network rate threshold, determining that the network rate information meets the second preset condition; and/or when the network rate of the other equipment controlled by the control center is not greater than or equal to the sum of the network rate of the equipment and the first network rate threshold, that is, the network rates of the other equipment controlled by the control center are all less than the sum of the network rate of the control center and the first network rate threshold, determining that the network rate information does not meet the second preset condition.
For example, the network rate of the control center is 500KB/s, the first network rate threshold is 100KB/s, and the other device controlled by the control center has a device with a network rate of 600KB/s, and at this time, when the network rate of the other device controlled by the control center has a condition that the network rate of the device is equal to the sum of the network rate of the control center and the first network rate threshold, it is determined that the network rate information meets the second preset condition.
Optionally, in other embodiments, a second network rate threshold may be set, where the second network rate threshold is a minimum network rate that does not affect the ability of the control center to provide control services. Optionally, if the network rate of the control center is greater than or equal to a second network rate threshold, determining that the network rate information does not meet a second preset condition; and/or if the network rate of the control center is smaller than a second network rate threshold value, determining that the network rate information meets a second preset condition.
For example, the network rate of the control center is 400KB/s, the second network rate threshold is 500KB/s, and the network rate information may be determined to meet the second preset condition because the network rate of the control center is less than the second network rate threshold.
Optionally, for the usage information meeting a third preset condition, the third preset condition may include a rule that the traffic information is detected to determine whether the control center is suitable to continue to be the control center to provide the control function. In order not to influence the linkage of each device in the connection network, a device with a large residual flow rate needs to be selected as a control center, and the residual flow rate of other devices controlled by the control center is more than that of the control center, that is, it is determined that the flow rate information meets the third preset condition.
In this embodiment, a first remaining flow threshold may also be set for comparison between the remaining flow of other devices controlled by the control center and the remaining flow of the control center. For example, when the remaining flow of the device is greater than or equal to the sum of the remaining flow of the control center and the first remaining flow threshold value, the other device controlled by the control center determines that the flow information meets the third preset condition; and/or when the other equipment controlled by the control center does not have the condition that the residual flow of the equipment is more than or equal to the sum of the residual flow of the control center and the first residual flow threshold value, namely the residual flow of the other equipment controlled by the control center is less than the sum of the residual flow of the control center and the first residual flow threshold value, determining that the flow information does not meet the third preset condition.
For example, the remaining flow rate of the control center is 2000MB, the first remaining flow rate threshold is 300MB, and the other device controlled by the control center has a device with a remaining flow rate of 2300MB, and at this time, when the remaining flow rate of the other device controlled by the control center has a condition that the remaining flow rate of the device is equal to the sum of the remaining flow rate of the control center and the first remaining flow rate threshold, it is determined that the flow rate information meets the third preset condition.
Optionally, in other embodiments, a second remaining traffic threshold may be set, where the second remaining traffic threshold is the minimum remaining traffic that does not affect the ability of the control center to provide management services. Optionally, if the remaining flow of the control center is greater than or equal to the second remaining flow threshold, determining that the flow information does not meet a third preset condition; and/or if the residual flow of the control center is smaller than the second residual flow threshold, determining that the flow information meets a third preset condition.
For example, the remaining flow rate of the control center is 1800MB, the second remaining flow rate threshold is 2000MB, and since the remaining flow rate of the control center is less than the second remaining flow rate threshold, it may be determined that the flow rate information meets the third preset condition.
The third preset condition may further include a rule of detecting whether the control center is suitable to continue as the control center to provide the control function using the habit information.
In an embodiment, if the user is used to run with a smart headset or a smart watch in a certain time period in the morning, to watch a video through a PAD in a certain time period in the evening, and to read with a mobile phone in a certain time period in the morning on a weekend, it may be determined that the third preset condition is met if the corresponding time point control center is not a device meeting the user's habit.
In another embodiment, if the user is accustomed to using different devices in different environments, such as watching a smart tv at home, watching a vehicle-mounted terminal on a vehicle, using a smart phone in a company, etc., it may be determined that the third preset condition is met if the corresponding environment control center is not a device that meets the user's habit.
The third preset condition may further include a rule of detecting whether the current usage application information determines that the control center is suitable to continue as the control center to provide the control function.
In an embodiment, if the user is watching a video or playing a game using the control center, and in general, the device interfaces corresponding to the video and the game are displayed in full screen, which is inconvenient for the user to switch to the application interface corresponding to the control center to use the control function of the control center. Therefore, if the control center is running the video application, the game application and other applications which are inconvenient to switch to other interfaces, the current application information is determined to meet the third preset condition; and/or if the control center is convenient to operate and switch to the application of other interfaces, determining that the currently used application information does not meet a third preset condition.
In another embodiment, if the user is making a call or performing a video chat or a teleconference, and the user is also not convenient to switch the interface or control, it is determined that the currently used application information meets the third preset condition.
For the case that the distance information meets the fourth preset condition, the fourth preset condition may include a rule that the distance information is detected to determine whether the control center is suitable to continue to serve as the control center to provide the control function.
In an embodiment, when the distance between the user and the control center exceeds a preset range, it is determined that the distance information meets a fourth preset condition.
In one embodiment, each device in the connection network has a certain relative distance when being used by a user, and when the distance from the control center to other devices controlled by the control center is greater than or equal to a preset distance threshold, the distance information is determined to accord with a fourth preset condition; and/or when the distance from the control center to other equipment controlled by the control center is smaller than a preset distance threshold, determining that the distance information does not meet a fourth preset condition.
In another embodiment, if each connected network device is used as a control center, the total distance value between the device and other connected network devices may be calculated, the device with the shortest total distance value is used as a candidate control center, and if the control center is different from the candidate control center, it is determined that the distance information meets the fourth preset condition.
Optionally, for the application information meeting the fifth preset condition, in an embodiment, the application information may be installation application information and/or running application information, for example, if there is no security protection application (such as jinshanyaoba, 360 security guard, etc.) in the installation application or the running application, there is a potential safety hazard or risk as a control center, and it may be determined that the application information meets the fifth preset condition;
If the currently running application (which may be a foreground or a background) occupies more system resources (such as games, videos, and the like) or has a higher priority (such as telephones, short messages, mails, and the like) or is a preset list application, the user is generally inconvenient to switch to an operation interface corresponding to the control center and/or exercise the control function of the control center, and then it is determined that the application information meets the fifth preset condition.
For the state information meeting the sixth preset condition, the sixth preset condition may include a rule for detecting the terminal state information to determine whether the control center is suitable to continue to serve as the control center to provide the control function. In order to avoid influencing the linkage of each device in the connection network, a device with short response time corresponding to the terminal state needs to be selected as a control center.
In an embodiment, the terminal status information may be a data Processing capability of the device, such as a number or frequency of CPUs (Central Processing Units), a number or frequency of GPUs (graphical Processing Units), a number or frequency of NPUs (Neural network Processing Units), a memory capacity, a memory Processing speed, and the like, and if the data Processing capability of the control center is not strongest or not of a strong category, the terminal status information is determined to meet a sixth preset condition.
In another embodiment, for the current data processing capability of the device, it may be determined that the terminal state information meets the sixth preset condition if the response time corresponding to the device state of the other device controlled by the control center is shorter than the response time corresponding to the device state of the control center. For example, if the response time corresponding to the device state of the control center is 50ms, and if there is a device with a response time corresponding to the device state of 40ms, the other device controlled by the control center may determine that the terminal state information meets the sixth preset condition.
A first response time threshold may also be set for the comparison between the response time corresponding to the device status of the other device controlled by the control center and the response time corresponding to the device status of the control center. For example, when the sum of the response time corresponding to the device state of the device and the first response time threshold is smaller than or equal to the response time corresponding to the device state of the control center, the other device controlled by the control center determines that the terminal state information meets the sixth preset condition; and/or when the sum of the response time corresponding to the device state of the device and the first response time threshold value of other devices controlled by the control center does not exist under the condition that the sum of the response time corresponding to the device state of the device and the first response time threshold value is less than or equal to the response time corresponding to the device state of the control center, that is, the sum of the response time corresponding to the device state of other devices controlled by the control center and the first response time threshold value is greater than the response time corresponding to the device state of the control center, determining that the terminal state information does not accord with the sixth preset condition.
For example, when the response time corresponding to the device state of the control center is 50ms, the first response time threshold is 10ms, and the response time corresponding to the device state of the other device controlled by the control center is 40ms, and the sum of the response time corresponding to the device state of the other device controlled by the control center and the first response time threshold is equal to the response time corresponding to the state of the control center, it is determined that the terminal state information meets the sixth preset condition.
Optionally, in other embodiments, a second response time threshold may be set, where the second response time threshold is a maximum response time that does not affect the ability of the control center to provide management services. Optionally, if the response time corresponding to the device state of the control center is shorter than or equal to the second response time threshold, determining that the terminal state information does not meet a sixth preset condition; and/or if the response time corresponding to the equipment state of the control center is longer than the second response time threshold, determining that the terminal state information meets a sixth preset condition.
For example, the response time corresponding to the device state of the control center is 60ms, and the second response time threshold is 50ms, and since the response time corresponding to the device state of the control center is longer than the second response time threshold, it may be determined that the terminal state information meets the sixth preset condition.
In other embodiments, for the device in the charging state, the power consumption of the device at this time should be reduced as much as possible to prevent the accelerated battery loss, and therefore, if the device is in the charging state, it is determined that the terminal state information meets the sixth preset condition; and/or if the equipment is in a non-charging state, determining that the terminal state information does not meet a sixth preset condition.
In other embodiments, for a device in motion, it may be determined that the terminal state information meets the sixth preset condition due to inconvenient user operation or control.
In other embodiments, for a device in the stuck state, since the device may not respond well to the operation of the user, and the control center may not control other devices well, it may be determined that the terminal state information meets the sixth preset condition.
The sixth preset condition further includes a rule of detecting the electric quantity information to determine whether the control center is suitable to continue to serve as the control center to provide the control function. In order not to affect the linkage of each device in the connection network, a device with a long available time corresponding to the electric quantity needs to be selected as the control center, and the available time corresponding to the electric quantity of other devices controlled by the control center may be longer than the available time corresponding to the electric quantity of the control center, that is, it is determined that the electric quantity information conforms to the sixth preset condition. Or the remaining electric quantity value of other equipment controlled by the control center is larger than the electric quantity of the control center, that is, the electric quantity information is determined to meet the sixth preset condition.
In this embodiment, a first available time threshold may be set for comparing the available time corresponding to the electric quantity of the other device controlled by the control center with the available time corresponding to the electric quantity of the control center. For example, when the available time corresponding to the electric quantity of the device is longer than or equal to the sum of the available time corresponding to the electric quantity of the control center and the first available time threshold value, the other device controlled by the control center determines that the electric quantity information meets a sixth preset condition; and/or when the available time corresponding to the electric quantity of the other equipment controlled by the control center is longer than or equal to the sum of the available time corresponding to the electric quantity of the control center and the first available time threshold value, namely when the available time corresponding to the electric quantity of the other equipment controlled by the control center is smaller than the sum of the available time corresponding to the electric quantity of the control center and the first available time threshold value, determining that the electric quantity information does not meet the sixth preset condition.
For example, when the available time corresponding to the electric quantity of the control center is 200 minutes, the first available time threshold is 30 minutes, and the available time corresponding to the electric quantity of the other device controlled by the control center is 170 minutes, and at this time, the available time corresponding to the electric quantity of the other device controlled by the control center is equal to the sum of the available time corresponding to the electric quantity of the control center and the first available time threshold, it is determined that the electric quantity information meets the sixth preset condition.
Optionally, in other embodiments, a second available time threshold may be set, where the second available time threshold is the minimum available time that does not affect the ability of the control center to provide management services. Optionally, if the available time corresponding to the electric quantity of the control center is longer than or equal to the second available time threshold, determining that the electric quantity information does not meet a sixth preset condition; and/or if the available time corresponding to the electric quantity of the control center is shorter than the second available time threshold, determining that the electric quantity information meets a sixth preset condition.
For example, the available time corresponding to the electric quantity of the control center is 180 minutes, the second available time threshold is 200 minutes, and since the available time corresponding to the electric quantity of the control center is shorter than the second available time threshold, it may be determined that the electric quantity information meets the sixth preset condition.
The sixth preset condition further includes a rule of detecting the storage space information to determine whether the control center is suitable to continue to serve as the control center to provide the control function. In order not to affect the linkage of each device in the connection network, a device with a large remaining storage space needs to be selected as the control center, and it may be determined that the storage space information meets the sixth preset condition when the remaining storage space of other devices controlled by the control center is larger than the remaining storage space of the control center. The access speed of the Storage space of the other device controlled by the control center (e.g. a high-version UFS (Universal Flash Storage) or eMMC (Embedded MultiMedia Card) or SD (Secure Digital Card)) may be greater than the access speed of the Storage space of the control center (e.g. a low-version UFS or eMMC or SD), that is, it is determined that the Storage space information meets the sixth preset condition.
In this embodiment, a first remaining storage space threshold may also be set for comparison between the remaining storage space of other devices controlled by the control center and the remaining storage space of the control center. For example, when the remaining storage space of the other devices controlled by the control center is greater than or equal to the sum of the remaining storage space of the control center and the first remaining storage space threshold, determining that the storage space information meets a sixth preset condition; and/or when the other devices controlled by the control center do not have the condition that the remaining storage space of the devices is larger than or equal to the sum of the remaining storage space of the control center and the first remaining storage space threshold, that is, the remaining storage spaces of the other devices controlled by the control center are smaller than the sum of the remaining storage space of the control center and the first remaining storage space threshold, determining that the storage space information does not meet the sixth preset condition.
For example, when the remaining storage space of the control center is 2000MB, the first remaining storage space threshold is 300MB, and the other device controlled by the control center has a device whose remaining storage space is 2300MB, and at this time, the remaining storage space of the other device controlled by the control center has a condition that the remaining storage space of the device is equal to the sum of the remaining storage space of the control center and the first remaining storage space threshold, it is determined that the storage space information meets the sixth preset condition.
Optionally, in other embodiments, a second remaining storage space threshold may be further set, where the second remaining storage space threshold is a minimum remaining storage space that does not affect the ability of the control center to provide the management service. Optionally, if the remaining storage space of the control center is greater than or equal to the second remaining storage space threshold, determining that the storage space information does not meet a sixth preset condition; and/or if the remaining storage space of the control center is smaller than the second remaining storage space threshold, determining that the storage space information meets a sixth preset condition.
For example, the remaining storage space of the control center is 1800MB, the second remaining storage space threshold is 2000MB, and since the remaining storage space of the control center is smaller than the second remaining storage space threshold, it may be determined that the storage space information meets the sixth preset condition.
For the case where the control center sends a response instruction to the target device.
Optionally, when the preset event determination information meets a preset event determination condition, it is determined that a preset event occurs in the connection network where the connection network is located, and optionally, the preset event determination information includes at least one of the following:
environment information, time information, location information.
Optionally, the manner of determining that the preset event occurs in the connected network is that the control center determines whether the preset event determination information meets the preset event determination condition, that is, when the preset event determination information meets the preset event determination condition, the control center determines that the preset event occurs in the connected network.
Optionally, the preset event determination information may include at least one of: environment information, time information, location information.
And for the environment information, the environment information comprises external environment information, and the control center generates a response instruction aiming at the environment information when the brightness of the current external environment light reaches a brightness threshold value and/or the loudness of the current external environment noise reaches a loudness threshold value.
For example, when the brightness of the current external environment light reaches a brightness threshold and/or the loudness of the current external environment noise reaches a loudness threshold, for example, the brightness is lower than the brightness threshold, and the loudness is lower than the loudness threshold, it may be determined that the user has a sleep need, and at this time, an environment suitable for sleep (for example, turning off the light, turning off the smart tv) may be created for the user, and the control center generates a response instruction related to turning off the light. Optionally, when the control center generates the response instruction, the control center may further add a related instruction for outputting the prompt information to the response instruction. The related instruction can act on the control center and/or the target device, for example, the control center can output prompt information (such as the word "good night"), the smart television can output prompt information, or the control center and the smart television can output prompt information together to prompt the user why the smart television can make corresponding action (such as screen-off).
Correspondingly, the control judgment information corresponding to the environment information is the user physiological parameter information, and it can be understood that the user physiological parameter information is used for determining that the user has the sleep requirement again, so as to improve the reliability of the control center for generating a corresponding response instruction and sending the response instruction to the target equipment, when the physiological parameter information of the user is that the physiological parameter of the user reaches the physiological parameter threshold value, the control condition is met, for example, the physiological parameter of the user is a pulse parameter, the number of times (e.g. 50 times) corresponding to the pulse of the user in the resting or sleeping state is less than the number of times (e.g. 70 times) corresponding to the pulse of the user in the waking state, the physiological parameter threshold is set between 50-70 times, for example 60 times, and when the physiological parameter is less than 60 times, the control judgment information meets the control condition, and the control center sends a response instruction to the target equipment; and when the physiological parameter is more than 60 times, the control judgment information does not meet the control condition, and the control center does not send a response instruction to the target equipment. It should be noted that the physiological parameter information of the user can also be used as the preset event determination information, and similarly, the external environment information can also be used as the control judgment information.
For the time information, when the control center obtains the current time as the time corresponding to the behavior habit of the user, the control center generates a response instruction aiming at the time information and the corresponding behavior habit.
For example, when the current time is 20:00 of beijing, and the living habit of the user is that when the time is 20:00 of beijing, the smart television is turned on to watch television programs, in this case, the case one: the response instruction generated by the control center is used for waking up the system; alternatively, case two: the control center generates a response command to turn on a television program (e.g., the television program that the user has recently watched). It can be understood that, in the case of the first case, the smart tv is in the sleep state, in the case of the second case, the smart tv is in the running state, and when the control center generates the corresponding response command, the response command may be case one, case two, or a combination of case one and case two, optionally, the control center, in generating the response command, and a related instruction for outputting prompt information can be added to the response instruction corresponding to each condition combination, the related instruction can act on the control center and/or the intelligent television, that is, the control center may output the prompt information, or the smart tv may output the prompt information, or the control center and the smart tv output the prompt information together, so as to prompt the user why the smart tv may perform the corresponding action (e.g., turn on or turn on the screen, or turn off the screen, or turn on a certain tv channel, or switch the tv channel, etc.).
Correspondingly, the control judgment information corresponding to the time information is terminal state information, namely whether the intelligent television is in a power-on state or not, if the intelligent television is in the power-off state, the response instruction sent by the control center cannot be received and processed, the control judgment information does not meet the control condition, and the control center does not send the response instruction to the target equipment; if the intelligent television is in the on state, the response instruction sent by the control center can be received and processed, the control judgment information meets the control condition, and the control center sends the response instruction to the target equipment.
In one embodiment, when the control center and the target device (e.g., a smart television) are already in a connected state and the target device is powered on, if a preset event occurs (e.g., a preset time 24 is reached), the control center may send an instruction to the smart television to sleep or power off and/or output a reminding message according to user habit data or user setting or system setting.
For the position information, the control center may generate a response instruction for the position information and the corresponding behavior habit when acquiring that the current position is the position corresponding to the behavior habit of the user.
For example, the current location is a company address, and the living habit of the user is that when the current location is the company address, the navigation of the vehicle-mounted terminal is turned on to perform driving route planning (for example, a route from the company to home), and optionally, the control center may further add a relevant instruction for outputting the prompt information to the response instruction when generating the response instruction. The related instruction can act on the control center and/or the vehicle-mounted terminal, for example, the control center can output prompt information (such as the text "the navigation of the vehicle-mounted terminal is turned on"), the vehicle-mounted terminal can output the prompt information, or the control center and the vehicle-mounted terminal can output the prompt information together to prompt the user that the vehicle-mounted terminal can make corresponding action (such as turning on the navigation).
Correspondingly, the control judgment information corresponding to the position information is vehicle state information, namely whether a vehicle corresponding to the vehicle-mounted terminal is in a starting or starting completion state or not, if the vehicle is in the starting or starting completion state, a response instruction sent by the control center can be received and processed, the control judgment information meets the control condition, and the control center sends the response instruction to the target equipment; and/or if the vehicle is in an un-started state, the vehicle cannot receive and process the response instruction sent by the control center, the control judgment information does not meet the control condition, and the control center does not send the response instruction to the target equipment.
For the case where the control center performs a predetermined control operation.
Optionally, when the preset event determination information meets the preset event determination condition, the control center determines that the preset event occurs in the connection network where the control center is located, and optionally, the preset event determination information includes at least one of the following:
the information content, the environment information, the time information and the position information of the event determining information are preset.
For the time information, when the control center acquires that the current time is the preset time of the user, a response instruction aiming at the time information is generated. For example, if the current time is 20:00 of beijing time and the preset time is also 20:00 of beijing time, the preset event determination information meets the preset event determination condition.
For the position information, when the control center acquires that the current position is the preset position of the user, a response instruction for the position information is generated. For example, if the current location is home and the preset location is home, the preset event determination information satisfies the preset event determination condition.
Optionally, the information content comprises at least one of: sender information, receiver information, information text content and information display mode;
the environment information includes at least one of: external environment information, use environment information.
Optionally, the information content may include at least one of sender information, receiver information, information text content, and information presentation manner; the environment information may include at least one of external environment information and usage environment information.
Optionally, the sender information is information corresponding to a sender of the preset event determination information, the receiver information is information corresponding to a receiver of the preset event determination information, the content of the information is a content text of the preset event determination information, the information presentation mode is a presentation mode of the preset event determination information sent by the sender device to the receiver device, specifically, taking a short message or a message notification event as an example, the sender information of the short message or the message determination information may refer to sender device information (such as an address, a name, a type, and an identifier), a sender name, a sender number (such as a telephone, a QQ, a WeChat, a mailbox), and the like, the receiver information of the short message or the message determination information may refer to receiver device information, a receiver name, a receiver number, and the like, and the content of the text of the short message or the message determination information may refer to the content of the text of the short message or the message, the information display mode of the short message or the message determining information can be interface output, and can also be voice broadcast and the like.
Optionally, the environment information includes at least one of external environment information and usage environment information, and the device in which the control center is located and connected to the network has an ability to obtain the external environment information, such as obtaining brightness of external environment light and obtaining loudness of external environment noise; in the using process of the device, the using environment information changes along with the change of the environment where the user is located, the environment where the user is located can be sensed through a sensor (such as a camera, a microphone, a GPS, Bluetooth, WIFI, a gravity sensor, an acceleration sensor, a gyroscope and the like), if the user is moving, the device can detect that the user is in the moving environment, or if the user is driving, the device can detect that the user is in the driving environment, or if the user is working or meeting, the device can detect that the user is in the working or meeting environment.
Optionally, the control center performs a preset control operation, including at least one of:
the control center immediately or after delaying sends the response instruction to the target equipment;
switching part or all of the control function to the target equipment;
copying part or all of the control function to the target device;
Activating part or all of the control functions on the target device;
migrating or transferring the relevant data of the control center to target equipment;
the control center outputs first prompt information and/or controls equipment directly or indirectly connected with the control center to output second prompt information.
Optionally, the control center executing a preset control operation includes the control center immediately or after delaying sending the response instruction to the target device; switching part or all of the control function to the target equipment; copying part or all of the control function to the target device; activating part or all of the control functions on the target device; migrating or transferring the relevant data of the control center to target equipment; the control center outputs at least one of first prompt information and/or controls equipment directly or indirectly connected with the control center to output second prompt information.
When the control center sends the response instruction to the target device, an immediate or delayed sending strategy can be adopted, and for immediate sending, it can be understood that when the preset event is that the user needs to have a rest or sleep, the control center immediately turns off the light, that is, an environment suitable for the rest or sleep is immediately provided for the user, so that the user experience can be improved, namely, the control center is more flexible and intelligent in executing the control function; for delayed sending, it can be understood that, when the preset event is that the user needs to watch the program through the smart television, the control center may output related prompt information to the user in advance before the current time reaches the preset time to prompt the user that the program the user wishes to watch is to be played, but at this time, the control center does not send a response instruction to the target device, but sends a response instruction to the target device only when the current time is the preset time, and before sending the response instruction to the target device, the control center may also output related prompt information to the user, so that the user experience is improved, and the control center is more flexible and intelligent in executing the control function.
For switching the control function to the target device partially or entirely, when the control center is no longer suitable to continue to serve as the control center to provide the control function, the control center switches the control function to the target device suitable to serve as the control center to provide the control function.
It should be noted that, in some application scenarios, the control function may not need to be completely switched to the target device, but only needs to be switched to a device related to the target device, or used at a high frequency, or supported by the target device, so that the control function can be switched to facilitate the user operation, and the switching resource can be saved and/or the power consumption can be reduced;
optionally, part or all of the control functions may also be copied to the target device, which means that at least one target device may also have the same control function as the control center except the control center, so as to provide more operation entries for the user, thereby implementing more flexible and powerful functions, and in some implementations, in order to reduce the misoperation of the user, it may also be set that only one device having the control function is in an active state, that is: although there may be a plurality of devices with control functions in the connection network (such as the control center, the target device, etc. in this embodiment, even each device in the connection network may support the control function), only one device can issue a control instruction, specifically which one device has a plurality of determination policies, such as a device currently being used by the user; or the device with the largest residual capacity or the largest battery capacity; may be the device with the highest processing capacity or a system running smoothly or currently not running entertainment or multimedia applications (such as video, games, etc.) or currently running preset applications (such as telephone, short message, mail, WeChat, etc.); it may also be determined based on the priority of the device, such as the highest priority device.
For the relevant data of the migration or transfer control center to the target equipment, when the control center transfers the control function to the target equipment, the relevant data in the control center can be migrated or transferred to the target equipment, so that the target equipment can conveniently perform the control function according to the relevant data; in addition, the devices in the connection network have the capability of being used as the control center, so that the control center can also perform the control function when only the control function is transferred to the target device without transferring or transferring the relevant data in the control center to the target device.
Particularly, when the control center performs a control function, the control center can synchronize related data to the cloud, and for the case that the control center meets a second preset condition, because the control center has not yet had time to migrate or transfer the related data to the target device, the control center exits from the connection network, other devices controlled by the control center can continue to use the related data before the control center exits from the connection network, for example, the setting item parameters are maintained, and the target device obtains the related data before the control center exits from the cloud; and for the condition that the control center meets the fourth preset condition, the control center starts to migrate or transfer the related data when the distance from the control center to other equipment controlled by the control center is greater than or equal to a preset distance threshold value so as to ensure that the related data migration or transfer is completed before the control center is disconnected from the connection network.
And outputting the first prompt message to the control center, and/or controlling equipment directly or indirectly connected with the control center to output the second prompt message. It is to be understood that the purpose of the first prompt information and the second prompt information may be to enable the user to understand the reason why the control center sends the response instruction to the target device and the control operation performed by the target device for the response instruction.
For example, referring to fig. 4, 400 is a control center, which is a mobile phone, 401 is a list of devices controlled by the mobile phone, which includes a smart watch, a smart headset, and a smart television, 4000 is a target device, which is a smart watch controlled by the mobile phone, 4001 is a list of devices controlled by the smart watch, which includes a mobile phone, a smart headset, and a smart television of the control center, after a control function of 4002 is switched from the control center to the target device, a pop-up frame prompt message output by the target device is output, and of course, the pop-up frame may also be output by the control center.
It should be noted that, in the above case where the control center sends the response instruction to the target device or the control center performs a preset control operation, for the case where the control center sends the response instruction to the target device and the control center performs a preset control operation, it can be understood that, when the control judgment information satisfies the control condition, the control center needs to perform a preset control operation while sending the response instruction to the target device. For example, when the preset event is that the user needs to have a rest or sleep, the control center is a mobile phone, the control center generates a response instruction for turning off the light, and sends the response instruction to the corresponding light, the control function needs to be transferred to the smart watch in the connection network, so that the user can use the control function of the control center when waking up conveniently, the user experience is improved, and the control center is more flexible and intelligent when executing the control function.
Optionally, the step of generating, when a preset event occurs in the connection network where the target device corresponds to the preset event, a response instruction of the target device corresponding to the preset event includes at least one of:
when a preset event occurs in the connected network, outputting prompt information for selecting a preset mode, and generating the response instruction based on the selected preset mode;
when a preset event occurs in the connected network, automatically triggering and generating the response instruction according to the corresponding relation between the preset event and the response instruction;
and when a preset event occurs in the connected network, generating the response instruction based on the input control instruction.
Optionally, the step of generating a response instruction of the target device corresponding to the preset event when the preset event occurs in the connection network includes outputting a prompt message for selecting a preset mode when the preset event occurs in the connection network, and generating the response instruction based on the selected preset mode; when a preset event occurs in the connected network, automatically triggering and generating the response instruction according to the corresponding relation between the preset event and the response instruction; and when a preset event occurs in the connected network, generating at least one of the response instructions based on the input control instruction.
And outputting prompt information for selecting a preset mode when a preset event occurs in the connected network, and generating the response instruction based on the selected preset mode. And aiming at the preset event, the control center outputs corresponding prompt information, the prompt information is information for prompting a user to select a preset mode, and after the user selects the corresponding preset mode, a response instruction is generated based on the selected preset mode. The preset mode may include an automatic mode and a manual mode. In the automatic mode, corresponding response instructions can be automatically generated according to different preset events; and/or, in the manual mode, a response instruction corresponding to the control instruction needs to be generated through the control instruction input by the user. Referring to fig. 5, 5000 is a control center, 5001 is a display screen background image of the control center 5000, 5002 is a pop-up box prompt message output by the control center 5000 for prompting a user to set an operation mode of the control center, and the user can know detailed functions of the automatic mode and the manual mode by clicking "view details" therein.
And when a preset event occurs in the connected network, automatically triggering and generating the response instruction according to the corresponding relation between the preset event and the response instruction. The preset event and the response instruction have a corresponding relation, and the preset event and the response instruction can be matched through the corresponding relation, namely when the preset event occurs in the connection network, the control center automatically triggers and generates the corresponding response instruction without the operation of a user aiming at the preset event. For example, the preset event is that the user needs to rest or sleep, and according to the corresponding relation, the response instruction corresponding to the rest or sleep is to turn off the light, and then the light-off instruction is automatically triggered and generated.
And generating the response instruction based on the input control instruction when a preset event occurs in the connected network. When the preset event occurs in the connected network, the corresponding selectable processing item can be output to the user, and after the user inputs the corresponding control instruction for the selectable processing item, the control center generates a corresponding response instruction according to the control instruction. Referring to fig. 6, 6000 is a control center, 6001 is a bullet box output by the control center 6000, and is used for outputting corresponding selectable processing items and/or corresponding prompt information. For example, the selectable processing items comprise options of turning off the light and not turning off the light, and if the user selects to turn off the light, a response instruction of turning off the light is generated; and/or if the user selects not to turn off the light, generating an instruction for continuously detecting the physiological information parameters of the user, and creating an external environment suitable for sleeping (such as adjusting the room temperature) for the user after determining that the user is asleep.
In the embodiment, when a preset event occurs in a network where the network is connected, a response instruction of a target device corresponding to the preset event is generated; and acquiring control judgment information, and when the control judgment information meets a control condition, the control center sends the response instruction to the target equipment and/or executes a preset control operation. The control center can generate a corresponding response instruction when a preset event occurs in the connected network, and controls the device or the target device to make a corresponding response through the response instruction, so that the control interaction between the devices is more flexible and intelligent after the devices are mutually connected.
Optionally, based on the first embodiment of the control method of the present application, a second embodiment is provided, where the related data further includes at least one first related data and/or at least one second related data, and the step of migrating or transferring the related data in the control center to the target device includes at least one of:
backing up or transferring only first relevant data in the control center to the target device;
backing up or transferring only second related data in the control center to the target device;
backing up or transferring second related data corresponding to the first related data to the target equipment in addition to backing up or transferring the first related data in the control center to the target equipment;
backing up or transferring first related data and corresponding updated data in the control center to the target equipment;
backing up or transferring second related data and corresponding updated data in the control center to the target equipment;
and backing up or transferring the first related data and the corresponding updated data in the control center and the updated data of the second related data to the target equipment.
Optionally, the related data further comprises at least one first related data and/or at least one second related data. After the target device is determined, related data in the control center can be selectively backed up or transferred to the target device, so that the target device can perform a control function according to the related data.
Optionally, the manner of backing up or transferring the first related data and the second related data comprises at least one of: only backing up or transferring first related data in the control center to the target equipment; only backing up or transferring second related data in the control center to the target equipment; backing up or transferring second related data corresponding to the first related data to target equipment besides backing up or transferring the first related data in the control center to the target equipment; backing up or transferring first related data and corresponding updated data in a control center to target equipment; backing up or transferring second related data and corresponding updated data in the control center to the target equipment; and backing up or transferring the first relevant data and the corresponding updated data in the control center and the updated data of the second relevant data to the target equipment.
For the connection information data, the first related data may be connection information between the control center and other devices controlled by the control center; the second related data may be connection information between devices of other devices controlled by the control center; the updated data may be data corresponding to the relevant data updated by the control center during the process of backing up or transferring the relevant data, for example, in the process of backing up or transferring the relevant data, if there is an external device connected to the network to join the network and connect with the control center, the updated data at this time is connection information between the device joined to the network and the control center corresponding to the first relevant data.
For the setting item parameter data, the first related data may be setting data corresponding to a shortcut function, such as setting data for quickly starting a music playing function; the second related data may be an application (e.g. music player) or a local file (e.g. music, video, sound effects) associated with the shortcut function; the update data may be data corresponding to the related data updated by the control center in the process of backing up or transferring the related data, for example, in the process of backing up or transferring the related data, the setting data corresponding to the shortcut function changes, for example, the command of the opening gesture of the shortcut function changes, the button corresponding to the shortcut function is changed from "double-click" to "single-click" and then the update data at this time is the command of the "single-click" gesture to open the setting data corresponding to the shortcut function.
For the relevant downloaded data, the first relevant data can be the version number, release time, installation package and other data of the control center application; the second related data can be data generated in the running process of the control center application; the updated data may be data corresponding to the relevant data updated by the control center during the process of backing up or transferring the relevant data, such as data generated during the process of running the control center application by the control center during the process of backing up or transferring the relevant data.
Accordingly, when the control center transfers the control function of the control center to the target device, at least one of the connection information data, the setting item parameter data, and the relevant download data in the control center can be migrated or transferred to the target device. For example, the connection information data is migrated or transferred to the target device, so that the target device establishes a connection relationship with other devices controlled by the control center according to the connection information data, for example, the target device directly initiates a connection request to a device corresponding to the device physical address according to the device physical address in the connection information data, and does not need to search for a device within a connectable range of the target device to obtain the device physical address, so as to initiate the connection request.
According to the embodiment, through providing a migration or transfer scheme of various related data, more implementation modes can be provided for the related data during migration or transfer, more user requirements are met, user experience is improved, and the control center is more flexible and intelligent during execution of the control function.
Alternatively, referring to fig. 7, a third embodiment of the control method of the present application is presented, it being noted that while a logical order is shown in the flow chart, in some cases the steps shown or described may be performed in an order different than here. The control method is applied to at least one control center. The control method comprises the following steps:
Step S00, when a preset event occurs in the connected network, acquiring control judgment information, and when the control judgment information meets the control condition, executing the step S10;
step S10, acquiring preset information and a preset strategy;
and step S20, determining and executing a corresponding control strategy according to the preset information and the preset strategy.
Optionally, when a preset event occurs in the connected network, obtaining control judgment information, and when the control judgment information meets a control condition, executing the steps of obtaining preset information and presetting a strategy; and after the preset information and the preset strategy are obtained, determining and executing the corresponding control strategy according to the preset information and the preset strategy.
For a preset event, when the preset event determination information meets a preset event determination condition, determining that the preset event occurs in the connected network, optionally, the preset event determination information includes at least one of the following:
the preset event determines the information content, the environment information, the time information and the position information of the information.
For the time information, when the control center acquires that the current time is the preset time of the user, a response instruction aiming at the time information is generated. For example, if the current time is 20:00 of the beijing time and the preset time is also 20:00 of the beijing time, the preset event determination information meets the preset event determination condition.
For the position information, when the control center acquires that the current position is the preset position of the user, a response instruction for the position information is generated. For example, if the current location is home and the preset location is home, the preset event determination information satisfies the preset event determination condition.
Optionally, the information content comprises at least one of: sender information, receiver information, information text content and information display mode;
the environment information includes at least one of: external environment information, use environment information.
Optionally, the information content may include at least one of sender information, receiver information, information text content, and information presentation manner; the environment information may include at least one of external environment information and usage environment information.
Optionally, the sender information is information corresponding to a sender of the preset event determination information, the receiver information is information corresponding to a receiver of the preset event determination information, the content of the information is a content text of the preset event determination information, the information presentation mode is a presentation mode of the preset event determination information sent by the sender device to the receiver device, specifically, taking a short message or a message notification event as an example, the sender information of the short message or the message determination information may refer to sender device information (such as an address, a name, a type, and an identifier), a sender name, a sender number (such as a telephone, a QQ, a WeChat, a mailbox), and the like, the receiver information of the short message or the message determination information may refer to receiver device information, a receiver name, a receiver number, and the like, and the content of the text of the short message or the message determination information may refer to the content of the text of the short message or the message, the information display mode of the short message or the message determining information can be interface output, and can also be voice broadcast and the like.
Optionally, the environment information may include at least one of external environment information and usage environment information, and the device connected to the network where the control center is located has an ability to obtain the external environment information, such as obtaining brightness of external environment light and obtaining loudness of external environment noise; in the using process of the device, the using environment information changes along with the change of the environment where the user is located, the environment where the user is located can be sensed through a sensor (such as a camera, a microphone, a GPS, Bluetooth, WIFI, a gravity sensor, an acceleration sensor, a gyroscope and the like), if the user is moving, the device can detect that the user is in a moving environment, or if the user is driving, the device can detect that the user is in a driving environment, or if the user is working or meeting, the device can detect that the user is in a working or meeting environment.
Optionally, the control judgment information includes at least one of:
user physiological parameter information, connection information, usage information, distance information, application information, status information.
Alternatively, the control judgment information may include at least one of user physiological parameter information, connection information, usage information, distance information, application information, and status information.
For the physiological parameter information of the user, the equipment connected with the network where the control center is located has the capability of acquiring the physiological parameter information of the user, so that the equipment provides corresponding services, for example, the equipment provides health services by acquiring the physiological parameter information of the user such as heart rate, blood pressure, pulse, blood oxygen, blood sugar and the like.
For the distance information, the distance between the device and the user may change when the device connected to the network where the control center is located is used by the user, for example, when the user places the smart phone in a bedroom and goes to the living room to watch television, the user moves from the bedroom to the living room, the user is farther away from the smart phone, and the distance between the user and the mobile phone can be specifically sensed through a wearable device (such as a smart watch) or an indoor positioning function or an indoor monitoring device (such as a camera) on the user.
For the application information, the application information may be installation application information and/or running application information, for example, if there is no security protection application (such as jinshanyaoba, 360 security guard, etc.) in the installation application or the running application, there may be a potential safety hazard or risk as a control center.
Optionally, the connection information includes at least one of: connection status information, network rate information.
Optionally, in the connection network, there are terminal devices or other devices (such as wearable devices, smart home devices, or vehicle connection network devices) that newly join the connection network, and also there are terminal devices or other devices that exit the connection network, and in order to grasp connection status information of each device joining or exiting in the connection network, the control center may maintain a connection information table, which may record device information and/or connection information (such as connection state, connection rate, connection history, etc.) of all the connection network devices, and the device information may be at least one of a device physical address, a device name, and a device code, and may also be other information that may represent a device. Wherein, the equipment code can be set by the control center, for example, the equipment code of the first equipment connected with the control center is 001, and the equipment code of the second equipment connected with the control center is 002; optionally, the devices in the connection network generally have a function of connecting with the interconnection network, such as a smart watch, a smart phone, a smart television, a smart car, and the like, and the network rate information corresponding to the devices may be affected by the devices themselves (e.g., the processing capability of the devices is low, and then the network is slow due to more applications of the devices in downloading data or accessing the internet at present, etc.) or affected by external factors (e.g., the signals of the locations of the devices are not good), so that the network rate is low.
The usage information includes at least one of: flow information, usage habit information, current usage application information.
Optionally, in the above-mentioned connection network, the device may have a capability of providing data network service, such as a smart phone, a PAD, etc., and the capability of providing data network service is used for obtaining data from the interconnection network, such as updating an application in the device, etc., and the cost of the current data network is not low, so that when the data network service is used, special attention needs to be paid to traffic information; for the use habit information, the user may be used to use a certain device in the connected network, that is, the frequency of using a certain device is high, or used to use a certain device in the connected network for a certain time period, a certain place and a certain purpose of use, for example, the user is used to use PAD to watch video, but not used to use a smart phone to watch video; for the current application information, in the using process of the device, a user can install some corresponding applications, such as a video application and a game application, according to the using requirements.
The status information includes at least one of: terminal state information, electric quantity information and storage space information.
Optionally, in the connection network, the terminal state information may be determined by the data processing capability of the device, the data processing capability of the device is strong or weak, and the current data processing capability of the device corresponding to the terminal state information is not good under the hardware condition, and it can be understood that the current data processing capability of the device in the hardware condition in the dead halt state is very weak; optionally, the terminal status information may also be whether the device is in a charging state, and it can be understood that the device needs electric energy during use, and the electric energy is generally provided by a battery, and the battery needs to be charged when the battery is exhausted or is about to be exhausted. For the electric quantity information, different devices in the connection network have batteries with different capacities, and the batteries have different residual electric quantities or different endurance times, for example, the battery capacity of the mobile phone is generally larger than that of the smart watch, and in addition, the situation that the residual electric quantity is smaller than the current electric quantity of the smart watch due to the fact that the mobile phone is not charged exists; the devices in the connected network exchange data during use and need to store the received data, and the storage space information of the devices may affect the working performance of the devices and may even determine the work that the devices can support, for example, the size of the storage space of the devices is not large enough to support the size of the data that must be downloaded during their work.
Optionally, the control judgment information satisfies a control condition, and includes at least one of:
the control center is in a preset mode;
the user physiological parameter information accords with a physiological parameter preset rule;
the connection information conforms to a connection preset rule;
the use information accords with a use preset rule;
the distance information conforms to a preset distance rule;
the application information accords with an application preset rule;
the state information conforms to a state preset rule.
Optionally, the control judgment information meeting the control condition includes that the control center is in a preset mode; the user physiological parameter information accords with a physiological parameter preset rule; the connection information conforms to a connection preset rule; the use information accords with a use preset rule; the distance information accords with a preset distance rule; the application information accords with an application preset rule; the state information conforms to at least one of the preset rules of the state.
Optionally, when the control center is in the preset mode, the step of acquiring the preset information and the preset policy is executed only in the preset mode, and/or the step of acquiring the preset information and the preset policy is not executed when the control center is not in the preset mode. The preset mode may include a smart mode.
Optionally, for the condition that the physiological parameter information of the user conforms to the preset physiological parameter rule, in an embodiment, when it is detected that the physiological parameter information of the user reaches a preset physiological parameter information threshold value, it is determined that the physiological parameter information of the user conforms to the preset physiological parameter rule. Alternatively, the user physiological parameter information may be detected by a device within the connected network. The user physiological parameter information may be at least one of heart rate, blood pressure, pulse, blood oxygen, blood glucose. For example, if a user is in a non-sleep state with a heart rate of typically 70 to 80 beats/minute and the user is in a sleep state with a heart rate of typically 40 to 50 beats/minute, then the preset heart rate threshold may be set to 50 beats/minute, and when the user's heart rate is detected to reach 50 beats/minute, the user may be determined to be in a sleep state; for another example, the heart rate of a user in the exercise state is generally 100 to 130 times/minute, and when it is detected that the heart rate of the user reaches 110 times/minute, it is determined that the user is in the exercise state, and it is determined that the physiological parameter information of the user conforms to the preset physiological parameter rule.
Optionally, for the connection information conforming to the connection preset rule, the connection preset rule may include determining whether the control center exits from the connection network by detecting the connection status information, and if the control center exits from the connection network, the connection status information conforming to the connection preset rule, and/or if the control center does not exit from the connection network, the connection status information nonconforming to the connection preset rule. In one embodiment, if the number of connections of the control center exceeds a preset threshold or a maximum value, the connection status information conforms to a preset connection rule. In another embodiment, the connection status information may be in accordance with a preset connection rule if the connection status of the control center is not smooth or the number of dropped connections exceeds a preset number.
The connection pre-set rules further include rules for detecting network rate information to determine whether the control center is suitable to continue as a control center to provide control functions. In order not to affect the linkage of each device in the connection network, a device with good network speed needs to be selected as a control center.
For example, the network rate of the other devices controlled by the control center is greater than the network rate of the control center, that is, the network rate information is determined to conform to the connection default rule. For example, the network rate of the control center is 500KB/s, and if there is a device with a network rate greater than 500KB/s among other devices controlled by the control center, it may be determined that the network rate information conforms to the connection default rule.
In this embodiment, a first network rate threshold may also be set for comparison between the network rate of other devices controlled by the control center and the network rate of the control center. For example, when the network rate of other devices controlled by the control center is greater than or equal to the sum of the network rate of the control center and a first network rate threshold, determining that the network rate information conforms to a connection preset rule; and/or when the network rate of other equipment controlled by the control center is not greater than or equal to the sum of the network rate of the equipment and the first network rate threshold value, that is, the network rates of other equipment controlled by the control center are all less than the sum of the network rate of the control center and the first network rate threshold value, determining that the network rate information does not accord with the preset connection rule.
For example, the network rate of the control center is 500KB/s, the first network rate threshold is 100KB/s, and the other device controlled by the control center has a device with a network rate of 600KB/s, and at this time, when the network rate of the other device controlled by the control center has a condition that the network rate of the device is equal to the sum of the network rate of the control center and the first network rate threshold, it is determined that the network rate information conforms to the connection preset rule.
Optionally, in other embodiments, a second network rate threshold may be set, where the second network rate threshold is a minimum network rate that does not affect the ability of the control center to provide control services. Optionally, if the network rate of the control center is greater than or equal to the second network rate threshold, determining that the network rate information does not conform to the connection preset rule; and/or if the network rate of the control center is smaller than the second network rate threshold value, determining that the network rate information conforms to the connection preset rule.
For example, the network rate of the control center is 400KB/s, the second network rate threshold is 500KB/s, and the network rate information may be determined to meet the connection predetermined rule because the network rate of the control center is less than the second network rate threshold.
Optionally, for the usage information complying with the usage preset rule, the usage preset rule includes a rule for detecting the traffic information to determine whether the control center is suitable to continue to serve as the control center to provide the control function. In order not to influence the linkage of each device in the connection network, a device with a large residual flow rate needs to be selected as a control center, and the residual flow rate of other devices controlled by the control center is larger than that of the control center, that is, the flow rate information is determined to accord with the use preset rule.
In this embodiment, a first remaining flow threshold may also be set for comparison between the remaining flow of other devices controlled by the control center and the remaining flow of the control center. For example, when the remaining flow of the device is greater than or equal to the sum of the remaining flow of the control center and a first remaining flow threshold value, the other device controlled by the control center determines that the flow information meets the use preset rule; and/or when the other equipment controlled by the control center does not have the condition that the residual flow of the equipment is more than or equal to the sum of the residual flow of the control center and the first residual flow threshold value, namely the residual flow of the other equipment controlled by the control center is less than the sum of the residual flow of the control center and the first residual flow threshold value, determining that the flow information does not accord with the preset use rule.
For example, when the remaining flow rate of the control center is 2000MB, the first remaining flow rate threshold value is 300MB, and the device with the remaining flow rate of 2300MB exists in the other device controlled by the control center, and at this time, the remaining flow rate of the device exists in the other device controlled by the control center, which is equal to the sum of the remaining flow rate of the control center and the first remaining flow rate threshold value, it is determined that the flow rate information conforms to the preset rule.
Optionally, in other embodiments, a second remaining traffic threshold may be set, where the second remaining traffic threshold is the minimum remaining traffic that does not affect the ability of the control center to provide management services. Optionally, if the remaining flow of the control center is greater than or equal to the second remaining flow threshold, determining that the flow information does not conform to the preset rule; and/or if the residual flow of the control center is smaller than the second residual flow threshold, determining that the flow information conforms to the preset rule.
For example, the remaining flow rate of the control center is 1800MB, the second remaining flow rate threshold is 2000MB, and since the remaining flow rate of the control center is less than the second remaining flow rate threshold, it may be determined that the flow rate information conforms to the usage preset rule.
The using the preset rule further includes a rule of detecting the usage habit information to determine whether the control center is suitable to continue to serve as the control center to provide the control function.
In an embodiment, if a user is used to run with a smart headset or a smart watch in a certain time period in the morning, to watch a video through a PAD in a certain time period in the evening, and to read with a mobile phone in a certain time period in the morning on a weekend, it may be determined that the corresponding time point control center is not a device that meets the user's habits, and it may be determined that the preset rule is met.
In another embodiment, if the user is accustomed to using different devices in different environments, such as watching smart tv at home, watching a vehicle-mounted terminal on a vehicle, using a smart phone in a company, etc., it may be determined that the corresponding environment control center is not a device that meets the user's habit.
The usage preset rule further includes a rule for detecting the current usage application information to determine whether the control center is suitable to continue to serve as the control center to provide the control function.
In an embodiment, if a user is watching a video or playing a game by using a control center, and in general, the corresponding device interfaces are displayed in a full screen when watching the video or playing the game, which is inconvenient for the user to switch to the application interface corresponding to the control center to use the control function of the control center. Therefore, if the control center is running the video application, the game application and other applications which are inconvenient to switch to other interfaces, the current application information is determined to accord with the preset use rule; and/or determining that the current application information does not accord with the preset application rule if the control center is convenient to operate and switch to the application of other interfaces.
In another embodiment, if the user is making a call or performing a video chat or a conference call, and the user is not convenient to switch the interface or control, it is determined that the current application information conforms to the preset usage rule.
And if the distance information conforms to the distance preset rule, the distance preset rule comprises a rule for detecting the distance information to determine whether the control center is suitable to continue to be used as the control center to provide the control function.
In one embodiment, when the distance between the user and the control center exceeds a preset range, the distance information is determined to conform to a preset distance rule.
In one embodiment, each device in the connection network has a certain relative distance when being used by a user, and when the distance from the control center to other devices controlled by the control center is greater than or equal to a preset distance threshold value, the distance information is determined to accord with a preset distance rule; and/or when the distance between the control center and other equipment controlled by the control center is less than a preset distance threshold value, determining that the distance information does not accord with a preset distance rule.
In another embodiment, the total distance value between each connected network device and other connected network devices may be calculated if the connected network device is used as the control center, the device with the shortest total distance value is taken as the candidate control center, and if the control center is different from the candidate control center, it is determined that the distance information conforms to the preset distance rule.
Optionally, for the application information conforming to the application preset rule, in an embodiment, the application information may be installation application information and/or running application information, for example, if there is no security protection application (such as jinshanghai poison tyrant, 360 security guardian, etc.) in the installation application or the running application, there is a potential safety hazard or risk as a control center, and it may be determined that the application information conforms to the application preset rule;
If the currently running application (which may be a foreground or a background) occupies more system resources (such as games, videos, and the like) or has a higher priority (such as telephones, short messages, mails, and the like) or is a preset list application, the user is generally inconvenient to switch to an operation interface corresponding to the control center and/or exercise the control function of the control center, and then it is determined that the application information conforms to the preset application rule.
And if the state information conforms to the state preset rule, the state preset rule comprises a rule for detecting the state information of the terminal to determine whether the control center is suitable to be used as the control center to provide the control function. In order not to affect the linkage of each device in the connection network, a device with short response time corresponding to the terminal state needs to be selected as a control center.
In an embodiment, the terminal status information may be a data Processing capability of the device, such as a number or frequency of CPUs (Central Processing Units), a number or frequency of GPUs (graphical Processing Units), a number or frequency of NPUs (Neural network Processing Units), a memory capacity, a memory Processing speed, and the like, and if the data Processing capability of the control center is not strongest or not in a strong category, the terminal status information is determined to meet the status presetting rule.
In another embodiment, for the current data processing capability of the device, it may be determined that the terminal state information conforms to the state preset rule, that is, the response time corresponding to the device state of the other device controlled by the control center is shorter than the response time corresponding to the device state of the control center. For example, if the response time corresponding to the device state of the control center is 50ms, and if there is a device with a response time corresponding to the device state of 40ms in other devices controlled by the control center, it may be determined that the terminal state information conforms to the preset state rule.
A first response time threshold may also be set for the comparison between the response time corresponding to the device status of the other device controlled by the control center and the response time corresponding to the device status of the control center. For example, when the sum of the response time corresponding to the device state of the device and the first response time threshold value of other devices controlled by the control center is smaller than or equal to the response time corresponding to the device state of the control center, it is determined that the terminal state information conforms to the state preset rule; and/or when the sum of the response time corresponding to the device state of the device and the first response time threshold value of the other device controlled by the control center is not greater than or equal to the response time corresponding to the device state of the control center, that is, the sum of the response time corresponding to the device state of the other device controlled by the control center and the first response time threshold value is greater than the response time corresponding to the device state of the control center, determining that the terminal state information does not conform to the preset state rule.
For example, when the response time corresponding to the device state of the control center is 50ms, the first response time threshold is 10ms, and the response time corresponding to the device state of the other device controlled by the control center is 40ms, and at this time, the sum of the response time corresponding to the device state of the other device controlled by the control center and the first response time threshold is equal to the response time corresponding to the state of the control center, it is determined that the terminal state information conforms to the state preset rule.
Optionally, in other embodiments, a second response time threshold may be set, where the second response time threshold is a maximum response time that does not affect the ability of the control center to provide management services. Optionally, if the response time corresponding to the equipment state of the control center is shorter than or equal to a second response time threshold, determining that the terminal state information does not accord with a state preset rule; and/or if the response time corresponding to the equipment state of the control center is longer than the second response time threshold, determining that the terminal state information meets the state preset rule.
For example, the response time corresponding to the device state of the control center is 60ms, and the second response time threshold is 50ms, and since the response time corresponding to the device state of the control center is longer than the second response time threshold, it may be determined that the terminal state information conforms to the state preset rule.
In other embodiments, for a device in a charging state, the power consumption of the device at this time should be reduced as much as possible to prevent the accelerated battery consumption, and therefore, if the device is in the charging state, it is determined that the terminal state information conforms to the state preset rule; and/or if the equipment is in a non-charging state, determining that the terminal state information does not accord with the state preset rule.
In other embodiments, for a device in motion, the terminal state information may be determined to conform to the state preset rule due to inconvenience of user operation or control.
In other embodiments, for a device in a stuck state, since the device may not respond well to the operation of the user, the control center may not control other devices well, and it may be determined that the terminal state information conforms to the preset state rule.
The state preset rule further includes a rule for detecting the electric quantity information to determine whether the control center is suitable to continue to serve as the control center to provide the control function. In order not to affect the linkage of each device in the connection network, a device with long available time corresponding to the electric quantity needs to be selected as the control center, and the available time corresponding to the electric quantity of other devices controlled by the control center is longer than the available time corresponding to the electric quantity of the control center, that is, the electric quantity information is determined to meet the preset state rule. Or determining that the electric quantity information conforms to the preset state rule when the residual electric quantity value of other equipment controlled by the control center is larger than the electric quantity of the control center.
In this embodiment, a first available time threshold may also be set for comparison between available time corresponding to the electric quantity of the other device controlled by the control center and available time corresponding to the electric quantity of the control center. For example, when the available time corresponding to the electric quantity of the equipment is longer than or equal to the sum of the available time corresponding to the electric quantity of the control center and a first available time threshold value, other equipment controlled by the control center determines that the electric quantity information meets the state preset rule; and/or when the available time corresponding to the electric quantity of the other equipment controlled by the control center is longer than or equal to the sum of the available time corresponding to the electric quantity of the control center and the first available time threshold value, namely when the available time corresponding to the electric quantity of the other equipment controlled by the control center is smaller than the sum of the available time corresponding to the electric quantity of the control center and the first available time threshold value, determining that the electric quantity information does not accord with the state preset rule.
For example, when the available time corresponding to the electric quantity of the control center is 200 minutes, the first available time threshold is 30 minutes, and the available time corresponding to the electric quantity of the other device controlled by the control center is 170 minutes, the available time corresponding to the electric quantity of the other device controlled by the control center is equal to the sum of the available time corresponding to the electric quantity of the control center and the first available time threshold, it is determined that the electric quantity information conforms to the preset state rule.
Optionally, in other embodiments, a second available time threshold may be set, where the second available time threshold is the minimum available time that does not affect the ability of the control center to provide management services. Optionally, if the available time corresponding to the electric quantity of the control center is longer than or equal to a second available time threshold, determining that the electric quantity information does not conform to the preset state rule; and/or if the available time corresponding to the electric quantity of the control center is shorter than a second available time threshold, determining that the electric quantity information accords with the preset state rule.
For example, the available time corresponding to the electric quantity of the control center is 180 minutes, the second available time threshold is 200 minutes, and since the available time corresponding to the electric quantity of the control center is shorter than the second available time threshold, it can be determined that the electric quantity information conforms to the state preset rule.
The state presetting rule further includes a rule for detecting the storage space information to determine whether the control center is suitable to continue to serve as the control center to provide the control function. In order to not affect the linkage of each device in the connection network, a device with a large remaining storage space needs to be selected as a control center, and the storage space information can be determined to accord with the state preset rule if the remaining storage space of other devices controlled by the control center is larger than the remaining storage space of the control center. It may also be determined that the access speed of the Storage space of the other device controlled by the control center (e.g. a high version of UFS (Universal Flash Storage) or eMMC (Embedded MultiMedia Card) or SD (Secure Digital Card)) is greater than the access speed of the Storage space of the control center (e.g. a low version of UFS or eMMC or SD), that is, the Storage space information conforms to the state preset rule.
In this embodiment, a first remaining storage space threshold may also be set for comparison between the remaining storage space of other devices controlled by the control center and the remaining storage space of the control center. For example, when the remaining storage space of the other devices controlled by the control center is greater than or equal to the sum of the remaining storage space of the control center and the first remaining storage space threshold, determining that the storage space information meets the state preset rule; and/or when the other devices controlled by the control center do not have the condition that the residual storage space of the devices is larger than or equal to the sum of the residual storage space of the control center and the first residual storage space threshold, namely the residual storage spaces of the other devices controlled by the control center are smaller than the sum of the residual storage space of the control center and the first residual storage space threshold, determining that the storage space information does not accord with the state preset rule.
For example, when the remaining storage space of the control center is 2000MB, the first remaining storage space threshold is 300MB, and the other device controlled by the control center has a device whose remaining storage space is 2300MB, and at this time, the remaining storage space of the other device controlled by the control center has a condition that the remaining storage space of the device is equal to the sum of the remaining storage space of the control center and the first remaining storage space threshold, it is determined that the storage space information conforms to the state preset rule.
Optionally, in other embodiments, a second remaining storage space threshold may be further set, where the second remaining storage space threshold is a minimum remaining storage space that does not affect the ability of the control center to provide the management service. Optionally, if the remaining storage space of the control center is greater than or equal to the second remaining storage space threshold, determining that the storage space information does not accord with the state preset rule; and/or if the remaining storage space of the control center is smaller than the second remaining storage space threshold, determining that the storage space information meets the state preset rule.
For example, the remaining storage space of the control center is 1800MB, the second remaining storage space threshold is 2000MB, and since the remaining storage space of the control center is smaller than the second remaining storage space threshold, it may be determined that the storage space information conforms to the state preset rule.
Optionally, the preset information includes at least one of: connection information, state information, environment information, usage information, distance information, user physiological parameter information.
The connection information includes at least one of: connection status information, network rate information.
Optionally, for the connection information, the connection information includes at least one of connection status information and network rate information.
Optionally, in the connection network, there are terminal devices or other devices (such as wearable devices, smart home devices, or vehicle connection network devices) that newly join the connection network, and also there are terminal devices or other devices that exit the connection network, and in order to grasp connection status information of each device joining or exiting in the connection network, the control center may maintain a connection information table, which may record device information and/or connection information (such as connection state, connection rate, connection history, etc.) of all the connection network devices, and the device information may be at least one of a device physical address, a device name, and a device code, and may also be other information that may represent a device. Wherein, the equipment code can be set by the control center, for example, the equipment code of the first equipment connected with the control center is 001, and the equipment code of the second equipment connected with the control center is 002; optionally, the devices in the connection network generally have a function of connecting with the interconnection network, such as a smart watch, a mobile phone, a smart television, a smart car, and the like, and the network rate information corresponding to the devices may be affected by the devices themselves (e.g., the processing capability of the devices is low, and then the network is slow due to more applications of the devices in downloading data or accessing the internet at present, etc.) or affected by external factors (e.g., the signals of the locations of the devices are not good), so that the network rate is low.
The status information includes at least one of: terminal state information, electric quantity information and storage space information.
Alternatively, for the state information, the state information may include at least one of terminal state information, power information, and storage space information.
Optionally, in the connection network, the terminal state information may be determined by the data processing capability of the device, the data processing capability of the device is strong or weak, and the current data processing capability of the device corresponding to the terminal state information is not good under the hardware condition, and it can be understood that the current data processing capability of the device in the hardware condition in the dead halt state is very weak; optionally, the terminal status information may also be whether the device is in a charging state, and it can be understood that the device needs electric energy during use, and the electric energy is generally provided by a battery, and the battery needs to be charged when the battery is exhausted or is about to be exhausted. For the electric quantity information, different devices in the connection network have batteries with different capacities, and the batteries have different residual electric quantities or different endurance times, for example, the battery capacity of the mobile phone is generally larger than that of the smart watch, and in addition, the situation that the residual electric quantity is smaller than the current electric quantity of the smart watch due to the fact that the mobile phone is not charged exists; the devices in the connected network exchange data during use and need to store the received data, and the storage space information of the devices may affect the working performance of the devices and may even determine the work that the devices can support, for example, the size of the storage space of the devices is not large enough to support the size of the data that must be downloaded during their work.
The environmental information includes at least one of: external environment information, use environment information.
Alternatively, the environment information may include at least one of external environment information and usage environment information.
Optionally, in the connection network, the device has the capability of acquiring external environment information, such as acquiring the brightness of external environment light and acquiring the loudness of external environment noise; in the using process of the device, the using environment information changes along with the change of the environment where the user is located, the environment where the user is located can be sensed through a sensor (such as a camera, a microphone, a GPS, Bluetooth, WIFI, a gravity sensor, an acceleration sensor, a gyroscope and the like), if the user is moving, the device can detect that the user is located in the moving environment, and correspondingly adjust the device parameters, so that the user can conveniently use the device in the moving environment, or if the user is driving, the device correspondingly adjusts the device parameters when the device detects that the user is located in the driving environment, so that the user can conveniently use the device in the driving environment, or if the user is working or meeting, the device correspondingly adjusts the device parameters when the device detects that the user is located in the working or meeting environment.
The usage information includes at least one of: flow information, usage habit information, current usage application information.
Alternatively, for the usage information, the usage information may include at least one of traffic information, usage habit information, and current usage application information.
Alternatively, in the above-mentioned connection network, the device may have a data network service providing capability, such as a mobile phone, a PAD, etc., for obtaining data from the interconnection network, such as updating an application in the device, etc., and the current data network cost is not low, so that when using the data network service, special attention needs to be paid to the traffic information; for the use habit information, the user may be used to use a certain device in the connected network, that is, the frequency of using a certain device is high, or used to use a certain device in the connected network for a certain time period, a certain place and a certain purpose of use, for example, the user is used to watch a video by using PAD, but not used to watch a video by using a mobile phone; for the current application information, in the using process of the device, a user can install some corresponding applications, such as video applications and game applications, according to the using requirements.
Optionally, for the distance information, in the above-mentioned connection network, the distance between the device and the user may change during the use of the device by the user, for example, if the user places the mobile phone in a bedroom and goes to the living room to watch tv, the user and the mobile phone become farther and farther during the movement of the user from the bedroom to the living room.
Optionally, for the user physiological parameter information, within the above connection network, the device has the capability of acquiring the user physiological parameter information to provide corresponding services, such as providing health services by acquiring physiological information of the user, such as heart rate, blood pressure, pulse, blood oxygen, blood sugar, and the like.
Optionally, the step of determining and executing the corresponding control policy according to the preset information and the preset policy includes at least one of:
if the connection state information accords with a first preset rule, executing corresponding equipment control operation according to a first preset strategy;
if the network rate information accords with a second preset rule, executing corresponding equipment control operation according to a second preset strategy;
if the terminal state information accords with a third preset rule, executing corresponding equipment control operation according to a third preset strategy;
if the electric quantity information accords with a fourth preset rule, executing corresponding equipment control operation according to a fourth preset strategy;
if the storage space information accords with a fifth preset rule, executing corresponding equipment control operation according to a fifth preset strategy;
if the external environment information conforms to a sixth preset rule, executing corresponding equipment control operation according to a sixth preset strategy;
If the using environment information accords with a seventh preset rule, executing corresponding equipment control operation according to a seventh preset strategy;
if the flow information conforms to an eighth preset rule, executing corresponding equipment control operation according to an eighth preset strategy;
if the use habit information accords with a ninth preset rule, executing corresponding equipment control operation according to a ninth preset strategy;
if the distance information accords with a tenth preset rule, executing corresponding equipment control operation according to a tenth preset strategy;
and if the user physiological parameter information accords with an eleventh preset rule, executing corresponding equipment control operation according to an eleventh preset strategy.
And if the connection state information accords with a first preset rule, executing corresponding equipment control operation according to a first preset strategy.
Optionally, whether the connection status information conforms to a first preset rule is detected, and if the connection status information conforms to the first preset rule, corresponding device control operation is executed according to a first preset policy. Optionally, the first preset rule is that whether the control center exits from the connection network is determined by detecting connection status information, if the control center exits from the connection network, the connection status information conforms to the first preset rule, and/or if the control center does not exit from the connection network, the connection status information does not conform to the first preset rule.
In an embodiment, if the connection number of the control center exceeds a preset threshold or a maximum value, the connection status information conforms to a first preset rule, and a corresponding device control operation is executed according to a first preset policy.
In another embodiment, if the connection status of the control center is not smooth or the number of times of disconnection exceeds a preset number, the connection status information conforms to a first preset rule, and corresponding device control operation is executed according to a first preset policy.
And if the network rate information conforms to a second preset rule, executing corresponding equipment control operation according to a second preset strategy.
Optionally, whether the network rate information conforms to a second preset rule is detected, and if the network rate information conforms to the second preset rule, corresponding device control operation is executed according to a second preset strategy. The second preset rule is a rule for determining whether the control center is suitable to continue to serve as the control center to provide a control function by detecting the network rate information. In order not to affect the linkage of each device in the connection network, a device with good network speed needs to be selected as a control center.
For example, it may be determined that the network rate of the other device controlled by the control center is greater than the network rate of the control center, that is, the network rate information conforms to the second predetermined rule. For example, the network rate of the control center is 500KB/s, and if there is a device with a network rate greater than 500KB/s in other devices controlled by the control center, it may be determined that the network rate information conforms to the second predetermined rule.
In this embodiment, a first network rate threshold may also be set for comparison between the network rate of other devices controlled by the control center and the network rate of the control center. For example, when the network rate of other devices controlled by the control center is greater than or equal to the sum of the network rate of the control center and the first network rate threshold, determining that the network rate information conforms to a second preset rule; and/or when the network rate of the other equipment controlled by the control center is not greater than or equal to the sum of the network rate of the equipment and the first network rate threshold value, that is, the network rates of the other equipment controlled by the control center are all less than the sum of the network rate of the control center and the first network rate threshold value, determining that the network rate information does not accord with the second preset rule.
For example, the network rate of the control center is 500KB/s, the first network rate threshold is 100KB/s, and the other device controlled by the control center has a device with a network rate of 600KB/s, and at this time, when the network rate of the other device controlled by the control center has a condition that the network rate of the device is equal to the sum of the network rate of the control center and the first network rate threshold, it is determined that the network rate information conforms to the second preset rule.
Optionally, in other embodiments, a second network rate threshold may be set, where the second network rate threshold is a minimum network rate that does not affect the ability of the control center to provide management services. Optionally, if the network rate of the control center is greater than or equal to a second network rate threshold, determining that the network rate information does not conform to a second preset rule; and/or if the network rate of the control center is smaller than a second network rate threshold value, determining that the network rate information conforms to a second preset rule.
For example, the network rate of the control center is 400KB/s, the second network rate threshold is 500KB/s, and the network rate information may be determined to conform to the second predetermined rule since the network rate of the control center is less than the second network rate threshold.
And if the terminal state information conforms to a third preset rule, executing corresponding equipment control operation according to a third preset strategy.
Optionally, whether the terminal state information conforms to a third preset rule is detected, and if the terminal state information conforms to the third preset rule, corresponding device control operation is executed according to a third preset strategy. The third preset rule is a rule for determining whether the control center is suitable to continue to serve as the control center to provide a control function by detecting the terminal state information. In order not to affect the linkage of each device in the connection network, a device with short response time corresponding to the device state needs to be selected as a control center.
In an embodiment, the terminal status information may be a data Processing capability of the device, such as a number or frequency of CPUs (Central Processing Units), a number or frequency of GPUs (graphical Processing Units), a number or frequency of NPUs (Neural network Processing Units), a memory capacity, a memory Processing speed, and the like, and if the data Processing capability of the control center is not strongest or not of a strong category, the terminal status information is determined to conform to the third predetermined rule.
In another embodiment, for the current data processing capability of the device, it may be determined that the terminal state information conforms to the third preset rule that the response time corresponding to the device state of the other device controlled by the control center is shorter than the response time corresponding to the device state of the control center. For example, if the response time corresponding to the device state of the control center is 50ms, and if there is a device with a response time corresponding to the device state of 40ms in another device controlled by the control center, it may be determined that the terminal state information conforms to the third preset rule.
A first response time threshold may also be set for the comparison between the response time corresponding to the device status of the other device controlled by the control center and the response time corresponding to the device status of the control center. For example, when the sum of the response time corresponding to the device state of the device and the first response time threshold is smaller than or equal to the response time corresponding to the device state of the control center, the other device controlled by the control center determines that the terminal state information conforms to a third preset rule; and/or when the sum of the response time corresponding to the device state of the device and the first response time threshold value is not greater than or equal to the response time corresponding to the device state of the control center, the other device controlled by the control center determines that the terminal state information does not conform to the third preset rule.
For example, when the response time corresponding to the device state of the control center is 50ms, the first response time threshold is 10ms, and the response time corresponding to the device state of the other device controlled by the control center is 40ms, and the sum of the response time corresponding to the device state of the other device controlled by the control center and the first response time threshold is equal to the response time corresponding to the state of the control center, it is determined that the terminal state information conforms to the third preset rule.
Optionally, in other embodiments, a second response time threshold may be set, where the second response time threshold is a maximum response time that does not affect the ability of the control center to provide the management service. Optionally, if the response time corresponding to the device state of the control center is shorter than or equal to the second response time threshold, determining that the terminal state information does not conform to a third preset rule; and/or if the response time corresponding to the equipment state of the control center is longer than the second response time threshold, determining that the terminal state information accords with a third preset rule.
For example, the response time corresponding to the device state of the control center is 60ms, and the second response time threshold is 50ms, and since the response time corresponding to the device state of the control center is longer than the second response time threshold, it may be determined that the terminal state information conforms to the third preset rule.
In other embodiments, for a device in a charging state, the power consumption of the device at this time should be reduced as much as possible to prevent the accelerated battery consumption, and therefore, if the device is in the charging state, it is determined that the terminal state information conforms to the third preset rule; and/or if the equipment is in a non-charging state, determining that the terminal state information does not accord with a third preset rule.
In other embodiments, for a device in motion, the terminal state information may be determined to conform to the third preset rule due to inconvenient user operation or control.
In other embodiments, for a device in the stuck state, since the device may not respond well to the user operation, and the control center may not control other devices well, it may be determined that the terminal state information conforms to the third preset rule.
And if the electric quantity information accords with a fourth preset rule, executing corresponding equipment control operation according to a fourth preset strategy.
Optionally, whether the electric quantity information accords with a fourth preset rule is detected, and if the electric quantity information accords with the fourth preset rule, corresponding device control operation is executed according to a fourth preset strategy. The fourth preset rule is a rule for determining whether the control center is suitable to continue to serve as the control center to provide a control function by detecting the electric quantity information. In order not to affect the linkage of each device in the connection network, a device with a long available time corresponding to the electric quantity needs to be selected as the control center, and the available time corresponding to the electric quantity of other devices controlled by the control center may be longer than the available time corresponding to the electric quantity of the control center, that is, it is determined that the electric quantity information conforms to the fourth preset rule. Or the remaining electric quantity value of other equipment controlled by the control center is larger than the electric quantity of the control center, that is, the electric quantity information is determined to accord with the fourth preset rule.
In this embodiment, a first available time threshold may also be set for comparison between available time corresponding to the electric quantity of the other device controlled by the control center and available time corresponding to the electric quantity of the control center. For example, when the available time corresponding to the electric quantity of the equipment is longer than or equal to the sum of the available time corresponding to the electric quantity of the control center and the first available time threshold value, the other equipment controlled by the control center determines that the electric quantity information conforms to a fourth preset rule; and/or when the available time corresponding to the electric quantity of the other equipment controlled by the control center is longer than or equal to the sum of the available time corresponding to the electric quantity of the control center and the first available time threshold value, namely when the available time corresponding to the electric quantity of the other equipment controlled by the control center is smaller than the sum of the available time corresponding to the electric quantity of the control center and the first available time threshold value, determining that the electric quantity information does not accord with the fourth preset rule.
For example, when the available time corresponding to the electric quantity of the control center is 200 minutes, the first available time threshold is 30 minutes, and the other device controlled by the control center has a device whose available time corresponding to the electric quantity is 170 minutes, and at this time, the available time corresponding to the electric quantity of the other device controlled by the control center has a condition that the available time corresponding to the electric quantity of the device is equal to the sum of the available time corresponding to the electric quantity of the control center and the first available time threshold, it is determined that the electric quantity information conforms to the fourth preset rule.
Optionally, in other embodiments, a second available time threshold may be set, where the second available time threshold is the minimum available time that does not affect the ability of the control center to provide management services. Optionally, if the available time corresponding to the electric quantity of the control center is longer than or equal to the second available time threshold, determining that the electric quantity information does not conform to a fourth preset rule; and/or if the available time corresponding to the electric quantity of the control center is shorter than the second available time threshold, determining that the electric quantity information accords with a fourth preset rule.
For example, the available time corresponding to the electric quantity of the control center is 180 minutes, the second available time threshold is 200 minutes, and since the available time corresponding to the electric quantity of the control center is shorter than the second available time threshold, it may be determined that the electric quantity information conforms to the fourth preset rule.
And if the storage space information accords with a fifth preset rule, executing corresponding equipment control operation according to a fifth preset strategy.
Optionally, whether the storage space information conforms to a fifth preset rule is detected, and if the storage space information conforms to the fifth preset rule, corresponding device control operation is executed according to a fifth preset policy. The fifth preset rule is a rule for determining whether the control center is suitable to continue to serve as the control center to provide the control function by detecting the storage space information. In order not to affect the linkage of each device in the connection network, a device with a large remaining storage space needs to be selected as the control center, and the remaining storage space of other devices controlled by the control center may be larger than the remaining storage space of the control center, that is, it is determined that the storage space information conforms to the fifth preset rule. It may also be determined that the access speed of the Storage space of the other device controlled by the control center (e.g. the high-version UFS (Universal Flash Storage) or eMMC (Embedded MultiMedia Card) or SD (Secure Digital Card)) is greater than the access speed of the Storage space of the control center (e.g. the low-version UFS or eMMC or SD), that is, the Storage space information conforms to the fifth preset rule.
In this embodiment, a first remaining storage space threshold may also be set for comparison between the remaining storage space of other devices controlled by the control center and the remaining storage space of the control center. For example, when the remaining storage space of the other devices controlled by the control center is greater than or equal to the sum of the remaining storage space of the control center and the first remaining storage space threshold, determining that the storage space information conforms to a fifth preset rule; and/or when the other devices controlled by the control center do not have the condition that the residual storage space of the devices is larger than or equal to the sum of the residual storage space of the control center and the first residual storage space threshold, that is, the residual storage spaces of the other devices controlled by the control center are smaller than the sum of the residual storage space of the control center and the first residual storage space threshold, determining that the storage space information does not accord with the fifth preset rule.
For example, when the remaining storage space of the control center is 2000MB, the first remaining storage space threshold is 300MB, and the other device controlled by the control center has a device whose remaining storage space is 2300MB, and at this time, the remaining storage space of the other device controlled by the control center has a sum of the remaining storage space of the device and the first remaining storage space threshold, it is determined that the storage space information conforms to the fifth preset rule.
Optionally, in other embodiments, a second remaining storage space threshold may be further set, where the second remaining storage space threshold is a minimum remaining storage space that does not affect the ability of the control center to provide the management service. Optionally, if the remaining storage space of the control center is greater than or equal to the second remaining storage space threshold, determining that the storage space information does not conform to a fifth preset rule; and/or if the remaining storage space of the control center is smaller than the second remaining storage space threshold, determining that the storage space information conforms to a fifth preset rule.
For example, the remaining storage space of the control center is 1800MB, the second remaining storage space threshold is 2000MB, and since the remaining storage space of the control center is smaller than the second remaining storage space threshold, it may be determined that the storage space information conforms to the fifth preset rule.
And if the external environment information conforms to a sixth preset rule, executing corresponding equipment control operation according to a sixth preset strategy.
Optionally, whether the external environment information conforms to a sixth preset rule is detected, and if the external environment information conforms to the sixth preset rule, corresponding device control operation is executed according to a sixth preset strategy. The sixth preset rule is a rule for determining whether the control center is suitable to continue to serve as the control center to provide a control function by detecting the external environment information.
In an embodiment, when it is detected that the brightness of the external environment light reaches a brightness threshold and/or the loudness of the external environment noise reaches a loudness threshold, it is determined that the external environment information conforms to a sixth preset rule; and/or determining that the external environment information does not accord with a sixth preset rule when detecting that the brightness of the external environment light does not reach a brightness threshold and/or the loudness of the external environment noise does not reach a loudness threshold.
For example, when the brightness of the external environment light reaches a brightness threshold and the loudness of the external environment noise reaches a loudness threshold, if the brightness is lower than the brightness threshold and the loudness is lower than the loudness threshold, it may be determined that the user is ready to enter or is in a quiet state (e.g., sleep), and at this time, the user is inconvenient to acquire devices such as a mobile phone and a PAD, and is convenient to acquire devices such as a smart bracelet and a smart watch. Therefore, if the brightness of the external environment light is lower than the brightness threshold and the loudness of the external environment noise is lower than the loudness threshold, the control center is one of the devices which are inconvenient for users to obtain currently, such as a mobile phone, a PAD and the like, and it is determined that the external environment information conforms to the sixth preset rule; and/or if the brightness of the external environment light is lower than the brightness threshold and the loudness of the external environment noise is lower than the loudness threshold, the control center is an intelligent bracelet, an intelligent watch and other devices which are convenient to obtain at present, and then the external environment information is determined not to conform to a sixth preset rule.
In another embodiment, the external environment information may be time information and/or geographic information, and optionally, if the external environment information is located at a time when the control center is not convenient to use (for example, the mobile phone is inconvenient to use during the working hours or in the early morning hours), or a place where the control center is not allowed to be carried (for example, the place where the mobile phone is not allowed to enter), it is determined that the external environment information conforms to the sixth preset rule.
And if the using environment information accords with a seventh preset rule, executing corresponding equipment control operation according to a seventh preset strategy.
Optionally, it is detected whether the usage environment information conforms to a seventh preset rule, and if the usage environment information conforms to the seventh preset rule, a corresponding device control operation is executed according to a seventh preset policy. Wherein, the seventh preset rule is a rule for determining whether the control center is suitable to continue to be the control center to provide the control function by detecting the using environment information.
In an embodiment, if the user is in the sports environment, it is obvious that the user is inconvenient to use the devices such as the mobile phone and the PAD, and is convenient to use the wearable devices such as the smart band and the smart watch. Therefore, if the control center is one of the devices which are inconvenient to use when the user moves, such as a mobile phone and a PAD, before the user is in the motion environment, the information of the use environment is determined to accord with a seventh preset rule; and/or if the user is in the sports environment, and the control center is one of the devices which are convenient to use when the user moves, such as the intelligent bracelet and the intelligent watch, the use environment information is determined not to conform to the seventh preset rule.
Whether the user is in the exercise environment or not is detected, the judgment can be performed according to a contextual model (such as an exercise model and an outdoor model) of the control center, or according to a motion sensor of the control center and/or other equipment, or according to camera data of the control center and/or other equipment.
In another embodiment, if the user is in a driving environment, it is obvious that the user is inconvenient to use devices such as a mobile phone, a PAD, and the like, and convenient to use devices such as a smart watch, a smart headset, a vehicle-mounted terminal, and the like. Therefore, if the control center is one of the mobile phones, PADs and other devices which are inconvenient for the user to use before the user is in the driving environment, the use environment information is determined to accord with a seventh preset rule; and/or if the control center is one of devices which are convenient to use by the user in the driving environment, such as a smart watch, a smart earphone, a vehicle-mounted terminal and the like, before the user is in the driving environment, determining that the use environment information does not accord with a seventh preset rule.
Whether the user is in the driving environment or not is detected, the determination may be performed according to a contextual model (such as a driving model and a navigation model) of the control center, or according to a motion sensor or geographic information of the control center and/or other devices, or according to camera data of the control center and/or other devices, or according to wireless connection information (such as an accessed WIFI hotspot, a paired connected bluetooth device, and the like) of the control center and/or other devices.
In another embodiment, it is obvious that the user can use the smart tv, the smart speaker, etc. more conveniently if the user is in a home environment. Therefore, if the control center is one of the mobile phones, PADs and other devices which are inconvenient for the user to use before the user is in the home environment, the use environment information is determined to accord with the seventh preset rule; and/or if the user is in the home environment, the control center determines that the usage environment information does not conform to the seventh preset rule when the control center is one of the devices such as the smart television and the smart sound box which are convenient for the user to use in the home environment.
Whether the user is in the home environment or not is detected, the determination may be performed according to a contextual model of the control center (such as a shift model and a home model), or according to geographic information of the control center and/or other devices, or according to camera data of the control center and/or other devices, or according to wireless connection information of the control center and/or other devices (such as an accessed WIFI hotspot and a bluetooth device connected in a paired manner).
In an embodiment, if the user leaves home or switches to a new environment, such as a working environment, the user is inconvenient to use the devices such as the vehicle-mounted terminal and the smart television, and is convenient to use the devices such as the mobile phone and the smart watch. Therefore, if the control center is one of the vehicle-mounted terminal, the smart television and other equipment which are inconvenient for the user to use before the user is in the new environment, the use environment information is determined to accord with the seventh preset rule; and/or determining that the using environment information does not accord with a seventh preset rule if the control center is one of the mobile phones, the smart watches and other equipment which are convenient for the user to use when the user works before the user is in a new environment.
Whether the user is in a non-home or non-driving environment is detected, the determination may be performed according to a contextual model (such as an office mode, a sport mode, and the like) of the control center, or according to geographic information of the control center and/or other devices, or according to camera data of the control center and/or other devices, or according to wireless connection information (such as an accessed WIFI hotspot, a paired connected bluetooth device, and the like) of the control center and/or other devices.
In another embodiment, if the user is in a meeting environment, the user is inconvenient to use devices such as smart headsets and the like which need to be controlled through voice commands, and is convenient to use devices such as mobile phones and smart watches which can be controlled through touch commands. Therefore, if the user is in front of the meeting environment and the control center is one of the devices such as the intelligent earphones which are inconvenient to use during the meeting of the user, the use environment information is determined to accord with the seventh preset rule; and/or if the user is in the meeting environment and the control center is one of the mobile phones, smart watches and other equipment which are convenient to use during the meeting of the user, determining that the using environment information does not accord with the seventh preset rule.
And if the flow information conforms to an eighth preset rule, executing corresponding equipment control operation according to an eighth preset strategy.
Optionally, whether the traffic information conforms to an eighth preset rule is detected, and if the traffic information conforms to the eighth preset rule, corresponding device control operation is executed according to an eighth preset policy. The eighth preset rule is a rule for determining whether the control center is suitable to continue to serve as the control center to provide a control function by detecting the flow information. In order not to affect the linkage of each device in the connection network, a device with a large residual flow rate needs to be selected as the control center, and the residual flow rate of other devices controlled by the control center is more than that of the control center, that is, it is determined that the flow rate information conforms to the eighth preset rule.
In this embodiment, a first remaining flow threshold may also be set for comparison between the remaining flow of other devices controlled by the control center and the remaining flow of the control center. For example, when the remaining flow of the device is greater than or equal to the sum of the remaining flow of the control center and the first remaining flow threshold value, it is determined that the flow information conforms to the eighth preset rule in the other device controlled by the control center; and/or when the other equipment controlled by the control center does not have the condition that the residual flow of the equipment is more than or equal to the sum of the residual flow of the control center and the first residual flow threshold value, that is, the residual flow of the other equipment controlled by the control center is less than the sum of the residual flow of the control center and the first residual flow threshold value, determining that the flow information does not accord with the eighth preset rule.
For example, the remaining flow rate of the control center is 2000MB, the first remaining flow rate threshold is 300MB, and the other device controlled by the control center has a device with a remaining flow rate of 2300MB, and at this time, when the remaining flow rate of the other device controlled by the control center has a condition that the remaining flow rate of the device is equal to the sum of the remaining flow rate of the control center and the first remaining flow rate threshold, it is determined that the flow rate information conforms to the eighth preset rule.
Optionally, in other embodiments, a second remaining traffic threshold may be further set, where the second remaining traffic threshold is the minimum remaining traffic that does not affect the ability of the control center to provide the management service. Optionally, if the remaining flow of the control center is greater than or equal to the second remaining flow threshold, determining that the flow information does not conform to an eighth preset rule; and/or if the residual flow of the control center is smaller than the second residual flow threshold, determining that the flow information conforms to an eighth preset rule.
For example, the remaining flow rate of the control center is 1800MB, the second remaining flow rate threshold is 2000MB, and since the remaining flow rate of the control center is less than the second remaining flow rate threshold, it may be determined that the flow rate information conforms to the eighth preset rule.
And if the using habit information accords with a ninth preset rule, executing corresponding equipment control operation according to a ninth preset strategy.
Optionally, whether the usage habit information conforms to a ninth preset rule is detected, and if the usage habit information conforms to the ninth preset rule, corresponding device control operation is executed according to a ninth preset policy. Wherein the ninth preset rule is a rule for determining whether the control center is suitable to continue to be the control center to provide the control function by detecting the usage habit information.
In an embodiment, if the user is used to run with a smart headset or a smart watch in a certain time period in the morning, to watch a video through a PAD in a certain time period in the evening, and to read with a mobile phone in a certain time period in the morning on a weekend, if the corresponding time point control center is not a device that meets the habit of the user, it may be determined that the ninth preset rule is met.
In another embodiment, if the user is accustomed to using different devices in different environments, such as watching smart tv at home, watching a vehicle-mounted terminal on a vehicle, using a smart phone in a company, etc., it may be determined that the ninth preset rule is met if the corresponding environment control center is not a device that meets the user's habit.
And if the distance information accords with a tenth preset rule, executing corresponding equipment control operation according to a tenth preset strategy.
Optionally, whether the distance information conforms to a tenth preset rule is detected, and if the distance information conforms to the tenth preset rule, corresponding device control operation is executed according to a tenth preset policy. Wherein, the tenth preset rule is a rule for determining whether the control center is suitable to continue to be the control center to provide the control function by detecting the distance information.
In an embodiment, when the distance between the user and the control center exceeds a preset range, it is determined that the distance information conforms to a tenth preset rule.
In one embodiment, each device in the connection network has a certain relative distance when being used by a user, and when the distance from the control center to other devices controlled by the control center is greater than or equal to a preset distance threshold, the distance information is determined to accord with a tenth preset rule; and/or when the distance between the control center and other equipment controlled by the control center is smaller than a preset distance threshold value, determining that the distance information does not accord with a tenth preset rule.
In another embodiment, if each connected network device is used as a control center, the total distance value between the device and other connected network devices may be calculated, the device with the shortest total distance value is used as a candidate control center, and if the control center is different from the candidate control center, it is determined that the distance information conforms to the tenth preset rule.
And if the user physiological parameter information accords with an eleventh preset rule, executing corresponding equipment control operation according to an eleventh preset strategy.
Optionally, whether the user physiological information conforms to an eleventh preset rule is detected, and if the user physiological parameter information conforms to the eleventh preset rule, corresponding device control operation is executed according to an eleventh preset strategy. Wherein, the eleventh preset rule is a rule for determining whether the control center is suitable to continue to be used as the control center to provide the control function by detecting the physiological information of the user.
In an embodiment, when it is detected that the physiological information of the user reaches the preset physiological information threshold, it is determined that the physiological information of the user conforms to the eleventh preset rule. Alternatively, the user physiological information may be detected by the control center and/or other devices. The physiological information may be at least one of heart rate, blood pressure, pulse, blood oxygen, blood glucose.
Optionally, if the heart rate of a certain user is generally 70 to 80 times/minute in a non-sleep state and 40 to 50 times/minute in a sleep state, the preset heart rate threshold may be set to 50 times/minute, when the heart rate of the user is detected to reach 50 times/minute, it may be determined that the user is in the sleep state, and if the control center is not a wearable device such as a smart watch or a smart bracelet that is convenient for the user to acquire and operate, it may be determined that the physiological information conforms to an eleventh preset rule.
Optionally, if the heart rate of the user is generally 100 to 130 times/minute when the user is in the exercise state, when the heart rate of the user is detected to reach 110 times/minute, it may be determined that the user is in the exercise state, and if the control center is a device such as a smart phone which is inconvenient for the user to acquire and operate, it may also be determined that the physiological information conforms to the eleventh preset rule.
Optionally, the device controls operations including at least one of:
establishing a direct or indirect connection between the control center and a target device;
switching part or all of the control function to the target equipment;
copying part or all of the control function to the target device;
activating part or all of the control functions on the target device;
migrating or transferring the relevant data of the control center to target equipment;
the control center outputs first prompt information and/or controls equipment directly or indirectly connected with the control center to output second prompt information.
Optionally, the preset policy includes establishing a direct or indirect connection between the control center and the target device; switching part or all of the control function to the target equipment; copying part or all of the control function to the target device; activating part or all of the control functions on the target device; migrating or transferring the relevant data of the control center to target equipment; the control center outputs at least one of first prompt information and/or controls equipment directly or indirectly connected with the control center to output second prompt information.
For establishing the direct or indirect connection between the control center and the target device, when the control center and the target device are indirectly connected, there may be some limitations on the interaction between the two devices with respect to the direct connection, for example, when the control center is indirectly connected, the control center may not perform device control on the target device when the system of the target device is in a sleep state, and when the control center is directly connected, the control center may wake up the system and perform device control on the target device when the system of the target device is in the sleep state.
For switching the control function to the target device partially or entirely, when the control center is no longer suitable to continue to serve as the control center to provide the control function, the control center switches the control function to the target device suitable to serve as the control center to provide the control function.
It should be noted that, in some application scenarios, the control function may not need to be completely switched to the target device, but only needs to be switched to a device related to the target device, or used at a high frequency, or supported by the target device, so that the control function can be switched to facilitate the user operation, and the switching resource can be saved and/or the power consumption can be reduced;
optionally, part or all of the control functions may also be copied to the target device, which means that besides the control center, at least one target device may also have the same control function as the control center, so as to provide more operation entries for the user, and further implement more flexible and powerful functions, in some implementations, in order to reduce the user misoperation, it may also be set that only one device having the control function is in an activated state, that is: although there may be a plurality of devices with control functions in the connection network (such as the control center, the target device, etc. in this embodiment, even each device in the connection network may support the control function), only one device can issue a control instruction, specifically which one device has a plurality of determination policies, such as a device currently being used by the user; or the device with the largest residual capacity or the largest battery capacity; may be the device with the highest processing capacity or a system running smoothly or currently not running entertainment or multimedia applications (such as video, games, etc.) or currently running preset applications (such as telephone, short message, mail, WeChat, etc.); it may also be determined based on the priority of the device, such as the highest priority device.
For the relevant data of the migration or transfer control center to the target equipment, when the control center transfers the control function to the target equipment, the relevant data in the control center can be migrated or transferred to the target equipment, so that the target equipment can conveniently perform the control function according to the relevant data; in addition, the devices in the connection network have the capability of being used as the control center, so that the control center can perform the control function when only the control function is transferred to the target device without transferring or transferring the relevant data in the control center to the target device.
Particularly, when the control center performs a control function, the control center can synchronize related data to the cloud, and for the case that the control center meets a second preset condition, because the control center has not yet had time to migrate or transfer the related data to the target device, the control center exits from the connection network, other devices controlled by the control center can continue to use the related data before the control center exits from the connection network, for example, the setting item parameters are maintained, and the target device obtains the related data before the control center exits from the cloud; and for the condition that the control center meets the fourth preset condition, the control center starts to migrate or transfer the related data when the distance from the control center to other equipment controlled by the control center is greater than or equal to a preset distance threshold value so as to ensure that the related data migration or transfer is completed before the control center is disconnected from the connection network.
And outputting the first prompt message to the control center, and/or controlling equipment directly or indirectly connected with the control center to output the second prompt message. It is to be understood that the purpose of the first prompt information and the second prompt information may be to enable the user to understand the reason why the control center sends the response instruction to the target device and the control operation performed by the target device for the response instruction.
Optionally, the target device corresponds to the preset information, or the target device is determined by any one of the following manners:
the first or last device initiating the connection;
the equipment with the strongest processing capability or the most smooth state;
a device with the largest battery capacity or the largest remaining amount of electricity;
presetting a system;
the highest priority device;
the device with the shortest or longest distance;
the device with the highest security level;
user selection or user habit.
Optionally, the target device corresponds to preset information, and the method for determining the target device includes any one of the following methods: the first or last device initiating the connection; the equipment with the strongest processing capability or the most smooth state; the device with the largest battery capacity or the largest remaining amount of electricity; presetting a system; the highest priority device; the device with the shortest or longest distance; the device with the highest security level; user selection or user habit.
It should be noted that the target device may be understood that the preset information corresponding to the target device is optimal relative to the preset information corresponding to each device in the connected network where the target device is located, for example, the processing capability of the target device is strongest relative to the processing capability of each device in the connected network where the target device is located; it can be understood that the principle of selecting the target device is to preferentially select a device most suitable for the user to use under the current condition (e.g. at the current time), for example, for the first device initiating connection, it can be understood that the device is the device which is first accessed to the connection network, that is, the device used by the user; similarly, for the last device initiating connection, it is understood that at least one device already exists in the connection network before the last device initiating connection accesses the connection network, and the last device initiating connection is the device newly accessing the connection network, that is, the device carried by the user just enters the accessible range of the connection network, that is, the device is the device currently used by the user.
For example, referring to fig. 8, if the target device is the device with the highest security level, the control center 8000 may output the first prompt information by using the pop-up block 8001: "the control function has been switched to the device with the highest security level for you".
The present embodiment is realized by S00: when a preset event occurs in the connected network, acquiring control judgment information, and when the control judgment information meets a control condition, executing step S10; s10: acquiring preset information and a preset strategy; s20: and determining and executing a corresponding control strategy according to the preset information and the preset strategy. The control center acquires the control judgment information when the preset event occurs in the connected network, and acquires the preset information and the preset strategy when the control judgment information meets the control condition so as to determine and execute the corresponding control strategy, so that the control interaction between the devices is more flexible and intelligent after the devices are mutually connected.
Optionally, based on the third embodiment of the control method of the present application, a fourth embodiment is provided, where the related data further includes at least one first related data and/or at least one second related data, and the step of migrating or transferring the related data in the control center to the target device includes at least one of:
backing up or transferring only first relevant data in the control center to the target device;
only backing up or transferring second related data in the control center to the target device;
Backing up or transferring second related data corresponding to the first related data to the target equipment in addition to backing up or transferring the first related data in the control center to the target equipment;
backing up or transferring first related data and corresponding updated data in the control center to the target equipment;
backing up or transferring second related data and corresponding updated data in the control center to the target equipment;
and backing up or transferring the first related data and the corresponding updated data in the control center and the updated data of the second related data to the target equipment.
Optionally, the related data further comprises at least one first related data and/or at least one second related data. After the target device is determined, related data in the control center can be selectively backed up or transferred to the target device, so that the target device performs a control function according to the related data.
Optionally, the manner of backing up or transferring the first related data and the second related data comprises at least one of: only backing up or transferring first related data in the control center to the target equipment; only backing up or transferring second related data in the control center to the target equipment; backing up or transferring second related data corresponding to the first related data to target equipment besides backing up or transferring the first related data in the control center to the target equipment; backing up or transferring first related data and corresponding updated data in a control center to target equipment; backing up or transferring second related data and corresponding updated data in the control center to the target equipment; and backing up or transferring the first relevant data and the corresponding updated data in the control center and the updated data of the second relevant data to the target equipment.
For the connection information data, the first related data may be connection information between the control center and other devices controlled by the control center; the second related data may be connection information between devices of other devices controlled by the control center; the updated data may be data corresponding to the relevant data updated by the control center during the process of backing up or transferring the relevant data, for example, in the process of backing up or transferring the relevant data, if there is an external device connected to the network to join the network and connect with the control center, the updated data at this time is connection information between the device joined to the network and the control center corresponding to the first relevant data.
For the setting item parameter data, the first related data may be setting data corresponding to a shortcut function, such as setting data for quickly starting a music playing function; the second related data may be an application (e.g. music player) or a local file (e.g. music, video, sound effects) associated with the shortcut function; the update data may be data corresponding to the related data updated by the control center in the process of backing up or transferring the related data, for example, in the process of backing up or transferring the related data, the setting data corresponding to the shortcut function changes, for example, the command of the start gesture of the shortcut function changes, the button corresponding to the shortcut function is changed from "double-click" to "single-click", and then the update data at this time is the command of the "single-click" to start the setting data corresponding to the shortcut function.
For the relevant downloaded data, the first relevant data can be the version number, release time, installation package and other data of the control center application; the second related data can be data generated in the running process of the control center application; the updated data may be data corresponding to the relevant data updated by the control center during the process of backing up or transferring the relevant data, such as data generated during the process of running the control center application by the control center during the process of backing up or transferring the relevant data.
Accordingly, when the control center transfers the control function of the control center to the target device, at least one of the connection information data, the setting item parameter data, and the relevant download data in the control center can be migrated or transferred to the target device. For example, the connection information data is migrated or transferred to the target device, so that the target device establishes a connection relationship with other devices controlled by the control center according to the connection information data, for example, the target device directly initiates a connection request to a device corresponding to the device physical address according to the device physical address in the connection information data, and does not need to search for a device within a connectable range of the target device to obtain the device physical address, so as to initiate the connection request.
According to the embodiment, through providing a migration or transfer scheme of various related data, more implementation modes can be provided for the related data during migration or transfer, more user requirements are met, user experience is improved, and the control center is more flexible and intelligent during execution of the control function.
Alternatively, referring to fig. 9, a fifth embodiment of the control method of the present application is presented, it being noted that although a logical order is shown in the flow chart, in some cases, the steps shown or described may be performed in an order different than here. The control method is applied to at least one control center. The control method comprises the following steps:
step S210, when a preset event occurs in the connected network, generating a response instruction of the target device corresponding to the preset event, and acquiring preset information and/or a preset policy.
S220, determining and executing a corresponding control strategy according to the response instruction, the preset information and/or the preset strategy.
Optionally, a sequence of steps of generating a response instruction of the target device corresponding to the preset event is optional, and as another embodiment, the control method includes the steps of:
s210, when a preset event occurs in a connected network, acquiring preset information and/or a preset strategy; generating a response instruction of the target equipment corresponding to the preset event;
S220, determining and executing a corresponding control strategy according to the response instruction, the preset information and/or the preset strategy.
It should be noted that the alternative technical solution differs from the technical solution of the first embodiment only in that the sequence of the steps of generating the response instruction of the target device corresponding to the preset event is different, and the specific implementation manner of each step is the same.
As step S210, when a preset event occurs in the connected network, a response instruction of the target device corresponding to the preset event is generated, and preset information and/or a preset policy are/is acquired.
Optionally, when a preset event occurs in a network to which the control center is connected, a response instruction of the target device corresponding to the preset event is generated, and preset information and/or a preset policy are/is acquired. The control center and the target Device can comprise any one of terminal devices (such as a smart phone, a PAD (Portable Android Device), and the like), wearable intelligent devices (such as a smart watch, a smart bracelet, a smart headset, and the like), smart home devices (such as a smart television, a smart sound box, and the like), and vehicle-connected network devices (such as a smart car, a vehicle-mounted terminal, and the like). In this embodiment, the control function is provided by a control center that manages all the connected in-network devices including the control center itself. Optionally, the control center may be a terminal device, or may also be a wearable smart device, a smart home device, or a vehicle-connected network device.
Optionally, when a preset event occurs in the network where the target device is connected, the step of generating the response instruction of the target device corresponding to the preset event includes at least one of the following steps:
when a preset event occurs in the connected network, outputting prompt information for selecting a preset mode, and generating the response instruction based on the selected preset mode;
when a preset event occurs in the connected network, automatically triggering and generating the response instruction according to the corresponding relation between the preset event and the response instruction;
and when a preset event occurs in the connected network, generating the response instruction based on the input control instruction.
Optionally, the step of generating a response instruction of the target device corresponding to the preset event when the preset event occurs in the connected network includes outputting a prompt message for selecting a preset mode when the preset event occurs in the connected network, and generating the response instruction based on the selected preset mode; when a preset event occurs in the connected network, automatically triggering and generating the response instruction according to the corresponding relation between the preset event and the response instruction; and when a preset event occurs in the connected network, generating at least one of the response instructions based on the input control instruction.
And outputting prompt information for selecting a preset mode when a preset event occurs in the connected network, and generating the response instruction based on the selected preset mode. And aiming at the preset event, the control center outputs corresponding prompt information, the prompt information is information for prompting a user to select a preset mode, and after the user selects the corresponding preset mode, a response instruction is generated based on the selected preset mode. The preset mode may include an automatic mode and a manual mode. In the automatic mode, corresponding response instructions can be automatically generated according to different preset events; and/or, in the manual mode, a response instruction corresponding to the control instruction needs to be generated through the control instruction input by the user. Referring to fig. 5, 5000 is a control center, 5001 is a display screen background image of the control center 5000, 5002 is a pop-up box prompt message output by the control center 5000 for prompting a user to set an operation mode of the control center, and the user can know detailed functions of the automatic mode and the manual mode by clicking "view details" therein.
And when a preset event occurs in the connected network, automatically triggering and generating the response instruction according to the corresponding relation between the preset event and the response instruction. The preset event and the response instruction have a corresponding relation, and the preset event and the response instruction can be matched through the corresponding relation, namely when the preset event occurs in the connection network, the control center automatically triggers and generates the corresponding response instruction without the operation of a user aiming at the preset event. For example, the preset event is that the user needs to rest or sleep, and according to the corresponding relation, the response instruction corresponding to the rest or sleep is to turn off the light, and then the light-off instruction is automatically triggered and generated.
And generating the response instruction based on the input control instruction when a preset event occurs in the connected network. When the preset event occurs in the connected network, the corresponding selectable processing item can be output to the user, and after the user inputs the corresponding control instruction for the selectable processing item, the control center generates a corresponding response instruction according to the control instruction. Referring to fig. 6, 6000 is a control center, 6001 is a bullet box output by the control center 6000, and is used for outputting corresponding selectable processing items and/or corresponding prompt information. For example, the selectable processing items comprise options of turning off the light and not turning off the light, and if the user selects to turn off the light, a response instruction of turning off the light is generated; if the user selects not to turn off the light, an instruction for continuously detecting the physiological information parameters of the user is generated, and after the user is determined to be asleep, an external environment suitable for sleeping (such as room temperature adjustment) is created for the user.
Optionally, the preset information includes at least one of: connection information, state information, environment information, usage information, distance information, user physiological parameter information.
The connection information includes at least one of: connection status information, network rate information.
Optionally, for the connection information, the connection information may include at least one of connection status information and network rate information.
Optionally, in the connection network, there are terminal devices or other devices (such as wearable devices, smart home devices, or vehicle connection network devices) that newly join the connection network, and also there are terminal devices or other devices that exit the connection network, and in order to grasp connection status information of each device joining or exiting in the connection network, the control center may maintain a connection information table, which may record device information and/or connection information (such as connection state, connection rate, connection history, etc.) of all the connection network devices, and the device information may be at least one of a device physical address, a device name, and a device code, and may also be other information that may represent a device. Wherein, the equipment code can be set by the control center, for example, the equipment code of the first equipment connected with the control center is 001, and the equipment code of the second equipment connected with the control center is 002; optionally, the devices in the connection network generally have a function of connecting with the interconnection network, such as a smart watch, a mobile phone, a smart television, a smart car, and the like, and the network rate information corresponding to the devices may be affected by the devices themselves (e.g., the processing capability of the devices is low, and then the network is slow due to more applications of the devices in downloading data or accessing the internet at present, etc.) or affected by external factors (e.g., the signals of the locations of the devices are not good), so that the network rate is low.
The status information includes at least one of: terminal state information, electric quantity information and storage space information.
Alternatively, for the state information, the state information may include at least one of terminal state information, power information, and storage space information.
Optionally, in the connection network, the terminal state information may be determined by the data processing capability of the device, the data processing capability of the device is strong or weak, and the current data processing capability of the device corresponding to the terminal state information is not good under the hardware condition, so that it can be understood that the current data processing capability of the device in the hardware condition in the crash state is very weak; optionally, the terminal status information may also be whether the device is in a charging state, and it can be understood that the device needs electric energy during use, and the electric energy is generally provided by a battery, and the battery needs to be charged when the battery is exhausted or is about to be exhausted. For the electric quantity information, different devices in the connection network have batteries with different capacities, and the batteries have different residual electric quantities or different endurance times, for example, the battery capacity of the mobile phone is generally larger than that of the smart watch, and in addition, the situation that the residual electric quantity is smaller than the current electric quantity of the smart watch due to the fact that the mobile phone is not charged exists; the devices in the connected network exchange data during use and need to store the received data, and the storage space information of the devices may affect the working performance of the devices and may even determine the work that the devices can support, for example, the size of the storage space of the devices is not large enough to support the size of the data that must be downloaded during their work.
The environmental information includes at least one of: external environment information, use environment information.
Alternatively, for the environment information, the environment information may include at least one of external environment information and usage environment information.
Optionally, in the connection network, the device has an ability to obtain external environment information, such as obtaining brightness of external environment light and obtaining loudness of external environment noise; in the using process of the device, the using environment information changes along with the environment change of the user, the environment where the user is located can be sensed through a sensor (such as a camera, a microphone, a GPS, Bluetooth, WIFI, a gravity sensor, an acceleration sensor, a gyroscope and the like), if the user is moving, the device can detect that the user is in the moving environment and correspondingly adjust the device parameters, so that the user can conveniently use the device in the moving environment, or if the user is driving, the device correspondingly adjusts the device parameters when detecting that the user is in the driving environment, so that the user can conveniently use the device parameters when driving, or if the user is working or meeting, the device correspondingly adjusts the device parameters when detecting that the user is in the working or meeting environment.
The usage information includes at least one of: flow information, usage habit information, current usage application information.
Alternatively, for the usage information, the usage information may include at least one of traffic information, usage habit information, and current usage application information.
Alternatively, in the above-mentioned connection network, the device may have a data network service providing capability, such as a mobile phone, a PAD, etc., for obtaining data from the interconnection network, such as updating an application in the device, etc., and the current data network cost is not low, so that when using the data network service, special attention needs to be paid to the traffic information; for the use habit information, the user may be used to use a certain device in the connected network, that is, the frequency of using a certain device is high, or used to use a certain device in the connected network for a certain time period, a certain place and a certain purpose of use, for example, the user is used to watch a video by using PAD, but not used to watch a video by using a mobile phone; for the current application information, in the using process of the device, a user can install some corresponding applications, such as video applications and game applications, according to the using requirements.
Optionally, for the distance information, in the above-mentioned connection network, the distance between the device and the user may change during the use of the device by the user, for example, if the user places the mobile phone in a bedroom and goes to the living room to watch tv, the user and the mobile phone become farther and farther during the movement of the user from the bedroom to the living room.
Optionally, for the user physiological parameter information, within the above connection network, the device has an ability to obtain the user physiological parameter information to provide corresponding services, such as providing health services by obtaining physiological information of heart rate, blood pressure, pulse, blood oxygen, blood sugar, etc. of the user.
As step S220, according to the response instruction, the preset information and/or the preset policy determines and executes a corresponding control policy.
Optionally, the S220 step may include at least one of:
determining and executing a corresponding control strategy according to the response instruction and the preset information;
determining and executing a corresponding control strategy according to the response instruction and the preset strategy;
determining and executing a corresponding control strategy according to the preset information and the preset strategy;
and determining and executing a corresponding control strategy according to the response instruction, the preset information and the preset strategy.
Optionally, the corresponding control strategy is determined and executed according to the response instruction, the preset information and the preset strategy. It should be noted that, the control center sends a response instruction to the target device, so that the target device determines the type of the preset event through the response instruction, and conveniently responds to the response instruction, for example, outputs a corresponding prompt message (for example, when the preset message satisfies a preset rule, relevant data of the control center is migrated or transferred to the target device, and the target device outputs a prompt message related to the migration or transfer of the relevant data).
Optionally, the step S220 includes at least one of:
acquiring control judgment information, and when the control judgment information meets a control condition, sending the response instruction to the target equipment by the control center;
the control center executes a preset control operation;
if the connection state information accords with a first preset rule, executing corresponding equipment control operation according to a first preset strategy;
if the network rate information accords with a second preset rule, executing corresponding equipment control operation according to a second preset strategy;
if the terminal state information accords with a third preset rule, executing corresponding equipment control operation according to a third preset strategy;
if the electric quantity information accords with a fourth preset rule, executing corresponding equipment control operation according to a fourth preset strategy;
if the storage space information accords with a fifth preset rule, executing corresponding equipment control operation according to a fifth preset strategy;
if the external environment information conforms to a sixth preset rule, executing corresponding equipment control operation according to a sixth preset strategy;
if the using environment information accords with a seventh preset rule, executing corresponding equipment control operation according to a seventh preset strategy;
If the flow information conforms to an eighth preset rule, executing corresponding equipment control operation according to an eighth preset strategy;
if the using habit information accords with a ninth preset rule, executing corresponding equipment control operation according to a ninth preset strategy;
if the distance information accords with a tenth preset rule, executing corresponding equipment control operation according to a tenth preset strategy;
and if the physiological parameter information of the user accords with an eleventh preset rule, executing corresponding equipment control operation according to an eleventh preset strategy.
Optionally, for obtaining the control judgment information, when the control judgment information satisfies the control condition, the control center sends the response instruction to the target device.
Optionally, the control judgment information includes at least one of:
user physiological parameter information, connection information, usage information, distance information, application information, status information.
Alternatively, the control judgment information may include at least one of user physiological parameter information, connection information, usage information, distance information, application information, and status information.
For the physiological parameter information of the user, the equipment connected with the network where the control center is located has the capability of acquiring the physiological parameter information of the user, so that the equipment provides corresponding services, for example, the equipment provides health services by acquiring the physiological parameter information of the user such as heart rate, blood pressure, pulse, blood oxygen, blood sugar and the like.
For the distance information, the distance between the device and the user may change when the device connected to the network where the control center is located is used by the user, for example, when the user places the smart phone in a bedroom and goes to the living room to watch television, the user moves from the bedroom to the living room, the user is farther away from the smart phone, and the distance between the user and the mobile phone can be specifically sensed through a wearable device (such as a smart watch) or an indoor positioning function or an indoor monitoring device (such as a camera) on the user.
For the application information, the application information may be installation application information and/or running application information, for example, if there is no security protection application (such as jinshanyaoba, 360 security guard, etc.) in the installation application or the running application, there may be a potential safety hazard or risk as a control center.
Optionally, the connection information includes at least one of: connection status information, network rate information.
Optionally, in the connection network, there are terminal devices or other devices (such as wearable devices, smart home devices, or vehicle connection network devices) that newly join the connection network, and also there are terminal devices or other devices that exit the connection network, and in order to grasp connection status information of each device joining or exiting in the connection network, the control center may maintain a connection information table, which may record device information and/or connection information (such as connection state, connection rate, connection history, etc.) of all the connection network devices, and the device information may be at least one of a device physical address, a device name, and a device code, and may also be other information that may represent a device. Wherein, the equipment code can be set by the control center, for example, the equipment code of the first equipment connected with the control center is 001, and the equipment code of the second equipment connected with the control center is 002; optionally, the devices in the connection network generally have a function of connecting with the interconnection network, such as a smart watch, a smart phone, a smart television, a smart car, and the like, and the network rate information corresponding to the devices may be affected by the devices themselves (e.g., the processing capability of the devices is low, and then the network is slow due to more applications of the devices in downloading data or accessing the internet at present, etc.) or affected by external factors (e.g., the signals of the locations of the devices are not good), so that the network rate is low.
The usage information includes at least one of: flow information, usage habit information, current usage application information.
Alternatively, in the above-mentioned connection network, the device may have a data network service providing capability, such as a smart phone, a PAD, etc., for obtaining data from the interconnection network, such as updating an application in the device, etc., and the current data network cost is not low, so that when using the data network service, special attention needs to be paid to the traffic information; for the use habit information, the user may be used to use a certain device in the connected network, that is, the frequency of using a certain device is high, or used to use a certain device in the connected network for a certain time period, a certain place and a certain purpose of use, for example, the user is used to use PAD to watch video, but not used to use a smart phone to watch video; for the current application information, in the using process of the device, a user can install some corresponding applications, such as video applications and game applications, according to the using requirements.
The status information includes at least one of: terminal state information, electric quantity information and storage space information.
Optionally, in the connection network, the terminal state information may be determined by the data processing capability of the device, the data processing capability of the device is strong or weak, and the current data processing capability of the device corresponding to the terminal state information is not good under the hardware condition, and it can be understood that the current data processing capability of the device in the hardware condition in the dead halt state is very weak; optionally, the terminal status information may also be whether the device is in a charging state, and it can be understood that the device needs electric energy during use, and the electric energy is generally provided by a battery, and the battery needs to be charged when the battery is exhausted or is about to be exhausted. For the electric quantity information, different devices in a connection network have batteries with different capacities, and the batteries have different residual electric quantities or different endurance times, for example, the battery capacity of a mobile phone is generally larger than that of a smart watch, and in addition, the situation that the residual electric quantity is smaller than the current electric quantity of the smart watch due to the fact that the mobile phone is not charged exists; the devices in the connected network exchange data during use and need to store the received data, and the storage space information of the devices may affect the working performance of the devices and may even determine the work that the devices can support, for example, the size of the storage space of the devices is not large enough to support the size of the data that must be downloaded during their work.
Optionally, the control judgment information satisfies a control condition, and includes at least one of:
the user physiological parameter information accords with a first preset condition;
the connection information conforms to a second preset condition;
the use information accords with a third preset condition;
the distance information meets a fourth preset condition;
the application information meets a fifth preset condition;
the state information meets a sixth preset condition.
Optionally, the control judgment information meeting the control condition includes at least one of the condition that the user physiological parameter information meets a first preset condition, the connection information meets a second preset condition, the usage information meets a third preset condition, the distance information meets a fourth preset condition, the application information meets a fifth preset condition, and the state information meets a sixth preset condition.
Optionally, for the condition that the user physiological parameter information meets the first preset condition, in an embodiment, when it is detected that the user physiological parameter information reaches a preset physiological parameter information threshold, it is determined that the user physiological parameter information meets the first preset condition. Alternatively, the user physiological parameter information may be detected by a device within the connected network. The user physiological parameter information may be at least one of heart rate, blood pressure, pulse, blood oxygen, blood glucose. For example, if a user is in a non-sleep state with a heart rate of typically 70 to 80 beats/minute and the user is in a sleep state with a heart rate of typically 40 to 50 beats/minute, then the preset heart rate threshold may be set to 50 beats/minute, and when the user's heart rate is detected to reach 50 beats/minute, the user may be determined to be in a sleep state; for another example, the heart rate of a user in the exercise state is generally 100 to 130 times/minute, and when the heart rate of the user is detected to reach 110 times/minute, the user can be determined to be in the exercise state, and then the physiological parameter information of the user is determined to meet the first preset condition.
Optionally, for the connection information meeting a second preset condition, the second preset condition includes determining whether the control center exits from the connection network by detecting the connection condition information, if the control center exits from the connection network, the connection condition information meeting the second preset condition, and/or if the control center does not exit from the connection network, the connection condition information not meeting the second preset condition. In one embodiment, if the number of connections of the control center exceeds a preset threshold or a maximum value, the connection status information meets the second preset condition. In another embodiment, the connection status information may be in accordance with a second preset condition if the connection status of the control center is not smooth or the number of dropped connections exceeds a preset number.
The second preset condition further includes a rule for detecting the network rate information to determine whether the control center is suitable to continue to function as the control center to provide the control function. In order not to affect the linkage of each device in the connection network, a device with good network speed needs to be selected as a control center.
For example, it may be determined that the network rate of the other device controlled by the control center is greater than the network rate of the control center, that is, the network rate information meets the second preset condition. For example, the network rate of the control center is 500KB/s, and if there is a device with a network rate greater than 500KB/s among other devices controlled by the control center, it may be determined that the network rate information meets the second preset condition.
In this embodiment, a first network rate threshold may also be set for comparison between the network rate of other devices controlled by the control center and the network rate of the control center. For example, when the network rate of the other devices controlled by the control center is greater than or equal to the sum of the network rate of the control center and the first network rate threshold, determining that the network rate information meets the second preset condition; and/or when the network rate of the other equipment controlled by the control center is not greater than or equal to the sum of the network rate of the equipment and the first network rate threshold, that is, the network rates of the other equipment controlled by the control center are all less than the sum of the network rate of the control center and the first network rate threshold, determining that the network rate information does not meet the second preset condition.
For example, when the network rate of the control center is 500KB/s, the first network rate threshold is 100KB/s, and the other devices controlled by the control center have devices with a network rate of 600KB/s, and the network rate of the other devices controlled by the control center is equal to the sum of the network rate of the control center and the first network rate threshold, it is determined that the network rate information meets the second preset condition.
Optionally, in other embodiments, a second network rate threshold may be set, where the second network rate threshold is a minimum network rate that does not affect the ability of the control center to provide control services. Optionally, if the network rate of the control center is greater than or equal to a second network rate threshold, determining that the network rate information does not meet a second preset condition; and/or if the network rate of the control center is smaller than a second network rate threshold value, determining that the network rate information meets a second preset condition.
For example, the network rate of the control center is 400KB/s, the second network rate threshold is 500KB/s, and the network rate information may be determined to meet the second preset condition because the network rate of the control center is less than the second network rate threshold.
Optionally, for the usage information meeting a third preset condition, the third preset condition may include a rule that the traffic information is detected to determine whether the control center is suitable to continue to be the control center to provide the control function. In order not to influence the linkage of each device in the connection network, a device with a large residual flow rate needs to be selected as a control center, and the residual flow rate of other devices controlled by the control center is more than that of the control center, that is, it is determined that the flow rate information meets the third preset condition.
In this embodiment, a first remaining flow threshold may also be set for comparison between the remaining flow of other devices controlled by the control center and the remaining flow of the control center. For example, when the remaining flow of the device is greater than or equal to the sum of the remaining flow of the control center and the first remaining flow threshold value, the other device controlled by the control center determines that the flow information meets the third preset condition; and/or when the other equipment controlled by the control center does not have the condition that the residual flow of the equipment is more than or equal to the sum of the residual flow of the control center and the first residual flow threshold value, namely the residual flow of the other equipment controlled by the control center is less than the sum of the residual flow of the control center and the first residual flow threshold value, determining that the flow information does not meet the third preset condition.
For example, the remaining flow rate of the control center is 2000MB, the first remaining flow rate threshold is 300MB, and the other device controlled by the control center has a device with a remaining flow rate of 2300MB, and at this time, when the remaining flow rate of the other device controlled by the control center has a condition that the remaining flow rate of the device is equal to the sum of the remaining flow rate of the control center and the first remaining flow rate threshold, it is determined that the flow rate information meets the third preset condition.
Optionally, in other embodiments, a second remaining traffic threshold may be set, where the second remaining traffic threshold is the minimum remaining traffic that does not affect the ability of the control center to provide management services. Optionally, if the remaining flow of the control center is greater than or equal to the second remaining flow threshold, determining that the flow information does not meet a third preset condition; and/or if the residual flow of the control center is smaller than the second residual flow threshold, determining that the flow information meets a third preset condition.
For example, the remaining flow rate of the control center is 1800MB, the second remaining flow rate threshold is 2000MB, and since the remaining flow rate of the control center is less than the second remaining flow rate threshold, it may be determined that the flow rate information meets the third preset condition.
The third preset condition may further include a rule of detecting whether the control center is suitable to continue as the control center to provide the control function using the habit information.
In an embodiment, if the user is accustomed to running with the smart headset or the smart watch in a certain time period in the morning, watching a video through the PAD in a certain time period in the evening, and using the mobile phone to read in a certain time period in the morning on the weekends, it may be determined that the third preset condition is met if the control center is not a device meeting the user's habit at the corresponding time point.
In another embodiment, if the user is accustomed to using different devices in different environments, such as watching a smart tv at home, watching a vehicle-mounted terminal on a vehicle, using a smart phone at a company, etc., it may be determined that the third preset condition is met if the corresponding environment control center is not a device that meets the user's habits.
The third preset condition may further include a rule of detecting whether the current usage application information determines that the control center is suitable to continue as the control center to provide the control function.
In an embodiment, if the user is watching a video or playing a game using the control center, and in general, the device interfaces corresponding to the video and the game are displayed in full screen, which is inconvenient for the user to switch to the application interface corresponding to the control center to use the control function of the control center. Therefore, if the control center is running the video application, the game application and other applications which are inconvenient to switch to other interfaces, determining that the current application information meets a third preset condition; and/or if the control center is convenient to operate and switch to the application of other interfaces, determining that the currently used application information does not meet a third preset condition.
In another embodiment, if the user is making a call, or performing a video chat, or a conference call, and the like, and the user is also not convenient to switch the interface or the control, it is determined that the currently used application information meets the third preset condition.
For the case that the distance information meets the fourth preset condition, the fourth preset condition may include a rule that the distance information is detected to determine whether the control center is suitable to continue to serve as the control center to provide the control function.
In an embodiment, when the distance between the user and the control center exceeds a preset range, it is determined that the distance information meets a fourth preset condition.
In one embodiment, each device in the connection network has a certain relative distance when being used by a user, and when the distance from the control center to other devices controlled by the control center is greater than or equal to a preset distance threshold, the distance information is determined to meet a fourth preset condition; and/or when the distance from the control center to other equipment controlled by the control center is smaller than a preset distance threshold, determining that the distance information does not meet a fourth preset condition.
In another embodiment, if each connected network device is used as a control center, the total distance value between the device and other connected network devices may be calculated, the device with the shortest total distance value is used as a candidate control center, and if the control center is different from the candidate control center, it is determined that the distance information meets the fourth preset condition.
Optionally, for the application information meeting the fifth preset condition, in an embodiment, the application information may be installation application information and/or running application information, for example, if there is no security protection application (such as jinshan poison tyrant, 360 security guard, etc.) in the installation application or the running application, there is a potential safety hazard or risk as a control center, and it may be determined that the application information meets the fifth preset condition;
If the currently running application (which may be a foreground or a background) occupies more system resources (such as games, videos, and the like) or has a higher priority (such as telephones, short messages, mails, and the like) or is a preset list application, the user is generally inconvenient to switch to an operation interface corresponding to the control center and/or exercise the control function of the control center, and then it is determined that the application information meets the fifth preset condition.
For the state information meeting the sixth preset condition, the sixth preset condition may include a rule for detecting the terminal state information to determine whether the control center is suitable to continue to be the control center to provide the control function. In order to avoid influencing the linkage of each device in the connection network, a device with short response time corresponding to the terminal state needs to be selected as a control center.
In an embodiment, the terminal status information may be a data Processing capability of the device, such as a number or frequency of CPUs (Central Processing Units), a number or frequency of GPUs (graphical Processing Units), a number or frequency of NPUs (Neural network Processing Units), a memory capacity, a memory Processing speed, and the like, and if the data Processing capability of the control center is not strongest or not of a strong category, the terminal status information is determined to meet a sixth preset condition.
In another embodiment, as for the current data processing capability of the device, it may be determined that the terminal state information meets the sixth preset condition that the response time corresponding to the device state of the other device controlled by the control center is shorter than the response time corresponding to the device state of the control center. For example, if the response time corresponding to the device state of the control center is 50ms, and if there is a device with a response time corresponding to the device state of 40ms in another device controlled by the control center, it may be determined that the terminal state information meets the sixth preset condition.
A first response time threshold may also be set for the comparison between the response time corresponding to the device status of the other devices controlled by the control center and the response time corresponding to the device status of the control center. For example, when the sum of the response time corresponding to the device state of the device and the first response time threshold is smaller than or equal to the response time corresponding to the device state of the control center, the other device controlled by the control center determines that the terminal state information meets the sixth preset condition; and/or when the sum of the response time corresponding to the device state of the device and the first response time threshold value is not greater than or equal to the response time corresponding to the device state of the control center, the other device controlled by the control center determines that the terminal state information does not meet the sixth preset condition.
For example, when the response time corresponding to the device state of the control center is 50ms, the first response time threshold is 10ms, and the response time corresponding to the device state of the other device controlled by the control center is 40ms, and the sum of the response time corresponding to the device state of the other device controlled by the control center and the first response time threshold is equal to the response time corresponding to the state of the control center, it is determined that the terminal state information meets the sixth preset condition.
Optionally, in other embodiments, a second response time threshold may be set, where the second response time threshold is a maximum response time that does not affect the ability of the control center to provide management services. Optionally, if the response time corresponding to the device state of the control center is shorter than or equal to the second response time threshold, determining that the terminal state information does not meet a sixth preset condition; and/or if the response time corresponding to the equipment state of the control center is longer than the second response time threshold, determining that the terminal state information meets a sixth preset condition.
For example, the response time corresponding to the device state of the control center is 60ms, and the second response time threshold is 50ms, and since the response time corresponding to the device state of the control center is longer than the second response time threshold, it may be determined that the terminal state information meets the sixth preset condition.
In other embodiments, for a device in a charging state, the power consumption of the device at this time should be reduced as much as possible to prevent the accelerated battery loss, and therefore, if the device is in the charging state, it is determined that the terminal state information meets the sixth preset condition; and/or if the equipment is in a non-charging state, determining that the terminal state information does not accord with a sixth preset condition.
In other embodiments, for a device in motion, it may be determined that the terminal state information meets the sixth preset condition due to inconvenient user operation or control.
In other embodiments, for the device in the stuck state, since the device may not respond well to the operation of the user, and the control center may not control other devices well, it may be determined that the terminal state information meets the sixth preset condition.
The sixth preset condition further includes a rule of detecting the electric quantity information to determine whether the control center is suitable to continue to serve as the control center to provide the control function. In order not to affect the linkage of each device in the connection network, a device with a long available time corresponding to the electric quantity needs to be selected as the control center, and the available time corresponding to the electric quantity of other devices controlled by the control center may be longer than the available time corresponding to the electric quantity of the control center, that is, it is determined that the electric quantity information conforms to the sixth preset condition. Or the remaining electric quantity value of other equipment controlled by the control center is larger than the electric quantity of the control center, that is, the electric quantity information is determined to meet the sixth preset condition.
In this embodiment, a first available time threshold may also be set for comparison between available time corresponding to the electric quantity of the other device controlled by the control center and available time corresponding to the electric quantity of the control center. For example, when the available time corresponding to the electric quantity of the equipment is longer than or equal to the sum of the available time corresponding to the electric quantity of the control center and the first available time threshold value, the other equipment controlled by the control center determines that the electric quantity information meets the sixth preset condition; and/or when the available time corresponding to the electric quantity of the other equipment controlled by the control center is longer than or equal to the sum of the available time corresponding to the electric quantity of the control center and the first available time threshold value, namely when the available time corresponding to the electric quantity of the other equipment controlled by the control center is smaller than the sum of the available time corresponding to the electric quantity of the control center and the first available time threshold value, determining that the electric quantity information does not meet the sixth preset condition.
For example, when the available time corresponding to the electric quantity of the control center is 200 minutes, the first available time threshold is 30 minutes, and the available time corresponding to the electric quantity of the other device controlled by the control center is 170 minutes, and at this time, the available time corresponding to the electric quantity of the other device controlled by the control center is equal to the sum of the available time corresponding to the electric quantity of the control center and the first available time threshold, it is determined that the electric quantity information meets the sixth preset condition.
Optionally, in other embodiments, a second available time threshold may be set, where the second available time threshold is the minimum available time that does not affect the ability of the control center to provide management services. Optionally, if the available time corresponding to the electric quantity of the control center is longer than or equal to the second available time threshold, determining that the electric quantity information does not meet a sixth preset condition; and/or if the available time corresponding to the electric quantity of the control center is shorter than the second available time threshold, determining that the electric quantity information meets a sixth preset condition.
For example, the available time corresponding to the electric quantity of the control center is 180 minutes, the second available time threshold is 200 minutes, and since the available time corresponding to the electric quantity of the control center is shorter than the second available time threshold, it may be determined that the electric quantity information meets the sixth preset condition.
The sixth preset condition further includes a rule of detecting the storage space information to determine whether the control center is suitable to continue as the control center to provide the control function. In order not to affect the linkage of each device in the connection network, a device with a large remaining storage space needs to be selected as the control center, and it may be determined that the storage space information meets the sixth preset condition when the remaining storage space of other devices controlled by the control center is larger than the remaining storage space of the control center. The access speed of the Storage space of the other device controlled by the control center (e.g. a high-version UFS (Universal Flash Storage) or eMMC (Embedded MultiMedia Card) or SD (Secure Digital Card)) may be greater than the access speed of the Storage space of the control center (e.g. a low-version UFS or eMMC or SD), that is, it is determined that the Storage space information meets the sixth preset condition.
In this embodiment, a first remaining storage space threshold may also be set for comparison between the remaining storage space of other devices controlled by the control center and the remaining storage space of the control center. For example, when the remaining storage space of the other devices controlled by the control center is greater than or equal to the sum of the remaining storage space of the control center and the first remaining storage space threshold, determining that the storage space information meets a sixth preset condition; and/or when the other devices controlled by the control center do not have the condition that the remaining storage space of the devices is larger than or equal to the sum of the remaining storage space of the control center and the first remaining storage space threshold, that is, the remaining storage spaces of the other devices controlled by the control center are smaller than the sum of the remaining storage space of the control center and the first remaining storage space threshold, determining that the storage space information does not meet the sixth preset condition.
For example, when the remaining storage space of the control center is 2000MB, the first remaining storage space threshold is 300MB, and the other device controlled by the control center has a device whose remaining storage space is 2300MB, and at this time, the remaining storage space of the other device controlled by the control center has a condition that the remaining storage space of the device is equal to the sum of the remaining storage space of the control center and the first remaining storage space threshold, it is determined that the storage space information meets the sixth preset condition.
Optionally, in other embodiments, a second remaining storage space threshold may be further set, where the second remaining storage space threshold is a minimum remaining storage space that does not affect the ability of the control center to provide the management service. Optionally, if the remaining storage space of the control center is greater than or equal to the second remaining storage space threshold, determining that the storage space information does not meet a sixth preset condition; and/or if the residual storage space of the control center is smaller than the second residual storage space threshold, determining that the storage space information meets a sixth preset condition.
For example, the remaining storage space of the control center is 1800MB, the second remaining storage space threshold is 2000MB, and since the remaining storage space of the control center is smaller than the second remaining storage space threshold, it may be determined that the storage space information meets the sixth preset condition.
And sending the response instruction to the target equipment for the control center. The preset event determination information, which determines whether a preset event occurs, includes at least one of: environment information, time information, location information.
And for the environment information, the environment information comprises external environment information, and the control center generates a response instruction aiming at the environment information when the brightness of the current external environment light reaches a brightness threshold value and/or the loudness of the current external environment noise reaches a loudness threshold value.
For example, when the brightness of the current external environment light reaches a brightness threshold and/or the loudness of the current external environment noise reaches a loudness threshold, for example, the brightness is lower than the brightness threshold, and the loudness is lower than the loudness threshold, it may be determined that the user has a sleep need, and at this time, an environment suitable for sleep (for example, turning off the light, turning off the smart tv) may be created for the user, and the control center generates a response instruction related to turning off the light. Optionally, when the control center generates the response instruction, the control center may further add a relevant instruction for outputting the prompt information to the response instruction. The related instruction can act on the control center and/or the target device, for example, the control center can output prompt information (such as the word "good night"), the smart television can output prompt information, or the control center and the smart television can output prompt information together to prompt the user why the smart television can make corresponding action (such as screen-off).
Correspondingly, the control judgment information corresponding to the environment information is the user physiological parameter information, and it can be understood that the user physiological parameter information is used for determining that the user has the sleep requirement again, so as to improve the reliability of the control center for generating a corresponding response instruction and sending the response instruction to the target equipment, when the physiological parameter information of the user is that the physiological parameter of the user reaches the physiological parameter threshold value, the control condition is met, for example, the physiological parameter of the user is a pulse parameter, the number of times (e.g. 50 times) corresponding to the pulse of the user in the resting or sleeping state is less than the number of times (e.g. 70 times) corresponding to the pulse of the user in the waking state, the physiological parameter threshold is set between 50-70 times, for example 60 times, and when the physiological parameter is less than 60 times, the control judgment information meets the control condition, and the control center sends a response instruction to the target equipment; and when the physiological parameter is more than 60 times, the control judgment information does not meet the control condition, and the control center does not send a response instruction to the target equipment. It should be noted that the physiological parameter information of the user can also be used as the preset event determination information, and similarly, the external environment information can also be used as the control judgment information.
For the time information, when the control center obtains the current time as the time corresponding to the behavior habit of the user, the control center generates a response instruction aiming at the time information and the corresponding behavior habit.
For example, when the current time is 20:00 in Beijing, and the living habit of the user is that the smart television is turned on to watch television programs when the time is 20:00 in Beijing, the situation is as follows: the response instruction generated by the control center is used for waking up the system; alternatively, case two: the control center generates a response command to turn on a television program (e.g., the television program that the user has recently watched). It can be understood that, in the case of the first case, the smart tv is in the sleep state, in the case of the second case, the smart tv is in the running state, and when the control center generates the corresponding response command, the response command may be case one, case two, or a combination of case one and case two, optionally, the control center, when generating the response command, and a related instruction for outputting prompt information can be added to the response instruction corresponding to each condition combination, the related instruction can act on the control center and/or the intelligent television, that is, the control center may output the prompt information, or the smart tv may output the prompt information, or the control center and the smart tv output the prompt information together, so as to prompt the user why the smart tv may perform the corresponding action (e.g., turn on or turn on the screen, or turn off the screen, or turn on a certain tv channel, or switch the tv channel, etc.).
Correspondingly, the control judgment information corresponding to the time information is terminal state information, namely whether the intelligent television is in a power-on state or not, if the intelligent television is in the power-off state, the response instruction sent by the control center cannot be received and processed, the control judgment information does not meet the control condition, and the control center does not send the response instruction to the target equipment; if the intelligent television is in the on state, the response instruction sent by the control center can be received and processed, the control judgment information meets the control condition, and the control center sends the response instruction to the target equipment.
In one embodiment, when the control center and the target device (e.g., a smart television) are already in a connected state and the target device is powered on, if a preset event occurs (e.g., a preset time 24 is reached), the control center may send an instruction to the smart television to sleep or power off and/or output a reminding message according to user habit data or user setting or system setting.
For the position information, when the current position is the position corresponding to the behavior habit of the user, the control center generates a response instruction aiming at the position information and the corresponding behavior habit.
For example, the current location is a company address, and the living habit of the user is that when the current location is the company address, the navigation of the vehicle-mounted terminal is turned on to perform driving route planning (for example, a route from the company to home), and optionally, the control center may further add a relevant instruction for outputting the prompt information to the response instruction when generating the response instruction. The relevant instruction may act on the control center and/or the vehicle-mounted terminal, for example, the control center may output a prompt message (e.g. the text "navigation of the vehicle-mounted terminal is turned on"), the vehicle-mounted terminal may output the prompt message, or the control center and the vehicle-mounted terminal may output the prompt message together to prompt the user why the vehicle-mounted terminal will make a corresponding action (e.g. turn on navigation).
Correspondingly, the control judgment information corresponding to the position information is vehicle state information, namely whether the vehicle corresponding to the vehicle-mounted terminal is in a starting or starting completion state or not, if the vehicle is in the starting or starting completion state, a response instruction sent by the control center can be received and processed, the control judgment information meets the control condition, and the control center sends the response instruction to the target equipment; and/or if the vehicle is in an un-started state, the vehicle cannot receive and process the response instruction sent by the control center, the control judgment information does not meet the control condition, and the control center does not send the response instruction to the target equipment.
And executing a preset control operation for the control center. The preset event determination information for determining whether a preset event occurs in a connected network includes at least one of:
the preset event determines the information content, the environment information, the time information and the position information of the information.
For the time information, when the control center acquires that the current time is the preset time of the user, a response instruction aiming at the time information is generated. For example, if the current time is 20:00 of the beijing time and the preset time is also 20:00 of the beijing time, the preset event determination information meets the preset event determination condition.
For the position information, when the control center acquires that the current position is the preset position of the user, a response instruction for the position information is generated. For example, if the current location is home and the preset location is home, the preset event determination information satisfies the preset event determination condition.
Optionally, the information content comprises at least one of: sender information, receiver information, information text content and information display mode;
the environmental information includes at least one of: external environment information, use environment information.
Optionally, the information content may include at least one of sender information, receiver information, information text content, and information presentation manner; the environment information may include at least one of external environment information and usage environment information.
Optionally, the sender information is information corresponding to a sender of the preset event determination information, the receiver information is information corresponding to a receiver of the preset event determination information, the content of the information is a content text of the preset event determination information, the information presentation mode is a presentation mode of the preset event determination information sent by the sender device to the receiver device, specifically, taking a short message or a message notification event as an example, the sender information of the short message or the message determination information may refer to sender device information (such as an address, a name, a type, and an identifier), a sender name, a sender number (such as a telephone, a QQ, a WeChat, a mailbox), and the like, the receiver information of the short message or the message determination information may refer to receiver device information, a receiver name, a receiver number, and the like, and the content of the text of the short message or the message determination information may refer to the content of the text of the short message or the message, the information display mode of the short message or the message determining information can be interface output, and can also be voice broadcast and the like.
Optionally, the environment information may include at least one of external environment information and usage environment information, and the device in which the control center is located and connected to the network has an ability to obtain the external environment information, such as obtaining brightness of external environment light and obtaining loudness of external environment noise; in the using process of the device, the using environment information changes along with the change of the environment where the user is located, the environment where the user is located can be sensed through a sensor (such as a camera, a microphone, a GPS, Bluetooth, WIFI, a gravity sensor, an acceleration sensor, a gyroscope and the like), if the user is moving, the device can detect that the user is in a moving environment, or if the user is driving, the device can detect that the user is in a driving environment, or if the user is working or meeting, the device can detect that the user is in a working or meeting environment.
And if the connection state information accords with a first preset rule, executing corresponding equipment control operation according to a first preset strategy.
Optionally, whether the connection status information conforms to a first preset rule is detected, and if the connection status information conforms to the first preset rule, corresponding device control operation is executed according to a first preset policy. Optionally, the first preset rule is that whether the control center exits from the connection network is determined by detecting connection status information, if the control center exits from the connection network, the connection status information conforms to the first preset rule, and/or if the control center does not exit from the connection network, the connection status information does not conform to the first preset rule.
In one embodiment, if the number of connections of the control center exceeds a preset threshold or a maximum, the connection status information conforms to a first preset rule, and corresponding device control operation is executed according to a first preset policy.
In another embodiment, if the connection status of the control center is not smooth or the number of times of disconnection exceeds a preset number of times, the connection status information conforms to a first preset rule, and corresponding device control operation is executed according to a first preset policy.
And if the network rate information conforms to a second preset rule, executing corresponding equipment control operation according to a second preset strategy.
Optionally, whether the network rate information conforms to a second preset rule is detected, and if the network rate information conforms to the second preset rule, corresponding device control operation is executed according to a second preset strategy. Optionally, the second preset rule is a rule for determining whether the control center is suitable to continue to serve as the control center to provide the control function by detecting the network rate information. In order not to affect the linkage of each device in the connection network, a device with good network speed needs to be selected as a control center.
For example, it may be determined that the network rate of the other device controlled by the control center is greater than the network rate of the control center, that is, the network rate information conforms to the second predetermined rule. For example, the network rate of the control center is 500KB/s, and if there is a device with a network rate greater than 500KB/s in other devices controlled by the control center, it may be determined that the network rate information conforms to the second predetermined rule.
In this embodiment, a first network rate threshold may also be set for comparison between the network rate of other devices controlled by the control center and the network rate of the control center. For example, when the network rate of the other devices controlled by the control center is greater than or equal to the sum of the network rate of the control center and the first network rate threshold, determining that the network rate information conforms to a second preset rule; and/or when the network rate of other equipment controlled by the control center is not greater than or equal to the sum of the network rate of the equipment and the first network rate threshold value, that is, the network rates of other equipment controlled by the control center are all less than the sum of the network rate of the control center and the first network rate threshold value, determining that the network rate information does not accord with the second preset rule.
For example, the network rate of the control center is 500KB/s, the first network rate threshold is 100KB/s, and the other device controlled by the control center has a device with a network rate of 600KB/s, and at this time, when the network rate of the other device controlled by the control center has a condition that the network rate of the device is equal to the sum of the network rate of the control center and the first network rate threshold, it is determined that the network rate information conforms to the second preset rule.
Optionally, in other embodiments, a second network rate threshold may be set, where the second network rate threshold is a minimum network rate that does not affect the ability of the control center to provide management services. Optionally, if the network rate of the control center is greater than or equal to a second network rate threshold, determining that the network rate information does not conform to a second preset rule; and/or if the network rate of the control center is smaller than a second network rate threshold value, determining that the network rate information conforms to a second preset rule.
For example, the network rate of the control center is 400KB/s, the second network rate threshold is 500KB/s, and the network rate information may be determined to conform to the second predetermined rule since the network rate of the control center is less than the second network rate threshold.
And if the terminal state information conforms to a third preset rule, executing corresponding equipment control operation according to a third preset strategy.
Optionally, whether the terminal state information conforms to a third preset rule is detected, and if the terminal state information conforms to the third preset rule, corresponding device control operation is executed according to a third preset strategy. Optionally, the third preset rule is a rule for determining whether the control center is suitable to continue to serve as the control center to provide the control function by detecting the terminal state information. In order not to affect the linkage of each device in the connection network, a device with short response time corresponding to the device state needs to be selected as a control center.
In an embodiment, the terminal status information may be data Processing capability of the device, such as number or frequency of CPUs (Central Processing Units), number or frequency of GPUs (graphical Processing Units), number or frequency of NPUs (Neural network Processing Units), memory capacity, memory Processing speed, and the like, and if the data Processing capability of the control center is not strongest or does not belong to a strong category, the terminal status information is determined to conform to the third predetermined rule.
In another embodiment, for the current data processing capability of the device, it may be determined that the terminal state information conforms to the third preset rule if the response time corresponding to the device state of the other device controlled by the control center is shorter than the response time corresponding to the device state of the control center. For example, if the response time corresponding to the device state of the control center is 50ms, and if there is a device with a response time corresponding to the device state of 40ms in another device controlled by the control center, it may be determined that the terminal state information conforms to the third preset rule.
A first response time threshold may also be set for the comparison between the response time corresponding to the device status of the other device controlled by the control center and the response time corresponding to the device status of the control center. For example, when the sum of the response time corresponding to the device state of the device and the first response time threshold is smaller than or equal to the response time corresponding to the device state of the control center, the other device controlled by the control center determines that the terminal state information conforms to a third preset rule; and/or when the sum of the response time corresponding to the device state of the device and the first response time threshold value is not greater than or equal to the response time corresponding to the device state of the control center, the other device controlled by the control center determines that the terminal state information does not conform to the third preset rule.
For example, when the response time corresponding to the device state of the control center is 50ms, the first response time threshold is 10ms, and the response time corresponding to the device state of the other device controlled by the control center is 40ms, and the sum of the response time corresponding to the device state of the other device controlled by the control center and the first response time threshold is equal to the response time corresponding to the state of the control center, it is determined that the terminal state information conforms to the third preset rule.
Optionally, in other embodiments, a second response time threshold may be set, where the second response time threshold is a maximum response time that does not affect the ability of the control center to provide management services. Optionally, if the response time corresponding to the device state of the control center is shorter than or equal to the second response time threshold, determining that the terminal state information does not conform to a third preset rule; and/or if the response time corresponding to the equipment state of the control center is longer than the second response time threshold, determining that the terminal state information conforms to a third preset rule.
For example, the response time corresponding to the device state of the control center is 60ms, and the second response time threshold is 50ms, and since the response time corresponding to the device state of the control center is longer than the second response time threshold, it may be determined that the terminal state information conforms to the third preset rule.
In other embodiments, for a device in a charging state, the power consumption of the device at this time should be reduced as much as possible to prevent the accelerated battery consumption, and therefore, if the device is in the charging state, it is determined that the terminal state information conforms to the third preset rule; and/or if the equipment is in a non-charging state, determining that the terminal state information does not accord with a third preset rule.
In other embodiments, for a device in motion, the terminal state information may be determined to conform to the third preset rule due to inconvenient user operation or control.
In other embodiments, for a device in the stuck state, since the device may not respond well to the operation of the user, and may cause the control center not to control other devices well, it may be determined that the terminal state information conforms to the third preset rule.
And if the electric quantity information accords with a fourth preset rule, executing corresponding equipment control operation according to a fourth preset strategy.
Optionally, whether the electric quantity information conforms to a fourth preset rule is detected, and if the electric quantity information conforms to the fourth preset rule, corresponding device control operation is executed according to a fourth preset strategy. Optionally, the fourth preset rule is a rule for determining whether the control center is suitable to continue to serve as the control center to provide the control function by detecting the power information. In order not to affect the linkage of each device in the connection network, a device with a long available time corresponding to the electric quantity needs to be selected as the control center, and the available time corresponding to the electric quantity of other devices controlled by the control center may be longer than the available time corresponding to the electric quantity of the control center, that is, it is determined that the electric quantity information conforms to the fourth preset rule. Or the remaining electric quantity value of other equipment controlled by the control center is larger than the electric quantity of the control center, that is, the electric quantity information is determined to accord with the fourth preset rule.
In this embodiment, a first available time threshold may be set for comparing the available time corresponding to the electric quantity of the other device controlled by the control center with the available time corresponding to the electric quantity of the control center. For example, when the available time corresponding to the electric quantity of the equipment is longer than or equal to the sum of the available time corresponding to the electric quantity of the control center and the first available time threshold value, the other equipment controlled by the control center determines that the electric quantity information conforms to a fourth preset rule; and/or when the available time corresponding to the electric quantity of the other equipment controlled by the control center is not longer than or equal to the sum of the available time corresponding to the electric quantity of the equipment and the first available time threshold, that is, when the available time corresponding to the electric quantity of the other equipment controlled by the control center is smaller than the sum of the available time corresponding to the electric quantity of the control center and the first available time threshold, determining that the electric quantity information does not accord with the fourth preset rule.
For example, when the available time corresponding to the electric quantity of the control center is 200 minutes, the first available time threshold is 30 minutes, and the available time corresponding to the electric quantity of the other device controlled by the control center is 170 minutes, and the available time corresponding to the electric quantity of the other device controlled by the control center is equal to the sum of the available time corresponding to the electric quantity of the control center and the first available time threshold, it is determined that the electric quantity information conforms to the fourth preset rule.
Optionally, in other embodiments, a second available time threshold may be set, where the second available time threshold is the minimum available time that does not affect the ability of the control center to provide management services. Optionally, if the available time corresponding to the electric quantity of the control center is longer than or equal to the second available time threshold, determining that the electric quantity information does not conform to a fourth preset rule; and/or if the available time corresponding to the electric quantity of the control center is shorter than the second available time threshold, determining that the electric quantity information accords with a fourth preset rule.
For example, the available time corresponding to the electric quantity of the control center is 180 minutes, the second available time threshold is 200 minutes, and since the available time corresponding to the electric quantity of the control center is shorter than the second available time threshold, it may be determined that the electric quantity information conforms to the fourth preset rule.
And if the storage space information accords with a fifth preset rule, executing corresponding equipment control operation according to a fifth preset strategy.
Optionally, whether the storage space information conforms to a fifth preset rule is detected, and if the storage space information conforms to the fifth preset rule, corresponding device control operation is executed according to a fifth preset policy. Optionally, the fifth preset rule is a rule for determining whether the control center is suitable to continue to serve as the control center to provide the control function by detecting the storage space information. In order not to affect the linkage of each device in the connection network, a device with a large remaining storage space needs to be selected as the control center, and it may be determined that the storage space information conforms to the fifth preset rule if the remaining storage space of other devices controlled by the control center is larger than the remaining storage space of the control center. It may also be determined that the access speed of the Storage space of the other device controlled by the control center (for example, the high version of UFS (Universal Flash Storage), or the eMMC (Embedded MultiMedia Card), or the SD (Secure Digital Card)) is greater than the access speed of the Storage space of the control center (for example, the low version of UFS, or eMMC, or SD), that is, the Storage space information conforms to the fifth preset rule.
In this embodiment, a first remaining storage space threshold may also be set for comparison between the remaining storage space of other devices controlled by the control center and the remaining storage space of the control center. For example, when the remaining storage space of the other devices controlled by the control center is greater than or equal to the sum of the remaining storage space of the control center and the first remaining storage space threshold, determining that the storage space information conforms to a fifth preset rule; and/or when the other devices controlled by the control center do not have the condition that the remaining storage space of the device is larger than or equal to the sum of the remaining storage space of the control center and the first remaining storage space threshold, that is, the remaining storage spaces of the other devices controlled by the control center are smaller than the sum of the remaining storage space of the control center and the first remaining storage space threshold, determining that the storage space information does not accord with the fifth preset rule.
For example, when the remaining storage space of the control center is 2000MB, the first remaining storage space threshold is 300MB, and the other device controlled by the control center has a device whose remaining storage space is 2300MB, and at this time, the remaining storage space of the other device controlled by the control center has a sum of the remaining storage space of the device and the first remaining storage space threshold, it is determined that the storage space information conforms to the fifth preset rule.
Optionally, in other embodiments, a second remaining storage space threshold may be further set, where the second remaining storage space threshold is a minimum remaining storage space that does not affect the ability of the control center to provide the management service. Optionally, if the remaining storage space of the control center is greater than or equal to the second remaining storage space threshold, determining that the storage space information does not conform to a fifth preset rule; and/or if the remaining storage space of the control center is smaller than the second remaining storage space threshold, determining that the storage space information conforms to a fifth preset rule.
For example, the remaining storage space of the control center is 1800MB, the second remaining storage space threshold is 2000MB, and since the remaining storage space of the control center is smaller than the second remaining storage space threshold, it may be determined that the storage space information conforms to the fifth preset rule.
And if the external environment information conforms to a sixth preset rule, executing corresponding equipment control operation according to a sixth preset strategy.
Optionally, whether the external environment information conforms to a sixth preset rule is detected, and if the external environment information conforms to the sixth preset rule, corresponding device control operation is executed according to a sixth preset strategy. Optionally, the sixth preset rule is a rule for determining whether the control center is suitable to continue to serve as the control center to provide the control function by detecting the external environment information.
In an embodiment, when it is detected that the brightness of the external environment light reaches a brightness threshold and/or the loudness of the external environment noise reaches a loudness threshold, it is determined that the external environment information conforms to a sixth preset rule; and/or determining that the external environment information does not accord with a sixth preset rule when detecting that the brightness of the external environment light does not reach a brightness threshold and/or the loudness of the external environment noise does not reach a loudness threshold.
For example, when the brightness of the ambient light reaches a brightness threshold and the loudness of the ambient noise reaches a loudness threshold, such as the brightness is lower than the brightness threshold and the loudness is lower than the loudness threshold, it may be determined that the user is ready to enter or is in a quiet state (such as sleep), and at this time, the user may not conveniently obtain a device such as a mobile phone or a PAD, but may conveniently obtain a device such as a smart band or a smart watch. Therefore, if the brightness of the external environment light is lower than the brightness threshold and the loudness of the external environment noise is lower than the loudness threshold, the control center is one of the devices which are inconvenient for users to obtain currently, such as a mobile phone, a PAD and the like, and it is determined that the external environment information conforms to the sixth preset rule; and/or if the brightness of the external environment light is lower than the brightness threshold and the loudness of the external environment noise is lower than the loudness threshold, the control center is an intelligent bracelet, an intelligent watch and other devices which are convenient to obtain at present, and then the external environment information is determined not to conform to a sixth preset rule.
In another embodiment, the external environment information may be time information and/or geographic information, and optionally, if the user is in a time where the control center is not convenient to use (for example, the user is not convenient to use the mobile phone during working hours or in the morning hours), or the user is not allowed to carry the control center (for example, the user is not allowed to enter the mobile phone), the external environment information is determined to conform to a sixth preset rule.
And if the using environment information accords with a seventh preset rule, executing corresponding equipment control operation according to a seventh preset strategy.
Optionally, whether the usage environment information conforms to a seventh preset rule is detected, and if the usage environment information conforms to the seventh preset rule, corresponding device control operation is executed according to a seventh preset policy. Alternatively, the seventh preset rule is a rule for determining whether the control center is suitable to continue to serve as the control center to provide the control function by detecting the usage environment information.
In an embodiment, if the user is in the sports environment, it is obvious that the user is inconvenient to use the devices such as the mobile phone and the PAD, and is convenient to use the wearable devices such as the smart band and the smart watch. Therefore, if the control center is one of the devices which are inconvenient to use when the user moves, such as a mobile phone and a PAD, before the user is in the motion environment, the information of the use environment is determined to accord with a seventh preset rule; and/or if the user is in the sports environment, and the control center is one of the devices which are convenient to use when the user moves, such as the intelligent bracelet and the intelligent watch, the use environment information is determined not to conform to the seventh preset rule.
Whether the user is in the sports environment or not is detected, the judgment can be performed according to the contextual model (such as the sports model, the outdoor model and the like) of the control center, or according to the motion sensor of the control center and/or other equipment, or according to the camera data of the control center and/or other equipment.
In another embodiment, if the user is in a driving environment, it is obvious that the user is inconvenient to use devices such as a mobile phone, a PAD, and the like, and convenient to use devices such as a smart watch, a smart headset, a vehicle-mounted terminal, and the like. Therefore, if the control center is one of the mobile phones, PADs and other devices which are inconvenient for the user to use before the user is in the driving environment, the use environment information is determined to accord with a seventh preset rule; and/or if the control center is one of devices which are convenient to use by the user in the driving environment, such as a smart watch, a smart earphone, a vehicle-mounted terminal and the like, before the user is in the driving environment, determining that the use environment information does not accord with a seventh preset rule.
Whether the user is in the driving environment or not is detected, the determination may be performed according to a contextual model (such as a driving model and a navigation model) of the control center, or according to a motion sensor or geographic information of the control center and/or other devices, or according to camera data of the control center and/or other devices, or according to wireless connection information (such as an accessed WIFI hotspot, a paired connected bluetooth device, and the like) of the control center and/or other devices.
In another embodiment, it is obvious that the user can use the smart tv, the smart speaker, etc. more conveniently if the user is in a home environment. Therefore, if the control center is one of the mobile phones, PADs and other devices which are inconvenient for the user to use before the user is in the home environment, the use environment information is determined to accord with the seventh preset rule; and/or if the user is in the home environment, the control center determines that the usage environment information does not conform to the seventh preset rule when the control center is one of the devices such as the smart television and the smart sound box which are convenient for the user to use in the home environment.
Whether the user is in the home environment is detected, the determination may be performed according to a contextual model of the control center (such as a shift mode and a home mode), or according to geographic information of the control center and/or other devices, or according to camera data of the control center and/or other devices, or according to wireless connection information (such as an accessed WIFI hotspot and a paired bluetooth device) of the control center and/or other devices.
In an embodiment, if the user is away from home or the driving environment is switched to a new environment, such as a working environment, the user is inconvenient to use the devices such as the vehicle-mounted terminal and the smart television, and is convenient to use the devices such as the mobile phone and the smart watch. Therefore, if the control center is one of the vehicle-mounted terminal, the smart television and other equipment which are inconvenient for the user to use before the user is in the new environment, the use environment information is determined to accord with the seventh preset rule; and/or determining that the using environment information does not accord with a seventh preset rule if the control center is one of the mobile phones, the smart watches and other equipment which are convenient for the user to use when the user works before the user is in a new environment.
Whether the user is in a non-home or non-driving environment is detected, the determination may be performed according to a contextual model (such as an office mode, a sport mode, and the like) of the control center, or according to geographic information of the control center and/or other devices, or according to camera data of the control center and/or other devices, or according to wireless connection information (such as an accessed WIFI hotspot, a paired connected bluetooth device, and the like) of the control center and/or other devices.
In another embodiment, if the user is in a meeting environment, the user is inconvenient to use devices such as smart headsets and the like which need to be controlled through voice commands, and is convenient to use devices such as mobile phones and smart watches which can be controlled through touch commands. Therefore, if the user is in front of the meeting environment and the control center is one of the devices such as the intelligent earphones which are inconvenient to use during the meeting of the user, the use environment information is determined to accord with the seventh preset rule; and/or if the user is in the meeting environment and the control center is one of the mobile phones, smart watches and other equipment which are convenient to use during the meeting of the user, determining that the using environment information does not accord with the seventh preset rule.
And if the flow information conforms to an eighth preset rule, executing corresponding equipment control operation according to an eighth preset strategy.
Optionally, whether the traffic information conforms to an eighth preset rule is detected, and if the traffic information conforms to the eighth preset rule, corresponding device control operation is executed according to an eighth preset policy. Optionally, the eighth preset rule is a rule for determining whether the control center is suitable to continue to serve as the control center to provide the control function by detecting the traffic information. In order not to affect the linkage of each device in the connection network, a device with a large residual flow rate needs to be selected as the control center, and it may be determined that the residual flow rate of other devices controlled by the control center is greater than the residual flow rate of the control center, that is, it is determined that the flow rate information conforms to the eighth preset rule.
In this embodiment, a first remaining flow threshold may also be set for comparison between the remaining flow of other devices controlled by the control center and the remaining flow of the control center. For example, when the remaining flow of the device is greater than or equal to the sum of the remaining flow of the control center and the first remaining flow threshold value, the other device controlled by the control center determines that the flow information meets the eighth preset rule; and/or when the other equipment controlled by the control center does not have the condition that the residual flow of the equipment is more than or equal to the sum of the residual flow of the control center and the first residual flow threshold value, namely the residual flow of the other equipment controlled by the control center is less than the sum of the residual flow of the control center and the first residual flow threshold value, determining that the flow information does not accord with the eighth preset rule.
For example, the remaining flow rate of the control center is 2000MB, the first remaining flow rate threshold is 300MB, and the other device controlled by the control center has a device with a remaining flow rate of 2300MB, and at this time, when the remaining flow rate of the other device controlled by the control center has a condition that the remaining flow rate of the device is equal to the sum of the remaining flow rate of the control center and the first remaining flow rate threshold, it is determined that the flow rate information conforms to the eighth preset rule.
Optionally, in other embodiments, a second remaining traffic threshold may be set, where the second remaining traffic threshold is the minimum remaining traffic that does not affect the ability of the control center to provide management services. Optionally, if the remaining flow of the control center is greater than or equal to the second remaining flow threshold, determining that the flow information does not conform to an eighth preset rule; and/or if the residual flow of the control center is smaller than the second residual flow threshold, determining that the flow information conforms to an eighth preset rule.
For example, the remaining flow rate of the control center is 1800MB, the second remaining flow rate threshold is 2000MB, and since the remaining flow rate of the control center is less than the second remaining flow rate threshold, it may be determined that the flow rate information conforms to the eighth preset rule.
And if the using habit information accords with a ninth preset rule, executing corresponding equipment control operation according to a ninth preset strategy.
Optionally, whether the usage habit information conforms to a ninth preset rule is detected, and if the usage habit information conforms to the ninth preset rule, corresponding device control operation is executed according to a ninth preset policy. Optionally, the ninth preset rule is a rule for determining whether the control center is suitable to continue to be the control center to provide the control function by detecting the usage habit information.
In an embodiment, if the user is accustomed to running with the smart headset or the smart watch in a certain time period in the morning, watching a video through the PAD in a certain time period in the evening, and using the mobile phone to read in a certain time period in the morning on the weekends, it may be determined that the ninth preset rule is met if the corresponding time point control center is not a device meeting the habit of the user.
In another embodiment, if the user is accustomed to using different devices in different environments, such as watching smart tv at home, watching a vehicle-mounted terminal on a vehicle, using a smart phone in a company, etc., it may be determined that the ninth preset rule is met if the corresponding environment control center is not a device that meets the user's habit.
And if the distance information conforms to a tenth preset rule, executing corresponding equipment control operation according to a tenth preset strategy.
Optionally, whether the distance information conforms to a tenth preset rule is detected, and if the distance information conforms to the tenth preset rule, corresponding device control operation is executed according to a tenth preset policy. Wherein, the tenth preset rule is a rule for determining whether the control center is suitable to continue to be the control center to provide the control function by detecting the distance information.
In an embodiment, when the distance between the user and the control center exceeds a preset range, it is determined that the distance information conforms to a tenth preset rule.
In one embodiment, each device in the connection network has a certain relative distance when being used by a user, and when the distance from the control center to other devices controlled by the control center is greater than or equal to a preset distance threshold, the distance information is determined to accord with a tenth preset rule; and/or when the distance between the control center and other equipment controlled by the control center is smaller than a preset distance threshold value, determining that the distance information does not accord with a tenth preset rule.
In another embodiment, if each connected network device is used as a control center, the total distance value between the device and other connected network devices may be calculated, the device with the shortest total distance value is used as a candidate control center, and if the control center is different from the candidate control center, it is determined that the distance information conforms to the tenth preset rule.
And if the user physiological parameter information accords with an eleventh preset rule, executing corresponding equipment control operation according to an eleventh preset strategy.
Optionally, whether the user physiological information conforms to an eleventh preset rule is detected, and if the user physiological parameter information conforms to the eleventh preset rule, corresponding device control operation is executed according to an eleventh preset strategy. Wherein, the eleventh preset rule is a rule for determining whether the control center is suitable to continue to be used as the control center to provide the control function by detecting the physiological information of the user.
In an embodiment, when it is detected that the physiological information of the user reaches the preset physiological information threshold, it is determined that the physiological information of the user conforms to the eleventh preset rule. Wherein the user physiological information can be detected by the control center and/or other devices. The physiological information may be at least one of heart rate, blood pressure, pulse, blood oxygen, blood glucose.
Optionally, if the heart rate of a certain user is generally 70 to 80 times/minute in a non-sleep state and 40 to 50 times/minute in a sleep state, the preset heart rate threshold may be set to 50 times/minute, when the heart rate of the user is detected to reach 50 times/minute, it may be determined that the user is in the sleep state, and if the control center is not a wearable device such as a smart watch or a smart bracelet that is convenient for the user to acquire and operate, it may be determined that the physiological information conforms to the eleventh preset rule.
Optionally, if the heart rate of the user is generally 100 to 130 times/minute when the user is in the exercise state, when the heart rate of the user is detected to reach 110 times/minute, it may be determined that the user is in the exercise state, and if the control center is a device such as a smart phone which is inconvenient for the user to acquire and operate, it may also be determined that the physiological information conforms to the eleventh preset rule.
Optionally, the control center performs a preset control operation or performs a corresponding device control operation, including at least one of:
the control center immediately or after delaying sends the response instruction to the target equipment;
switching part or all of the control function to the target equipment;
copying part or all of the control function to the target device;
activating part or all of the control functions on the target device;
migrating or transferring the relevant data of the control center to target equipment;
the control center outputs first prompt information and/or controls equipment directly or indirectly connected with the control center to output second prompt information.
Optionally, the control center performs a preset control operation, or performs a corresponding device control operation, including the control center immediately or after delaying sending the response instruction to the target device; switching part or all of the control function to the target equipment; copying part or all of the control function to the target device; activating part or all of the control functions on the target device; migrating or transferring the relevant data of the control center to target equipment; the control center outputs at least one of first prompt information and/or controls equipment directly or indirectly connected with the control center to output second prompt information.
When the control center sends the response command to the target device, an immediate or delayed sending strategy can be adopted, and for immediate sending, it can be understood that when the preset event is that the user needs to have a rest or sleep, the control center immediately turns off the light, namely, an environment suitable for the rest or sleep is immediately provided for the user, so that the user experience can be improved, namely, the control center is more flexible and intelligent when executing the control function; for delayed sending, it can be understood that, when the preset event is that the user needs to watch the program through the smart television, the control center may output related prompt information to the user in advance before the current time reaches the preset time to prompt the user that the program the user wishes to watch is to be played, but at this time, the control center does not send a response instruction to the target device, but sends a response instruction to the target device only when the current time is the preset time, and before sending the response instruction to the target device, the control center may also output related prompt information to the user, so that the user experience is improved, and the control center is more flexible and intelligent in executing the control function.
For switching the control function to the target device partially or entirely, when the control center is no longer suitable to continue to serve as the control center to provide the control function, the control center switches the control function to the target device suitable to serve as the control center to provide the control function.
It should be noted that, in some application scenarios, the control function may not need to be completely switched to the target device, but only needs to be switched to a device related to the target device, or used at a high frequency, or supported by the target device, so that the control function can be switched to facilitate the user operation, and the switching resource can be saved and/or the power consumption can be reduced;
optionally, part or all of the control functions may also be copied to the target device, which means that besides the control center, at least one target device may also have the same control function as the control center, so as to provide more operation entries for the user, and further implement more flexible and powerful functions, in some implementations, in order to reduce the user misoperation, it may also be set that only one device having the control function is in an activated state, that is: although there may be a plurality of devices with control functions in the connection network (such as the control center, the target device, etc. in this embodiment, even each device in the connection network may support the control function), only one device can issue a control instruction, specifically which one device has a plurality of determination policies, such as a device currently being used by the user; or the device with the largest residual capacity or the largest battery capacity; may be the device with the highest processing capacity or a system running smoothly or currently not running entertainment or multimedia applications (such as video, games, etc.) or currently running preset applications (such as telephone, short message, mail, WeChat, etc.); it may also be determined based on the priority of the device, such as the highest priority device.
For the relevant data of the migration or transfer control center to the target equipment, when the control center transfers the control function to the target equipment, the relevant data in the control center can be migrated or transferred to the target equipment, so that the target equipment can conveniently perform the control function according to the relevant data; in addition, the devices in the connection network have the capability of being used as the control center, so that the control center can also perform the control function when only the control function is transferred to the target device without transferring or transferring the relevant data in the control center to the target device.
Particularly, when the control center performs a control function, the control center can synchronize related data to the cloud, and for the case that the control center meets a second preset condition, because the control center has not yet reached to migrate or transfer the related data to the target device, the control center exits from the connection network, other devices controlled by the control center can continue to use the related data before the control center exits from the connection network, for example, the setting item parameters are maintained, and the target device obtains the related data before the control center exits from the cloud; and for the condition that the control center meets the fourth preset condition, the control center starts to migrate or transfer the related data when the distance from the control center to other equipment controlled by the control center is greater than or equal to a preset distance threshold value so as to ensure that the related data migration or transfer is completed before the control center is disconnected from the connection network.
And outputting the first prompt message to the control center, and/or controlling equipment directly or indirectly connected with the control center to output the second prompt message. It is to be understood that the purpose of the first prompt information and the second prompt information may be to enable the user to understand the reason why the control center sends the response instruction to the target device and the control operation performed by the target device for the response instruction.
For example, referring to fig. 4, 400 is a control center, which is a mobile phone, 401 is a list of devices controlled by the mobile phone, which includes a smart watch, a smart headset, and a smart television, 4000 is a target device, which is a smart watch controlled by the mobile phone, 4001 is a list of devices controlled by the smart watch, which includes a mobile phone, a smart headset, and a smart television of the control center, after a control function of 4002 is switched from the control center to the target device, a pop-up frame prompt message output by the target device is output, and of course, the pop-up frame may also be output by the control center.
Optionally, the target device corresponds to the preset information, or the target device is determined by any one of the following manners:
the first or last device initiating the connection;
The equipment with the strongest processing capability or the most smooth state;
a device with the largest battery capacity or the largest remaining amount of electricity;
presetting a system;
the highest priority device;
the device with the shortest or longest distance;
the device with the highest security level;
user selection or user habit.
Optionally, the target device corresponds to preset information, and the method for determining the target device includes any one of the following methods: the first or last device initiating the connection; the equipment with the strongest processing capability or the most smooth state; the device with the largest battery capacity or the largest remaining amount of electricity; presetting a system; the highest priority device; the device with the shortest or longest distance; the device with the highest security level; user selection or user habit.
It should be noted that the target device may be understood that the preset information corresponding to the target device is optimal relative to the preset information corresponding to each device in the connected network where the target device is located, for example, the processing capability of the target device is strongest relative to the processing capability of each device in the connected network where the target device is located; it can be understood that the principle of selecting the target device is preferably to select a device most suitable for the user to use under the current conditions (such as the current time), for example, for a first device initiating connection, it can be understood that the device is a device which firstly accesses a connection network, that is, a device which is always used by the user; similarly, for the last device initiating connection, it is understood that at least one device already exists in the connection network before the last device initiating connection accesses the connection network, and the last device initiating connection is the device newly accessing the connection network, that is, the device carried by the user just enters the accessible range of the connection network, that is, the device is the device currently used by the user.
For example, referring to fig. 8, if the target device is the device with the highest security level, the control center 8000 may output the first prompt information by using the pop-up block 8001: "the control function has been switched to the device with the highest security level for you".
In the embodiment, when a preset event occurs in a network where the network is connected, a response instruction of a target device corresponding to the preset event is generated, and preset information and a preset strategy are acquired; and determining and executing a corresponding control strategy according to the response instruction and the preset information and/or the preset strategy. When a preset event occurs in the connected network, the control center can generate a corresponding response instruction and acquire preset information and/or a preset strategy, and the corresponding control strategy is determined and executed through the response instruction, the preset information and/or the preset strategy, so that the control interaction between the devices is more flexible and intelligent after the devices are mutually connected.
Optionally, based on a fifth embodiment of the control method of the present application, a sixth embodiment is provided, where the related data further includes at least one first related data and/or at least one second related data, and the step of migrating or transferring the related data in the control center to the target device includes at least one of:
Backing up or transferring only first relevant data in the control center to the target device;
only backing up or transferring second related data in the control center to the target device;
backing up or transferring second related data corresponding to the first related data to the target equipment in addition to backing up or transferring the first related data in the control center to the target equipment;
backing up or transferring first related data and corresponding updated data in the control center to the target equipment;
backing up or transferring second related data and corresponding updated data in the control center to the target equipment;
and backing up or transferring the first related data and the corresponding updated data in the control center and the updated data of the second related data to the target equipment.
Optionally, the related data may further comprise at least one first related data and/or at least one second related data. After the target device is determined, related data in the control center can be selectively backed up or transferred to the target device, so that the target device can perform a control function according to the related data.
Optionally, the manner of backing up or transferring the first related data and the second related data comprises at least one of: only backing up or transferring first related data in the control center to the target equipment; only backing up or transferring second related data in the control center to the target equipment; backing up or transferring second related data corresponding to the first related data to target equipment besides backing up or transferring the first related data in the control center to the target equipment; backing up or transferring first related data and corresponding updated data in a control center to target equipment; backing up or transferring second related data and corresponding updated data in the control center to the target equipment; and backing up or transferring the first relevant data and the corresponding updated data in the control center and the updated data of the second relevant data to the target equipment.
For the connection information data, the first related data may be connection information between the control center and other devices controlled by the control center; the second related data may be connection information between devices of other devices controlled by the control center; the updated data may be data corresponding to the relevant data updated by the control center during the process of backing up or transferring the relevant data, for example, in the process of backing up or transferring the relevant data, if there is an external device connected to the network to join the network and connect with the control center, the updated data at this time is connection information between the device joined to the network and the control center corresponding to the first relevant data.
For the setting item parameter data, the first related data may be setting data corresponding to a shortcut function, such as setting data for quickly starting a music playing function; the second related data may be an application (e.g. music player) or a local file (e.g. music, video, sound effects) associated with the shortcut function; the update data may be data corresponding to the related data updated by the control center in the process of backing up or transferring the related data, for example, in the process of backing up or transferring the related data, the setting data corresponding to the shortcut function changes, for example, the command of the opening gesture of the shortcut function changes, the button corresponding to the shortcut function is changed from "double-click" to "single-click" and then the update data at this time is the command of the "single-click" gesture to open the setting data corresponding to the shortcut function.
For the relevant downloaded data, the first relevant data can be the version number, release time, installation package and other data of the control center application; the second related data can be data generated in the running process of the control center application; the updated data may be data corresponding to the relevant data updated by the control center during the process of backing up or transferring the relevant data, such as data generated during the process of running the control center application by the control center during the process of backing up or transferring the relevant data.
Accordingly, when the control center transfers the control function of the control center to the target device, at least one of the connection information data, the setting item parameter data, and the relevant download data in the control center can be migrated or transferred to the target device. For example, the connection information data is migrated or transferred to the target device, so that the target device conveniently establishes a connection relationship with other devices controlled by the control center according to the connection information data, for example, the target device directly initiates a connection request to a device corresponding to the device physical address according to the device physical address in the connection information data, and does not need to search for a device in a connectable range of the target device to obtain the device physical address, thereby initiating the connection request.
According to the embodiment, through providing a migration or transfer scheme of various related data, more implementation modes can be provided for the related data during migration or transfer, more user requirements are met, user experience is improved, and the control center is more flexible and intelligent when executing the control function.
Referring to fig. 10, a seventh embodiment of the control method of the present application is presented, it being noted that although a logical order is shown in the flow chart, in some cases, the steps shown or described may be performed in an order different than that shown or described herein. The control method is applied to at least one control center. The control method comprises the following steps:
step S310, when a preset event occurs in the connected network, generating a response instruction corresponding to the preset event;
step S320, acquiring control judgment information, and determining target equipment according to the control judgment information and a preset rule;
step S330, immediately or after delaying to send the response instruction to the target device, and/or the control center performs a preset control operation.
Optionally, a sequence of steps of generating a response instruction of the target device corresponding to the preset event is optional, and as another embodiment, the control method includes the steps of:
Step S310, when a preset event occurs in the connected network, acquiring control judgment information, and determining target equipment according to the control judgment information and a preset rule;
step S320, generating a response instruction corresponding to the preset event;
step S330, immediately or after delaying to send the response instruction to the target device, and/or the control center performs a preset control operation.
It should be noted that the alternative technical solution differs from the technical solution of the first embodiment only in that the sequence of the steps of generating the response instruction of the target device corresponding to the preset event is different, and the specific implementation manner of each step is the same.
As step S310, when a preset event occurs in the connected network, a response instruction corresponding to the preset event is generated.
Optionally, when a preset event occurs in a connection network where the control center is located, a response instruction corresponding to the preset event is generated. Other devices in the control center and the connection network can include any one of terminal devices (such as smart phones, PAD (Portable Android devices, tablet computers) and the like), wearable intelligent devices (such as smart watches, smart bracelets, smart earphones and the like), smart home devices (such as smart televisions, smart sound boxes and the like) and vehicle connection network devices (such as smart vehicles, vehicle-mounted terminals and the like).
The step of generating the response instruction corresponding to the preset event when the preset event occurs in the network where the network is connected includes at least one of the following steps:
when a preset event occurs in the connected network, outputting prompt information for selecting a preset mode, and generating the response instruction based on the selected preset mode;
when a preset event occurs in the connected network, automatically triggering and generating the response instruction according to the corresponding relation between the preset event and the response instruction;
and when a preset event occurs in the connected network, generating the response instruction based on the input control instruction.
Optionally, the step of generating a response instruction of the target device corresponding to the preset event when the preset event occurs in the connected network includes outputting a prompt message for selecting a preset mode when the preset event occurs in the connected network, and generating the response instruction based on the selected preset mode; when a preset event occurs in the connected network, automatically triggering and generating the response instruction according to the corresponding relation between the preset event and the response instruction; and when a preset event occurs in the connected network, generating at least one of the response instructions based on the input control instruction.
And outputting prompt information for selecting a preset mode when a preset event occurs in the connected network, and generating the response instruction based on the selected preset mode. And aiming at the preset event, the control center outputs corresponding prompt information, the prompt information is information for prompting a user to select a preset mode, and after the user selects the corresponding preset mode, a response instruction is generated based on the selected preset mode. The preset mode may include an automatic mode and a manual mode. In the automatic mode, corresponding response instructions can be automatically generated according to different preset events; and/or, in the manual mode, a response instruction corresponding to the control instruction needs to be generated through the control instruction input by the user. Referring to fig. 5, 5000 is a control center, 5001 is a display screen background image of the control center 5000, 5002 is a pop-up box prompt message output by the control center 5000 for prompting a user to set an operation mode of the control center, and the user can know detailed functions of the automatic mode and the manual mode by clicking "view details" therein.
And when a preset event occurs in the connected network, automatically triggering and generating the response instruction according to the corresponding relation between the preset event and the response instruction. The preset event and the response instruction have a corresponding relation, and the preset event and the response instruction can be matched through the corresponding relation, namely when the preset event occurs in the network where the control center is connected, the control center automatically triggers and generates the corresponding response instruction without the need of operating the preset event by a user. For example, the preset event is that the user needs to rest or sleep, and according to the corresponding relation, the response instruction corresponding to the rest or sleep is to turn off the light, and then the light-off instruction is automatically triggered and generated.
And generating the response instruction based on the input control instruction when a preset event occurs in the connected network. When the preset event occurs in the connected network, the corresponding selectable processing item can be output to the user, and after the user inputs the corresponding control instruction for the selectable processing item, the control center generates a corresponding response instruction according to the control instruction. Referring to fig. 6, 6000 is a control center, and 6001 is a popup box output by the control center 6000 and used for outputting corresponding selectable processing items and/or corresponding prompt information. For example, the selectable processing items comprise options of turning off the light and not turning off the light, and if the user selects to turn off the light, a response instruction of turning off the light is generated; and/or if the user chooses not to turn off the light, generating an instruction for continuously detecting the physiological information parameters of the user, and creating an external environment suitable for the user to sleep (such as adjusting the room temperature) after determining that the user is asleep
In step S320, control judgment information is obtained, and a target device is determined according to the control judgment information and a preset rule.
Optionally, control judgment information is obtained, and the target device is determined according to the control judgment information and a preset rule.
The control judgment information includes at least one first control judgment information and/or at least one second control judgment information, and the first control judgment information and/or the second control judgment information includes at least one of the following:
User physiological parameter information, connection information, usage information, distance information, application information, status information.
Optionally, the control judgment information includes at least first control judgment information provided by the first device and/or at least second control judgment information provided by the second device.
The first control judgment information and/or the second control judgment information includes at least one of user physiological parameter information, connection information, usage information, distance information, application information, and status information.
For the physiological parameter information of the user, the equipment connected with the network where the control center is located has the capability of acquiring the physiological parameter information of the user, so that the equipment provides corresponding services, for example, the equipment provides health services by acquiring the physiological parameter information of the user such as heart rate, blood pressure, pulse, blood oxygen, blood sugar and the like.
For the distance information, when the user uses the device connected to the network where the control center is located, the distance between the device and the user may change, for example, when the user places the smart phone in a bedroom and goes to the living room to watch television, the user moves from the bedroom to the living room, the user is farther and farther away from the smart phone, and the distance between the user and the mobile phone may be specifically sensed through a wearable device (such as a smart watch) or an indoor positioning function or an indoor monitoring device (such as a camera) on the user.
For the application information, the application information may be installation application information and/or running application information, for example, if there is no security protection application (such as jinshanyaoba, 360 security guard, etc.) in the installation application or the running application, there may be a potential safety hazard or risk as a control center.
Optionally, the connection information includes at least one of: connection status information, network rate information.
Optionally, in the connection network, there are terminal devices or other devices (such as wearable devices, smart home devices, or vehicle connection network devices) that newly join the connection network, and also there are terminal devices or other devices that exit the connection network, and in order to grasp connection status information of each device joining or exiting in the connection network, the control center may maintain a connection information table, which may record device information and/or connection information (such as connection state, connection rate, connection history, etc.) of all the connection network devices, and the device information may be at least one of a device physical address, a device name, and a device code, and may also be other information that may represent a device. Wherein, the device code can be set by the control center, for example, the device code of the first device connected with the control center is 001, and the device code of the second device connected with the control center is 002; optionally, the devices in the connection network generally have a function of connecting with the interconnection network, such as a smart watch, a smart phone, a smart television, a smart car, and the like, and the network rate information corresponding to the devices may be affected by the devices themselves (e.g., the processing capability of the devices is low, and then the network is slow due to more applications of the devices in downloading data or accessing the internet at present, etc.) or affected by external factors (e.g., the signals of the locations of the devices are not good), so that the network rate is low.
The usage information includes at least one of: flow information, usage habit information, current usage application information.
Alternatively, in the above-mentioned connection network, the device may have a data network service providing capability, such as a smart phone, a PAD, etc., for obtaining data from the interconnection network, such as updating an application in the device, etc., and the current data network cost is not low, so that when using the data network service, special attention needs to be paid to the traffic information; for the use habit information, the user may be used to use a certain device in the connected network, that is, the frequency of using a certain device is high, or used to use a certain device in the connected network for a certain time period, a certain place and a certain purpose of use, for example, the user is used to use PAD to watch video, but not used to use a smart phone to watch video; for the current application information, in the using process of the device, a user can install some corresponding applications, such as video applications and game applications, according to the using requirements.
The status information includes at least one of: terminal state information, electric quantity information and storage space information.
Optionally, in the connection network, the terminal state information may be determined by the data processing capability of the device, the data processing capability of the device is strong or weak, and the current data processing capability of the device corresponding to the terminal state information is not good under the hardware condition, and it can be understood that the current data processing capability of the device in the hardware condition in the dead halt state is very weak; optionally, the terminal status information may also be whether the device is in a charging state, and it can be understood that the device needs electric energy during use, and the electric energy is generally provided by a battery, and the battery needs to be charged when the battery is exhausted or is about to be exhausted. For the electric quantity information, different devices in the connection network have batteries with different capacities, and the batteries have different residual electric quantities or different endurance times, for example, the battery capacity of the mobile phone is generally larger than that of the smart watch, and in addition, the situation that the residual electric quantity is smaller than the current electric quantity of the smart watch due to the fact that the mobile phone is not charged exists; the devices in the connected network exchange data during use and need to store the received data, and the storage space information of the devices may affect the working performance of the devices and may even determine the work that the devices can support, for example, the storage space of the devices is not large enough to support the data size that must be downloaded during their working.
The determining of the target device according to the control judgment information and the preset rule includes at least one of the following:
determining target equipment according to the priority of the first control judgment information and/or the second control judgment information;
determining the first or last device initiating connection as a target device;
determining the equipment with the strongest processing capacity or the most smooth state as target equipment;
determining the equipment with the maximum battery capacity or the maximum residual electric quantity as target equipment;
determining that a system is preset as target equipment;
determining the equipment with the highest priority as target equipment;
determining the equipment with the shortest or longest distance as target equipment;
determining the equipment with the highest security level as target equipment;
determining target equipment according to user selection or user habits;
determining the equipment of which the user physiological parameter information meets a first preset condition as target equipment;
determining the equipment of which the connection information meets a second preset condition as target equipment;
determining the equipment of which the use information meets a third preset condition as target equipment;
determining the equipment of which the distance information meets a fourth preset condition as target equipment;
determining the equipment of which the application information meets a fifth preset condition as target equipment;
And determining the equipment of which the state information meets the sixth preset condition as target equipment.
Optionally, determining the target device according to control judgment information and a preset rule, including determining the target device according to the priority of the first control judgment information and/or the second control judgment information; determining the first or last device initiating connection as a target device; determining the equipment with the strongest processing capacity or the most smooth state as target equipment; determining the equipment with the maximum battery capacity or the maximum residual electric quantity as target equipment; determining that a system is preset as target equipment; determining the equipment with the highest priority as target equipment; determining the equipment with the shortest or longest distance as target equipment; determining the equipment with the highest security level as target equipment; determining target equipment according to user selection or user habits; determining the equipment of which the user physiological parameter information meets a first preset condition as target equipment; determining the equipment of which the connection information meets a second preset condition as target equipment; determining the equipment of which the use information meets a third preset condition as target equipment; determining the equipment of which the distance information meets a fourth preset condition as target equipment; determining the equipment of which the application information meets a fifth preset condition as target equipment; and determining the equipment of which the state information meets the sixth preset condition as at least one of the target equipment.
Alternatively, the target device may understand that the control judgment information corresponding to the target device is optimal with respect to the control judgment information corresponding to each device in the connected network, for example, the processing capability of the target device is strongest with respect to the processing capability of each device in the connected network. It can be understood that the principle of selecting the target device is to preferentially select a device most suitable for the user to use under the current condition (e.g. at the current time), for example, for the first device initiating connection, it can be understood that the device is the device which is first accessed to the connection network, that is, the device used by the user; similarly, for the last device initiating connection, it may be understood that at least one device already exists in the connection network before the last device initiating connection accesses the connection network, and the last device initiating connection is the device which has accessed the connection network most recently, that is, the device carried by the user just enters the accessible range of the connection network, that is, the device is the device currently used by the user.
For example, referring to fig. 8, if the target device is the device with the highest security level, the control center 8000 may output the first prompt information by using the pop-up block 8001: "the control function has been switched to the device with the highest security level for you".
Optionally, the first control judgment information and/or the second control judgment information is/are weighted, the higher the weight is, the higher the corresponding priority level is, the target device is determined according to the order of priority levels from high to low, for example, the first control judgment information and/or the second control judgment information includes the user physiological parameter information and the connection information, the weight of the user physiological parameter information is 5, the weight of the connection information is 4, the priority level of the user physiological parameter information is higher than that of the connection information, when the target device is determined, the judgment is preferentially performed through the user physiological parameter information, when the user physiological parameter information does not satisfy the condition as the target device, the judgment is performed through the connection information.
For the condition that the user physiological parameter information meets the first preset condition, in an embodiment, when it is detected that the user physiological parameter information reaches a preset physiological parameter information threshold, it is determined that the user physiological parameter information meets the first preset condition. Alternatively, the user physiological parameter information may be detected by a device within the connected network. The user physiological parameter information may be at least one of heart rate, blood pressure, pulse, blood oxygen, blood glucose. For example, if a user is in a non-sleep state with a heart rate of typically 70 to 80 beats/minute and the user is in a sleep state with a heart rate of typically 40 to 50 beats/minute, then the preset heart rate threshold may be set to 50 beats/minute, and when the user's heart rate is detected to reach 50 beats/minute, the user may be determined to be in a sleep state; for another example, the heart rate of a user in the exercise state is generally 100 to 130 times/minute, and when the heart rate of the user is detected to reach 110 times/minute, the user can be determined to be in the exercise state, and then the physiological parameter information of the user is determined to meet the first preset condition.
The second preset condition may include determining whether the control center exits from the connection network by detecting the connection condition information, and if the control center exits from the connection network, the connection condition information is in accordance with the second preset condition, and/or if the control center does not exit from the connection network, the connection condition information is not in accordance with the second preset condition. In one embodiment, if the number of connections of the control center exceeds a preset threshold or a maximum value, the connection status information meets the second preset condition. In another embodiment, the connection status information may be in accordance with a second preset condition if the connection status of the control center is not smooth or the number of dropped connections exceeds a preset number.
For the usage information meeting the third preset condition, the second preset condition may further include a rule for detecting the network rate information to determine whether the control center is suitable to continue to serve as the control center to provide the control function. In order not to affect the linkage of each device in the connection network, a device with good network speed needs to be selected as a control center.
For example, it may be determined that the network rate of the other device controlled by the control center is greater than the network rate of the control center, that is, the network rate information meets the second preset condition. For example, the network rate of the control center is 500KB/s, and if there is a device with a network rate greater than 500KB/s among other devices controlled by the control center, it may be determined that the network rate information meets the second preset condition.
In this embodiment, a first network rate threshold may also be set for comparison between the network rate of other devices controlled by the control center and the network rate of the control center. For example, when the network rate of the other devices controlled by the control center is greater than or equal to the sum of the network rate of the control center and the first network rate threshold, determining that the network rate information meets the second preset condition; and/or when the network rate of the other equipment controlled by the control center is not greater than or equal to the sum of the network rate of the equipment and the first network rate threshold, that is, the network rates of the other equipment controlled by the control center are all less than the sum of the network rate of the control center and the first network rate threshold, determining that the network rate information does not meet the second preset condition.
For example, the network rate of the control center is 500KB/s, the first network rate threshold is 100KB/s, and the other device controlled by the control center has a device with a network rate of 600KB/s, and at this time, when the network rate of the other device controlled by the control center has a condition that the network rate of the device is equal to the sum of the network rate of the control center and the first network rate threshold, it is determined that the network rate information meets the second preset condition.
Optionally, in other embodiments, a second network rate threshold may be set, where the second network rate threshold is a minimum network rate that does not affect the ability of the control center to provide control services. Optionally, if the network rate of the control center is greater than or equal to a second network rate threshold, determining that the network rate information does not meet a second preset condition; and/or if the network rate of the control center is smaller than a second network rate threshold value, determining that the network rate information meets a second preset condition.
For example, the network rate of the control center is 400KB/s, the second network rate threshold is 500KB/s, and the network rate information may be determined to meet the second preset condition because the network rate of the control center is less than the second network rate threshold.
For the usage information meeting the third preset condition, the third preset condition may include a rule that the traffic information is detected to determine whether the control center is suitable to continue to be the control center to provide the control function. In order not to influence the linkage of each device in the connection network, a device with a large residual flow rate needs to be selected as a control center, and the residual flow rate of other devices controlled by the control center is more than that of the control center, that is, it is determined that the flow rate information meets the third preset condition.
In this embodiment, a first remaining flow threshold may also be set for comparison between the remaining flow of other devices controlled by the control center and the remaining flow of the control center. For example, when the remaining flow of the device is greater than or equal to the sum of the remaining flow of the control center and the first remaining flow threshold value, the other device controlled by the control center determines that the flow information meets the third preset condition; and/or when the other equipment controlled by the control center does not have the condition that the residual flow of the equipment is more than or equal to the sum of the residual flow of the control center and the first residual flow threshold value, namely the residual flow of the other equipment controlled by the control center is less than the sum of the residual flow of the control center and the first residual flow threshold value, determining that the flow information does not meet the third preset condition.
For example, the remaining flow rate of the control center is 2000MB, the first remaining flow rate threshold is 300MB, and the other device controlled by the control center has a device with a remaining flow rate of 2300MB, and at this time, when the remaining flow rate of the other device controlled by the control center has a condition that the remaining flow rate of the device is equal to the sum of the remaining flow rate of the control center and the first remaining flow rate threshold, it is determined that the flow rate information meets the third preset condition.
Optionally, in other embodiments, a second remaining traffic threshold may be set, where the second remaining traffic threshold is the minimum remaining traffic that does not affect the ability of the control center to provide management services. Optionally, if the remaining flow of the control center is greater than or equal to the second remaining flow threshold, determining that the flow information does not meet a third preset condition; and/or if the residual flow of the control center is smaller than the second residual flow threshold, determining that the flow information meets a third preset condition.
For example, the remaining flow rate of the control center is 1800MB, the second remaining flow rate threshold is 2000MB, and since the remaining flow rate of the control center is less than the second remaining flow rate threshold, it may be determined that the flow rate information meets the third preset condition.
The third preset condition may further include a rule of detecting whether the control center is suitable to continue as the control center to provide the control function using the habit information.
In an embodiment, if the user is used to run with a smart headset or a smart watch in a certain time period in the morning, to watch a video through a PAD in a certain time period in the evening, and to read with a mobile phone in a certain time period in the morning on a weekend, it may be determined that the third preset condition is met if the corresponding time point control center is not a device meeting the user's habit.
In another embodiment, if the user is accustomed to using different devices in different environments, such as watching a smart tv at home, watching a vehicle-mounted terminal on a vehicle, using a smart phone at a company, etc., it may be determined that the third preset condition is met if the corresponding environment control center is not a device that meets the user's habits.
The third preset condition may further include a rule of detecting whether the current usage application information determines that the control center is suitable to continue as the control center to provide the control function.
In an embodiment, if the user is watching a video or playing a game using the control center, and in general, the device interfaces corresponding to the video and the game are displayed in full screen, which is inconvenient for the user to switch to the application interface corresponding to the control center to use the control function of the control center. Therefore, if the control center is running the video application, the game application and other applications which are inconvenient to switch to other interfaces, the current application information is determined to meet the third preset condition; and/or if the control center is convenient to operate and switch to the application of other interfaces, determining that the currently used application information does not meet a third preset condition.
In another embodiment, if the user is making a call or performing a video chat or a teleconference, and the user is also not convenient to switch the interface or control, it is determined that the currently used application information meets the third preset condition.
For the case that the distance information meets the fourth preset condition, the fourth preset condition may include a rule that the distance information is detected to determine whether the control center is suitable to continue to serve as the control center to provide the control function.
In an embodiment, when the distance between the user and the control center exceeds a preset range, it is determined that the distance information meets a fourth preset condition.
In one embodiment, each device in the connection network has a certain relative distance when being used by a user, and when the distance from the control center to other devices controlled by the control center is greater than or equal to a preset distance threshold, the distance information is determined to meet a fourth preset condition; and/or when the distance from the control center to other equipment controlled by the control center is smaller than a preset distance threshold, determining that the distance information does not meet a fourth preset condition.
In another embodiment, if each connected network device is used as a control center, the total distance value between the device and other connected network devices may be calculated, the device with the shortest total distance value is used as a candidate control center, and if the control center is different from the candidate control center, it is determined that the distance information meets the fourth preset condition.
For the application information meeting the fifth preset condition, in an embodiment, the application information may be installation application information and/or running application information, for example, if there is no security protection application (such as jinshanyaoba, 360 security guard, etc.) in the installation application or the running application, there is a potential safety hazard or risk as a control center, and it may be determined that the application information meets the fifth preset condition;
If the currently running application (which may be a foreground or a background) occupies more system resources (such as games, videos and the like) or has a higher priority (such as telephones, short messages, mails and the like) or is a preset list application, the user is generally inconvenient to switch to the operation interface corresponding to the control center and/or exercise the control function of the control center, and then it is determined that the application information meets the fifth preset condition.
For the state information meeting the sixth preset condition, the sixth preset condition may include a rule for detecting the terminal state information to determine whether the control center is suitable to continue to serve as the control center to provide the control function. In order not to affect the linkage of each device in the connection network, a device with short response time corresponding to the terminal state needs to be selected as a control center.
In an embodiment, the terminal status information may be a data Processing capability of the device, such as a number or frequency of CPUs (Central Processing Units), a number or frequency of GPUs (graphical Processing Units), a number or frequency of NPUs (Neural network Processing Units), a memory capacity, a memory Processing speed, and the like, and if the data Processing capability of the control center is not strongest or not of a strong category, the terminal status information is determined to meet a sixth preset condition.
In another embodiment, for the current data processing capability of the device, it may be determined that the terminal state information meets the sixth preset condition if the response time corresponding to the device state of the other device controlled by the control center is shorter than the response time corresponding to the device state of the control center. For example, if the response time corresponding to the device state of the control center is 50ms, and if there is a device with a response time corresponding to the device state of 40ms, the other device controlled by the control center may determine that the terminal state information meets the sixth preset condition.
A first response time threshold may also be set for the comparison between the response time corresponding to the device status of the other device controlled by the control center and the response time corresponding to the device status of the control center. For example, when the sum of the response time corresponding to the device state of the device and the first response time threshold is smaller than or equal to the response time corresponding to the device state of the control center, the other device controlled by the control center determines that the terminal state information meets the sixth preset condition; and/or when the sum of the response time corresponding to the device state of the device and the first response time threshold value is not greater than or equal to the response time corresponding to the device state of the control center, the other device controlled by the control center determines that the terminal state information does not meet the sixth preset condition.
For example, when the response time corresponding to the device state of the control center is 50ms, the first response time threshold is 10ms, and the response time corresponding to the device state of the other device controlled by the control center is 40ms, and at this time, the sum of the response time corresponding to the device state of the other device controlled by the control center and the first response time threshold is equal to the response time corresponding to the state of the control center, it is determined that the terminal state information meets the sixth preset condition.
Optionally, in other embodiments, a second response time threshold may be set, where the second response time threshold is a maximum response time that does not affect the ability of the control center to provide management services. Optionally, if the response time corresponding to the device state of the control center is shorter than or equal to the second response time threshold, determining that the terminal state information does not meet a sixth preset condition; and/or if the response time corresponding to the equipment state of the control center is longer than the second response time threshold, determining that the terminal state information meets a sixth preset condition.
For example, the response time corresponding to the device state of the control center is 60ms, and the second response time threshold is 50ms, and since the response time corresponding to the device state of the control center is longer than the second response time threshold, it may be determined that the terminal state information meets the sixth preset condition.
In other embodiments, for a device in a charging state, the power consumption of the device at this time should be reduced as much as possible to prevent the accelerated battery loss, and therefore, if the device is in the charging state, it is determined that the terminal state information meets the sixth preset condition; and/or if the equipment is in a non-charging state, determining that the terminal state information does not meet a sixth preset condition.
In other embodiments, for a device in motion, it may be determined that the terminal state information meets the sixth preset condition due to inconvenient user operation or control.
In other embodiments, for a device in the stuck state, since the device may not respond well to the operation of the user, and the control center may not control other devices well, it may be determined that the terminal state information meets the sixth preset condition.
The sixth preset condition further includes a rule of detecting the electric quantity information to determine whether the control center is suitable to continue to serve as the control center to provide the control function. In order not to affect the linkage of each device in the connection network, a device with a long available time corresponding to the electric quantity needs to be selected as the control center, and the available time corresponding to the electric quantity of other devices controlled by the control center may be longer than the available time corresponding to the electric quantity of the control center, that is, it is determined that the electric quantity information conforms to the sixth preset condition. Or the remaining electric quantity value of other equipment controlled by the control center is larger than the electric quantity of the control center, that is, the electric quantity information is determined to meet the sixth preset condition.
In this embodiment, a first available time threshold may be set for comparing the available time corresponding to the electric quantity of the other device controlled by the control center with the available time corresponding to the electric quantity of the control center. For example, when the available time corresponding to the electric quantity of the equipment is longer than or equal to the sum of the available time corresponding to the electric quantity of the control center and the first available time threshold value, the other equipment controlled by the control center determines that the electric quantity information meets the sixth preset condition; and/or when the available time corresponding to the electric quantity of the other equipment controlled by the control center is longer than or equal to the sum of the available time corresponding to the electric quantity of the control center and the first available time threshold value, namely when the available time corresponding to the electric quantity of the other equipment controlled by the control center is smaller than the sum of the available time corresponding to the electric quantity of the control center and the first available time threshold value, determining that the electric quantity information does not meet the sixth preset condition.
For example, when the available time corresponding to the electric quantity of the control center is 200 minutes, the first available time threshold is 30 minutes, and the available time corresponding to the electric quantity of the other device controlled by the control center is 170 minutes, and at this time, the available time corresponding to the electric quantity of the other device controlled by the control center is equal to the sum of the available time corresponding to the electric quantity of the control center and the first available time threshold, it is determined that the electric quantity information meets the sixth preset condition.
Optionally, in other embodiments, a second available time threshold may be set, where the second available time threshold is the minimum available time that does not affect the ability of the control center to provide management services. Optionally, if the available time corresponding to the electric quantity of the control center is longer than or equal to the second available time threshold, determining that the electric quantity information does not meet a sixth preset condition; and/or if the available time corresponding to the electric quantity of the control center is shorter than the second available time threshold, determining that the electric quantity information meets a sixth preset condition.
For example, the available time corresponding to the electric quantity of the control center is 180 minutes, the second available time threshold is 200 minutes, and since the available time corresponding to the electric quantity of the control center is shorter than the second available time threshold, it may be determined that the electric quantity information meets the sixth preset condition.
The sixth preset condition further includes a rule of detecting the storage space information to determine whether the control center is suitable to continue to serve as the control center to provide the control function. In order not to affect the linkage of each device in the connection network, a device with a large remaining storage space needs to be selected as the control center, and it may be determined that the storage space information meets the sixth preset condition when the remaining storage space of other devices controlled by the control center is larger than the remaining storage space of the control center. The access speed of the Storage space of the other device controlled by the control center (e.g. a high-version UFS (Universal Flash Storage) or eMMC (Embedded MultiMedia Card) or SD (Secure Digital Card)) may be greater than the access speed of the Storage space of the control center (e.g. a low-version UFS or eMMC or SD), that is, it is determined that the Storage space information meets the sixth preset condition.
In this embodiment, a first remaining storage space threshold may also be set for comparison between the remaining storage space of other devices controlled by the control center and the remaining storage space of the control center. For example, when the remaining storage space of the other devices controlled by the control center is greater than or equal to the sum of the remaining storage space of the control center and the first remaining storage space threshold, determining that the storage space information meets a sixth preset condition; and/or when the other devices controlled by the control center do not have the condition that the remaining storage space of the devices is larger than or equal to the sum of the remaining storage space of the control center and the first remaining storage space threshold, that is, the remaining storage spaces of the other devices controlled by the control center are smaller than the sum of the remaining storage space of the control center and the first remaining storage space threshold, determining that the storage space information does not meet the sixth preset condition.
For example, when the remaining storage space of the control center is 2000MB, the first remaining storage space threshold is 300MB, and the other device controlled by the control center has a device whose remaining storage space is 2300MB, and at this time, the remaining storage space of the other device controlled by the control center has a condition that the remaining storage space of the device is equal to the sum of the remaining storage space of the control center and the first remaining storage space threshold, it is determined that the storage space information meets the sixth preset condition.
Optionally, in other embodiments, a second remaining storage space threshold may be further set, where the second remaining storage space threshold is a minimum remaining storage space that does not affect the ability of the control center to provide the management service. Optionally, if the remaining storage space of the control center is greater than or equal to the second remaining storage space threshold, determining that the storage space information does not meet a sixth preset condition; and/or if the remaining storage space of the control center is smaller than the second remaining storage space threshold, determining that the storage space information meets a sixth preset condition.
For example, the remaining storage space of the control center is 1800MB, the second remaining storage space threshold is 2000MB, and since the remaining storage space of the control center is smaller than the second remaining storage space threshold, it may be determined that the storage space information meets the sixth preset condition.
As step S330, immediately or after delaying to send the response command to the target device, and/or the control center performs a preset control operation.
Optionally, the control center immediately or after delaying sends the response instruction to the target device, and/or the control center performs a preset control operation.
For the immediate sending, it can be understood that, when the preset event is that the user needs to have a rest or sleep, the control center immediately turns off the light, that is, immediately provides an environment suitable for the user to have a rest or sleep, so that the user experience can be improved, that is, the control center is more flexible and intelligent in executing the control function; for delayed sending, it can be understood that, when the preset event is that the user needs to watch the program through the smart television, the control center may output related prompt information to the user in advance before the current time reaches the preset time to prompt the user that the program the user wishes to watch is to be played, but at this time, the control center does not send a response instruction to the target device, but sends a response instruction to the target device only when the current time is the preset time, and before sending the response instruction to the target device, the control center may also output related prompt information to the user, so that the user experience is improved, and the control center is more flexible and intelligent in executing the control function.
Executing a preset control operation for the control center, wherein the preset control operation comprises the step of switching part or all of the control function to the target equipment; copying part or all of the control function to the target device; activating part or all of the control functions on the target device; migrating or transferring the relevant data of the control center to target equipment; the control center outputs at least one of first prompt information and/or controls equipment directly or indirectly connected with the control center to output second prompt information.
Optionally, for switching the control function to the target device partially or completely, when the control center is no longer suitable to continue to serve as the control center to provide the control function, the control center switches the control function to the target device suitable to serve as the control center to provide the control function.
It should be noted that, in some application scenarios, the control function may not need to be completely switched to the target device, but only needs to be switched to a device related to the target device, or used at a high frequency, or supported by the target device, so that the control function can be switched to facilitate the user operation, and the switching resource can be saved and/or the power consumption can be reduced;
optionally, part or all of the control functions may also be copied to the target device, which means that besides the control center, at least one target device may also have the same control function as the control center, so as to provide more operation entries for the user, and further implement more flexible and powerful functions, in some implementations, in order to reduce the user misoperation, it may also be set that only one device having the control function is in an activated state, that is: although there may be multiple devices with control functions in the connection network (such as the control center and the target device in this embodiment, and even each device in the connection network may support the control function), only one device can issue a control instruction, specifically which one device has multiple determination policies, such as a device currently being used by the user; or the device with the largest residual capacity or the largest battery capacity; may be the device with the highest processing capacity or a system running smoothly or currently not running entertainment or multimedia applications (such as video, games, etc.) or currently running preset applications (such as telephone, short message, mail, WeChat, etc.); it may also be determined based on the priority of the device, such as the highest priority device.
For the relevant data of the migration or transfer control center to the target equipment, when the control center transfers the control function to the target equipment, the relevant data in the control center can be migrated or transferred to the target equipment, so that the target equipment can conveniently perform the control function according to the relevant data; in addition, the devices in the connection network have the capability of being used as the control center, so that the control center can also perform the control function when only the control function is transferred to the target device without transferring or transferring the relevant data in the control center to the target device.
Particularly, when the control center performs a control function, the control center can synchronize related data to the cloud, and for the case that the control center meets a second preset condition, because the control center has not yet had time to migrate or transfer the related data to the target device, the control center exits from the connection network, other devices controlled by the control center can continue to use the related data before the control center exits from the connection network, for example, the setting item parameters are maintained, and the target device obtains the related data before the control center exits from the cloud; and for the condition that the control center meets the fourth preset condition, the control center starts to migrate or transfer the related data when the distance from the control center to other equipment controlled by the control center is greater than or equal to a preset distance threshold value so as to ensure that the related data migration or transfer is completed before the control center is disconnected from the connection network.
And outputting the first prompt message to the control center, and/or controlling equipment directly or indirectly connected with the control center to output the second prompt message. It is to be understood that the purpose of the first prompt information and the second prompt information may be to enable the user to understand the reason why the control center sends the response instruction to the target device and the control operation performed by the target device for the response instruction.
For example, referring to fig. 4, 400 is a control center, which is a mobile phone, 401 is a list of devices controlled by the mobile phone, including a smart watch, a smart headset, and a smart television, 4000 is a target device, which is a smart watch controlled by the mobile phone, 4001 is a list of devices controlled by the smart watch after the control center is switched to the smart watch, which includes a control center mobile phone, a smart headset, and a smart television, 4002 is a pop-up frame prompt message output by the target device after the control function of the control center is switched from the control center to the target device, and of course, the pop-up frame may also be output by the control center.
In the embodiment, when a preset event occurs in a connected network, a response instruction corresponding to the preset event is generated; acquiring control judgment information, and determining target equipment according to the control judgment information and a preset rule; and immediately or later sending the response instruction to the target equipment, and/or executing a preset control operation by the control center. The control center can generate a corresponding response instruction when a preset event occurs in the connection network, and controls the control center or the target equipment to make a corresponding response through the response instruction, so that the control interaction between the equipment is more flexible and intelligent after the equipment is mutually connected.
Optionally, based on a seventh embodiment of the control method of the present application, an eighth embodiment is provided, where the related data further includes at least one first related data and/or at least one second related data, and the step of migrating or transferring the related data in the control center to the target device includes at least one of:
backing up or transferring only first relevant data in the control center to the target device;
only backing up or transferring second related data in the control center to the target device;
backing up or transferring second related data corresponding to the first related data to the target equipment in addition to backing up or transferring the first related data in the control center to the target equipment;
backing up or transferring first related data and corresponding updated data in the control center to the target equipment;
backing up or transferring second related data and corresponding updated data in the control center to the target equipment;
and backing up or transferring the first related data and the corresponding updated data in the control center and the updated data of the second related data to the target equipment.
Optionally, the related data may further comprise at least one first related data and/or at least one second related data. After the target device is determined, related data in the control center can be selectively backed up or transferred to the target device, so that the target device can perform a control function according to the related data.
Optionally, the manner of backing up or transferring the first related data and the second related data comprises at least one of: only backing up or transferring first related data in the control center to the target equipment; only backing up or transferring second related data in the control center to the target equipment; backing up or transferring first related data in a control center to target equipment, and backing up or transferring second related data corresponding to the first related data to the target equipment; backing up or transferring first related data and corresponding updated data in a control center to target equipment; backing up or transferring second related data and corresponding updated data in the control center to the target equipment; and backing up or transferring the first relevant data and the corresponding updated data in the control center and the updated data of the second relevant data to the target equipment.
For the connection information data, the first related data may be connection information between the control center and other devices controlled by the control center; the second related data may be connection information between devices of other devices controlled by the control center; the updated data may be data corresponding to the relevant data updated by the control center during the process of backing up or transferring the relevant data, for example, in the process of backing up or transferring the relevant data, if there is an external device connected to the network to join the network and connect with the control center, the updated data at this time is connection information between the device joined to the network and the control center corresponding to the first relevant data.
For the setting item parameter data, the first related data may be setting data corresponding to a shortcut function, such as setting data for quickly starting a music playing function; the second related data may be an application (e.g. music player) or a local file (e.g. music, video, sound effects) associated with the shortcut function; the update data may be data corresponding to the related data updated by the control center in the process of backing up or transferring the related data, for example, in the process of backing up or transferring the related data, the setting data corresponding to the shortcut function changes, for example, the command of the opening gesture of the shortcut function changes, the button corresponding to the shortcut function is changed from "double-click" to "single-click" and then the update data at this time is the command of the "single-click" gesture to open the setting data corresponding to the shortcut function.
For the relevant downloaded data, the first relevant data can be the version number, release time, installation package and other data of the control center application; the second related data can be data generated in the running process of the control center application; the updated data may be data corresponding to the relevant data updated by the control center during the process of backing up or transferring the relevant data, such as data generated during the process of running the control center application by the control center during the process of backing up or transferring the relevant data.
Accordingly, when the control center transfers the control function of the control center to the target device, at least one of the connection information data, the setting item parameter data, and the relevant download data in the control center can be migrated or transferred to the target device. For example, the connection information data is migrated or transferred to the target device, so that the target device establishes a connection relationship with other devices controlled by the control center according to the connection information data, for example, the target device directly initiates a connection request to a device corresponding to the device physical address according to the device physical address in the connection information data, and does not need to search for a device within a connectable range of the target device to obtain the device physical address, so as to initiate the connection request.
According to the embodiment, through providing a migration or transfer scheme of various related data, more implementation modes can be provided for the related data during migration or transfer, more user requirements are met, user experience is improved, and the control center is more flexible and intelligent when executing the control function.
Optionally, the present application further provides a control device, as shown in fig. 11, the control device includes:
the generation module 10 is configured to generate a response instruction of a target device corresponding to a preset event when the preset event occurs in a network where the target device is connected;
An obtaining module 20, configured to obtain control judgment information;
a sending module 30, configured to, when the control judgment information meets a control condition, send the response instruction to the target device by the control center; and/or the presence of a gas in the gas,
and the execution module 40 is configured to, when the control judgment information meets the control condition, execute a preset control operation by the control center.
Optionally, the control device further comprises:
a maintenance module, configured to maintain, by the control center, a topology of the connection network; and/or the presence of a gas in the gas,
and the connecting module is used for directly or indirectly connecting the target equipment with the control center.
Optionally, the present application further provides a control device, including:
a first obtaining module 10, configured to obtain control judgment information when a preset event occurs in a network where the network is connected, and execute step S10 when the control judgment information meets a control condition;
a second obtaining module 20, configured to obtain preset information and a preset policy;
and the determining and executing module 30 is configured to determine and execute a corresponding control policy according to the preset information and the preset policy.
Optionally, the present application further provides a control device, including:
The generation module 10 is configured to generate a response instruction of a target device corresponding to a preset event when the preset event occurs in a network where the target device is connected;
an obtaining module 20, configured to obtain preset information and/or a preset policy;
and the determining and executing module 30 is configured to determine and execute a corresponding control policy according to the response instruction, the preset information, and/or the preset policy.
Optionally, the present application further provides a control device, including:
the generation module 10 is configured to generate a response instruction corresponding to a preset event when the preset event occurs in a network where the connection module is located;
an obtaining module 20, configured to obtain control judgment information;
a determining module 30, configured to determine a target device according to the control judgment information and a preset rule;
a sending module 40, configured to send the response instruction to the target device immediately or after a delay; and/or the presence of a gas in the gas,
and the execution module 50 is used for executing a preset control operation by the control center.
The specific implementation of the control apparatus of the present application is substantially the same as the embodiments of the inter-device connection method, and is not described herein again.
Optionally, the present application further provides an electronic device, as shown in fig. 12, fig. 12 is a schematic structural diagram of a hardware operating environment according to an embodiment of the present application.
Fig. 12 is a schematic structural diagram of a hardware operating environment of the electronic device.
As shown in fig. 12, the electronic device may include: a processor 1001, e.g. a CPU, a memory 1005, a user interface 1003, a network interface 1004, a communication bus 1002. Wherein a communication bus 1002 is used to enable connective communication between these components. The user interface 1003 may include a Display screen (Display), an input unit such as a Keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface). The memory 1005 may be a high-speed RAM memory or a non-volatile memory (e.g., a magnetic disk memory). The memory 1005 may alternatively be a storage device separate from the processor 1001.
Optionally, the electronic device may further include RF (Radio Frequency) circuitry, sensors, audio circuitry, WiFi modules, and the like.
Those skilled in the art will appreciate that the electronic device configuration shown in fig. 12 does not constitute a limitation of the electronic device and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
As shown in fig. 12, a memory 1005, which is a kind of computer storage medium, may include therein an operating system, a network communication module, a user interface module, and a device control program. Among them, the operating system is a program that manages and controls hardware and software resources of the device, and supports the operation of the device control program as well as other software or programs.
In the electronic apparatus shown in fig. 12, the user interface 1003 is mainly used for connecting a terminal, and performing data communication with the terminal; the network interface 1004 is mainly used for the background server and performs data communication with the background server; the processor 1001 may be used to invoke a device control program stored in the memory 1005 and perform the steps of the control method as described above.
The specific implementation of the electronic device of the present application is substantially the same as the embodiments of the control method described above, and is not described herein again.
Optionally, an embodiment of the present application further provides a computer-readable storage medium, where a device control program is stored on the computer-readable storage medium, and when the device control program is executed by a processor, the steps of the control method described above are implemented.
The specific implementation of the computer-readable storage medium of the present application is substantially the same as the embodiments of the control method described above, and is not described herein again.
The present application further provides an apparatus, comprising: a memory, a processor, a computer program stored on the memory, which computer program, when executed by the processor, implements the steps of the method as described above.
Embodiments of the present application also provide a computer program product, which includes computer program code, when the computer program code runs on a computer, the computer is caused to execute the method as described in the above various possible embodiments.
An embodiment of the present application further provides a chip, which includes a memory and a processor, where the memory is used to store a computer program, and the processor is used to call and run the computer program from the memory, so that a device installed with the chip executes the method described in the foregoing various possible embodiments.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
It is to be understood that although the terms first, second, third, etc. may be used herein to describe various information, such information should not be limited to these terms. These terms are only used to distinguish one type of information from another. For example, first information may also be referred to as second information, and similarly, second information may also be referred to as first information, without departing from the scope of the present application. The word "if" as used herein may be interpreted as "at … …" or "when … …" or "in response to a determination", depending on the context. Also, as used herein, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context indicates otherwise. It will be further understood that the terms "comprises," "comprising," "includes" and/or "including," when used in this specification, specify the presence of stated features, steps, operations, elements, components, items, species, and/or groups, but do not preclude the presence, or addition of one or more other features, steps, operations, elements, components, species, and/or groups thereof. The terms "or" and/or "as used herein are to be construed as inclusive or meaning any one or any combination. Thus, "A, B or C" or "A, B and/or C" means "any of the following: a; b; c; a and B; a and C; b and C; A. b and C ". An exception to this definition will occur only when a combination of elements, functions, steps or operations are inherently mutually exclusive in some way.
It should be understood that, although the respective steps in the flowcharts in the above-described embodiments are sequentially shown as indicated by arrows, the steps are not necessarily performed sequentially as indicated by the arrows. The steps are not performed in the exact order shown and may be performed in other orders unless explicitly stated herein. Moreover, at least some of the steps in the figures may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, in different orders, and may be performed alternately or at least partially with respect to other steps or sub-steps of other steps.
It should be noted that step numbers such as S110 and S120 are used herein for the purpose of more clearly and briefly describing the corresponding contents, and do not constitute a substantial limitation on the sequence, and those skilled in the art may perform S120 first and then S110 in the specific implementation, but these steps should be within the scope of the present application.
The above description is only a preferred embodiment of the present application, and not intended to limit the scope of the present application, and all modifications of equivalent structures and equivalent processes, which are made by the contents of the specification and the drawings of the present application, or which are directly or indirectly applied to other related technical fields, are included in the scope of the present application.
Claims (17)
1. A control method, applied to at least one control center, the method comprising the steps of:
when the brightness of the current external environment light reaches a brightness threshold value and/or the loudness of the current external environment noise reaches a loudness threshold value, generating a response instruction corresponding to target equipment;
acquiring user physiological parameter information, and when the user physiological parameter information meets a control condition, sending the response instruction to the target device by the control center, wherein the control center executes a preset control operation;
the control center executes a preset control operation, including: migrating or transferring the relevant data of the control center to target equipment;
wherein the relevant data further comprises at least one first relevant data and/or at least one second relevant data, and the step of migrating or transferring the relevant data in the control center to the target device comprises at least one of:
backing up or transferring only first relevant data in the control center to the target device;
only backing up or transferring second related data in the control center to the target device;
backing up or transferring second related data corresponding to the first related data to the target equipment in addition to backing up or transferring the first related data in the control center to the target equipment;
Backing up or transferring first related data and corresponding updated data in the control center to the target equipment;
backing up or transferring second related data and corresponding updated data in the control center to the target equipment;
backing up or transferring first related data and corresponding updated data in the control center and updated data of second related data to the target equipment;
the first related data comprise a version number, release time or an installation package of the control center application; the second related data is data generated in the operation process of the control center application; the updated data comprises data which is updated by the control center and corresponds to the related data in the process of backing up or transferring the related data; or the like, or, alternatively,
the first related data is set data corresponding to a shortcut function, the second related data is an application or a local file associated with the shortcut function, and the update data is data corresponding to the first related data and/or the second related data updated by a control center in the process of backing up or transferring the first related data and/or the second related data.
2. The method of claim 1, wherein the control center maintains a topology of a connection network in which it is located, and/or wherein the target device is directly or indirectly connected to the control center.
3. The method of claim 1 or 2, wherein the control center sending the response instruction to the target device comprises:
and the control center immediately or after delaying sends the response instruction to the target equipment.
4. The method according to claim 1 or 2, wherein the step of acquiring that the brightness of the current external environment light reaches a brightness threshold and/or the loudness of the current external environment noise reaches a loudness threshold, and generating the response instruction corresponding to the target device comprises at least one of:
when the brightness of the current external environment light reaches a brightness threshold value and/or the loudness of the current external environment noise reaches a loudness threshold value, outputting prompt information for selecting a preset mode, and generating the response instruction based on the selected preset mode;
when the brightness of the current external environment light reaches a brightness threshold value and/or the loudness of the current external environment noise reaches a loudness threshold value, automatically triggering and generating the response instruction according to the corresponding relation between a preset event and the response instruction;
and when the brightness of the current external environment light reaches a brightness threshold value and/or the loudness of the current external environment noise reaches a loudness threshold value, generating the response instruction based on the input control instruction.
5. A control method, applied to at least one control center, the method comprising the steps of:
s00: when the brightness of the current external environment light reaches a brightness threshold value and/or the loudness of the current external environment noise reaches a loudness threshold value, acquiring the physiological parameter information of the user, and when the physiological parameter information of the user meets the control condition, executing S10;
s10: acquiring preset information and a preset strategy;
s20: determining and executing a corresponding control strategy according to the preset information and the preset strategy;
the respective control strategy includes device control operations comprising: migrating or transferring the relevant data of the control center to target equipment;
wherein the relevant data further comprises at least one first relevant data and/or at least one second relevant data, and the step of migrating or transferring the relevant data in the control center to the target device comprises at least one of:
backing up or transferring only first relevant data in the control center to the target device;
only backing up or transferring second related data in the control center to the target device;
backing up or transferring second related data corresponding to the first related data to the target equipment in addition to backing up or transferring the first related data in the control center to the target equipment;
Backing up or transferring first related data and corresponding updated data in the control center to the target equipment;
backing up or transferring second related data and corresponding updated data in the control center to the target equipment;
backing up or transferring first related data and corresponding updated data in the control center and updated data of second related data to the target equipment;
the first relevant data comprises a version number, release time or an installation package of the control center application; the second related data is data generated in the operation process of the control center application; the updated data comprises data which is updated by the control center and corresponds to the related data in the process of backing up or transferring the related data; or the like, or a combination thereof,
the first related data is set data corresponding to a shortcut function, the second related data is an application or a local file associated with the shortcut function, and the update data is data corresponding to the first related data and/or the second related data updated by a control center in the process of backing up or transferring the first related data and/or the second related data.
6. The method of claim 5, wherein the preset information comprises at least one of:
Connection information, the connection information including at least one of: connection status information, network rate information;
state information, the state information including at least one of: terminal state information, electric quantity information and storage space information;
environmental information, the environmental information including at least one of: external environment information and use environment information;
usage information, the usage information including at least one of: flow information, use habit information, current use application information;
distance information;
user physiological parameter information.
7. The method of claim 6, wherein the step of S20 includes at least one of:
if the connection state information accords with a first preset rule, executing corresponding equipment control operation according to a first preset strategy;
if the network rate information accords with a second preset rule, executing corresponding equipment control operation according to a second preset strategy;
if the terminal state information accords with a third preset rule, executing corresponding equipment control operation according to a third preset strategy;
if the electric quantity information accords with a fourth preset rule, executing corresponding equipment control operation according to a fourth preset strategy;
If the storage space information accords with a fifth preset rule, executing corresponding equipment control operation according to a fifth preset strategy;
if the external environment information accords with a sixth preset rule, executing corresponding equipment control operation according to a sixth preset strategy;
if the using environment information accords with a seventh preset rule, executing corresponding equipment control operation according to a seventh preset strategy;
if the flow information conforms to an eighth preset rule, executing corresponding equipment control operation according to an eighth preset strategy;
if the use habit information accords with a ninth preset rule, executing corresponding equipment control operation according to a ninth preset strategy;
if the distance information accords with a tenth preset rule, executing corresponding equipment control operation according to a tenth preset strategy;
and if the user physiological parameter information accords with an eleventh preset rule, executing corresponding equipment control operation according to an eleventh preset strategy.
8. The method of claim 7, wherein the target device corresponds to the preset information, or is determined by any one of:
the first or last device initiating the connection;
The equipment with the strongest processing capability or the most smooth state;
a device with the largest battery capacity or the largest remaining amount of electricity;
presetting a system;
the highest priority device;
the device with the shortest or longest distance;
the device with the highest security level;
user selection or user habit.
9. A control method, applied to at least one control center, the method comprising the steps of:
s210, when the brightness of the current external environment light reaches a brightness threshold value and/or the loudness of the current external environment noise reaches a loudness threshold value, generating a response instruction corresponding to target equipment, and acquiring preset information and a preset strategy;
s220, determining and executing a corresponding control strategy according to the response instruction, the preset information and the preset strategy;
the executing the corresponding control strategy includes executing a preset control operation or executing a corresponding device control operation, and the executing a preset control operation or executing a corresponding device control operation includes: migrating or transferring the relevant data of the control center to target equipment;
wherein the related data further includes at least one first related data and/or at least one second related data, and the step of migrating or transferring the related data in the control center to the target device includes at least one of:
Backing up or transferring only first relevant data in the control center to the target device;
only backing up or transferring second related data in the control center to the target device;
backing up or transferring second related data corresponding to the first related data to the target equipment in addition to backing up or transferring the first related data in the control center to the target equipment;
backing up or transferring first related data and corresponding updated data in the control center to the target equipment;
backing up or transferring second related data and corresponding updated data in the control center to the target equipment;
backing up or transferring first related data and corresponding updated data in the control center and updated data of second related data to the target equipment;
the first related data comprise a version number, release time or an installation package of the control center application; the second related data is data generated in the operation process of the control center application; the updated data comprises data which is updated by the control center and corresponds to the related data in the process of backing up or transferring the related data; or the like, or, alternatively,
the first related data is set data corresponding to a shortcut function, the second related data is an application or a local file associated with the shortcut function, and the update data is data corresponding to the first related data and/or the second related data updated by a control center in the process of backing up or transferring the first related data and/or the second related data.
10. The method of claim 9, wherein the step of acquiring that the current brightness of the external environment light reaches a brightness threshold and/or the current loudness of the external environment noise reaches a loudness threshold, and generating the response instruction corresponding to the target device comprises at least one of:
when the brightness of the current external environment light reaches a brightness threshold and/or the loudness of the current external environment noise reaches a loudness threshold, outputting prompt information for selecting a preset mode, and generating the response instruction based on the selected preset mode;
when the brightness of the current external environment light reaches a brightness threshold value and/or the loudness of the current external environment noise reaches a loudness threshold value, automatically triggering and generating the response instruction according to the corresponding relation between a preset event and the response instruction;
and when the brightness of the current external environment light reaches a brightness threshold value and/or the loudness of the current external environment noise reaches a loudness threshold value, generating the response instruction based on the input control instruction.
11. The method of claim 9, wherein the preset information comprises at least one of:
connection information, the connection information including at least one of: connection status information, network rate information;
State information, the state information including at least one of: terminal state information, electric quantity information and storage space information;
environmental information, the environmental information including at least one of: external environment information and use environment information;
usage information, the usage information including at least one of: flow information, use habit information, current use application information;
distance information;
user physiological parameter information.
12. The method of claim 9, wherein the target device corresponds to the preset information, or is determined by any one of:
the first or last device initiating the connection;
the equipment with the strongest processing capability or the most smooth state;
the device with the largest battery capacity or the largest remaining amount of electricity;
presetting a system;
the highest priority device;
the device with the shortest or longest distance;
the device with the highest security level;
user selection or user habit.
13. A control method, applied to at least one control center, the method comprising the steps of:
when the brightness of the current external environment light reaches a brightness threshold value and/or the loudness of the current external environment noise reaches a loudness threshold value, generating a corresponding response instruction;
Acquiring user physiological parameter information, and determining target equipment according to the user physiological parameter information and a preset rule;
immediately or after delaying to send the response instruction to the target equipment, and/or the control center executes a preset control operation;
the control center executes a preset control operation, including: migrating or transferring the relevant data of the control center to target equipment;
the related data further includes at least one first related data and/or at least one second related data, and the step of migrating or transferring the related data in the control center to the target device includes at least one of:
backing up or transferring only first relevant data in the control center to the target device;
backing up or transferring only second related data in the control center to the target device;
backing up or transferring second related data corresponding to the first related data to the target equipment in addition to backing up or transferring the first related data in the control center to the target equipment;
backing up or transferring first related data and corresponding updated data in the control center to the target equipment;
Backing up or transferring second related data and corresponding updated data in the control center to the target equipment;
backing up or transferring first related data and corresponding updated data in the control center and updated data of second related data to the target equipment;
the first related data comprise a version number, release time or an installation package of the control center application; the second related data is data generated in the operation process of the control center application; the updated data comprises data which is updated by the control center and corresponds to the related data in the process of backing up or transferring the related data; or the like, or, alternatively,
the first related data is set data corresponding to a shortcut function, the second related data is an application or a local file associated with the shortcut function, and the update data is data corresponding to the first related data and/or the second related data updated by a control center in the process of backing up or transferring the first related data and/or the second related data.
14. The method as claimed in claim 13, wherein the step of acquiring that the brightness of the current ambient light reaches a brightness threshold and/or the loudness of the current ambient noise reaches a loudness threshold, and generating the corresponding response command comprises at least one of:
When the brightness of the current external environment light reaches a brightness threshold and/or the loudness of the current external environment noise reaches a loudness threshold, outputting prompt information for selecting a preset mode, and generating the response instruction based on the selected preset mode;
when the brightness of the current external environment light reaches a brightness threshold value and/or the loudness of the current external environment noise reaches a loudness threshold value, automatically triggering and generating the response instruction according to a corresponding relation between a preset event and the response instruction;
and when the brightness of the current external environment light reaches a brightness threshold value and/or the loudness of the current external environment noise reaches a loudness threshold value, generating the response instruction based on the input control instruction.
15. The method of claim 13, wherein the determining the target device comprises at least one of:
determining the first or last device initiating connection as a target device;
determining the equipment with the strongest processing capacity or the most smooth state as target equipment;
determining the equipment with the maximum battery capacity or the maximum residual electric quantity as target equipment;
determining that a system is preset as target equipment;
determining the equipment with the highest priority as target equipment;
determining the equipment with the shortest or longest distance as target equipment;
Determining the equipment with the highest security level as target equipment;
determining target equipment according to user selection or user habits;
and determining the equipment of which the user physiological parameter information meets a first preset condition as target equipment.
16. An electronic device, comprising a memory having a control program stored thereon and a processor that, when executing the control program, performs the steps of the method of any of claims 1-15.
17. A computer-readable storage medium, characterized in that the storage medium has stored thereon a control program which, when executed by a processor, carries out the steps of the method according to any one of claims 1 to 15.
Priority Applications (4)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011051971.0A CN111901211B (en) | 2020-09-29 | 2020-09-29 | Control method, apparatus and storage medium |
PCT/CN2020/133164 WO2022041542A1 (en) | 2020-08-28 | 2020-12-01 | Processing method, device, and storage medium |
EP20951210.2A EP4207924A4 (en) | 2020-08-28 | 2020-12-01 | Processing method, device, and storage medium |
US18/175,774 US12034561B2 (en) | 2020-08-28 | 2023-02-28 | Processing method, device and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011051971.0A CN111901211B (en) | 2020-09-29 | 2020-09-29 | Control method, apparatus and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111901211A CN111901211A (en) | 2020-11-06 |
CN111901211B true CN111901211B (en) | 2022-09-09 |
Family
ID=73223995
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011051971.0A Active CN111901211B (en) | 2020-08-28 | 2020-09-29 | Control method, apparatus and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111901211B (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2022041542A1 (en) * | 2020-08-28 | 2022-03-03 | 深圳传音控股股份有限公司 | Processing method, device, and storage medium |
CN113064536B (en) * | 2021-06-01 | 2021-10-19 | 深圳传音控股股份有限公司 | Processing method, processing device and readable storage medium |
CN114706314B (en) * | 2022-03-28 | 2023-05-12 | 慕思健康睡眠股份有限公司 | Noise control method and device for smart home |
CN115334136B (en) * | 2022-07-05 | 2024-02-02 | 北京天融信网络安全技术有限公司 | Connection aging control method, system, equipment and storage medium |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110316631A (en) * | 2019-07-02 | 2019-10-11 | 深圳市欧瑞博科技有限公司 | Control method, server, intelligent elevator and the storage medium of home equipment |
CN110673505A (en) * | 2019-11-19 | 2020-01-10 | 珠海格力电器股份有限公司 | Smart home control method and device and storage medium |
Family Cites Families (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107135130A (en) * | 2016-06-24 | 2017-09-05 | 九阳股份有限公司 | A kind of intelligent appliance authority control method and intelligent appliance |
CN106339083B (en) * | 2016-08-19 | 2020-03-06 | 惠州Tcl移动通信有限公司 | Method and system for automatically switching to driving mode based on intelligent wearable device |
CN106879140A (en) * | 2017-02-21 | 2017-06-20 | 北京小米移动软件有限公司 | The control method of illuminating lamp, equipment and system |
CN107121938B (en) * | 2017-06-30 | 2020-01-10 | 北京金茂绿建科技有限公司 | Intelligent household equipment control method, device and system based on identity recognition |
CN107483300A (en) * | 2017-07-24 | 2017-12-15 | 广东美的环境电器制造有限公司 | Inter-linked controlling method, system and the smart machine of multiple smart machines |
CN109240105B (en) * | 2018-09-28 | 2021-10-26 | 广州建翎电子技术有限公司 | Intelligent linkage control system for household appliances and illuminating lamps |
CN110164436A (en) * | 2019-05-22 | 2019-08-23 | 深圳市智乐创科技有限公司 | The system and method for portable intelligent multipoint voice control household |
CN111522250B (en) * | 2020-05-28 | 2022-01-14 | 华为技术有限公司 | Intelligent household system and control method and device thereof |
-
2020
- 2020-09-29 CN CN202011051971.0A patent/CN111901211B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110316631A (en) * | 2019-07-02 | 2019-10-11 | 深圳市欧瑞博科技有限公司 | Control method, server, intelligent elevator and the storage medium of home equipment |
CN110673505A (en) * | 2019-11-19 | 2020-01-10 | 珠海格力电器股份有限公司 | Smart home control method and device and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN111901211A (en) | 2020-11-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111901211B (en) | Control method, apparatus and storage medium | |
CN112004173B (en) | Bluetooth headset switching method, mobile terminal and computer readable storage medium | |
WO2019210754A1 (en) | Network search control method and device, and mobile terminal | |
CN112346685B (en) | Screen-off and screen-projection control method and device and computer readable storage medium | |
CN107463243B (en) | Screen control method, mobile terminal and computer readable storage medium | |
CN107241789B (en) | Terminal power saving method, terminal and computer readable storage medium | |
CN108553896B (en) | State information display control method, terminal and computer readable storage medium | |
CN111812997B (en) | Device control method, device, and readable storage medium | |
CN109671450B (en) | Song playing method and device and computer readable storage medium | |
CN112261535A (en) | Major-minor switching method and device for wireless earphone and readable storage medium | |
CN111935849A (en) | Information processing method, device and storage medium | |
CN108712558A (en) | Incoming call reminding method, mobile terminal and the readable storage medium storing program for executing of mobile terminal | |
CN108449806B (en) | Information processing method, terminal and readable storage medium | |
US12034561B2 (en) | Processing method, device and storage medium | |
CN109840153B (en) | Terminal resource optimization method, device, system, terminal and medium | |
CN110099173B (en) | Touch experience mode switching method, terminal and storage medium | |
CN109308147B (en) | Application icon display method and device and computer readable storage medium | |
CN109873903B (en) | Display method, terminal and computer readable storage medium of similar application program | |
CN112068689A (en) | Brightness adjusting method, terminal and computer storage medium | |
CN109561217B (en) | Terminal incoming call answering method and device, mobile terminal and storage medium | |
CN109151201B (en) | Anti-addiction method, mobile terminal and computer storage medium | |
CN112422738B (en) | Data service management method, mobile terminal and computer storage medium | |
CN113347676B (en) | Processing method, mobile terminal and storage medium | |
CN114665555A (en) | Control method, intelligent terminal and storage medium | |
CN110087013B (en) | Video chat method, mobile terminal and computer readable storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |