CN115567741A - Equipment control method, multimedia data playing system and electronic equipment - Google Patents

Equipment control method, multimedia data playing system and electronic equipment Download PDF

Info

Publication number
CN115567741A
CN115567741A CN202210297186.6A CN202210297186A CN115567741A CN 115567741 A CN115567741 A CN 115567741A CN 202210297186 A CN202210297186 A CN 202210297186A CN 115567741 A CN115567741 A CN 115567741A
Authority
CN
China
Prior art keywords
multimedia data
display device
wearable device
playing
time
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202210297186.6A
Other languages
Chinese (zh)
Other versions
CN115567741B (en
Inventor
林晨
杨毅轩
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Honor Device Co Ltd
Original Assignee
Honor Device 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 Honor Device Co Ltd filed Critical Honor Device Co Ltd
Priority to CN202210297186.6A priority Critical patent/CN115567741B/en
Publication of CN115567741A publication Critical patent/CN115567741A/en
Application granted granted Critical
Publication of CN115567741B publication Critical patent/CN115567741B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/41Structure of client; Structure of client peripherals
    • H04N21/422Input-only peripherals, i.e. input devices connected to specially adapted client devices, e.g. global positioning system [GPS]
    • H04N21/42204User interfaces specially adapted for controlling a client device through a remote control device; Remote control devices therefor
    • H04N21/42206User interfaces specially adapted for controlling a client device through a remote control device; Remote control devices therefor characterized by hardware details
    • H04N21/4222Remote control device emulator integrated into a non-television apparatus, e.g. a PDA, media center or smart toy
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/1454Digital output to display device ; Cooperation and interconnection of the display device with other functional units involving copying of the display data of a local workstation or window to a remote workstation or window so that an actual copy of the data is displayed simultaneously on two or more displays, e.g. teledisplay
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/45Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
    • H04N21/462Content or additional data management, e.g. creating a master electronic program guide from data received from the Internet and a Head-end, controlling the complexity of a video stream by scaling the resolution or bit-rate based on the client capabilities
    • H04N21/4627Rights management associated to the content

Abstract

The application discloses a device control method, a multimedia data playing system and an electronic device, wherein the method comprises the following steps: the display device acquires a first distance between the first wearable device and the display device; under the condition that the first distance is smaller than a first threshold value, determining target multimedia data corresponding to the wearable device, and playing the target multimedia data; receiving a control instruction sent by the first wearable device, responding to the control instruction, and controlling the display device to enter a rest mode, wherein in the rest mode, the target multimedia data stops being played continuously. The problem of when adopting wearable equipment to control equipment, the entry control operation is more complicated among the correlation technique is solved in this application.

Description

Equipment control method, multimedia data playing system and electronic equipment
Technical Field
The present application relates to the field of computer technologies, and in particular, to an apparatus control method, a multimedia data playing system, and an electronic apparatus.
Background
In the correlation technique, wearable equipment's application is increasingly extensive, and is also increasingly extensive to children's wearable equipment to children, take children's wrist-watch as the example, children's wrist-watch both can satisfy children to shooing, social demand, also can prevent that children from being lured to turn or wander away.
To the head of a family, let children watch the big screen than watching mobile terminal and can protect eyes more, so children's mode is very critical characteristic, but what the TV on the market was done at present still is not intelligent enough in children's mode, for example on the entry, only can click or mobile terminal App carries out the switch through the remote controller, and the operation is complicated, experiences not well.
Disclosure of Invention
In view of this, embodiments of the present application provide a device control method, an apparatus, a device, a storage medium, and a program product, so as to solve the problem in the related art that, when a wearable device is used to control a device, an entry control operation is relatively complex.
In a first aspect, an embodiment of the present application provides an apparatus control method, including:
the display device acquires a first distance between the first wearable device and the display device;
under the condition that the first distance is smaller than a first threshold value, determining target multimedia data corresponding to the wearable device, and playing the target multimedia data;
and receiving a control instruction sent by the first wearable device, responding to the control instruction, and controlling the display device to enter a rest mode, wherein in the rest mode, the target multimedia data is stopped from being played continuously.
By adopting the technical scheme provided by the embodiment of the application, under the condition that the first distance between the first wearable device and the display device is smaller than the first threshold value, namely the user of the first wearable device conveniently enters a corresponding mode, such as continuous playing of multimedia data, through the distance calibration between the first wearable device and the display device, and then after receiving the control command, the display device is controlled to enter a corresponding rest mode, so that cross-device control is completed.
Preferably, before playing the target multimedia data, the method further comprises:
sending an authorization request message to the specified electronic equipment under the condition that the specified electronic equipment is detected in the detection range of the display equipment, wherein the authorization request message is used for requesting the specified electronic equipment to enter a preset mode, and the target multimedia data are allowed to be played in the preset mode;
receiving a response message corresponding to the authorization request message from the specified electronic device, starting to play the target multimedia data according to the response message, and determining whether to send first notification information, wherein the first notification information is used for notifying the first wearable device to start timing in the playing process of the target multimedia data.
By adopting the technical scheme provided by the embodiment of the application, the video playing permission of the display equipment can be further controlled, the situation that a user watches videos in an uncontrolled manner is avoided, for example, even if the distance between the first wearable equipment and the display equipment is smaller than a first threshold value, the adult side can continue to watch corresponding multimedia data through the authorization of the appointed electronic equipment.
Preferably, before playing the target multimedia data, the method further comprises:
and in the case that the specified electronic equipment is not detected in the detection range of the display equipment, sending first notification information to the first wearable equipment.
By adopting the technical scheme provided by the embodiment of the application, if no designated electronic equipment worn by adults exists near the display equipment, the display equipment directly interacts with the first wearable equipment worn by children, so that the children can watch the target multimedia data smoothly no matter whether the designated electronic equipment exists around the display equipment or not.
Preferably, the first notification information carries a play start time of the target multimedia data.
By adopting the technical scheme provided by the embodiment of the application, the starting playing time of the target multimedia data carried in the first notification message is used for timely notifying the starting playing time of the target multimedia data of the first wearable device when the display device plays the target multimedia data, so that the display device and the first wearable device can record the playing time at the same time, and the time synchronization is realized.
Preferably, when the target multimedia data is played, the method further comprises:
under the condition that the appointed electronic equipment is not detected in the detection range of the display equipment, the display equipment records the play starting time of the target multimedia data and starts timing at the play starting time;
and sending second notification information to the first wearable device at a preset time period, wherein the second notification information is used for notifying the played duration of the target multimedia data.
By adopting the technical scheme provided by the embodiment of the application, the display device sends the second notification message to the first wearable device through the preset time period, so that when the played time length in the second notification message sent by the first wearable device and the display device is different, the played time length of the first wearable device is updated in time, and the played time length is synchronized between the display device and the first wearable device.
Preferably, before playing the target multimedia data, the method further comprises:
determining a duration of time for maintaining the first distance between the display device and the first wearable device, wherein the target multimedia data is played if the duration of time is greater than a second threshold.
By adopting the technical scheme provided by the embodiment of the application, when the duration of maintaining the first distance between the display device and the first wearable device is longer than the second threshold, the distance between the display device and the first wearable device is proper, the connection is stable, and the problem of unsmooth playing caused by too long distance can be avoided when the target multimedia data is played.
Preferably, determining the target multimedia data corresponding to the first wearable device comprises: determining target multimedia data corresponding to the first wearable device from the historical play record; determining a playing stopping point of the target multimedia data from the historical playing record;
playing the target multimedia data, comprising: and continuing to play the target multimedia data at the pause play point.
By adopting the technical scheme provided by the embodiment of the application, when a plurality of first wearable devices are provided, the target multimedia data corresponding to one first wearable device is determined from the historical play records of the display device to be played, and the playing is continued from the playing stopping point of the last playing of the target multimedia data, so that the playing starting time is accurately controlled, and the waste of time length caused by repeatedly watching the target multimedia data is avoided.
Preferably, the determining the target multimedia data corresponding to the first wearable device from the history play record comprises:
determining a first multimedia set corresponding to a first wearable device from a historical play record; determining the remaining playing time of each multimedia data in the first multimedia set; and determining target multimedia data from the multimedia data with the residual playing time length larger than the third threshold value.
When the remaining playing time of the multimedia data is less than the third threshold, it is indicated that the multimedia data has been played completely, by adopting the technical scheme provided by the embodiment of the application, the played multimedia data can be filtered, and the target multimedia data is determined to be played from the multimedia data with the remaining playing time greater than the third threshold, so as to avoid unnecessary time waste.
Preferably, the control instruction is an instruction generated by the first wearable device when the played time of the target multimedia data is longer than a first preset time, and the first preset time is a set maximum time for single viewing or a remaining viewing time of the first wearable device.
In a second aspect, an embodiment of the present application provides another device control method, including:
the wearable device receives notification information from the display device, wherein the notification information carries the starting playing time of the target multimedia data;
the wearable device performs timing according to the playing starting time, and determines the played time length of the target multimedia data according to the timing time length;
and sending a control instruction to the display equipment under the condition that the played time length is greater than the specified time length, wherein the control instruction is used for controlling the display equipment to enter a rest mode, and in the rest mode, stopping continuously playing the target multimedia data.
By adopting the technical scheme provided by the embodiment of the application, when the played time of the target multimedia time is longer than the specified time specified by the parents, the watching time of the children is too long, the watching of the target multimedia data is stopped, and at the moment, the display equipment is controlled to enter a rest mode through the control instruction, so that the time for the children to watch the multimedia data is accurately controlled.
Preferably, before the wearable device receives the notification information from the display device, the method includes: the method comprises the steps that the wearable device obtains a first distance between the wearable device and the display device; and under the condition that the first distance is smaller than a first threshold value, the wearable device sends a trigger instruction to the display device, wherein the trigger instruction is used for triggering the display device to enter a specified working mode, and in the specified working mode, the target multimedia data are continuously played.
By adopting the technical scheme provided by the embodiment of the application, under the condition that the first distance between the first wearable device worn by the child and the display device is smaller than the first threshold value, the child conveniently enters the designated working mode through the interaction between the first wearable device and the display device.
Preferably, the determining the played time length of the target multimedia data according to the timing time length comprises:
the wearable device determines a first duration between the moment of starting playing and the moment of receiving the notification information; the wearable device starts timing from the moment when the notification information is received, and determines a second duration counted in timing; and determining the played time length of the target multimedia data according to the first time length and the second time length.
Due to the fact that time is needed for transmission of the message between the wearable device and the display device, by the adoption of the technical scheme provided by the embodiment of the application, the played time length of the target multimedia data is the sum of the first time length and the second time length, and the playing time length is accurately controlled.
Preferably, before the wearable device receives the notification information from the display device, the method further includes:
wearable equipment receives duration adjustment information sent by terminal equipment, wherein the duration adjustment information at least comprises: an adjustment amount and an adjustment type;
and adjusting the specified time length according to the adjustment type and the adjustment amount.
By adopting the technical scheme provided by the embodiment of the application, the parents can set and adjust the specified duration through the terminal equipment.
Preferably, the adjustment types include: increasing the specified time period and decreasing the specified time period.
By adopting the technical scheme provided by the embodiment of the application, the accurate setting of the specified duration can be realized.
Preferably, before sending the control instruction to the display device, the method further includes:
and synchronizing the played time length of the target multimedia data to the display equipment according to a preset time period.
By adopting the technical scheme provided by the embodiment of the application, the synchronization of the played time length on the display equipment and the wearable equipment can be realized.
Preferably, before the first distance between the wearable device and the display device, the method further comprises:
in the event that the display device is detected within the detection range of the wearable device, the wearable device establishes a connection with the display device.
By adopting the technical scheme provided by the embodiment of the application, whether the connection is established or not is determined by detecting the distance between the wearable device and the display device.
In a third aspect, an embodiment of the present application provides an apparatus control device, including:
the acquisition module is used for acquiring a first distance between the first wearable device and the display device;
the determining module is used for determining target multimedia data corresponding to the first wearable device and playing the target multimedia data under the condition that the first distance is smaller than a first threshold value;
the receiving module is used for receiving the control instruction sent by the first wearable device, responding to the control instruction, and entering a rest mode, wherein the playing of the target multimedia data is stopped under the rest mode.
In a fourth aspect, embodiments of the present application provide an electronic device, comprising a memory for storing computer program instructions and a processor for executing the program instructions, wherein the computer program instructions, when executed by the processor, trigger the electronic device to perform the method of any one of the first or second aspects.
In a fifth aspect, an embodiment of the present application provides a computer-readable storage medium, where the computer-readable storage medium includes a stored program, and when the program runs, a device on which the computer-readable storage medium is located is controlled to perform the method in any one of the first aspect or the second aspect.
In a sixth aspect, the present application provides a computer program product, which includes executable instructions that, when executed on a computer, cause the computer to perform the method of any one of the first or second aspects.
In a seventh aspect, an embodiment of the present application provides a multimedia data playing system, which includes a display device, a first wearable device,
in the process that the display device plays the first multimedia data, if the distance between the first wearable device and the display device is a first distance, the display device continues to play the first multimedia data;
in the process of playing the first multimedia data by the display equipment, if the distance between the first wearable equipment and the display equipment is a second distance, the display equipment stops playing the first multimedia data and starts playing the second multimedia data;
wherein the second distance is less than the first distance.
According to the system of the embodiment of the application, when the first wearable device is close to the display device, the display device can be automatically switched to play the second multimedia data, so that the automatic switching of the playing content of the display device can be realized, and complex operations are not needed for many times.
In a possible implementation manner, the system further includes a designated electronic device, and the display device stops playing the first multimedia data and receives authorization request information sent by the display device before starting playing the second multimedia data, where the authorization request information is used to apply for an authority to play the second multimedia data to the designated electronic device;
first response information specifying the electronic device for transmitting the authorization request information to the display device in response to a first operation for the authorization request information;
and after receiving the first response information, the display equipment stops playing the first multimedia data and starts playing the second multimedia data.
In one possible implementation manner, the designated electronic device is further configured to send second response information of the authorization request information to the display device in response to a second operation on the authorization request information;
and after receiving the second response information, the display equipment stops playing the first multimedia data. In a possible implementation manner, after the display device stops playing the first multimedia data, the display device may be turned off.
According to the system of the embodiment of the application, when the first wearable device is close to the display device, the display device can send the authorization request information to the appointed electronic device, and responds to the authorization request information according to the operation of the user on the appointed electronic device, so that the content played by the display device is controlled, the operation is simple, and the control is convenient.
In a possible implementation manner, after receiving an authorization request response, the display device sends first notification information to the first wearable device;
responding to the first notification information, the first wearable device records a first time length for playing the second multimedia data;
and when the first time length is greater than the first preset time length, the display equipment stops playing the second multimedia data.
In one possible implementation, the first preset duration is a set maximum duration of a single viewing or a remaining viewing duration of the first wearable device.
In one possible implementation, the system further includes a server for synchronizing the first length of time of the first wearable device.
The server is further used for determining the total watched time corresponding to the first wearable device according to the first time length of each synchronization. The server may count the total watched duration of the first wearable device according to the first time length of each synchronization, where the total watched duration of the first wearable device may be a total duration of the first wearable device watching multimedia data. The first wearable device itself may also count the total viewed duration of the first wearable device according to the first time length of each viewing, and the first time lengths of each viewing of the first wearable device may be the same or different.
According to the system of the above embodiment of the present application, timing is performed on the first wearable device, so that accurate control of the total length of time that the first wearable device has watched can be realized. For example, before the current display device watches the multimedia data, the first wearable device also watches the multimedia data on other display devices, and when the other display devices watch the multimedia data, the watching duration is also calculated through the first wearable device, so that the total watching duration of the first wearable device can be accurately recorded, and the accurate control of the total watching duration of the first wearable device is realized.
In a possible implementation manner, in the process of playing the first multimedia data by the display device, if the distance between the first wearable device and the display device is the second distance and the total watched duration of the first wearable device is longer than a second preset duration, the display device stops playing the first multimedia data.
In a possible implementation manner, the display device is further configured to obtain, by the server or the first wearable device, the total watched duration of the first wearable device, and when the display device determines that the total watched duration of the first wearable device is greater than a second preset duration, the display device stops playing the first multimedia data, and the display device may further be turned off.
According to the system in the above embodiment of the present application, before switching to play the second multimedia data, the display device may obtain the total viewed duration of the first wearable device, and control the switching of the play content according to the total viewed duration, so as to realize automatic control of the first wearable device to view the multimedia.
In one possible implementation, the display device is a large screen or a computer, the first wearable device is a watch or a bracelet, and the designated electronic device is a watch or a bracelet.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings needed to be used in the embodiments will be briefly described 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 inventive labor.
FIG. 1 is a schematic diagram of a child-mode portal interface of a large screen according to the related art provided by an embodiment of the present application;
fig. 2 is a schematic diagram illustrating a setting of a child mode by a mobile terminal APP according to the related art provided in the embodiment of the present application;
FIG. 3 is a diagram illustrating an initial unlock mode in the related art;
FIG. 4A is a diagram illustrating devices and relationships between devices included in a system to which the method of the embodiment of the present application is applied;
FIG. 4B is a flowchart illustrating the establishment of data interaction by devices in the system according to the embodiment of the present application;
fig. 4C is a flowchart of a display method of a display device according to an embodiment of the present application;
fig. 5 is a schematic view of an interactive interface of a display device according to an embodiment of the present application;
fig. 6 is a flowchart of an apparatus control method according to an embodiment of the present application;
fig. 7 is an architecture diagram of a display device provided in an embodiment of the present application;
FIG. 8 is an architectural diagram of a child watch provided in accordance with an embodiment of the present application;
FIG. 9 is a schematic diagram of a child watch interacting with a display device according to an embodiment of the present application;
fig. 10 is a flowchart of another apparatus control method provided in an embodiment of the present application;
FIG. 11 is a flowchart illustrating interaction between a child watch and a display device in different scenarios according to an embodiment of the present application;
fig. 12 is a structural diagram of an apparatus control device according to an embodiment of the present application;
fig. 13 is a schematic structural diagram of an electronic device according to an embodiment of the present application;
fig. 14 is a block diagram of a multimedia data playing system according to an embodiment of the present application;
fig. 15 is a schematic diagram illustrating a display device switching multimedia data according to a distance according to an embodiment of the application.
Detailed Description
For better understanding of the technical solutions of the present application, the following detailed descriptions of the embodiments of the present application are provided with reference to the accompanying drawings.
It should be understood that the embodiments described are only a few 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.
The terminology used in the embodiments of the present application is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in the examples of this 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 be understood that the term "and/or" as used herein is merely one type of associative relationship that describes an associated object, meaning that three types of relationships may exist, e.g., A and/or B, may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the character "/" herein generally indicates that the former and latter related objects are in an "or" relationship.
Referring to fig. 1, fig. 1 is a schematic view of an entry interface of a child mode of a large screen in the related art provided in this embodiment of the present application, in this interface, a parent may select whether to turn on the child mode through a remote controller, and may adjust the duration of each time a child watches a video through a reduction or an increase of keys on the left and right sides, for example, in the case of turning on the child mode, the duration of each time a child watches a video may be set to 30 minutes, in addition, at this interface, the parent may also select whether to turn on blue light filtering, after turning on the blue light filtering mode, the large screen becomes warm, and stimulation of blue light to eyes of the child may be reduced, thereby achieving an effect of alleviating visual fatigue.
Referring to fig. 2, fig. 2 is a schematic view illustrating a setting of a child mode through a mobile terminal APP in the related art provided by the embodiment of the application, and in fig. 2, a parent may find an icon of the child mode through a pull-down page of the mobile terminal in a function of the pull-down page, and select to open or close the child mode. Specifically, the parents click the icon of this children mode, can control the large screen and get into children mode, and the parents click the icon of this children mode again, close the large screen promptly and get into children mode. Under the condition that the child mode is turned on, parents can set the time length of the child for watching the video once through the remote controller through the interface shown in fig. 1, and can select whether to turn on the blue light filtering mode; the head of a family also can set up the length of time that the video can be watched to children's single on mobile terminal APP through the APP that the mobile terminal corresponds to can watch the long notice large-size screen of video with the children's single that sets up, the large-size screen according to the head of a family set up long, the video of corresponding length of time of broadcast.
On the left side of fig. 2, a large screen display interface is shown, which displays movie information to be played, for example: film names, detailed descriptions and the like, and parents can select an 'instant play' button at the lower left corner of the interface through a remote controller, so that videos corresponding to the current display page can be played.
Referring to fig. 3, fig. 3 is a schematic diagram of an initial unlocking mode in the related art provided in the embodiment of the present application, in terms of time management and control of the related art, a device local background timing mode is mostly adopted, only the management and control of a single device are limited, when the time comes, a password lock or a calculation question is popped up, for example, the calculation question shown in fig. 3, a parent unlocks after selecting a corresponding number in an input box to form an answer to the calculation question, and the parent can continue to use after unlocking, and if the parent forgets the password when popping up the password lock, the password can be reset through a simple question, for example, the country construction year, the olympic year, and the like.
In fig. 1 to 3, the interface of the related art large screen or television in the child mode is shown, but the following problems still remain: in the process of the entrance interface, the related technology is controlled by clicking a remote controller or controlling a mobile terminal App, so that the operation is complex and the user experience is influenced.
In order to solve the technical problem, the embodiment of the present application provides a corresponding solution, in which the workflows of the display device and the wearable device are both improved correspondingly.
Before introducing the method of the present application, an application scenario of the embodiment of the present application is described. Fig. 4A is a schematic diagram showing devices included in a system to which the method in the embodiment of the present application is applied and a relationship between the devices. Fig. 4B shows a flow chart of establishing data interaction by a device in the system according to an embodiment of the application.
As shown in fig. 4A, the child watch and the display device need to be bound, where when bound, the child watch may be bound through the mobile terminal, and the mobile terminal may be a device that the child watch is bound and connected through bluetooth or the like, for example, the mobile terminal may be a device such as a parent's mobile phone of a child, and a Pad.
Specifically, the related information (for example, identification information) of the child watch may be uploaded to the cloud platform side through the mobile terminal corresponding to the child watch, and then the display device obtains corresponding binding information from the cloud platform side, where the binding information includes, but is not limited to: binding information of the mobile terminal and the child watch; and displaying the binding information of the device and the child watch.
Taking fig. 4A as an example for explanation, the main body referred to in fig. 4A includes: the mobile terminal, the display device, the wearable device and the device cloud platform, it should be noted that in this embodiment of the application, the wearable device refers to a child watch or an adult watch.
In the connection process, a connection relation among the mobile terminal, the child watch, the display device and the device cloud platform needs to be established, the device cloud platform is used for storing data of the mobile terminal and the wearable device uploaded by the mobile terminal, the device cloud platform is also used for acquiring device information of the display device and binding data of the display device and the wearable device, and the specifically binding data can be information such as an account number. The mobile terminal and the watch are paired, bound and connected, and the connection mode includes but is not limited to connection modes such as Bluetooth, hiLink, trust ring and the like. Identity authentication is carried out between the wearable device and the display device through the device information of the wearable device and the binding data between the wearable device and the display device, and therefore pairing-free communication is achieved.
The above process is described in detail below with reference to fig. 4B, as shown in fig. 4B:
s401: displaying a device login account, and registering the device login account to a device cloud platform;
s402: the child watch and the mobile terminal establish Bluetooth connection;
s403: the mobile terminal uploads the child watch information and token to the equipment cloud platform;
s404: the display device inquires the device information and token of the child watch on the device cloud platform;
s405: the display device realizes data transmission and interaction with the child watch through the device cloud platform-mobile terminal.
Specifically, in the process of establishing connection between the display device and the device cloud platform, the display device firstly logs in an account number, information of the display device logging in the account number is stored in a cloud end, the display device comprises information such as an account name and a password, the child watch and the mobile terminal are connected through Bluetooth, the mobile terminal stores device information and token (at least the account number and the password for logging in the child watch are stored in the token) of the child watch to the cloud end, the display device conducts device identity authentication through the device information of the child watch, pairing-free communication is achieved, the device information and the token of the child watch are inquired on the device cloud platform, the connection between the display device and the child watch can be established through the device cloud platform and the mobile terminal, and data transmission and interaction are conducted.
It should be noted that, in the process of establishing connection between the display device and the device cloud platform shown in fig. 4B, the distance is not limited, and the connection is performed by displaying the logged account and the device cloud platform.
Fig. 4C illustrates a flowchart of a display method of a display apparatus according to an embodiment of the present application. Referring to fig. 4C, in a scenario where no adult watch is detected around the display device, the flowchart includes the following five steps: s411: the display equipment and the child watch are connected firstly, and the connection mode is not limited to Bluetooth, hiLink, trust ring and other modes; s412: the method comprises the steps that a child watch acquires the recharging time of a parent for the child watch through a mobile terminal or other equipment which logs in an adult account; s413: the method comprises the steps that the display device detects a first distance between a child and the display device after the child wears the child watch; s414: the display device enters the child mode when detecting that a first distance between the child watch and the display device is smaller than a first threshold, where in this embodiment of the application, if the first threshold is set to any value of 3-5 meters, if the first threshold is set to 5 meters, the child mode is automatically entered when the first distance is smaller than 5 meters and the time for the child to watch the video needs to be maintained within a range of the first distance for at least about 5 seconds, and the time for the child in the display device and the watch is synchronized; in this step, the most suitable first distance should be between 3-5 meters in order to prevent the child from being too close to the display device. S415: and when the watching time of the video watched by the children reaches the recharging time, the display equipment enters a rest state.
When the display device detects that the first distance between the child watch and the display device is smaller than a first threshold value, the child watch is close to the display device, at the moment, the display device scans the child watch through the Bluetooth module, and if the child watch and the display device are bound in advance, the child watch and the display device are directly connected and can be subjected to near data interaction; and if the child watch and the display device are not bound before, informing the user of connection, wherein the informing form comprises but is not limited to displaying a bullet frame in an interface of the display device, writing prompt information for prompting the user to establish connection in the bullet frame, and carrying out data interactive transmission when the child watch and the display device are successfully paired.
Specifically, the display device and the child watch need to be both in a power-on state, and both have a bluetooth function turned on; when a child wears a child watch and approaches to a display device, a Bluetooth module of the display device continuously scans, when a first distance between the child watch and the display device is 3m-5m, the child watch enters a Bluetooth scanning range, when the child watch is scanned by Bluetooth, as shown in fig. 5, a pop-up window is displayed in an interaction interface of the display device to prompt a user to connect, wherein a confirmation key is arranged in the pop-up window, when the confirmation key is triggered, connection between the child watch and the display device is confirmed to be established, the confirmation key can be triggered by a confirmation instruction sent by a remote controller, and can also be triggered by a touch instruction detected by a touch screen of the display device; when the connection is successful, the user is prompted to be successfully connected, and data interaction and transmission can be performed after the connection is successful, for example, prompt information of 'successful connection with a child watch' is displayed, and the prompt information can be automatically hidden or disappear after staying for a certain time. It should be noted that there is a limit to the distance during the connection of the display device shown in fig. 4 to the child watch, and specifically, in the embodiment of the present application, the distance is in the range of 3m to 5m.
Based on the above scenario, the present application provides a device control method, it should be noted that the steps shown in the flowchart of the attached drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described may be executed in an order different from that of the flowchart.
The technical scheme of the embodiment of the method can be executed in an arithmetic device of a mobile terminal, and the mobile terminal can be terminal equipment using an Android operating system, such as a smart phone, a tablet computer, a palm computer, mobile internet devices (MID for short), PAD and the like. The mobile terminal may include one or more processors (which may include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), a Digital Signal Processing (DSP) chip, a Microprocessor (MCU), a programmable logic device (FPGA), a neural Network Processor (NPU), a Tensor Processor (TPU), an Artificial Intelligence (AI) type processor, etc.) and a memory for storing data. Optionally, the mobile terminal may further include a transmission device for a communication function, an input/output device, and a display device. It will be understood by those skilled in the art that the foregoing structural description is only illustrative and not restrictive of the structure of the mobile terminal. For example, the mobile terminal may also include more or fewer components than described above, or have a different configuration than described above.
The memory may be used to store a computer program, for example, a software program and a module of application software, such as a computer program corresponding to the device control method in the embodiment of the present application, and the processor executes various functional applications and data processing by running the computer program stored in the memory, so as to implement the device control method described above. The memory may include high speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory may further include memory located remotely from the processor, and these remote memories may be connected to the mobile terminal through a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The transmission device is used to receive or transmit data via a network. Specific examples of the network described above may include a wireless network provided by a communication provider of the mobile terminal. In one example, the transmission device includes a Network adapter (NIC) that can be connected to other Network devices through a base station to communicate with the internet. In one example, the transmission device may be a Radio Frequency (RF) module, which is used for communicating with the internet in a wireless manner. The technical solution of the embodiment of the method can be applied to various communication systems, for example: a Global System for Mobile communications (GSM) System, a Code Division Multiple Access (CDMA) System, a Wideband Code Division Multiple Access (WCDMA) System, a General Packet Radio Service (GPRS), a Long Term Evolution (Long Term Evolution, LTE) System, a Frequency Division Duplex (FDD) System, a Time Division Duplex (TDD), a Universal Mobile Telecommunications System (UMTS), a Worldwide Interoperability for Microwave Access (WiMAX) communication System, or a 5G System. Optionally, device to Device (D2D) communication may be performed between a plurality of mobile terminals. Alternatively, the 5G system or the 5G network is also referred to as a New Radio (NR) system or an NR network.
The display device may be, for example, a touch screen type Liquid Crystal Display (LCD) and a touch display (also referred to as a "touch screen" or "touch display screen"). The liquid crystal display may enable a user to interact with a user interface of the mobile terminal. In some embodiments, the mobile terminal has a Graphical User Interface (GUI) with which a user can interact by touching finger contacts and/or gestures on a touch-sensitive surface, where the human-machine interaction function optionally includes the following interactions: executable instructions for creating web pages, drawing, word processing, making electronic documents, games, video conferencing, instant messaging, emailing, call interfacing, playing digital video, playing digital music, and/or web browsing, etc., for performing the above-described human-computer interaction functions, are configured/stored in one or more processor-executable computer program products or readable non-volatile storage media.
Under the above operating environment, the embodiment of the present application provides an apparatus control method as shown in fig. 6.
Referring to fig. 6, fig. 6 is a flowchart of an apparatus control method provided in an embodiment of the present application, and as shown in fig. 6, the method mainly includes the following steps:
step S602, the display device obtains a first distance between the first wearable device and the display device;
step S604, determining target multimedia data corresponding to the first wearable device and playing the target multimedia data under the condition that the first distance is smaller than a first threshold value;
step S606, receiving a control instruction sent by the first wearable device, and in response to the control instruction, controlling the display device to enter a rest mode, wherein in the rest mode, the target multimedia data is stopped from being continuously played.
In steps S602 to S606 in the above-described device control method, the process of the device control method is described from the perspective of the display device, when a child watches a video through the display device, distance calibration is adopted, and when the distance is smaller than a first threshold value, the child conveniently enters a child mode through interaction between a child watch and the display device, so that the time length for watching the video by the child is accurately controlled across devices. It should be noted that, in the embodiment of the present application, the first wearable device may be a child watch worn by a child.
In order to support the above functions, in some embodiments, the software architecture of the display device may be implemented by the architecture shown in fig. 7, and specifically, includes three parts, namely, an application layer, a Framework layer, and a kernel layer. In the application layer, the application layer comprises a connection module, a video application, a child mode application and other system applications, wherein the connection module is used for establishing a connection relationship between a display device and a first wearable device, the display device can be a large screen, a television and the like in the embodiment of the application, the first wearable device is a child watch worn by a child, the video application is used for providing software support for watching videos, the child mode application provides a function which can be used in a child mode in the current mode, and the other system applications provide functions when the child mode is connected with other hardware or systems; in the Framework layer, four parts of a bluetooth module, activity management, window management and notification management are included, the bluetooth module is used for providing wireless data transmission and data control, and the activity management is used for providing management of activity corresponding to an application program, such as management of the period, state and the like of the activity. The window manager is used for managing window programs, and can obtain the size of the display screen, judge whether a status bar exists, lock the screen, intercept the screen and the like. The notification management enables the application program to display notification information in the status bar, can be used for conveying notification type messages, can automatically disappear after short-time stopping, does not need user interaction, and can pop up notifications when viewed in a child mode; the kernel layer is the layer between hardware and the software, in the kernel layer, including bluetooth drive, camera drive and on-off module three, the bluetooth drive is passed through the bluetooth by display device and is connected with first wearable equipment or other equipment, and the camera drive is used for detecting the distance between children's distance display device, and the on-off module is used for supporting the function that display device started or shut down.
Accordingly, as shown in fig. 8, the architecture of the child watch includes three parts, namely an application layer, a Framework layer and a kernel layer, in a software architecture diagram of the watch. The application layer comprises a connection module, a child timing application and a wearing detection part, wherein the connection module is used for establishing a connection relation between the child watch and the display device, the child timing application is used for timing the time of watching a video by a child, and the wearing detection is used for detecting whether the child wears the watch; the Framework layer comprises a Bluetooth module and a gravity sensing module, the Bluetooth module is used for providing wireless data transmission and data control, and the gravity sensing module is used for controlling the rotation of the child watch according to gravity, so that the child watch is convenient to watch and use; in the inner core layer, a Bluetooth driver is included, and the Bluetooth driver is connected with a display device or other devices through Bluetooth by the child watch. After the connection relationship between the display device and the child watch is established, the parent charges the child watch with the charge time through the mobile terminal logged in by the adult account (the mobile terminal of the parent and the child watch are also connected, for example, through bluetooth and other modes), for example, the parent can watch 5 hours per week, and can watch 1 hour every day, and the child watch obtains the time record after charging to the local through the mobile terminal or the cloud, and times the use time of the child through the child timing application.
In the related art, a mode of increasing an entrance and reducing the entrance depth is mostly adopted, a user needs to perform click operation or voice awakening for entering in 3 to 5 steps, the time consumption is about 8 to 15 seconds, only the control of single watching time and weekly watching time of a single device can be achieved in time control, and cross-device control cannot be performed.
In order to solve the above problem that cross-device management and control cannot be performed, in step S604 of the device control method, before the display device plays the target multimedia data, it may be further detected whether a designated electronic device exists around the display device, and it should be noted that, in this embodiment of the present application, the designated electronic device may be an adult watch worn by an adult, that is, the usage right is greater than the usage right of the first wearable device, where the usage right may be understood as a control right for the display device, and the meaning that the usage right of the designated electronic device is greater than the usage right of the first wearable device includes but is not limited to: the control function of the display device by the designated electronic device is more than that of the first wearable device, the designated electronic device can be used for setting or limiting the use permission of the first wearable device to the display device, and the designated electronic device comprises but is not limited to electronic devices such as a watch, a bracelet, a mobile phone and a Pad.
For example, when a specific electronic device is detected within a detection range of the display device, the display device sends an authorization request message to the specific electronic device, where the authorization request message is used to request the specific electronic device to enter a preset mode, where in the preset mode, the target multimedia data is allowed to be played; and receiving a response message corresponding to the authorization request message from the specified electronic equipment, and determining whether to send the first notification information according to the response message, so that the cross-equipment management and control of the first wearable equipment are realized.
In the above processing procedure, when the display device detects that an adult watch exists around the display device and the distance between the first wearable device and the display device is smaller than the first threshold, the display device sends authorization request information to the adult watch (i.e. the designated electronic device) within the detection range of the display device through step S612, and then displays the prompt information in the interactive interface of the adult watch, and provides a confirmation button, where the confirmation button includes a play permission button and a play rejection button, and may be specifically represented as being provided with a ": the button comprises two buttons of 'yes' and 'no', wherein if the button 'yes' is triggered, a response message for confirming that the playing is allowed is sent to the display device, if the button 'no' is triggered, a response message for refusing the playing is sent to the display device, specifically, the authorization request information can be 'child approaches, watching time is xx minutes left, and whether the child mode is entered or not', and it needs to be stated that the child mode is the preset mode mentioned above, and if the family member confirms that the child mode is entered through the adult watch, the display device is allowed to play the target multimedia data; and if the keeper selects to refuse to enter the child mode through the adult watch, refusing to play the target multimedia data.
As can be seen from the above, in a specific application, the response message corresponding to the authorization request message may be understood as a message confirming whether the display device enters the child mode.
It should be noted that, before the first distance (i.e., the relative distance between the display device and the first wearable device) is smaller than the first threshold, if the state of the display device is the screen-locking state, the child mode is denied or the multimedia data is not allowed to be played. The method specifically comprises the following steps: and maintaining the screen locking state.
Before the first distance (i.e. the relative distance between the display device and the first wearable device) is smaller than a first threshold, if the state of the display device is that multimedia data is being played, and if the duration of the state where the first distance is smaller than the first threshold is longer than a specified duration, determining a control strategy of the display device according to the type of the multimedia data being played, specifically: determining the type of multimedia data being played; stopping playing the multimedia data when the type of the multimedia data being played is a specified type, wherein the specified type includes but is not limited to: non-children programs, etc. In this scenario, if the response message is a response message confirming that the playing is allowed, the display device may stop playing the specified type of multimedia data and start playing the target multimedia data; if the response message is a response message rejecting the play, the display device may stop playing the specified type of multimedia data and not play the target multimedia data.
In order to further enhance the user experience, besides the confirmation button is shown to the user (here, the user is a parent or the like) at the side of the second wearable device (for example, the above-mentioned adult watch), a corresponding prompt message may also be shown in the interactive interface of the display device to prompt that the user of the first wearable device is waiting for confirmation, and the prompt message may be a similar prompt message such as "waiting for confirmation to enter the child mode".
In some embodiments of the application, the detection range of the display device may be determined by an effective communication distance of a near field communication method such as bluetooth, and when the specified electronic device is within the bluetooth detection range of the display device (that is, the distance between the second wearable device and the display device is not greater than the effective communication distance of the bluetooth communication module), it is determined that the specified electronic device is present near the display device.
In order to implement synchronization of the playing timing, as described above, the display device needs to send first notification information to the first wearable device, where the first notification information is used to notify the first wearable device to start timing the playing process of the target multimedia data, so that the timing process of the first wearable device and the playing time of the target multimedia data can be synchronized, for example, when the first wearable device starts timing, the display device plays the target multimedia data, and at this time, the first notification information may carry the playing start time of the target multimedia data, so that the first wearable device considers the playing start time in advance before timing, for example, the timing start time is advanced by a corresponding time length (for example, a time length between the timing start time and the playing start time). By adopting the scheme, the synchronization of the playing process of the display equipment and the timing process of the first wearable equipment can be realized, and the problem that the playing time of the first wearable equipment and the playing time of the display equipment are not synchronous due to the fact that the display equipment starts to play the target multimedia data and the first wearable equipment does not start timing is avoided. Before the display device plays the target multimedia data, under the condition that the designated electronic device is not detected in the detection range of the display device, first notification information is sent to the first wearable device, wherein the first notification information is used for notifying the first wearable device to start timing in the playing process of the target multimedia data, and the first notification information carries the playing starting time of the target multimedia data.
For example, if the display device does not find an adult watch in the detection range in a bluetooth manner or the like, that is, under the condition that no specific electronic device is found, if the current time is not in the rest period and the remaining viewable time of the first wearable device in which the child logs in is greater than 0, the display device automatically enters a preset mode, that is, automatically enters a child mode, and sends first notification information to the first wearable device, where the first notification information carries the play start time of the target multimedia data. By way of example, if the play start time in the first notification information is 8, and the current time is 8, the display device may play the target multimedia data at 8.
In step S604 of the above device control method, when the display device plays the target multimedia data, the method may further perform the following steps:
under the condition that the appointed electronic equipment is not detected in the detection range of the display equipment, the display equipment records the play starting time of the target multimedia data and starts timing at the play starting time; and sending second notification information to the first wearable device at a preset time period, wherein the second notification information is used for notifying the played duration of the target multimedia data. The second notification information is used for notifying the played time length of the target multimedia data of the first wearable device.
After the first wearable device receives the second notification information, the played time length of the target multimedia data played by the display device is compared with the played time length of the target multimedia data recorded by the first wearable device, if the played time lengths of the target multimedia data recorded by the display device and the target multimedia data recorded by the first wearable device are consistent, no processing is performed, namely any time length is taken as a reference; if the played time lengths of the target multimedia data recorded by the two parties are not consistent, the played time length of the target multimedia data in the second notification information sent by the display equipment is taken as the standard, and the first wearable equipment adjusts the played time length of the recorded target multimedia data and keeps consistent with the played time length of the target multimedia data recorded by the display equipment.
Besides sending the second notification information to the first wearable device, the display device can also send the second notification information to the designated electronic device in order to enable adults to know the time length of the multimedia data watched by the children in real time, and parents can timely know the played time length of the target multimedia data after the designated electronic device receives the second notification information. When the adult thinks that the children watch the video for a long time, a playing stop instruction can be sent to the display device through a specified electronic device (such as an adult watch) so as to control the display device to stop playing the target multimedia data.
It should be noted that the priority of the stop playing instruction is relatively high, for example, even if the played time of the target multimedia data is less than the specified time, that is, the playable time corresponding to the first wearable device or the child account logged in by the first wearable device is less than the viewing time allowed by the adult, after receiving the stop playing instruction, the display device may still stop playing the target multimedia data.
Under the condition that the display device does not detect the designated electronic device in the detection range in the manner of bluetooth or the like, the display device records the play start time of the target multimedia data, sends first notification information to the first wearable device, notifies the play start time of the target multimedia data of the first wearable device, and sends second notification information to the first wearable device in a preset time period, wherein the preset time period can be set to 1 minute, but is not limited thereto, and specific values can be determined according to actual conditions.
In order to prevent the misjudgment of the display device, for example, a child only stops or passes before the display device for a short time, if the corresponding multimedia data is triggered to be played, a bad experience may be brought to the user, and therefore, in some embodiments of the present application, before the target multimedia data is played by the display device, the misjudgment may be avoided by: determining a duration of time for maintaining the first distance between the display device and the first wearable device, wherein the target multimedia data is played if the duration of time is greater than a second threshold. Accordingly, in case the duration is less than the second threshold, the playing of the target multimedia data is refused.
In the above process, the first distance needs to be smaller than the first threshold, for example, the first threshold may be set to any one of 3 to 5 meters, if the first threshold is set to 5 meters, when the first distance is smaller than 5 meters, that is, when the first distance between the display device and the first wearable device is detected to be 0 to 5 meters by bluetooth, and when the duration is greater than the second threshold in the first distance range, the distance is considered to be stable, and when the above two conditions are met, the display device plays the target multimedia data, for example, the second threshold may be set to 5 seconds.
In step S604 of the device control method, determining target multimedia data corresponding to the first wearable device specifically includes the following steps: determining target multimedia data corresponding to the first wearable device from the historical play record; determining a playing stopping position of the target multimedia data; the method for playing the target multimedia data specifically comprises the following steps: and continuing to play the target multimedia data at the pause playing position. The pause position is a position where the playing of the target multimedia data is last completed in the playing progress of the target multimedia data, for example, the total playing time of the target multimedia data is 60 minutes, and if it is found in the history that the playing of the target multimedia data was last paused at 35 minutes and 30 seconds, the target multimedia data can be continuously played at 35 minutes and 30 seconds.
In the above process, the first wearable device may provide a child account number for logging in for the child, and according to the previous history play record of the first wearable device, the target multimedia data corresponding to the first wearable device worn by the child may be found, and when the child selects to continue to watch the target multimedia data that has not been watched last time, the pause play position of the target multimedia data is determined from the history play record, and the target multimedia data continues to be played.
In the above step, determining the target multimedia data corresponding to the first wearable device from the history play record specifically includes the following steps: determining a first multimedia set corresponding to a first wearable device from a historical play record; determining the remaining playing time of each multimedia data in the first multimedia set; and determining target multimedia data from the multimedia data with the residual playing time length larger than the third threshold value.
In the above step, the first multimedia set corresponding to the first wearable device worn by the child includes at least one multimedia data, and the remaining playing time of each multimedia in the first multimedia set is determined, if the first multimedia set includes two multimedia data, where the remaining playing time of one multimedia data is less than 1 minute, and the remaining playing time of the other multimedia data is greater than 10 minutes, the multimedia data with the remaining playing time greater than 10 minutes is determined as the target multimedia data; if the first multimedia set comprises three multimedia data, wherein the remaining playing time of one multimedia data is less than 1 minute, and the remaining playing time of the other two multimedia data is greater than 10 minutes, one of the two multimedia data with the remaining playing time greater than 10 minutes is selected to be determined as the target multimedia data.
Through the analysis, the multimedia data with the remaining playing time greater than the third threshold value is screened from the first multimedia set to obtain the target multimedia data. In an optional embodiment of the present application, the target multimedia data may also be determined by: that is, the remaining playing time is greater than the third threshold and not greater than the usable time of the first wearable device in the preset mode (e.g., the child mode). Therefore, the appropriate multimedia data can be determined more accurately, and meanwhile, due to the fact that the relation between the remaining playing time and the available time is considered, the problem of sudden interruption in the watching process can be avoided, and user experience is improved.
In the device control method, the control instruction is an instruction generated by the first wearable device when the played time of the target multimedia data is longer than a first preset time, and the first preset time is a set maximum time for single viewing or a remaining viewing time of the first wearable device.
Before the device control method shown in fig. 6 is executed, the display device establishes a connection relationship with the first wearable device, and the connection manner is not limited to the HiLink, the trust ring, or the like. If the remaining available watching time length of the children stored in the first wearable device is greater than 0 and the current time is not in the rest time period, after the mode of the children is entered, the display device displays the page when the children are watched, the watching interface is locked, and the children are not allowed to watch the multimedia data. Or if the current time is in the rest time period or the remaining viewable duration of the child stored in the first wearable device is less than or equal to 0, after entering the child mode, the display device immediately displays the page when the child is viewed, and locks the viewing interface, the child is not allowed to view the multimedia data, or the display device directly enters the screen locking interface.
Referring to fig. 9, fig. 9 is a schematic diagram of interaction between a child watch and a display device according to an embodiment of the present application. Step 901, after a child wears a child watch and approaches to a display device, the child watch detects that the child watch is worn by the child through a wearing detection function, the display device can judge a distance between the child and the display device by acquiring the distance between the child watch and the display device, the display device acquires a first distance between the child watch and the display device through a camera, when the first distance is detected to be smaller than a first threshold value, if the first threshold value can be set to any value in 3-5 meters, if the first threshold value is set to 5 meters, the display device sends a prompt message to the child watch when the first distance is smaller than 5 meters, the child is informed that the distance is appropriate, after receiving the prompt message, the child stops approaching a large screen and keeps time of about 5s at least, in this step, in order to prevent the child from being too close to the display device, the distance can be set to be 3-5 meters. Step 902, when the display device detects the above state and detects that there is no adult watch around (there is no adult watch around indicating that the parent is not nearby), the charging duration (i.e. the time when the child can watch the video) is obtained from the child watch through step 903, and meanwhile, the application of the child mode is started in step 904, and the child mode is entered. The display equipment continues playing the video which is loved by the child according to the history record of the video played by the child before, and simultaneously sends a message that the video starts to be played to the child watch by the large screen;
step 905, after receiving the message, the child watch starts a child timing application and starts to record time;
step 906, synchronizing the child watch and the large screen every other one minute, wherein the remaining time for the child to watch the video, namely the remaining watching time length, is to be noted that one minute is a settable value and can be specifically adjusted according to actual conditions;
step 906', the display device synchronizes the watched time length recorded this time to the child watch, and it should be noted that step 906' is an optional step, that is, the display device may not synchronize the watched time length recorded by the display device to the child watch, and certainly, in some scenes with strict requirements on data synchronization, step 906' may also be executed to negotiate the accuracy of the information recorded by both parties;
and 907, when the recording time reaches the recharging time length, the child watch side displays that the time balance is insufficient, timing is stopped, the child watch sends a notice message when the child watch watches the child watch to the large screen, the large screen stops playing the video after receiving the notice message sent by the child watch, and the child watch enters a rest state or a locking state to prevent the child from watching the video excessively.
The above is mainly a description of the slave display device side, and the following describes the embodiments of the present application in detail from the wearable device side.
Referring to fig. 10, a flowchart of another device control method provided in the embodiment of the present application is a method for describing a process of the device control method from the perspective of a wearable device, and as shown in fig. 10, the method specifically includes the following steps:
step S1002, the wearable device receives notification information from the display device, wherein the notification information carries a play start time of the target multimedia data;
step S1004, timing by the wearable device according to the playing starting time, and determining the played time length of the target multimedia data according to the timing time length;
step S1006, when the played time length is longer than the specified time length, sending a control instruction to the display device, wherein the control instruction is used for controlling the display device to enter a rest mode, and in the rest mode, stopping playing the target multimedia data continuously.
In steps S1002 to S1006, the wearable device corresponds to a child watch, when a first distance between the wearable device and the display device is smaller than a first threshold, if the first threshold is set to any value of 3 to 5 meters, if the first threshold is set to 5 meters, the wearable device waits for notification information sent by the display device when the first distance is smaller than 5 meters, and determines a play start time and a play duration of the target multimedia data according to the notification information, meanwhile, when the play duration of the target multimedia data acquired by the wearable device is greater than a specified duration, the wearable device sends a control instruction to the display device, and controls the display device to enter a rest mode, where the specified duration is a duration in which an adult (parent) logs in a mobile phone mobile terminal or a watch through a corresponding adult account to recharge the wearable device worn by the child, that is, the person may extend an allowable play duration of the target multimedia data through the portable device.
Before the wearable device receives the notification information, the display device may directly enter a child mode to continue playing the target multimedia data when detecting that the first distance is smaller than a first threshold; or the wearable device may send a trigger instruction to the display device to trigger the display device to play the target multimedia data, and then receive notification information sent by the display device, specifically: the method comprises the steps that the wearable device obtains a first distance between the wearable device and the display device; and under the condition that the first distance is smaller than a first threshold value, the wearable device sends a trigger instruction to the display device, wherein the trigger instruction is used for triggering the display device to enter a specified working mode, and in the specified working mode, the target multimedia data are continuously played.
As described above, in order to achieve the quick access of the child mode, the distance (first distance) between the wearable device and the display device may be used as the access condition, wherein the first distance may be determined by the following methods, but is not limited thereto: acquiring the signal intensity of the display device detected by the wearable device; determining a first distance corresponding to the signal strength; or, receiving a first distance determined by the display device, wherein the first distance is determined by the display device according to the detected signal strength of the wearable device.
In the above process, the signal strength of the display device detected by the wearable device or the signal strength of the wearable device detected by the display device is related to the distance between the wearable device and the display device, so that the distance between the wearable device and the display device can be determined by the signal strength, wherein the signal strength is proportional to the distance, the farther the distance is, the worse the signal strength is, and conversely, the closer the distance is, the stronger the signal strength is. In an alternative embodiment, a set of mappings between signal strength levels and distances may be maintained at the wearable device and/or the display device side, such that if a corresponding signal strength level is determined, a corresponding distance may be determined according to a mapping in the set of mappings.
In step S1004 of the device control method shown in fig. 10, when the played time length of the target multimedia data is determined according to the timing time length, for a scene with low accuracy requirement, the played time length in the notification information may be directly used as the final/actual played time length, and for a scene with high accuracy requirement (for example, a scene such as a game), the transmission time delay of the information needs to be considered. For the latter, this can be achieved by: the wearable device determines a first duration between the moment of starting playing and the moment of receiving the notification information; the wearable device starts timing from the moment when the notification information is received, and determines a second time length counted in the timing process; and determining the played time length of the target multimedia data according to the first time length and the second time length.
In the above step, if the wearable device receives that the play start time carried in the notification information sent by the display device does not coincide with the current time (i.e. the time when the notification information is received), first determining the time when the notification information is received, and then determining the play start time carried in the notification information, for example, when the current time is 8: 04, that is, the first duration is 4 minutes, according to step S1014, it can be considered that the wearable device starts to record the played duration of the target multimedia data from receiving the notification information, that is, the second duration, and as can be seen from the above analysis, the second duration includes 4 minutes of the first duration, and therefore, the played duration of the target multimedia data is the difference between the second duration and the first duration.
In another optional embodiment, if the play start time carried in the notification information received by the wearable device and sent by the display device is the current time (that is, the time when the notification information is received), the wearable device starts timing while receiving the notification information, and the display device plays the target multimedia data at the same time, in the process, the transfer time of the notification information between the wearable device and the display device is negligible, that is, the played time length of the target multimedia data recorded by the wearable device is considered to be consistent with the played time length of the target multimedia data played by the display device.
In step S1004 of the device control method shown in fig. 10, before the wearable device receives the notification information from the display device, the allowable viewing duration stored in the wearable device may be further adjusted, for example, the allowable viewing duration is increased or decreased, specifically: wearable equipment receives duration adjustment information sent by terminal equipment, wherein the duration adjustment information at least comprises: an adjustment amount and an adjustment type; and adjusting the specified time length according to the adjustment type and the adjustment amount so as to obtain the final allowable watching time length, wherein the adjustment type comprises the following steps: increasing the specified time period and decreasing the specified time period. It should be noted that, if the duration adjustment information sent by the terminal device is not received, the specified duration stored in the wearable device may be directly used as the final allowable viewing duration.
In the above step, the wearable device and the terminal device have a communication connection relationship, so that the duration adjustment information sent by the terminal device can be received, the terminal device can be a mobile terminal and other devices such as a mobile phone and a tablet computer lamp which log in an adult account, and parents can recharge the wearable device worn by children through the mobile terminal and other devices which log in the adult account, and the parents can set the time for the children to watch multimedia data through the mobile terminal and other devices to obtain the specified duration, and send the specified duration to the wearable device worn by the children.
In order to enable the display device to timely acquire the remaining playing duration of the target multimedia data, before sending the control instruction to the display device, the following steps may also be executed: synchronizing the played time of the target multimedia data to the display device according to a preset time period, so that the display device can know the played time in time to prepare for subsequent operations, for example, the display device can compare the played time with the actual played time according to local records, if the played time and the actual played time are consistent or the error is within a preset range, the played time counted by the wearable device is determined to be valid, otherwise, the played time is determined to be invalid, and the display device feeds the error back to the wearable device so that the wearable device can update the played time determined by the timing function in time.
In the above process, the preset time period is settable, for example, set to perform time synchronization every one minute.
In step S1002 in the device control method shown in fig. 10, before the first distance between the wearable device and the display device, the following steps may be further performed: and under the condition that the display device is detected in the detection range of the wearable device, the wearable device establishes connection with the display device, wherein the connection mode is not limited to a HiLink mode, a trust ring mode and the like. It should be noted that, the distance required for the wearable device to establish a connection with the display device is different from the first distance, for example, when the wearable device and the display device establish a connection by using the bluetooth communication module, since the communication distance of the bluetooth protocol is generally about 10 meters, and the distance suitable for viewing multimedia data is often less than 10 meters, the distance between the wearable device and the display device can establish a communication connection before being shortened to the first distance.
The device control method is described in detail above from the display device and the wearable device side, and for ease of understanding, the control process of the entire device is described below with reference to fig. 11, taking the wearable device as a child watch as an example. Fig. 11 is a flowchart of interaction between a child watch and a display device in different scenarios provided in an embodiment of the present application. In the flowchart, two scenarios are included, one scenario is that the child watch interacts with the display device when the parent is nearby, and the other scenario is that the child watch interacts with the display device when the parent is not nearby, and the two scenarios in the flowchart are explained separately below.
In a scene that a child watch interacts with a display device when a parent is nearby, it is pointed out that the watch worn by a child is the child watch, step 1101, after the child watch is connected with the display device (the connection mode is not limited to bluetooth, hiLink, trust ring, and the like), step 1102, the parent charges the child watch with a time length through a mobile terminal logged in by an adult account, step 1103, the child wears the child watch and is close to the display device, the child watch performs distance detection through bluetooth (or the display device performs distance detection through bluetooth), when it is detected that the first distance between the child watch and the display device is within 3m-5m and the time kept in the distance range lasts 5s, step 1104, the display device detects whether there is an adult watch within 3m-5m nearby (by querying device information corresponding to the watch and token in a device cloud platform, it is determined whether the child watch is the adult watch), step 1105, if it is detected that there is the adult watch nearby, the display device pops up a message box to prompt that the child approaches, and the child watch remains x minutes, and enters a child watch mode, step 1106, the parent selects whether the child watch enters a child watch mode, and the child watch does not processes the child watch when it and the child watch does not selects the child watch to be displayed in the child watch; and 1108, when the householder selects to enter the child mode, the display device automatically enters the child mode, and the time for the child to watch the video is recorded. And 1112, synchronizing messages once every y minutes, namely synchronizing the video watching time, of the display device and the child watch, calculating the video watching time of the child watch after the child watch receives the messages, and if the video watching time of the child exceeds the total watching time charged by the parents or the time needing rest is reached, sending a prompt message to the display device by the child watch, wherein the prompt message is used for informing the display device to lock.
In a scene that a watch and a display device interact when a parent is not nearby, step 1101, after the child watch and the display device are connected (the connection mode is not limited to bluetooth, hiLink, trust ring, and the like), it is to be noted that the watch worn by the child is the child watch, step 1102, the parent charges the child watch with a time length through a mobile terminal logged in by an adult account, step 1103, the child wears the child watch and is close to the display device, the child watch performs distance detection through bluetooth (or the display device performs distance detection through bluetooth), when it is detected that the first distance between the child watch and the display device is within 3m-5m and the time kept in the distance range lasts for 5s, step 1104, the display device detects whether the child watch exists within 3m-5m nearby (by querying device information and token corresponding to the watch in a device cloud platform, it is determined whether the watch is the adult watch), if it is detected that the child watch does not exist nearby, step 1109, it is detected that the current time is a time period or whether the remaining watch is greater than 0, if it is detected that the child watch is not displayed in a resting time period or a child watch is displayed in a video display mode when it is not displayed in the child watch, and the child watch is not displayed in a child watch display mode when it is displayed in the child watch mode; step 1111, when the child watch detects that the current time is not in the rest time period and the remaining time for watching the video is greater than 0, the display device automatically enters a child mode, so that the child can watch the video conveniently. And step 1112, synchronizing the messages once every y minutes, calculating the time that the child watches the video after the messages are received by the child watch side, and if the time that the child watches the video exceeds the total watching time charged by the parents or the time that the child needs to have a rest is reached, sending a prompt message to the display device by the child watch, wherein the prompt message is used for informing the display device to lock.
It is to be noted that, in both of the scenes shown in fig. 11, x and y are variables that can be set, and when there are a plurality of display devices, the display of the video being played is regarded as the viewing device.
Referring to fig. 12, a structural diagram of an apparatus control device provided in an embodiment of the present application is shown in fig. 12, where the apparatus includes: an obtaining module 1202, configured to obtain a first distance between a first wearable device and a display device; a determining module 1204, configured to determine target multimedia data corresponding to the first wearable device and play the target multimedia data when the first distance is smaller than a first threshold; the receiving module 1206 is configured to receive a control instruction sent by the first wearable device, and enter a rest mode in response to the control instruction, where in the rest mode, the target multimedia data is stopped from being continuously played.
It should be noted that the device control apparatus shown in fig. 12 is used to implement the device control method shown in fig. 6, and therefore the explanation in the device control method is also applicable to the device control apparatus, and is not repeated here.
Corresponding to the above method embodiments, the present application also provides an electronic device, which is used for a memory for storing computer program instructions and a processor for executing the program instructions, wherein when the computer program instructions are executed by the processor, the electronic device is triggered to execute some or all of the steps in the above method embodiments.
Referring to fig. 13, a block diagram of an electronic device provided in an embodiment of the present application is shown in fig. 13, and an electronic device 1300 includes a memory 1321 for storing computer program instructions and a processor 1310 for executing the program instructions, wherein when the computer program instructions are executed by the processor, the electronic device is triggered to execute the device control method shown in fig. 6 or 10.
The electronic device 1300 may further include an external memory interface 1320, an internal memory 1321, a Universal Serial Bus (USB) interface 1330, a charging management module 1340, a power management module 1341, a battery 1342, an antenna 1, an antenna 2, a mobile communication module 1350, a wireless communication module 1360, an audio module 1370, a speaker 1370A, a receiver 1370B, a microphone 1370C, an earphone interface 1370D, a sensor module 1380, keys 1390, a motor 1391, an indicator 1392, a camera 1393, a display screen, a Subscriber Identification Module (SIM) card interface 1395, and the like. The sensor module 1380 may include a pressure sensor 1380A, a gyro sensor 1380B, an air pressure sensor 1380C, a magnetic sensor 1380D, an acceleration sensor 1380E, a distance sensor 1380F, a proximity light sensor 1380G, a fingerprint sensor 1380H, a temperature sensor 1380J, a touch sensor 1380K, an ambient light sensor 1380L, a bone conduction sensor 1380M, and the like.
Processor 1310 may include one or more processing units.
In some embodiments, processor 1310 may include multiple sets of I2C buses. The processor 1310 may be coupled to the touch sensor 1380K, the charger, the flash, the camera 1393, and the like via different I2C bus interfaces.
In some embodiments, processor 1310 may be coupled to audio module 1370 via an I2S bus, enabling communication between processor 1310 and audio module 1370. In some embodiments, the audio module 1370 may communicate audio signals to the wireless communication module 1360 through an I2S interface.
In some embodiments, the audio module 1370 and the wireless communication module 1360 may be coupled through a PCM bus interface.
The processor 1310 communicates with a wireless communication module 1360 (e.g., a bluetooth module) through a UART interface.
In some embodiments, processor 1310 and camera 1393 are communicatively connected through a CSI interface. Processor 1310 and display screen 1394 communicate over a DSI interface.
In some embodiments, a GPIO interface may be used to connect the processor 1310 with the camera 1393, the display 1394, the wireless communication module 1360, the audio module 1370, the sensor module 1380, and so on.
The USB interface 1330 may be used to connect a charger to charge the electronic device 1300, or to transmit data between the electronic device 1300 and a peripheral device.
The charging management module 1340 is configured to receive a charging input from a wired charger via the USB interface 1330, or receive a wireless charging input via a wireless charging coil of the electronic device 1300.
The power management module 1341 is used to connect the battery 1342, the charging management module 1340 and the processor 1310. The power management module 1341 receives input from the battery 1342 and/or the charging management module 1340, and provides power to the processor 1310, the internal memory 1321, the display 1394, the camera 1393, and the wireless communication module 1360.
The wireless communication function of the electronic device 1300 may be implemented by the antenna 1, the antenna 2, the mobile communication module 1350, the wireless communication module 1360, the modem processor, the baseband processor, and the like.
The mobile communication module 1350 may provide a solution for wireless communication including 2G/3G/4G/5G, etc. applied to the electronic device 1300. The mobile communication module 1350 may include at least one filter, a switch, a power amplifier, a Low Noise Amplifier (LNA), and the like. The mobile communication module 1350 can receive electromagnetic waves from the antenna 1, filter, amplify, etc. the received electromagnetic waves, and transmit the electromagnetic waves to the modem processor for demodulation. The mobile communication module 1350 can also amplify the signal modulated by the modem processor, and convert the signal into electromagnetic wave through the antenna 1 to radiate the electromagnetic wave.
The modem processor may include a modulator and a demodulator. The modem processor may be separate from the processor 1310, and may be located in the same device as the mobile communication module 1350 or other functional modules.
The wireless communication module 1360 receives electromagnetic waves via the antenna 2 and transmits the processed signal to the processor 1310. Wireless communication module 1360 may also receive signals to be transmitted from processor 1310, frequency modulate them, and convert them into electromagnetic waves for radiation via antenna 2.
The electronic device 1300 implements display functions via the GPU, the display screen 1394, and the application processor, etc. The GPU is a microprocessor for image processing, connected to the display screen 1394 and the application processor. Processor 1310 may include one or more GPUs that execute program instructions to generate or change display information.
The display screen 1394 is used for displaying images, video, and the like. The display screen 1394 includes a display panel. In some embodiments, the electronic device 1300 can include 1 or N display screens 1394, N being a positive integer greater than 1.
The electronic device 1300 can implement a shooting function through the ISP, the camera 1393, the video codec, the GPU, the display 1394, the application processor, and the like.
The ISP is used to process data fed back by the camera 1393. For example, when a photo is taken, the shutter is opened, light is transmitted to the camera photosensitive element through the lens, the optical signal is converted into an electrical signal, and the camera photosensitive element transmits the electrical signal to the ISP for processing and converting into an image visible to naked eyes. In some embodiments, the ISP may be provided in the camera 1393.
The camera 1393 is used to capture still images or video. In some embodiments, the electronic device 1300 may include 1 or N cameras 1393, N being a positive integer greater than 1.
When the electronic device 1300 selects at a frequency point, the digital signal processor is used to perform fourier transform or the like on the frequency point energy.
The electronic device 1300 may support one or more video codecs.
The NPU is a neural-network (NN) computing processor, and processes input information quickly by referring to a biological neural network structure. The NPU may implement applications such as intelligent recognition of the electronic device 1300.
The external memory interface 1320 may be used to connect an external memory card, such as a Micro SD card. An external memory card communicates with the processor 1310 through an external memory interface 1320.
Internal memory 1321 may be used to store computer-executable program code. The internal memory 1321 may include a program storage area and a data storage area. The processor 1310 executes various functional applications and data processing of the electronic device 1300 by executing instructions stored in the internal memory 1321 and/or instructions stored in a memory provided in the processor.
The electronic device 1300 may implement audio functions through the audio module 1370, the speaker 1370A, the receiver 1370B, the microphone 1370C, the headphone interface 1370D, and the application processor.
The audio module 1370 is used to convert digital audio information into an analog audio signal for output, and also used to convert an analog audio input into a digital audio signal, and also used to encode and decode an audio signal.
A speaker 1370A for converting an audio electric signal into a sound signal.
A receiver 1370B for converting the audio electrical signal into a sound signal.
The microphone 1370C, also called "microphone", converts a sound signal into an electrical signal.
The headphone interface 1370D is used to connect wired headphones.
The pressure sensor 1380A is used to sense a pressure signal and convert the pressure signal into an electrical signal. In some embodiments, pressure sensor 1380A may be disposed on display 1394.
The gyroscope sensor 1380B may be used to determine a motion pose of the electronic device 1300. In some embodiments, the gyro sensor 1380B may be used to capture anti-shake.
The acceleration sensor 1380E may detect the magnitude of acceleration of the electronic device 1300 in various directions (typically three axes).
A distance sensor 1380F for measuring distance. The electronic device 1300 may measure distance by infrared or laser.
The proximity light sensor 1380G may include, for example, a Light Emitting Diode (LED) and a light detector, such as a photodiode. The light emitting diode may be an infrared light emitting diode.
The ambient light sensor 1380L is used to sense ambient light brightness. Electronic device 1300 can adaptively adjust display screen 1394 brightness based on perceived ambient light brightness.
The fingerprint sensor 1380H is used to collect a fingerprint.
The touch sensor 1380K is also referred to as a "touch device". Touch sensor 1380K can set up in display screen 1394, constitutes the touch-sensitive screen by touch sensor 1380K and display screen 1394, also called "touch screen".
The keys 1390 include a power-on key, volume key, etc. The keys 1390 may be mechanical keys. Or may be touch keys.
The SIM card interface 1395 is used to connect a SIM card.
Referring to fig. 14, a structure diagram of a multimedia data playing system provided in an embodiment of the present application is shown in fig. 14, where the system includes: the display device 1401 is configured to play first multimedia data, and if a distance between the first wearable device and the display device is a first distance, the display device continues to play the first multimedia data while the display device is playing the first multimedia data; if the distance between the first wearable device and the display device is a second distance, the display device stops playing the first multimedia data and starts playing the second multimedia data, wherein the second distance is smaller than the first distance; the first wearable device is used for data interaction with the display device.
It should be noted that, the display device in the system may be a large screen or a computer, the first wearable device may be a watch or a bracelet, and the designated electronic device may also be a watch or a bracelet, in a specific embodiment, the first wearable device may be a child watch or a child bracelet worn by a child, the designated electronic device may be an adult watch or an adult bracelet worn by an adult or a parent, and the adult watch or the adult bracelet worn by the adult or the parent has a higher authority than the child watch or the child bracelet worn by the child.
According to the system of the embodiment of the application, when the first wearable device is close to the display device, the display device can be automatically switched to play the second multimedia data, so that the automatic switching of the playing content of the display device can be realized, and complex operations are not needed for many times.
Referring to fig. 15, a schematic diagram of switching multimedia data according to a distance by a display device according to an embodiment of the present application is shown in fig. 15, where the display device currently plays first multimedia data, the first multimedia data is multimedia data that a parent is watching, such as a movie, a tv show, and the like, and when a distance between a first wearable device worn by a child and the display device is a first distance, the first distance exceeds a connection range between the display device and the first wearable device, the first wearable device cannot establish a connection with the first wearable device, and at this time, the display device continues to play the first multimedia data for the parent to continue watching.
In fig. 15, when the child Tong Peidai is continuously close to the display device, and the distance between the first wearable device and the display device is a second distance, the second distance is within a connection range between the display device and the first wearable device, such as the connection range is 3-5 meters, and when the second distance is any one of the distances between 3-5 meters, the first wearable device establishes a connection with the display device, and since the first wearable device worn by the child is already connected with the display device at this time, the display device currently needs to stop playing the first multimedia data that the parent is watching and start playing the second multimedia data that the child wants to watch. In addition, since the child wears the first wearable device to be continuously close to the display device, the distance between the first wearable device and the display device is changed from the first distance to the second distance, and therefore, the second distance is smaller than the first distance.
In the system structure diagram shown in fig. 14, the system further includes a designated electronic device 1403, the designated electronic device is configured to receive authorization request information sent by the display device before the display device stops playing the first multimedia data and starts playing the second multimedia data, where the authorization request information is used to apply for the designated electronic device for the right to play the second multimedia data.
The authorization request information sent by the appointed electronic equipment receiving and displaying equipment is applicable to the following scenes: the display device detects that the designated electronic device exists in the connection range, and the current display device stops playing the first multimedia data watched by the parent and starts playing the second multimedia data watched by the child.
When there is a specific electronic device worn by an adult or a parent around the display device, the display device needs to send authorization request information to the specific electronic device to request to confirm whether the child can view the second multimedia data currently, the authorization request information may be displayed on the specific electronic device worn by the parent, and the parent makes response information to the authorization request information by selecting a corresponding button or clicking a corresponding option. Generally, the response information mainly includes two types: the first response information and the second response information.
In an alternative embodiment, the designated electronic device sends first response information of the authorization request information to the display device in response to a first operation of a target object (i.e., a user) for the authorization request information, where the first response information is used to notify the display device to stop playing the first multimedia data and start playing the second multimedia data.
The first operation described above may be a scenario as follows: the parents specify the electronic equipment through an adult watch, an adult bracelet and the like worn by the parents, click the option of 'consent' or select a button corresponding to 'consent'. The appointed electronic device sends first response information of authorization request information, namely information that parents approve children to watch second multimedia data, to the display device after receiving first operation executed by a user, and the display device stops playing the first multimedia data watched by the parents and starts playing the second multimedia data watched by the children after receiving the first response information.
In another optional embodiment, the designated electronic device sends second response information of the authorization request information to the display device in response to a second operation of the target object (i.e., the user) for the authorization request information, where the second response information is used to notify the display device to stop playing the first multimedia data, and after the display device stops playing the first multimedia data, the display device is turned off.
The second operation described above corresponds to the following scenario: the parents click the option of 'disagreement' or select a button corresponding to 'disagreement' through appointed electronic equipment such as an adult watch or an adult bracelet and the like worn by the parents. After receiving a second operation performed by the user, the designated electronic device sends second response information of the authorization request information to the display device, that is, information that the parent does not agree with the child to view the second multimedia data, and after receiving the second response information, the display device stops playing the first multimedia data that the parent is viewing, and closes the display device.
In a scenario corresponding to the second operation, since the first wearable device worn by the child has entered the connection range of the display device, the display device plays the first multimedia data watched by the parent at this time, but the parent does not agree with the child to watch the second multimedia data, the display device stops playing the first multimedia data watched by the parent after receiving the second response information, and closes the display device, wherein the operation of closing the display device may be controlled by the parent, or may be automatically closed by the display device, which is not limited here.
According to the system of the embodiment of the application, when the first wearable device is close to the display device, the display device can send the authorization request information to the appointed electronic device, and responds to the authorization request information according to the operation of the user on the appointed electronic device, so that the content played by the display device is controlled, the operation is simple, and the control is convenient.
In the system, the designated electronic device sends first response information of the authorization request information to the display device, the display device sends first notification information to the first wearable device after receiving the first response information, namely after the display device receives information that the designated electronic device authorizes the child to watch the second multimedia data, and the first notification information is used for notifying the first wearable device to start timing of the playing process of the second multimedia data.
After the first wearable device receives the first notification information, responding to the first notification information, recording a first time length for playing the second multimedia data, and notifying the display device to stop playing the second multimedia data when the first time length is greater than a first preset time length, wherein the first preset time length is a maximum single-watching time length set by a parent for the first wearable device worn by the child through a designated electronic device or a remaining watching time length of the first wearable device.
As for whether the first preset time length is the maximum time length or the remaining viewable time length, the first preset time length may be determined according to actual conditions. In an alternative embodiment, if the parent has just set the maximum duration of the single viewing for the first wearable device worn by the child, in this case, the first preset duration may be considered as the maximum duration of the single viewing, for example, if the parent has just set the maximum duration of the single viewing for the first wearable device to be 30 minutes, the first wearable device notifies the display device to stop playing the second multimedia data when the playing of the second multimedia data exceeds 30 minutes.
In another optional embodiment, if the parent sets the viewing duration for the first wearable device worn by the child, but the viewing duration remains, and the parent does not need to set the viewing duration again, the first preset duration may be considered as the remaining viewing duration of the first wearable device. For example, the viewing duration of the first wearable device set by the parent before is 30 minutes, the remaining viewing duration of the first wearable device is 20 minutes when the child has viewed the second multimedia data for 10 minutes through the first wearable device before, and when the child wears the first wearable device again to view the second multimedia data, the first wearable device notifies the display device to stop playing the second multimedia data when the second multimedia data is played for more than 20 minutes.
In the system structure diagram shown in fig. 14, the system further includes a server 1404, wherein the server is configured to synchronize the first time lengths of the first wearable devices, and the server can determine the total viewed duration corresponding to the first wearable device according to the first time length of each synchronization.
In an optional embodiment, the total watched duration of the second multimedia data corresponding to the first wearable device is obtained by accumulating the first time lengths synchronized each time, and the first wearable device itself may also obtain the total watched duration corresponding to the first wearable device according to statistics of the first time lengths watched each time.
According to the system of the embodiment of the application, timing is carried out on the first wearable device, and accurate control over the watching duration of the first wearable device can be achieved. For example, before the current display device views the second multimedia data, the first wearable device also views the second multimedia data on the other display devices, and when the other display devices view the second multimedia data, the viewing duration is also calculated by the first wearable device.
Specifically, if a child wears the first wearable device for the first time and watches the second multimedia data for 10 minutes on the display device 1, the corresponding first time length obtained by the server synchronously or the first wearable device itself for the current time is 10 minutes; the second child wears the first wearable device to watch the second multimedia data for 15 minutes on the display device 2, the corresponding first time length obtained by the server synchronization or the first wearable device itself at this time is 15 minutes, and then the total watching time length of the second multimedia data corresponding to the first wearable device is the sum of the first watching time length and the second watching time length, namely 25 minutes. Therefore, the total watched duration of the first wearable device can be accurately recorded, and the total watched duration of the first wearable device can be accurately controlled.
In the system, the display device is further configured to, in the process of playing the first multimedia data, if the distance between the first wearable device and the display device is the second distance, that is, it is determined that the first wearable device has entered the connection range of the display device, after a certain condition is met, the display device may directly play the second multimedia data, but the watching duration of the first wearable device is longer than a second preset duration, where the second preset duration may be a regular rest duration set for reasons such as protecting the eyesight of the child, and at this time, the display device stops playing the first multimedia data.
In order to accurately acquire the total watched time of the first wearable device, the display device acquires the total watched time of the first wearable device through the server or the first wearable device, and when the display device determines that the total watched time of the first wearable device is greater than a second preset time, the display device stops playing the first multimedia data.
According to the system in the above embodiment of the present application, before switching to play the second multimedia data, the display device may obtain the total viewed duration of the first wearable device, and control the switching of the play content according to the total viewed duration, so as to realize automatic control of the first wearable device to view the multimedia.
The embodiment of the present application further provides a computer-readable storage medium, where the computer-readable storage medium includes a stored program, where the program, when executed, controls an apparatus where the computer-readable storage medium is located to perform the method in any one of fig. 6 or fig. 10.
In addition, the present application also provides a computer program product, where the computer program product contains executable instructions, and when the executable instructions are executed on a computer, the computer is caused to execute the method in any one of fig. 6 or fig. 10.
In a specific implementation manner, the computer storage medium provided in the embodiments of the present application may store a program, where the program, when executed, controls a device in which the computer readable storage medium is located to perform some or all of the steps in the embodiments. The storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM) or a Random Access Memory (RAM).
In a specific implementation, an embodiment of the present application further provides a computer program product, where the computer program product includes executable instructions, and when the executable instructions are executed on a computer, the computer is caused to perform some or all of the steps in the foregoing method embodiments.
In the embodiments of the present application, "at least one" means one or more, "a plurality" means two or more. "and/or" describes the association relationship of the associated objects, and means that there may be three relationships, for example, a and/or B, and may mean that a exists alone, a and B exist simultaneously, and B exists alone. Wherein A and B can be singular or plural. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship. "at least one of the following" and similar expressions refer to any combination of these items, including any combination of singular or plural items. For example, at least one of a, b, and c may represent: a, b, c, a-b, a-c, b-c, or a-b-c, wherein a, b, c may be single or multiple.
Those of ordinary skill in the art will appreciate that the various elements and algorithm steps described in connection with the embodiments disclosed herein can be implemented as electronic hardware, computer software, or combinations of electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
It can be clearly understood by those skilled in the art that, for convenience and simplicity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, any function, if implemented in the form of a software functional unit and sold or used as a separate product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application or portions thereof that contribute to the related art in essence may be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a read-only memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The above description is only for the specific embodiments of the present application, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present disclosure, and all the changes or substitutions should be covered by the protection scope of the present application. The protection scope of the present application shall be subject to the protection scope of the claims.

Claims (21)

1. An apparatus control method characterized by comprising:
the display device acquires a first distance between the first wearable device and the display device;
determining target multimedia data corresponding to the first wearable device and playing the target multimedia data under the condition that the first distance is smaller than a first threshold value;
receiving a control instruction sent by the first wearable device, and responding to the control instruction, controlling the display device to enter a rest mode, wherein in the rest mode, the target multimedia data stops being played continuously.
2. The method of claim 1, wherein prior to playing the target multimedia data, the method further comprises:
sending an authorization request message to the appointed electronic equipment under the condition that the appointed electronic equipment is detected in the detection range of the display equipment, wherein the authorization request message is used for requesting the appointed electronic equipment to enter a preset mode, and the target multimedia data are allowed to be played in the preset mode;
receiving a response message corresponding to the authorization request message from the designated electronic device, starting to play the target multimedia data according to the response message, and determining whether to send first notification information, wherein the first notification information is used for notifying the first wearable device to start timing of a playing process of the target multimedia data.
3. The method of claim 2, wherein prior to playing the target multimedia data, the method further comprises:
sending the first notification information to the first wearable device if the designated electronic device is not detected within the detection range of the display device.
4. The method according to claim 3, wherein the first notification information carries a play start time of the target multimedia data.
5. The method of claim 1, wherein when playing the target multimedia data, the method further comprises:
under the condition that the appointed electronic equipment is not detected in the detection range of the display equipment, the display equipment records the play starting time of the target multimedia data and starts timing at the play starting time;
and sending second notification information to the first wearable device at a preset time period, wherein the second notification information is used for notifying the played duration of the target multimedia data.
6. The method of claim 1, wherein prior to playing the target multimedia data, the method further comprises:
determining a duration of time for maintaining the first distance between the display device and the first wearable device, wherein the target multimedia data is played if the duration of time is greater than a second threshold.
7. The method of claim 1,
determining the target multimedia data corresponding to the first wearable device, comprising: determining the target multimedia data corresponding to the first wearable device from a historical play record; determining a pause playing point of the target multimedia data from the historical playing record;
playing the target multimedia data, including: and continuing to play the target multimedia data at the pause playing point.
8. The method of claim 7, wherein determining the target multimedia data corresponding to the first wearable device from a historical play record comprises:
determining a first multimedia set corresponding to the first wearable device from the historical play record; determining the remaining playing time of each multimedia data in the first multimedia set; and determining the target multimedia data from the multimedia data with the remaining playing time length larger than a third threshold value.
9. The method according to any one of claims 1 to 8, wherein the control instruction is an instruction generated by the first wearable device when the played time length of the target multimedia data is greater than a first preset time length, and the first preset time length is a set maximum time length for single-time viewing or a remaining viewing time length of the first wearable device.
10. A multimedia data playback system, comprising: a display device, a first wearable device, wherein,
in the process of playing first multimedia data by the display equipment, if the distance between the first wearable equipment and the display equipment is a first distance, the display equipment continues to play the first multimedia data;
in the process of playing the first multimedia data, if the distance between the first wearable device and the display device is a second distance, the display device stops playing the first multimedia data and starts playing second multimedia data, wherein the second distance is smaller than the first distance.
11. The system of claim 10, wherein the multimedia data playing system further comprises: the electronic device is specified and the electronic device,
the display equipment stops playing the first multimedia data and receives authorization request information sent by the display equipment before playing the second multimedia data, wherein the authorization request information is used for applying for the appointed electronic equipment for playing the authority of the second multimedia data;
the designated electronic equipment is used for responding to a first operation aiming at the authorization request information and sending first response information of the authorization request information to the display equipment;
and after receiving the first response message, the display equipment stops playing the first multimedia data and starts playing the second multimedia data.
12. The system according to claim 11, wherein the specified electronic device is further configured to send second response information of the authorization request information to the display device in response to a second operation for the authorization request information;
and after receiving the second response information, the display equipment stops playing the first multimedia data.
13. The system of claim 11,
after receiving the first response information, the display device sends first notification information to the first wearable device;
in response to the first notification information, the first wearable device records a first length of time for playing the second multimedia data;
and when the first time length is greater than a first preset time length, the display equipment stops playing the second multimedia data.
14. The system of claim 13, wherein the first preset duration is a set maximum duration of a single viewing or a duration of viewing remaining for the first wearable device.
15. The system of claim 14, further comprising: a server, wherein the server is to synchronize a first length of time of the first wearable device.
16. The system of claim 15, wherein the server is further configured to determine a total viewed duration for the first wearable device based on the first time duration for each synchronization.
17. The system of claim 10, wherein during the process of playing the first multimedia data, if the distance between the first wearable device and the display device is the second distance and the total watched duration of the first wearable device is longer than a second preset duration, the display device stops playing the first multimedia data.
18. The system of claim 17, wherein the display device is further configured to obtain, by a server or the first wearable device, a total watched duration of the first wearable device, and in a case that the display device determines that the total watched duration of the first wearable device is longer than a second preset duration, the display device stops playing the first multimedia data.
19. An electronic device comprising a memory for storing computer program instructions and a processor for executing the program instructions, wherein the computer program instructions, when executed by the processor, trigger the electronic device to perform the device control method of claims 1-9.
20. A computer-readable storage medium, characterized in that the computer-readable storage medium comprises a stored program, wherein the program, when executed, controls an apparatus in which the computer-readable storage medium is located to perform the apparatus control method of claims 1-9.
21. A computer program product containing executable instructions that, when executed on a computer, cause the computer to perform the device control method of claims 1-9.
CN202210297186.6A 2022-03-24 2022-03-24 Device control method, multimedia data playing system, device and storage medium Active CN115567741B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210297186.6A CN115567741B (en) 2022-03-24 2022-03-24 Device control method, multimedia data playing system, device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210297186.6A CN115567741B (en) 2022-03-24 2022-03-24 Device control method, multimedia data playing system, device and storage medium

Publications (2)

Publication Number Publication Date
CN115567741A true CN115567741A (en) 2023-01-03
CN115567741B CN115567741B (en) 2024-02-20

Family

ID=84737878

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210297186.6A Active CN115567741B (en) 2022-03-24 2022-03-24 Device control method, multimedia data playing system, device and storage medium

Country Status (1)

Country Link
CN (1) CN115567741B (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103796067A (en) * 2014-01-24 2014-05-14 宇龙计算机通信科技(深圳)有限公司 Television presenting mode switching method and system
CN106303679A (en) * 2016-08-30 2017-01-04 腾讯科技(深圳)有限公司 Media play controlling method and media play client
CN106788534A (en) * 2016-12-21 2017-05-31 腾讯音乐娱乐(深圳)有限公司 A kind of multimedia data processing method and relevant apparatus and system
CN109803003A (en) * 2018-12-29 2019-05-24 华为技术有限公司 A kind of control method, system and relevant device
CN109889901A (en) * 2019-03-27 2019-06-14 深圳创维-Rgb电子有限公司 Control method for playing back, device, equipment and the storage medium of playback terminal
JP2019207689A (en) * 2015-02-28 2019-12-05 華為技術有限公司Huawei Technologies Co.,Ltd. Wearable device
CN111669653A (en) * 2020-06-05 2020-09-15 康佳集团股份有限公司 Playing control method, device, storage medium and television
CN112788434A (en) * 2020-12-31 2021-05-11 读书郎教育科技有限公司 System and method for preventing children from indulging television programs
CN113689687A (en) * 2021-08-30 2021-11-23 三星电子(中国)研发中心 Ultra-wideband-based equipment control method and device
WO2022052791A1 (en) * 2020-09-10 2022-03-17 华为技术有限公司 Method for playing multimedia stream and electronic device

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103796067A (en) * 2014-01-24 2014-05-14 宇龙计算机通信科技(深圳)有限公司 Television presenting mode switching method and system
JP2019207689A (en) * 2015-02-28 2019-12-05 華為技術有限公司Huawei Technologies Co.,Ltd. Wearable device
CN106303679A (en) * 2016-08-30 2017-01-04 腾讯科技(深圳)有限公司 Media play controlling method and media play client
CN106788534A (en) * 2016-12-21 2017-05-31 腾讯音乐娱乐(深圳)有限公司 A kind of multimedia data processing method and relevant apparatus and system
CN109803003A (en) * 2018-12-29 2019-05-24 华为技术有限公司 A kind of control method, system and relevant device
CN109889901A (en) * 2019-03-27 2019-06-14 深圳创维-Rgb电子有限公司 Control method for playing back, device, equipment and the storage medium of playback terminal
CN111669653A (en) * 2020-06-05 2020-09-15 康佳集团股份有限公司 Playing control method, device, storage medium and television
WO2022052791A1 (en) * 2020-09-10 2022-03-17 华为技术有限公司 Method for playing multimedia stream and electronic device
CN112788434A (en) * 2020-12-31 2021-05-11 读书郎教育科技有限公司 System and method for preventing children from indulging television programs
CN113689687A (en) * 2021-08-30 2021-11-23 三星电子(中国)研发中心 Ultra-wideband-based equipment control method and device

Also Published As

Publication number Publication date
CN115567741B (en) 2024-02-20

Similar Documents

Publication Publication Date Title
US20220124100A1 (en) Device Control Method and Device
EP3125529B1 (en) Method and device for image photographing
US10389863B2 (en) Mobile terminal and method for controlling the same
WO2020041952A1 (en) Method and electronic apparatus for controlling express delivery cabinet on the basis of express delivery message
WO2020047710A1 (en) Login method, token sending method, and device
WO2021023032A1 (en) Device unlocking method and system, and related device
US20230140946A1 (en) Method for Recommending Service, Electronic Device, and System
US20160149905A1 (en) Apparatus for Authenticating Pairing of Electronic Devices and Associated Methods
EP4141637A1 (en) Notification display method and electronic device
CN105430161B (en) Message treatment method and device
CN106371802A (en) Terminal volume control method and device
WO2020221060A1 (en) Card-related processing method and apparatus
WO2021175266A1 (en) Identity verification method and apparatus, and electronic devices
US20230188832A1 (en) Device Identification Method and Related Apparatus
WO2020220180A1 (en) Media content recommendation method and device
CN111835907A (en) Method, equipment and system for switching service across electronic equipment
CN115914460A (en) Display screen control method and electronic equipment
CN104679250A (en) Method and device for controlling working condition of electronic device
US20180027109A1 (en) Method and apparatus for adjusting handset modes
CN109218169B (en) Instant messaging method, device and storage medium
CN106506810A (en) The method and apparatus of the use time of limiting terminal equipment
CN114528581A (en) Safety display method and electronic equipment
CN115567741B (en) Device control method, multimedia data playing system, device and storage medium
CN113630777B (en) Internet access control system, method and routing equipment
CN113676440B (en) Authority negotiation method and device in communication process and electronic equipment

Legal Events

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