CN115453895A - Terminal control method, terminal control device, storage medium and electronic device - Google Patents

Terminal control method, terminal control device, storage medium and electronic device Download PDF

Info

Publication number
CN115453895A
CN115453895A CN202210989206.6A CN202210989206A CN115453895A CN 115453895 A CN115453895 A CN 115453895A CN 202210989206 A CN202210989206 A CN 202210989206A CN 115453895 A CN115453895 A CN 115453895A
Authority
CN
China
Prior art keywords
target
condition
terminal
scene mode
intelligent
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
CN202210989206.6A
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.)
Qingdao Haier Technology Co Ltd
Haier Smart Home Co Ltd
Original Assignee
Qingdao Haier Technology Co Ltd
Haier Smart Home 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 Qingdao Haier Technology Co Ltd, Haier Smart Home Co Ltd filed Critical Qingdao Haier Technology Co Ltd
Priority to CN202210989206.6A priority Critical patent/CN115453895A/en
Publication of CN115453895A publication Critical patent/CN115453895A/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)
  • Selective Calling Equipment (AREA)

Abstract

The application discloses a terminal control method, a terminal control device, a storage medium and an electronic device, and relates to the technical field of smart homes/smart families, wherein the terminal control method comprises the following steps: when the target terminal plays the target media resource, acquiring the current playing state of the target terminal; and under the condition that the current playing state meets the target condition, controlling the target intelligent equipment to execute the target operation according to the target scene mode, wherein the target intelligent equipment is connected with the target terminal through a network. The problem of in the prior art under the condition that the user does not know to have configured the film watching mode, just can't open film watching mode, influence user's film watching experience from this is solved.

Description

Terminal control method, terminal control device, storage medium and electronic device
Technical Field
The application relates to the technical field of smart home/smart home, in particular to a terminal control method and device, a storage medium and an electronic device.
Background
Along with the intellectualization of the home, the life of people is more and more convenient. The film watching mode refers to that when watching a film, the surrounding environment can be changed by adjusting the intelligent device, so that a user can watch the film in a more comfortable environment, and better film watching experience is achieved. In the prior art, a user needs to open a viewing mode by opening an execution scene panel or by voice control. The film watching mode is opened by opening the execution scene panel or through voice control, the film watching mode needs to be triggered by manual execution in the APP or voice of a sound box net device and the like, so that convenience of the film watching mode experienced by a user is influenced, in addition, the film watching mode cannot be opened under the condition that the user does not know that the film watching mode is configured, and the film watching experience of the user is influenced.
Aiming at the problem that in the prior art, under the condition that a user does not know that a film watching mode is configured, the film watching mode cannot be opened, so that the film watching experience of the user is influenced, an effective solution does not exist at present.
Disclosure of Invention
Embodiments of the present invention provide a terminal control method, an apparatus, a storage medium, and an electronic apparatus, so as to at least solve the problem in the prior art that a film watching mode cannot be opened without a user knowing that the film watching mode is configured, thereby affecting the film watching experience of the user.
According to an embodiment of the present invention, there is provided a control method of a terminal, including: when a target terminal plays a target media resource, acquiring the current playing state of the target terminal; and under the condition that the current playing state meets a target condition, controlling target intelligent equipment to execute target operation according to a target scene mode, wherein the target intelligent equipment is connected with the target terminal through a network.
In an exemplary embodiment, the controlling the target smart device to execute the target operation according to the target scene mode when the current playing status satisfies the target condition includes: under the condition that the current playing state meets a target condition, displaying a first prompt message on the target terminal, wherein the first prompt message is used for prompting whether to start the target scene mode or not; and under the condition that the target scene mode is determined to be started, controlling the target intelligent equipment to execute the target operation according to the target scene mode.
In an exemplary embodiment, the displaying, on the target terminal, a first prompt message in a case that the current play state satisfies a target condition includes: displaying the first prompt message on the target terminal under the condition that the current playing state is a full-screen playing state; or, the first prompt message is displayed on the target terminal under the condition that the current playing state is a full-screen playing state and the configuration information of the target terminal includes the target scene mode.
In an exemplary embodiment, in a case that it is determined that the target scene mode is turned on, controlling the target smart device to perform the target operation according to the target scene mode includes: and under the condition that the confirmation operation executed on the first prompt message is detected, controlling the target intelligent equipment to execute the target operation according to the target scene mode, and canceling the display of the first prompt message.
In an exemplary embodiment, the method further includes: canceling the display of the first prompt message when a cancel operation performed on the first prompt message is detected; or canceling the display of the first prompt message when the confirmation operation and the cancellation operation of the first prompt message are not detected within the preset time length.
In an exemplary embodiment, the method further includes: and closing the configuration information of the first prompt message on the target terminal under the condition that the times of executing the confirmation operation and the cancellation operation on the first prompt message are not detected to be larger than or equal to a preset time threshold continuously.
In an exemplary embodiment, before the controlling the target smart device to perform the target operation in the target scene mode, the method further includes: acquiring a plurality of intelligent devices connected with the target terminal through a network; determining, among the plurality of smart devices, a plurality of candidate smart devices corresponding to the target scene mode; and under the condition that the devices with the same type exist in the candidate intelligent devices, determining the target intelligent device in the candidate intelligent devices according to the device state.
In one exemplary embodiment, controlling the target smart device to perform the target operation according to the target scene mode includes: acquiring the current running state of the target intelligent equipment; and sending a control instruction to the target intelligent device to instruct the target intelligent device to execute the target operation under the condition that the current running state of the target intelligent device is different from the target running state of the target intelligent device in the target scene mode, wherein the running state of the target intelligent device after the target operation is executed is the same as the target running state.
According to another embodiment of the present invention, there is provided a control apparatus of a terminal including: the system comprises an acquisition module, a processing module and a display module, wherein the acquisition module is used for acquiring the current playing state of a target terminal when the target terminal plays a target media resource; and the control module is used for controlling the target intelligent equipment to execute target operation according to a target scene mode under the condition that the current playing state meets a target condition, wherein the target intelligent equipment is connected with the target terminal through a network.
According to a further embodiment of the present invention, there is also provided a computer-readable storage medium having a computer program stored thereon, wherein the computer program is arranged to perform the steps of any of the above method embodiments when executed.
According to yet another embodiment of the present invention, there is also provided an electronic device, including a memory in which a computer program is stored and a processor configured to execute the computer program to perform the steps in any of the above method embodiments.
According to the invention, when the target terminal plays the target media resource, the current playing state of the target terminal is obtained; and under the condition that the current playing state meets a target condition, controlling target intelligent equipment to execute target operation according to a target scene mode, wherein the target intelligent equipment is connected with the target terminal through a network. When the state of playing the target media resource meets the target condition, the target scene mode of watching the target media resource is automatically opened, and other intelligent household equipment under the viewing scene is controlled to execute the target operation, so that the user can finish the starting of the target viewing mode without the user in an app or through a voice instruction when watching the target media resource, the user can also realize the starting of the viewing mode under the condition that the user does not know that the viewing mode is configured, the problem that the viewing experience of the user is influenced due to the fact that the user cannot open the viewing mode under the condition that the user does not know that the viewing mode is configured is solved, the experience of the user is improved, and the utilization rate of the viewing mode is increased.
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 embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly described below, and it is obvious for those skilled in the art to obtain other drawings without inventive exercise.
Fig. 1 is a schematic diagram of a hardware environment of a control method of a terminal according to an embodiment of the present invention;
fig. 2 is a flowchart of a control method of a terminal according to an embodiment of the present invention;
FIG. 3 is a flow chart of an alternative terminal control according to an embodiment of the present invention;
fig. 4 is a block diagram of a configuration of a control apparatus of a terminal according to an embodiment of the present invention;
FIG. 5 is a block diagram of an alternative control module according to an embodiment of the present invention.
Detailed Description
In order to make the technical solutions of the present application better understood by those skilled in the art, 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 some embodiments of the present application, and not all 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.
It should be noted that the terms "first," "second," and the like in the description and claims of this application and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It should be understood that the data so used may be interchanged under appropriate circumstances such that embodiments of the application described herein may be implemented in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
According to an aspect of an embodiment of the present application, there is provided a control method of a terminal. The control method of the terminal is widely applied to full-House intelligent digital control application scenes such as intelligent homes (Smart Home), intelligent homes, intelligent Home equipment ecology, intelligent House (Intelligent House) ecology and the like. Fig. 1 is a schematic diagram of a hardware environment of a control method of a terminal according to an embodiment of the present invention, and optionally, in this embodiment, the control of the terminal may be applied to the hardware environment formed by the terminal device 102 and the server 104 shown in fig. 1. As shown in fig. 1, the server 104 is connected to the terminal device 102 through a network, and may be configured to provide a service (e.g., an application service) for the terminal or a client installed on the terminal, set a database on the server or independent of the server, and provide a data storage service for the server 104, and configure a cloud computing and/or edge computing service on the server or independent of the server, and provide a data operation service for the server 104.
The network may include, but is not limited to, at least one of: wired networks, wireless networks. The wired network may include, but is not limited to, at least one of: wide area networks, metropolitan area networks, local area networks, which may include, but are not limited to, at least one of the following: WIFI (Wireless Fidelity ), bluetooth. Terminal equipment 102 can be but not limited to be PC, the cell-phone, the panel computer, intelligent air conditioner, intelligent cigarette machine, intelligent refrigerator, intelligent oven, intelligent kitchen range, intelligent washing machine, intelligent water heater, intelligent washing equipment, intelligent dish washer, intelligent projection equipment, intelligent TV, intelligent clothes hanger, intelligent (window) curtain, intelligence audio-visual, smart jack, intelligent stereo set, intelligent audio amplifier, intelligent new trend equipment, intelligent kitchen guarding equipment, intelligent bathroom equipment, intelligence robot of sweeping the floor, intelligence robot of wiping the window, intelligence robot of mopping the ground, intelligent air purification equipment, intelligent steam ager, intelligent microwave oven, intelligent kitchen is precious, intelligent clarifier, intelligent water dispenser, intelligent lock etc..
In this embodiment, a control method of a terminal is provided, and fig. 2 is a flowchart of the control method of the terminal according to the embodiment of the present invention, as shown in fig. 2, the flowchart includes the following steps:
step S202, when a target terminal plays a target media resource, acquiring the current playing state of the target terminal;
in this embodiment, the target media resource refers to a video resource, an audio resource, a picture resource, and the like, the target terminal device refers to a terminal device capable of playing the target media resource, such as a playing device like a television, an ipad, a projector, and the like, and the current playing state of the target terminal refers to a state in which the target media resource is played. Specifically, the target terminal device is a television as an example, and when the target television plays a video, the current playing state of the television may include a full-screen playing video, a small-screen playing video, or a hidden playing video.
And step S204, under the condition that the current playing state meets a target condition, controlling target intelligent equipment to execute target operation according to a target scene mode, wherein the target intelligent equipment is connected with the target terminal through a network.
In this embodiment, when the current playing state satisfies the target condition, the target scene mode is instructed to be started, and the target smart device is controlled to execute the target operation according to the setting of the state of each terminal device in the target scene mode, so that the state of the target smart device is changed to the target state set in the target scene mode, and the surrounding environment is changed to a viewing scene suitable for viewing the video.
It should be noted that, after the target scene mode is determined to be started, an instruction is issued to the target intelligent device to change the operating state of the target intelligent device, so that the viewing scene is changed to achieve the target viewing scene in the target scene mode.
Specifically, taking an intelligent home system as an example, the intelligent home system is a system formed by connecting a plurality of intelligent devices through a network, the intelligent home system comprises a television, an air conditioner, an air purifier, a humidifier, a massage chair and other intelligent devices, and when the video is played in a full screen mode by the television (the target terminal), the air conditioner, the air purifier, the humidifier and the massage chair in the intelligent home system are controlled to execute target operation according to a target scene mode. In the target scene mode, a target state of the target smart device is preset, for example, the air conditioner temperature is a target temperature, and therefore, the air conditioner performs a target operation, that is, the air conditioner is turned on, and the air conditioner temperature is set to the target temperature.
Through the embodiment, under the condition that the current playing state of the target terminal reaches the target condition, the target intelligent device can be controlled to execute the target operation, so that the setting of the target film watching scene is realized, the target film watching mode is started, and a user does not need to actively open a control panel to start the film watching mode. The problem that the film watching experience of the user is influenced because the film watching mode cannot be opened under the condition that the user does not know that the film watching mode is configured is solved, the experience of the user is improved, and the utilization rate of the film watching mode is increased.
In an exemplary embodiment, the controlling the target smart device to execute the target operation according to the target scene mode when the current playing status satisfies the target condition includes: under the condition that the current playing state meets a target condition, displaying a first prompt message on the target terminal, wherein the first prompt message is used for prompting whether to start the target scene mode; and under the condition that the target scene mode is determined to be started, controlling the target intelligent equipment to execute the target operation according to the target scene mode.
In this embodiment, the target scene mode may be started when the play state of the target terminal meets the target condition, and the target intelligent device may be controlled to execute the target operation according to the state of the target intelligent device preset in the target scene mode when the target scene mode is started.
The target terminal can directly start the target scene mode under the condition that the playing state meets the target condition, but some users do not think of starting the target scene mode in consideration of diversified requirements of the users, so that before the target scene mode is started, a first prompt message is displayed on the target terminal to prompt the users whether the target scene mode needs to be opened or not, the users make selections according to the prompt message, and when the users confirm the starting operation, the target intelligent equipment is controlled to execute the target operation according to the target scene mode in response to the operation of the users. And under the condition that the target scene mode is not started by the selection of the user, the working state of the target intelligent equipment is not changed.
In an exemplary embodiment, the displaying, on the target terminal, a first prompt message in a case that the current play state satisfies a target condition includes: displaying the first prompt message on the target terminal under the condition that the current playing state is a full-screen playing state; or, the first prompt message is displayed on the target terminal under the condition that the current playing state is a full-screen playing state and the configuration information of the target terminal includes the target scene mode.
In this embodiment, the current playing state meeting the target condition may be that the current playing state is a full-screen playing state, for example, when a user uses a television to watch a movie, the movie is selected to be played first, when the selected movie starts to be played, the small-screen playing is performed first, at this time, the user may not yet determine the movie to be played, and when the user selects to change from the small-screen playing to the full-screen playing, which indicates that the user has selected the movie and is ready to watch, the user may be prompted to start the target scene mode.
On the other hand, different target terminals have different configuration information, and some target terminals do not configure a target scene mode at present, so that the first prompt message is displayed on the target terminal under the condition that the current playing state is a full-screen playing state and the configuration information of the target terminal includes the target scene mode, the condition that the target terminal does not include the target scene mode, the prompt message for starting the target scene mode is sent to a user but the target scene mode cannot be started, and the waste of resources caused by executing idle operation is avoided.
In an exemplary embodiment, in a case that it is determined that the target scene mode is turned on, controlling the target smart device to perform the target operation according to the target scene mode includes: and under the condition that the confirmation operation executed on the first prompt message is detected, controlling the target intelligent equipment to execute the target operation according to the target scene mode, and canceling the display of the first prompt message.
In this embodiment, a first prompting message sent to the user prompts that the user can start the target scene, and a plurality of choices are provided for the user in the displayed first prompting message, including: and confirming and canceling, wherein the confirmation key represents that the target scene mode is automatically started, and the canceling key represents that the target scene mode is not started temporarily.
Optionally, the confirmation operation performed on the first prompt message is detected when a confirmation key pressed by the user during the operation performed on the first prompt message is detected, and the target smart device is controlled to perform the target operation according to the target scene mode.
Further, in addition to the control target smart device executing the target operation, in a case where an operation of confirming or canceling the prompt information by the user is detected, the prompt information is canceled from being displayed in the target terminal.
In an exemplary embodiment, the method further comprises: under the condition that a cancel operation performed on the first prompt message is detected, canceling the first prompt message; or canceling the display of the first prompt message under the condition that the confirmation operation and the cancellation operation of the first prompt message are not detected within a preset time length.
In this embodiment, when a cancel key pressed by a user during an operation performed on a first prompt message is detected, that is, a cancel operation performed on the first prompt message is detected, at this time, according to the will of the user, a target scene mode is not started, but in order for the user to continue to watch a target media resource, the display of the first prompt message needs to be cancelled.
Optionally, if it is detected that the user does not perform any operation on the prompting message, the first prompting message is automatically cancelled when the time for displaying the prompting message is greater than a time threshold.
In an exemplary embodiment, the method further includes: and closing the configuration information of the first prompt message on the target terminal under the condition that the times of executing the confirmation operation and the cancellation operation on the first prompt message are not detected to be larger than or equal to a preset time threshold continuously.
In this embodiment, after the target terminal displays the prompt message, it is known whether the user wishes to start the target scene mode by detecting the operation performed on the prompt message by the user, and if the operation performed on the prompt message is not detected, the user does not want to start the target scene mode.
Optionally, when the operation performed on the prompt message is detected for the first time, the number of times that the user performs no operation on the prompt message is recorded, and when the number of times reaches a preset number threshold, the configuration information of the first prompt message is closed in the target terminal, so that the prompt message is not sent to the user again when the current playing state of the target terminal reaches the target condition again.
In an exemplary embodiment, before the controlling the target smart device to perform the target operation in the target scene mode, the method further includes: acquiring a plurality of intelligent devices connected with the target terminal through a network, wherein the plurality of intelligent devices comprise the target intelligent device; determining, among the plurality of smart devices, a plurality of candidate smart devices corresponding to the target scene mode; and under the condition that the devices with the same type exist in the candidate intelligent devices, determining the target intelligent device in the candidate intelligent devices according to the device state.
In this embodiment, some of the plurality of intelligent devices connected to the target terminal via the network are intelligent devices that do not change the viewing scene, and do not change the viewing environment, nor provide more comfortable services to the user viewing the video.
Therefore, before controlling the target intelligent device to execute the target operation according to the target scene mode, firstly, determining which of all the intelligent devices are the target intelligent devices, and firstly, performing network connection between the target intelligent device and the target terminal, otherwise, the target intelligent device cannot acquire an operation instruction and cannot execute the target operation, so that a plurality of intelligent devices connected with the target terminal through a network need to be acquired; secondly, the target intelligent device is to correspond to the target scene mode, and an operation instruction is prevented from being issued to an intelligent device which does not correspond to the target scene mode, so that resources are wasted.
In addition, if the devices with the same type exist in the candidate intelligent devices, the target intelligent device is determined according to the device state. The device status may be the distance from the viewer or the effect of the device on the current environment. For example, in the case where there are a plurality of temperature-adjustable smart devices (fans, floor air conditioners, wall air conditioners, central air conditioners) among the candidate smart devices, the smart device closest to the viewer may be determined as the target smart device, or the target smart device may be determined according to the effect of adjusting the temperature, for example, in winter, the fan cannot increase the temperature and cannot be set as the target smart device, and an air conditioner with a good power saving effect is selected as the target smart device among the floor air conditioners, the wall air conditioners, and the central air conditioners; in summer, the cooling effect of the fan is poor and the fan is not set as a target intelligent device, and in early summer, the temperature is not high, and the fan can be set as the target intelligent device without strong cooling.
In one exemplary embodiment, controlling the target smart device to perform the target operation according to the target scene mode includes: acquiring the current running state of the target intelligent equipment; and sending a control instruction to the target intelligent device to instruct the target intelligent device to execute the target operation under the condition that the current running state of the target intelligent device is different from the target running state of the target intelligent device in the target scene mode, wherein the running state of the target intelligent device after the target operation is executed is the same as the target running state.
In this embodiment, the operation state (i.e., the target operation state) of the target intelligent device in the target scene mode is preset in the target scene mode in which the target terminal is turned on. Under the condition that the target scene mode is determined to be started, the current running state of the target intelligent equipment is firstly obtained, under the condition that the current running state of the target intelligent equipment is different from the preset target running state of the target intelligent equipment, a control instruction for changing the running state of the target intelligent equipment is issued, the target intelligent equipment is instructed to execute target operation, and after the target intelligent equipment executes the target operation, the running state of the target intelligent equipment is changed into the target running state.
Optionally, taking the target running state of the target intelligent device in the target scene mode as an example: the target intelligent device involved in the viewing scene comprises at least one of: intelligent curtain, air conditioner, air purifier, humidifier, massage armchair, smart jack, intelligent lamps and lanterns, dehumidifier, new fan, intelligent mattress, oxygenerator. The intelligent window curtain is set to be in a closed state in the target scene mode, the running temperature of the air conditioner is set to be 26 ℃, and the massage chair is set to be in a massage state when a person sits on the massage chair.
Under the condition that the target scene mode is determined to be started, under the condition that the current state of the intelligent curtain is opened and the operation temperature of the air conditioner is 22 ℃, a control instruction is sent to the intelligent curtain to instruct the intelligent curtain to pull up the curtain, a control instruction is sent to the air conditioner to instruct the air conditioner to adjust the operation temperature to 26 ℃, the massage chair is in a closed state, and the massage chair is started under the condition that the state of a person on the massage chair is detected.
Optionally, the prompt information sent to the user further includes information prompting the user to change the target scene mode, and the user may jump to a page for changing the target scene mode according to the prompt information and change the target operating state of the target intelligent device in the target scene mode in the page.
In an exemplary embodiment, after the controlling the target smart device to perform the target operation in the target scene mode, the method further includes: obtaining a result of the target intelligent device executing the target operation; and displaying a second prompt message on the target terminal under the condition that the target intelligent device fails to execute the target operation, wherein the second prompt message is used for prompting that the target intelligent device fails to execute the target operation.
In this embodiment, after the target intelligent device is controlled to execute the target operation according to the target scene mode, it is required to know whether the target intelligent device successfully executes the target operation, the target terminal obtains a result of the target intelligent device executing the target operation, which is returned by the target intelligent device, and when the target device executes the target operation, a second prompt message is displayed on the target terminal, where the second prompt message is used to prompt the user that the target intelligent device fails to execute the target operation.
It is to be understood that the above-described embodiments are only a few, and not all, embodiments of the present invention.
The present invention will be described in detail with reference to the following examples:
fig. 3 is a flowchart of an alternative terminal control according to an embodiment of the present invention, as shown in fig. 3, including:
the method comprises the steps that a user logs in at a television end, a film watching scene is configured and added, the film content is watched by using a film interface in the television, and when full-screen playing is started, a television broadcasting user performs full-screen film watching action to obtain a full-screen film watching state and user information of the television; the IOT platform acquires user information, and judges whether a user configures and adds a film viewing scene or not through the user information;
under the condition that the user does not configure and add a film watching scene, the television does not give a prompt; and under the condition that the user configures and adds the viewing scene, judging whether the user turns off the viewing scene recommending switch.
Under the condition that a user closes the film watching scene recommending switch, the television does not give a prompt; and judging whether the user opens the viewing scene to automatically execute the setting or not under the condition that the viewing scene recommending switch is not closed by the user.
When the user starts the automatic execution setting of the film watching scene, the film watching mode is started, the target intelligent equipment executes the related action of the film watching scene, and the television does not give a prompt; under the condition that a user starts automatic execution setting of a film watching scene, a prompt is given through a popup window on a television, and the content of the prompt comprises the following steps: title, content, selection key, setting key, specifically, the title is: viewing scene recommendation information, the content is: is you turn on a viewing scene, turn on an audiovisual feast? The selection key includes: a confirm key and a cancel key, wherein the confirm key is used for starting the film watching state, the cancel key is used for giving no prompt any more, and the state can be managed at the setting key. The user may click on "confirm" or "cancel" with the remote control.
Judging whether the user clicks a key in the popup prompt, if not, enabling the popup to disappear after preset time, and automatically closing the film watching scene recommendation switch at the background when the continuous non-clicking times exceed a time threshold, namely, under the condition that the prompt condition is met next time, giving no prompt. Under the condition that the user clicks the key, judging whether the key clicked by the user is a cancel key or not;
under the condition that the key clicked by the user is a cancel key, closing the popup window display, and automatically closing the film watching scene recommendation switch by the background; and under the condition that the key clicked by the user is not the cancel key, judging whether the key clicked by the user is the confirm key.
And under the condition that the key clicked by the user is a confirmation key, closing the popup window for displaying, opening the viewing scene execution setting after the popup window disappears, and indicating the target intelligent equipment to execute the relevant actions of the viewing scene.
Through the description of the foregoing embodiments, it is clear to those skilled in the art that the method according to the foregoing embodiments may be implemented by software plus a necessary general hardware platform, and certainly may also be implemented by hardware, but the former is a better implementation mode in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present invention.
In this embodiment, a control apparatus of a terminal is further provided, and fig. 4 is a block diagram of a structure of the control apparatus of the terminal according to an embodiment of the present invention, as shown in fig. 4, the apparatus includes:
an obtaining module 402, configured to obtain a current playing state of a target terminal when the target terminal plays a target media resource;
a control module 404, configured to control a target intelligent device to execute a target operation according to a target scene mode when the current play state meets a target condition, where the target intelligent device is connected to the target terminal through a network.
In an exemplary embodiment, fig. 5 is a block diagram of an optional control module according to an embodiment of the present invention, and as shown in fig. 5, the control module includes: a prompt sub-module 502, configured to display a first prompt message on the target terminal when the current playing state meets a target condition, where the first prompt message is used to prompt whether to start the target scene mode; a control sub-module 504, configured to control the target smart device to execute the target operation according to the target scene mode when the target scene mode is determined to be started.
In an exemplary embodiment, the display sub-module is further configured to display the first prompt message on the target terminal when the current playing state is a full-screen playing state; or, the first prompt message is displayed on the target terminal under the condition that the current playing state is a full-screen playing state and the configuration information of the target terminal includes the target scene mode.
In an exemplary embodiment, the apparatus is further configured to, in a case that a confirmation operation performed on the first prompt message is detected, control the target smart device to perform the target operation according to the target scene mode, and cancel displaying the first prompt message.
In an exemplary embodiment, the apparatus is further configured to cancel displaying the first prompt message when a cancel operation performed on the first prompt message is detected; or canceling the display of the first prompt message when the confirmation operation and the cancellation operation of the first prompt message are not detected within the preset time length.
In an exemplary embodiment, the apparatus is further configured to, in a case that it is not detected that the number of times of performing the confirmation operation and the cancellation operation on the first prompt message is greater than or equal to a preset number threshold continuously, close the configuration information of the first prompt message on the target terminal.
In an exemplary embodiment, the apparatus is further configured to, before the target intelligent device is controlled according to the target scene mode to execute the target operation, obtain a plurality of intelligent devices connected to the target terminal through a network, where the plurality of intelligent devices include the target intelligent device; determining, among the plurality of smart devices, a plurality of candidate smart devices corresponding to the target scene mode; and under the condition that the devices with the same type exist in the candidate intelligent devices, determining the target intelligent device in the candidate intelligent devices according to the device state.
In an exemplary embodiment, the control module further includes: the acquisition sub-module is used for acquiring the current running state of the target intelligent equipment; and the sending submodule is used for sending a control instruction to the target intelligent equipment to indicate the target intelligent equipment to execute the target operation under the condition that the current running state of the target intelligent equipment is different from the target running state of the target intelligent equipment in the target scene mode, wherein the running state of the target intelligent equipment after the target operation is executed is the same as the target running state.
In an exemplary embodiment, the apparatus is further configured to, after the target smart device is controlled to execute the target operation according to the target scene mode, obtain a result of the target smart device executing the target operation; and displaying a second prompt message on the target terminal under the condition that the target intelligent device fails to execute the target operation, wherein the second prompt message is used for prompting that the target intelligent device fails to execute the target operation.
It should be noted that, the above modules may be implemented by software or hardware, and for the latter, the following may be implemented, but not limited to: the modules are all positioned in the same processor; alternatively, the modules are respectively located in different processors in any combination.
Embodiments of the present invention also provide a computer-readable storage medium having a computer program stored thereon, wherein the computer program is arranged to perform the steps of any of the above-mentioned method embodiments when executed.
In the present embodiment, the above-mentioned computer-readable storage medium may be configured to store a computer program for executing the steps of:
s1, when a target terminal plays a target media resource, acquiring the current playing state of the target terminal;
and S2, under the condition that the current playing state meets a target condition, controlling target intelligent equipment to execute target operation according to a target scene mode, wherein the target intelligent equipment is connected with the target terminal through a network.
In an exemplary embodiment, the computer-readable storage medium may include, but is not limited to: various media capable of storing computer programs, such as a usb disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic disk, or an optical disk.
Embodiments of the present invention also provide an electronic device comprising a memory having a computer program stored therein and a processor arranged to run the computer program to perform the steps of any of the above method embodiments.
In an exemplary embodiment, the electronic apparatus may further include a transmission device and an input/output device, wherein the transmission device is connected to the processor, and the input/output device is connected to the processor.
In an exemplary embodiment, the processor may be configured to execute the following steps by a computer program:
s1, when a target terminal plays a target media resource, acquiring the current playing state of the target terminal;
and S2, under the condition that the current playing state meets a target condition, controlling target intelligent equipment to execute target operation according to a target scene mode, wherein the target intelligent equipment is connected with the target terminal through a network.
For specific examples in this embodiment, reference may be made to the examples described in the foregoing embodiments and exemplary implementations, and details of this embodiment are not repeated herein.
It will be apparent to those skilled in the art that the modules or steps of the present invention described above may be implemented in a general purpose computing device, they may be centralized in a single computing device or distributed across a network of multiple computing devices, and they may be implemented in program code that is executable by a computing device, such that they may be stored in a memory device and executed by a computing device, and in some cases, the steps shown or described may be executed in an order different from that shown or described herein, or they may be separately fabricated into individual integrated circuit modules, or multiple modules or steps therein may be fabricated into a single integrated circuit module. Thus, the present invention is not limited to any specific combination of hardware and software.
The foregoing is only a preferred embodiment of the present application and it should be noted that those skilled in the art can make several improvements and modifications without departing from the principle of the present application, and these improvements and modifications should also be considered as the protection scope of the present application.

Claims (10)

1. A control method of a terminal, comprising:
when a target terminal plays a target media resource, acquiring the current playing state of the target terminal;
and under the condition that the current playing state meets a target condition, controlling target intelligent equipment to execute target operation according to a target scene mode, wherein the target intelligent equipment is connected with the target terminal through a network.
2. The method according to claim 1, wherein in the case that the current playing state satisfies a target condition, controlling the target smart device to perform a target operation according to the target scene mode comprises:
under the condition that the current playing state meets a target condition, displaying a first prompt message on the target terminal, wherein the first prompt message is used for prompting whether to start the target scene mode;
and under the condition that the target scene mode is determined to be started, controlling the target intelligent equipment to execute the target operation according to the target scene mode.
3. The method according to claim 2, wherein the displaying a first prompt message on the target terminal in the case that the current playing status satisfies a target condition includes:
under the condition that the current playing state is a full-screen playing state, displaying the first prompt message on the target terminal; or,
and displaying the first prompt message on the target terminal under the condition that the current playing state is a full-screen playing state and the configuration information of the target terminal comprises the target scene mode.
4. The method of claim 2 or 3, wherein, in a case where it is determined that the target scene mode is turned on, controlling the target smart device to perform the target operation according to the target scene mode comprises:
and under the condition that the confirmation operation executed on the first prompt message is detected, controlling the target intelligent equipment to execute the target operation according to the target scene mode, and canceling the display of the first prompt message.
5. The method of claim 2 or 3, further comprising:
canceling the display of the first prompt message when a cancel operation performed on the first prompt message is detected; or,
and canceling the display of the first prompt message under the condition that the confirmation operation and the cancellation operation of the first prompt message are not detected within the preset time length.
6. The method of claim 5, further comprising:
and closing the configuration information of the first prompt message on the target terminal under the condition that the times of executing the confirmation operation and the cancellation operation on the first prompt message are not detected to be larger than or equal to a preset time threshold continuously.
7. The method of any of claims 1-6, wherein prior to said controlling the target smart device to perform the target operation in the target scene mode, the method further comprises:
acquiring a plurality of intelligent devices connected with the target terminal through a network;
determining, among the plurality of smart devices, a plurality of candidate smart devices corresponding to the target scene mode;
and under the condition that the devices with the same type exist in the plurality of candidate intelligent devices, determining the target intelligent device in the candidate intelligent devices according to the device state.
8. The method of any of claims 1-6, wherein controlling the target smart device to perform the target operation in accordance with the target scene mode comprises:
acquiring the current running state of the target intelligent equipment;
and sending a control instruction to the target intelligent device to instruct the target intelligent device to execute the target operation under the condition that the current running state of the target intelligent device is different from the target running state of the target intelligent device in the target scene mode, wherein the running state of the target intelligent device after the target operation is executed is the same as the target running state.
9. A control apparatus of a terminal, comprising:
the system comprises an acquisition module, a processing module and a display module, wherein the acquisition module is used for acquiring the current playing state of a target terminal when the target terminal plays a target media resource;
and the control module is used for controlling the target intelligent equipment to execute target operation according to a target scene mode under the condition that the current playing state meets a target condition, wherein the target intelligent equipment is connected with the target terminal through a network.
10. A computer-readable storage medium, in which a computer program is stored, which computer program, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 8.
CN202210989206.6A 2022-08-17 2022-08-17 Terminal control method, terminal control device, storage medium and electronic device Pending CN115453895A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210989206.6A CN115453895A (en) 2022-08-17 2022-08-17 Terminal control method, terminal control device, storage medium and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210989206.6A CN115453895A (en) 2022-08-17 2022-08-17 Terminal control method, terminal control device, storage medium and electronic device

Publications (1)

Publication Number Publication Date
CN115453895A true CN115453895A (en) 2022-12-09

Family

ID=84298620

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210989206.6A Pending CN115453895A (en) 2022-08-17 2022-08-17 Terminal control method, terminal control device, storage medium and electronic device

Country Status (1)

Country Link
CN (1) CN115453895A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106878787A (en) * 2017-03-08 2017-06-20 深圳创维-Rgb电子有限公司 TV theater mode implementation method and device
CN110187753A (en) * 2019-05-27 2019-08-30 Oppo广东移动通信有限公司 Application control method, device, terminal and computer readable storage medium
CN111854061A (en) * 2020-07-16 2020-10-30 珠海格力电器股份有限公司 Air supply system control method and device and air supply system
CN114179730A (en) * 2021-12-29 2022-03-15 阿维塔科技(重庆)有限公司 Vehicle cabin viewing method and device and computer readable storage medium
CN114531614A (en) * 2022-02-17 2022-05-24 北京字跳网络技术有限公司 Video playing method, video playing device, electronic equipment, storage medium and program product

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106878787A (en) * 2017-03-08 2017-06-20 深圳创维-Rgb电子有限公司 TV theater mode implementation method and device
CN110187753A (en) * 2019-05-27 2019-08-30 Oppo广东移动通信有限公司 Application control method, device, terminal and computer readable storage medium
CN111854061A (en) * 2020-07-16 2020-10-30 珠海格力电器股份有限公司 Air supply system control method and device and air supply system
CN114179730A (en) * 2021-12-29 2022-03-15 阿维塔科技(重庆)有限公司 Vehicle cabin viewing method and device and computer readable storage medium
CN114531614A (en) * 2022-02-17 2022-05-24 北京字跳网络技术有限公司 Video playing method, video playing device, electronic equipment, storage medium and program product

Similar Documents

Publication Publication Date Title
US11150614B2 (en) System and method for social television management of smart homes
US8949901B2 (en) Methods and systems for customizing viewing environment preferences in a viewing environment control application
US11683564B2 (en) Network-connected television devices with knowledge-based media content recommendations and unified user interfaces
JP2004513533A (en) Interactive TV system for data collection
CN113111199B (en) Method and device for continuing playing of multimedia resource, storage medium and electronic device
CN111487884A (en) Storage medium, and intelligent household scene generation device and method
US12010385B2 (en) Mixing of media content items for display on a focus area of a network-connected television device
CN110109377B (en) Control system and method of household appliance and air conditioner
CN115167164A (en) Method and device for determining equipment scene, storage medium and electronic device
US20240214623A1 (en) Media content casting in network-connected television devices
CN115327934A (en) Intelligent household scene recommendation method and system, storage medium and electronic device
CN110285528B (en) Control method and device of air conditioner, air conditioner and household appliance
CN115453895A (en) Terminal control method, terminal control device, storage medium and electronic device
CN115309062B (en) Control method and device of equipment, storage medium and electronic device
CN115001887B (en) Login identification sending method and device, storage medium and electronic device
JP6883451B2 (en) Servers, information processing methods, network systems, and terminals
CN117406610A (en) Intelligent household equipment linkage scheme recommendation method and related device
CN115473755A (en) Control method and device of intelligent equipment based on digital twins
CN115297352B (en) Video continuous playing method and device, storage medium and electronic device
CN115314743B (en) Method and device for executing business function, storage medium and electronic device
WO2017179284A1 (en) Display information generation device, data structure, control method, and program
CN115297353B (en) Audio playing method and device, storage medium and electronic device
CN115047797A (en) Equipment operation method and device combined with behavior preference and storage medium
CN106412675A (en) User terminal and video recording method
CN115171676A (en) Method and device for determining intention behavior, storage medium and electronic device

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