CN112925214A - Device control method, system, control terminal and computer readable storage medium - Google Patents

Device control method, system, control terminal and computer readable storage medium Download PDF

Info

Publication number
CN112925214A
CN112925214A CN201911237327.XA CN201911237327A CN112925214A CN 112925214 A CN112925214 A CN 112925214A CN 201911237327 A CN201911237327 A CN 201911237327A CN 112925214 A CN112925214 A CN 112925214A
Authority
CN
China
Prior art keywords
mobile terminal
preset
equipment
parameter
parameters
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201911237327.XA
Other languages
Chinese (zh)
Inventor
陈小平
陈伟健
唐清生
林勇进
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Foshan Viomi Electrical Technology Co Ltd
Original Assignee
Foshan Viomi Electrical Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Foshan Viomi Electrical Technology Co Ltd filed Critical Foshan Viomi Electrical Technology Co Ltd
Priority to CN201911237327.XA priority Critical patent/CN112925214A/en
Publication of CN112925214A publication Critical patent/CN112925214A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B15/00Systems controlled by a computer
    • G05B15/02Systems controlled by a computer electric
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/418Total 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]
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/26Pc applications
    • G05B2219/2642Domotique, domestic, home control, automation, smart house
    • YGENERAL 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
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Manufacturing & Machinery (AREA)
  • Quality & Reliability (AREA)
  • Telephone Function (AREA)

Abstract

The application discloses a device control method, a system, a control terminal and a computer readable storage medium, wherein the embodiment of the application can receive a control request sent by a mobile terminal, and the control request carries position information and preset parameters; generating layout information based on the location information; determining equipment to be controlled according to the layout information; generating an adjusting parameter of the equipment according to the preset parameter; and controlling the equipment to operate according to the adjusting parameters. According to the scheme, the layout information can be generated based on the position information of the mobile terminal, and the operation of the equipment corresponding to the layout information is controlled according to the adjusting parameters of the preset parameter generation equipment sent by the mobile terminal, so that the convenience and flexibility of equipment control are improved.

Description

Device control method, system, control terminal and computer readable storage medium
Technical Field
The present application relates to the field of electronic device technologies, and in particular, to a device control method, system, control terminal, and computer-readable storage medium.
Background
With the rapid development of science and technology and the improvement of living standard of people, electronic devices such as refrigerators, fans or air conditioners are becoming more and more popular. For occasions with many people, such as large conferences, shows or waiting halls, a plurality of fans or air conditioners are often arranged, in the prior art, the control of the fans or the air conditioners is single, for example, the air volume or the left and right shaking heads of all the fans can be controlled by managers in a unified manner, or the air volume or the temperature of all the air conditioners can be controlled by the managers in a unified manner, different users often have different requirements, the unified control cannot meet the requirements of the users, and the users are very inconvenient to use.
Disclosure of Invention
The embodiment of the application provides a device control method, a device control system, a control terminal and a computer readable storage medium, which can improve the convenience and flexibility of device control.
In a first aspect, an embodiment of the present application provides an apparatus control method, including:
receiving a control request sent by a mobile terminal, wherein the control request carries position information and preset parameters;
generating layout information based on the location information;
determining equipment to be controlled according to the layout information;
generating an adjusting parameter of the equipment according to the preset parameter;
and controlling the equipment to operate according to the adjusting parameters.
In a second aspect, an embodiment of the present application further provides an apparatus control system, where the apparatus control system includes a control terminal, a mobile terminal, and an apparatus to be controlled, where:
the mobile terminal is used for sending a control request carrying position information and preset parameters to the control terminal;
the control terminal is used for generating layout information based on the position information, determining equipment to be controlled according to the layout information, generating adjusting parameters of the equipment according to the preset parameters, and sending the adjusting parameters to the equipment to be controlled;
and the equipment to be controlled is used for operating according to the adjusting parameters.
In a third aspect, an embodiment of the present application further provides a control terminal, including a memory and a processor, where the memory stores a computer program, and the processor executes any one of the device control methods provided in the embodiment of the present application when calling the computer program in the memory.
In a fourth aspect, the present application further provides a computer-readable storage medium, where the computer-readable storage medium is used to store a computer program, where the computer program is loaded by a processor to execute any one of the device control methods provided in the present application.
The embodiment of the application can receive a control request which is sent by a mobile terminal and carries position information and preset parameters, then generates layout information based on the position information, determines equipment to be controlled according to the layout information, can generate adjusting parameters of the equipment according to the preset parameters, and controls the equipment to operate according to the adjusting parameters. According to the scheme, the layout information can be generated based on the position information of the mobile terminal, and the operation of the equipment corresponding to the layout information is controlled according to the adjusting parameters of the preset parameter generation equipment sent by the mobile terminal, so that the convenience and flexibility of equipment control are improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic flowchart of an apparatus control method provided in an embodiment of the present application;
fig. 2 is a schematic diagram of interaction between a control terminal and a mobile terminal and a device provided in an embodiment of the present application;
fig. 3 is a schematic diagram of layout information and distribution of devices to be controlled according to an embodiment of the present application;
fig. 4 is another schematic diagram of layout information and distribution of devices to be controlled according to an embodiment of the present disclosure;
fig. 5 is another schematic diagram of layout information and distribution of devices to be controlled according to an embodiment of the present disclosure;
FIG. 6 is a schematic structural diagram of an apparatus control system provided in an embodiment of the present application;
fig. 7 is a schematic structural diagram of a control terminal according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The flow diagrams depicted in the figures are merely illustrative and do not necessarily include all of the elements and operations/steps, nor do they necessarily have to be performed in the order depicted. For example, some operations/steps may be decomposed, combined or partially combined, so that the actual execution sequence may be changed according to the actual situation.
The embodiment of the application provides a device control method, a device control system, a control terminal and a computer readable storage medium. The device control method can be applied to a control terminal, and the control terminal can comprise a terminal such as a smart phone, a tablet computer, a palm computer, a notebook computer or a desktop computer and the like, and is used for generating an adjusting parameter of the device and controlling the device to operate according to the adjusting parameter. The control terminal can also comprise an intelligent refrigerator and the like, the intelligent refrigerator can receive a control request which is sent by the mobile terminal and carries the position information and the preset parameters, generate layout information based on the position information, determine equipment to be controlled according to the layout information, generate adjusting parameters of the equipment according to the preset parameters, and control the equipment to operate according to the adjusting parameters.
Referring to fig. 1, fig. 1 is a schematic flow chart illustrating an apparatus control method according to an embodiment of the present disclosure. The device control method may include steps S101 to S105, and the like, and specifically may be as follows:
s101, receiving a control request sent by a mobile terminal, wherein the control request carries position information and preset parameters.
The control terminal may establish a communication connection with one or more mobile terminals in advance through bluetooth, WIFI, or the like, for example, the control terminal may search for an identifier of a mobile terminal within a preset distance range, send a connection request to the corresponding mobile terminal based on the searched identifier of the mobile terminal, receive a response returned by the mobile terminal based on the connection request, and establish a communication connection with the mobile terminal based on the response, as shown in fig. 2. At this time, the control terminal may receive a control request sent by the mobile terminal, where the control request may carry location information of the mobile terminal and preset parameters corresponding to the air conditioner or the fan waiting for control, where the preset parameters may include an operation mode, a timing time, a wind speed, a swing wind, a humidity, a temperature, an on/off state, and the like. In order to control the device, the control terminal may also establish a communication connection with a device such as a fan or an air conditioner in advance, as shown in fig. 2.
In some embodiments, receiving the control request sent by the mobile terminal may include: determining mobile terminals located within a preset distance range to obtain candidate mobile terminals; screening mobile terminals of which the motion information meets preset conditions from the candidate mobile terminals; and receiving a control request sent by the mobile terminal.
In order to improve the control accuracy of the control terminal and determine the mobile terminal within the controllable range and ensure that the control of the device to be controlled can effectively meet the control request of the mobile terminal, the control terminal can acquire first position information of the mobile terminal and second position information of the control terminal, calculate the distance between the mobile terminal and the control terminal according to the first position information and the second position information, and screen out the mobile terminal within the preset distance range of the control terminal according to the distance to obtain a candidate mobile terminal. Or the control terminal may obtain first position information of the mobile terminal and second position information of the device to be controlled, calculate a distance between the mobile terminal and the device to be controlled according to the first position information and the second position information, and screen out the mobile terminal located in a preset distance range of the device to be controlled according to the distance to obtain a candidate mobile terminal. The candidate mobile terminals may include one or more candidate mobile terminals, and the preset distance range may be flexibly set according to actual needs.
Then, the control terminal may obtain motion information of the candidate mobile terminals, where the motion information may include speed information, direction information, acceleration information, angle information, or the like, and at this time, a mobile terminal whose motion information satisfies a preset condition may be screened from the candidate mobile terminals, for example, when the motion information satisfies the preset condition, it may be determined that the candidate mobile terminal performs a preset operation, where the preset operation may be one of conditions that are agreed in advance and may send a control request to the control terminal, and on the contrary, when the motion information does not satisfy the preset condition, it may be determined that the candidate mobile terminal does not perform the preset operation, and at this time, the candidate mobile terminal that performs the preset operation may be used as the screened mobile terminal, and the control terminal may receive the control request sent by the mobile terminal.
The preset conditions can be flexibly set according to actual needs, for example, a mobile terminal with speed information greater than a preset speed value and direction information meeting a preset direction can be screened from candidate mobile terminals; or screening mobile terminals of which the acceleration information is greater than a preset threshold and the angle information meets a preset angle from the candidate mobile terminals, or screening mobile terminals of which the acceleration information is greater than the preset threshold from the candidate mobile terminals; and the like, wherein the preset speed value, the preset direction, the preset threshold value, the preset angle and the like can be flexibly set according to actual needs, and specific values are not limited here.
In some embodiments, screening out mobile terminals of which motion information satisfies a preset condition from the candidate mobile terminals may include: acquiring acceleration information of a candidate mobile terminal; and screening out the mobile terminals with the acceleration information larger than a preset threshold value from the candidate mobile terminals.
In order to improve the convenience and reliability of screening the mobile terminal, taking the motion information as the acceleration information as an example, the control terminal may send an acquisition request of the acceleration information to the candidate mobile terminal, and receive the acceleration information returned by the candidate mobile terminal, so as to obtain the acceleration information of the candidate mobile terminal, where the acceleration information may be the current acceleration information of the candidate mobile terminal. And then judging whether the acceleration information of the candidate mobile terminal is greater than a preset threshold value, wherein the preset threshold value can be flexibly set according to actual needs, and when the acceleration information of the candidate mobile terminal is greater than the preset threshold value, it is indicated that the candidate mobile terminal is executing preset operation (for example, shaking or moving), and at this time, the candidate mobile terminal can be used as a mobile terminal for sending a control request to the control terminal. When the acceleration information of the candidate mobile terminal is smaller than or equal to the preset threshold, the candidate mobile terminal does not execute the preset operation, at this time, the candidate mobile terminal can be rejected, and the control request sent by the mobile terminal which does not execute the preset operation cannot be received subsequently, so that the effective control of the mobile terminal which can send the control request is realized.
S102, generating layout information based on the position information.
Since the received control request may carry information such as location information of the mobile terminal and preset parameters of the device, the control terminal may extract the location information from the control request after receiving the control request, and generate layout information based on the location information, where the layout information may include a distribution location of the mobile terminal and a distribution location of the device.
In some implementations, generating the layout information based on the location information can include: generating a local graph of mobile terminal distribution based on the position information; acquiring the equipment positions of all equipment in a preset area; and generating layout information according to the local graph and the equipment position.
In order to generate reliable and accurate layout information, the control terminal may generate a local graph of the mobile terminal distribution based on the location information of the mobile terminal, where the local graph may be marked with the location of each mobile terminal, and the device locations of all devices in a preset area may be obtained, and the preset area may be flexibly set according to time requirements, for example, the device locations of all devices in the preset area around the mobile terminal or the control terminal may be obtained. At this time, layout information may be generated according to the local map and the device location, where the layout information includes the location of each mobile terminal and the location of each device.
And S103, determining the equipment to be controlled according to the layout information.
After obtaining the layout information about the mobile terminal and the devices, the control terminal may determine the devices to be controlled according to the layout information, for example, as shown in fig. 3, the black filled circle represents the location of the mobile terminal that sends the control request to the control terminal, and the marked devices represent the determined devices to be controlled, which may be an air conditioner, a fan, a television, a humidifier, or the like.
For another example, as shown in fig. 4, a black solid circle represents a location of a mobile terminal that sends a control request to the control terminal, a marked device represents a determined device to be controlled, a white open circle represents a location of a mobile terminal that does not send a control request to the control terminal, and a location of a mobile terminal that does not send a control request to the control terminal does not need to control devices around the mobile terminal.
For another example, as shown in fig. 5, the black solid circle represents the location of the mobile terminal that sends the control request to the control terminal, and the marked device represents the determined device to be controlled, which may be an air conditioner, a fan, a television, a humidifier, or the like.
And S104, generating an adjusting parameter of the equipment according to the preset parameter.
Because the received control request can carry information such as position information of the mobile terminal and preset parameters of the equipment, the control terminal can extract the preset parameters from the control request after receiving the control request, and generate adjusting parameters of the equipment to be controlled according to the preset parameters, wherein the adjusting parameters can include an operation mode, timing time, wind speed, swing wind, humidity, temperature, opening and closing and the like.
In some embodiments, the mobile terminal includes a plurality of devices, and generating the adjustment parameter of the device according to the preset parameter may include: acquiring the priority of each mobile terminal; determining target parameters from preset parameters corresponding to each mobile terminal according to the priority; the target parameter is set as an adjustment parameter of the device.
When there is one mobile terminal, the preset parameter sent by the mobile terminal can be directly set as the adjustment parameter of the device. When a plurality of mobile terminals are provided, since the preset parameters of the devices set by each mobile terminal may be different, in order to facilitate control of the devices, the control terminal may obtain the priority of each mobile terminal, where the higher the authority of the mobile terminal is, the higher the corresponding priority is; or, the more the number of the preset parameters set in the plurality of mobile terminals is the same, the higher the corresponding priority is; and so on. Then, the target parameter may be determined from the preset parameters corresponding to each mobile terminal according to the priority, for example, when the preset parameters of the devices set by each mobile terminal are different, the preset parameter set by the mobile terminal with the highest priority may be determined as the target parameter, and at this time, the target parameter may be set as the adjustment parameter of the device.
For example, when the control terminal receives that the preset parameter sent by the mobile terminal a is a, the preset parameter sent by the mobile terminal B is B, and the preset parameter sent by the mobile terminal C is C, since the priority of the mobile terminal B is the highest and the priority of the mobile terminal a is the lowest, B may be set as the adjustment parameter of the device.
In some embodiments, the mobile terminal includes a plurality of devices, and generating the adjustment parameter of the device according to the preset parameter may include: obtaining the average value of each parameter in the preset parameters; the average value of the respective parameters is set as the adjustment parameter of the device.
When the number of the mobile terminals is multiple, the preset parameters of the device set by each mobile terminal may be different, so that in order to control the device, the control terminal may obtain the preset parameters set by each mobile terminal to obtain multiple parameters, then calculate an average value of the multiple parameters, and set the average value of the multiple parameters as the adjustment parameter of the device. For example, when the control terminal receives that the preset parameter sent by the mobile terminal a is a, the preset parameter sent by the mobile terminal B is B, and the preset parameter sent by the mobile terminal C is C, the average value of the parameters may be calculated to be S ═ a + B + C)/3, and therefore S may be set as the adjustment parameter of the device.
In some embodiments, the mobile terminal includes a plurality of devices, and generating the adjustment parameter of the device according to the preset parameter may include: generating a parameter list according to preset parameters, and displaying the parameter list; receiving a selection instruction input based on the parameter list; and determining the adjusting parameters of the equipment according to the selection instruction.
When a plurality of mobile terminals are provided, the preset parameters of the devices set by each mobile terminal may be different, so that in order to facilitate control over the devices, the control terminal may generate a parameter list according to the preset parameters set by each mobile terminal, and display the parameter list for a user to select. Then, a selection instruction input by a user based on the displayed parameter list is received, and the selection instruction can be used for selecting the parameters in the parameter list or selecting and deleting the parameters which are not needed in the parameter list, so that the adjustment parameters of the equipment can be determined according to the selection instruction, and the convenience of parameter selection adjustment is improved.
And S105, the control equipment operates according to the adjusting parameters.
After the adjustment parameters of the device are determined, the control terminal may send a control instruction carrying the adjustment parameters to the device to be controlled, and control the device to operate according to the adjustment parameters based on the control instruction.
In some embodiments, the devices to be controlled may include an air conditioner and a fan, and controlling the devices to operate according to the adjustment parameters may include: controlling the air conditioner to operate according to parameters such as an operation mode, wind speed, swing wind and temperature in the adjusting parameters; and controlling the fan to operate according to parameters such as an operation mode, a shaking direction and air volume in the adjusting parameters. The control terminal can be arranged in the places where the fans and the air conditioners are located, a user in the place can send control requests carrying position information and preset parameters of the fans and the air conditioners to the control terminal in a shaking or other mode through the mobile terminal such as a mobile phone, the control terminal can generate layout information based on the position information, a target fan and a target air conditioner which need to be controlled are determined according to the layout information, the adjusting parameters are generated based on the preset parameters, and the target fan and the target air conditioner can be controlled to operate according to the adjusting parameters. For another example, in a waiting hall, some users want to blow a fan and some users do not want to blow the fan, and the users who want to blow the fan can shake the fan through a mobile phone to send a control request to the control terminal, so that the control terminal can control the wind direction, the wind volume and the like of the fan based on the control request.
The embodiment of the application can receive a control request which is sent by a mobile terminal and carries position information and preset parameters, then generates layout information based on the position information, determines equipment to be controlled according to the layout information, can generate adjusting parameters of the equipment according to the preset parameters, and controls the equipment to operate according to the adjusting parameters. According to the scheme, the layout information can be generated based on the position information of the mobile terminal, and the operation of the equipment corresponding to the layout information is controlled according to the adjusting parameters of the preset parameter generation equipment sent by the mobile terminal, so that the convenience and flexibility of equipment control are improved.
Referring to fig. 6, fig. 6 is a schematic block diagram of a structure of an equipment control system according to an embodiment of the present application.
As shown in fig. 6, the device control system 200 may include a control terminal 201, a mobile terminal 202, a device 203 to be controlled, and the like, wherein:
the mobile terminal 202 is used for sending a control request carrying position information and preset parameters to the control terminal;
the control terminal 201 is configured to receive a control request carrying position information and preset parameters sent by the mobile terminal 202, generate layout information based on the position information, determine a device to be controlled according to the layout information, generate adjustment parameters of the device according to the preset parameters, and send the adjustment parameters to the device to be controlled;
and the device to be controlled 203 is configured to receive the adjustment parameter sent by the control terminal 201, and operate according to the adjustment parameter.
In some embodiments, the control terminal 201 is further configured to obtain a priority of each mobile terminal; determining target parameters from preset parameters corresponding to each mobile terminal according to the priority; setting the target parameter as an adjustment parameter of the device.
In some embodiments, the control terminal 201 is further configured to obtain an average value of each of the preset parameters; setting the average value of each parameter as the adjusting parameter of the equipment.
In some embodiments, the control terminal 201 is further configured to generate a parameter list according to the preset parameter, and display the parameter list; receiving a selection instruction input based on the parameter list; and determining the adjusting parameters of the equipment according to the selection instruction.
In some embodiments, the control terminal 201 is further configured to determine a mobile terminal located within a preset distance range, so as to obtain a candidate mobile terminal; screening out mobile terminals of which the motion information meets preset conditions from the candidate mobile terminals; and receiving a control request sent by the mobile terminal.
In some embodiments, the control terminal 201 is further configured to obtain acceleration information of the candidate mobile terminal; and screening out the mobile terminals with the acceleration information larger than a preset threshold value from the candidate mobile terminals.
In some embodiments, the control terminal 201 is further configured to generate a local map of the mobile terminal distribution based on the location information; acquiring the equipment positions of all equipment in a preset area; and generating layout information according to the local graph and the equipment position.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and parts that are not described in detail in a certain embodiment may refer to the above detailed description of the device control method, and are not described herein again.
Referring to fig. 7, fig. 7 is a schematic block diagram of a structure of a control terminal according to an embodiment of the present application.
As shown in fig. 7, the control terminal 300 may include a processor 302, a memory 303, and a communication interface 304 connected by a system bus 301, wherein the memory 303 may include a nonvolatile computer readable storage medium and an internal memory.
The non-transitory computer readable storage medium may store a computer program. The computer program includes program instructions that, when executed, cause a processor to perform any of the apparatus control methods.
The processor 302 is used to provide computing and control capabilities to support the operation of the overall control terminal.
The memory 303 provides an environment for execution of a computer program in a non-transitory computer-readable storage medium, which, when executed by the processor 302, causes the processor 302 to perform any of the device control methods.
The communication interface 304 is used for communication. Those skilled in the art will appreciate that the structure shown in fig. 7 is a block diagram of only a portion of the structure related to the present application, and does not constitute a limitation on the control terminal 300 to which the present application is applied, and a specific control terminal 300 may include more or less components than those shown in the figure, or combine some components, or have a different arrangement of components.
It should be understood that the bus 301 is, for example, an I2C (Inter-Integrated Circuit) bus, the Memory 303 may be a Flash chip, a Read-Only Memory (ROM), a magnetic disk, an optical disk, a usb disk, or a removable hard disk, the Processor 302 may be a Central Processing Unit (CPU), the Processor 302 may also be other general-purpose processors, Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field-Programmable gate arrays (FPGAs), or other Programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or the like. Wherein a general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
Wherein, in some embodiments, the processor 302 is configured to run a computer program stored in the memory 303 to perform the steps of:
receiving a control request sent by a mobile terminal, wherein the control request carries position information and preset parameters; generating layout information based on the location information; determining equipment to be controlled according to the layout information; generating an adjusting parameter of the equipment according to a preset parameter; the control device operates according to the regulating parameters.
In some embodiments, the mobile terminal includes a plurality of devices, and the processor 302 is further configured to, when generating the adjustment parameter of the device according to the preset parameter: acquiring the priority of each mobile terminal; determining target parameters from preset parameters corresponding to each mobile terminal according to the priority; the target parameter is set as an adjustment parameter of the device.
In some embodiments, the mobile terminal includes a plurality of devices, and the processor 302 is further configured to, when generating the adjustment parameter of the device according to the preset parameter: obtaining the average value of each parameter in the preset parameters; the average value of the respective parameters is set as the adjustment parameter of the device.
In some embodiments, the mobile terminal includes a plurality of devices, and the processor 302 is further configured to, when generating the adjustment parameter of the device according to the preset parameter: generating a parameter list according to preset parameters, and displaying the parameter list; receiving a selection instruction input based on the parameter list; and determining the adjusting parameters of the equipment according to the selection instruction.
In some embodiments, the processor 302 is further configured to perform, when receiving a control request sent by a mobile terminal: determining mobile terminals located within a preset distance range to obtain candidate mobile terminals; screening mobile terminals of which the motion information meets preset conditions from the candidate mobile terminals; and receiving a control request sent by the mobile terminal.
In some embodiments, when screening out a mobile terminal whose motion information satisfies a preset condition from candidate mobile terminals, the processor 302 is further configured to: acquiring acceleration information of a candidate mobile terminal; and screening out the mobile terminals with the acceleration information larger than a preset threshold value from the candidate mobile terminals.
In some embodiments, in generating the layout information based on the location information, the processor 302 is further configured to perform: generating a local graph of mobile terminal distribution based on the position information; acquiring the equipment positions of all equipment in a preset area; and generating layout information according to the local graph and the equipment position.
In some embodiments, the device includes an air conditioner and a fan, and the processor 302 is further configured to perform, when the control device is operating according to the adjustment parameter: controlling the air conditioner to operate according to the operation mode, the wind speed, the swing wind and the temperature in the adjusting parameters; and controlling the fan to operate according to the operation mode, the head shaking direction and the wind amount in the adjusting parameters.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and parts that are not described in detail in a certain embodiment may refer to the above detailed description of the device control method, and are not described herein again.
The control terminal can receive a control request which is sent by the mobile terminal and carries position information and preset parameters, then generates layout information based on the position information, determines equipment to be controlled according to the layout information, can generate adjusting parameters of the equipment according to the preset parameters, and controls the equipment to operate according to the adjusting parameters. According to the scheme, the layout information can be generated based on the position information of the mobile terminal, and the operation of the equipment corresponding to the layout information is controlled according to the adjusting parameters of the preset parameter generation equipment sent by the mobile terminal, so that the convenience and flexibility of equipment control are improved.
The embodiment of the application also provides a computer-readable storage medium, wherein a computer program is stored in the computer-readable storage medium, the computer program comprises program instructions, and a processor executes the program instructions to realize the control method of any device provided by the embodiment of the application. For example, the computer program is loaded by a processor and may perform the following steps:
receiving a control request sent by a mobile terminal, wherein the control request carries position information and preset parameters; generating layout information based on the location information; determining equipment to be controlled according to the layout information; generating an adjusting parameter of the equipment according to a preset parameter; the control device operates according to the regulating parameters.
The above operations can be implemented in the foregoing embodiments, and are not described in detail herein.
The computer-readable storage medium may be an internal storage unit of the mobile terminal of the foregoing embodiment, for example, a hard disk or a memory of the mobile terminal. The computer readable storage medium may also be an external storage device of the mobile terminal, such as a plug-in hard disk provided on the mobile terminal, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like.
Since the computer program stored in the computer-readable storage medium can execute any device control method provided in the embodiments of the present application, beneficial effects that can be achieved by any device control method provided in the embodiments of the present application can be achieved, and detailed descriptions are omitted here for the foregoing embodiments.
It is to be understood that the terminology used in the description of the present application herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in the specification of the present application and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should also be understood that the term "and/or" as used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items. 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 system 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 system. 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 system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present application are merely for description and do not represent the merits of the embodiments. While the invention has been described with reference to specific embodiments, the scope of the invention is not limited thereto, and various equivalent modifications or substitutions can be easily made by those skilled in the art within the technical scope of the invention. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (10)

1. An apparatus control method characterized by comprising:
receiving a control request sent by a mobile terminal, wherein the control request carries position information and preset parameters;
generating layout information based on the location information;
determining equipment to be controlled according to the layout information;
generating an adjusting parameter of the equipment according to the preset parameter;
and controlling the equipment to operate according to the adjusting parameters.
2. The device control method according to claim 1, wherein the mobile terminal includes a plurality of devices, and the generating the adjustment parameter of the device according to the preset parameter includes:
acquiring the priority of each mobile terminal;
determining target parameters from preset parameters corresponding to each mobile terminal according to the priority;
setting the target parameter as an adjustment parameter of the device.
3. The device control method according to claim 1, wherein the mobile terminal includes a plurality of devices, and the generating the adjustment parameter of the device according to the preset parameter includes:
obtaining the average value of each parameter in the preset parameters;
setting the average value of each parameter as the adjusting parameter of the equipment.
4. The device control method according to claim 1, wherein the mobile terminal includes a plurality of devices, and the generating the adjustment parameter of the device according to the preset parameter includes:
generating a parameter list according to the preset parameters, and displaying the parameter list;
receiving a selection instruction input based on the parameter list;
and determining the adjusting parameters of the equipment according to the selection instruction.
5. The device control method according to claim 1, wherein the receiving of the control request transmitted by the mobile terminal comprises:
determining mobile terminals located within a preset distance range to obtain candidate mobile terminals;
screening out mobile terminals of which the motion information meets preset conditions from the candidate mobile terminals;
and receiving a control request sent by the mobile terminal.
6. The device control method according to claim 5, wherein the screening out the mobile terminals of which motion information satisfies a preset condition from the candidate mobile terminals comprises:
acquiring acceleration information of the candidate mobile terminal;
and screening out the mobile terminals with the acceleration information larger than a preset threshold value from the candidate mobile terminals.
7. The device control method according to any one of claims 1 to 6, wherein the generating layout information based on the position information includes:
generating a local graph of the distribution of the mobile terminal based on the position information;
acquiring the equipment positions of all equipment in a preset area;
and generating layout information according to the local graph and the equipment position.
8. An apparatus control system, characterized in that the apparatus control system comprises a control terminal, a mobile terminal, and an apparatus to be controlled, wherein:
the mobile terminal is used for sending a control request carrying position information and preset parameters to the control terminal;
the control terminal is used for generating layout information based on the position information, determining equipment to be controlled according to the layout information, generating adjusting parameters of the equipment according to the preset parameters, and sending the adjusting parameters to the equipment to be controlled;
and the equipment to be controlled is used for operating according to the adjusting parameters.
9. A control terminal characterized by comprising a processor and a memory, the memory having stored therein a computer program, the processor executing the device control method according to any one of claims 1 to 7 when calling the computer program in the memory.
10. A computer-readable storage medium for storing a computer program which is loaded by a processor to execute the apparatus control method according to any one of claims 1 to 7.
CN201911237327.XA 2019-12-05 2019-12-05 Device control method, system, control terminal and computer readable storage medium Pending CN112925214A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911237327.XA CN112925214A (en) 2019-12-05 2019-12-05 Device control method, system, control terminal and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911237327.XA CN112925214A (en) 2019-12-05 2019-12-05 Device control method, system, control terminal and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN112925214A true CN112925214A (en) 2021-06-08

Family

ID=76161102

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911237327.XA Pending CN112925214A (en) 2019-12-05 2019-12-05 Device control method, system, control terminal and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN112925214A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116957309A (en) * 2023-09-21 2023-10-27 深圳市明心数智科技有限公司 Textile scene dynamic monitoring method, system and medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008116061A (en) * 2006-10-31 2008-05-22 Daikin Ind Ltd Air-conditioning control system, method and program
CN105792025A (en) * 2014-12-23 2016-07-20 华为技术有限公司 Device information obtaining method and terminal
CN106611493A (en) * 2017-02-06 2017-05-03 邯郸美的制冷设备有限公司 Intelligent device control method, intelligent device control system and terminal
CN107255339A (en) * 2017-06-02 2017-10-17 广东美的制冷设备有限公司 Air conditioning control method, terminal device and storage medium based on terminal device
WO2018233594A1 (en) * 2017-06-23 2018-12-27 中国移动通信有限公司研究院 System information transmitting method and receiving method, base station and mobile communication terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008116061A (en) * 2006-10-31 2008-05-22 Daikin Ind Ltd Air-conditioning control system, method and program
CN105792025A (en) * 2014-12-23 2016-07-20 华为技术有限公司 Device information obtaining method and terminal
CN106611493A (en) * 2017-02-06 2017-05-03 邯郸美的制冷设备有限公司 Intelligent device control method, intelligent device control system and terminal
CN107255339A (en) * 2017-06-02 2017-10-17 广东美的制冷设备有限公司 Air conditioning control method, terminal device and storage medium based on terminal device
WO2018233594A1 (en) * 2017-06-23 2018-12-27 中国移动通信有限公司研究院 System information transmitting method and receiving method, base station and mobile communication terminal

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116957309A (en) * 2023-09-21 2023-10-27 深圳市明心数智科技有限公司 Textile scene dynamic monitoring method, system and medium
CN116957309B (en) * 2023-09-21 2024-01-09 深圳市明心数智科技有限公司 Textile scene dynamic monitoring method, system and medium

Similar Documents

Publication Publication Date Title
JP6684883B2 (en) Method and system for providing camera effects
US10657963B2 (en) Method and system for processing user command to provide and adjust operation of electronic device by analyzing presentation of user speech
CN109961780B (en) A man-machine interaction method a device(s) Server and storage medium
CN107463436B (en) process control method, device, storage medium and electronic equipment
WO2018082412A1 (en) Electronic equipment control method, device and electronic equipment
KR20210010522A (en) Device control based on processing of image data to capture the device and/or its installation environment
CN111026992B (en) Multimedia resource preview method, device, terminal, server and storage medium
KR102199735B1 (en) Method and system for sharing effects for video
JP2020537441A (en) Photography method and electronic equipment
US10326936B2 (en) Method for providing images and electronic device supporting the same
CN110830653B (en) Sensor control method, sensor control device, mobile terminal and storage medium
CN107943570B (en) Application management method and device, storage medium and electronic equipment
CN108293197B (en) Resource statistical method, device and terminal
CN112925214A (en) Device control method, system, control terminal and computer readable storage medium
CN112400147A (en) Algorithm configuration method, equipment and system and movable platform
CN113126870A (en) Parameter setting method, intelligent refrigerator and computer readable storage medium
CN110850941A (en) Terminal equipment cooling method and related equipment
CN107930126B (en) Game reservation data processing method and device and mobile terminal
WO2022193907A1 (en) Terminal control method and apparatus, control module, mobile terminal and storage medium
CN111355848B (en) Positioning control method and device of electronic equipment, storage medium and electronic equipment
CN112015450B (en) Method, device and storage medium for loading intelligent device control page
CN110909886B (en) Machine learning network operation method, device and medium
CN108920122B (en) Screen display method, device, terminal and computer readable storage medium
CN114124593A (en) Multi-device calling method and device, control terminal and storage medium
CN112925270B (en) Parameter setting 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