A display device playback switching method and computer device

By detecting and switching device information when displaying devices and sending playback information, the problem of cumbersome and inaccurate manual operation in the prior art is solved, and precise video playback after switching of display devices is realized.

CN114449350BActive Publication Date: 2025-03-11SHENZHEN TCL DIGITAL TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202011231061.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-11-06
Publication Date
2025-03-11
Estimated Expiration
2040-11-06

AI Technical Summary

Technical Problem

In the prior art, after moving to another area, the user needs to manually turn on the media device, search for media resources, and adjust the playback time to continue to watch the media resources watched in the previous area. This process is cumbersome and inaccurate.

Method used

By detecting and controlling the display device corresponding to the control device itself, when the device is switched, the device is determined and the device is turned on, the playback information of the device before the switching is obtained, and the device is sent to the device after the switching is switched, so as to achieve accurate continuous playback of the video.

Benefits of technology

When switching the display device, the video can be accurately continued to be played without manual adjustment by the user, which simplifies user operations and improves the continuity of playback.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114449350B_ABST
    Figure CN114449350B_ABST
Patent Text Reader

Abstract

The present invention discloses a playback switching method of a display device and a computer device, the method comprising: detecting the display device corresponding to the control device itself; when the display device corresponding to the control device is switched, determining the device information of the first device; starting the first device based on the device information, and determining the playback information of the second device; sending the playback information to the first device, so that the first device plays the video according to the playback information. In the present invention, when the position area of ​​the control device is switched, the playback information of the second display device in the position area before the switch is obtained, and the playback information is sent to the first display device in the position area after the switch, so that the first display device continues to display the video played by the second display device. The whole process does not require manual adjustment, and can accurately locate the breakpoint of the video played by the display device in the position area before the switch, so as to achieve accurate continuous playback.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of video playback, and in particular to a playback switching method of a display device and a computer device. Background Art

[0002] With the development of society, people's lives are becoming more and more inseparable from the media. At present, in order to obtain media information more conveniently, most environments include multiple display devices so that users can obtain media information anytime and anywhere. For example, in a home, multiple rooms are equipped with display screens so that users can watch TV videos, online videos and other media resources in each room.

[0003] In the prior art, after moving to another area, the user needs to turn on the media device in this area, manually search for media resources, and adjust the playback time of the media resources to the playback time of the previous area before continuing to watch the media resources watched in the previous area. This process is relatively cumbersome, and manual operation cannot be accurately connected with the media resources watched in the previous area.

[0004] Therefore, the prior art still needs to be improved and developed. Summary of the invention

[0005] The present invention provides a playback switching method for a display device and a computer device. When the display device corresponding to a control device is switched, the video played on the second device before the switching can be continuously played on the first display device after the switching. The entire process does not require manual adjustment by the user, and the breakpoint of the video played on the second display device before the switching can be accurately located to achieve accurate continuous playback.

[0006] In a first aspect, the present invention provides a playback switching method for a display device, the method comprising:

[0007] Detecting a display device corresponding to the control device itself;

[0008] When the display device corresponding to the control device is switched, determining device information of a first device, wherein the first device is the switched display device corresponding to the control device;

[0009] Based on the device information, the first device is turned on, and playback information of a second device is determined, wherein the second device is a display device before switching corresponding to the control device;

[0010] The playback information is sent to the first device, so that the first device plays the video according to the playback information.

[0011] As a further improved technical solution, the detecting the display device corresponding to the control device itself specifically includes:

[0012] Acquire the first location information of the control device itself, and monitor a number of heartbeat packets, wherein the heartbeat packet is a data packet sent by a display device that is communicatively connected to the control device, and the heartbeat packet is used to reflect the operating status of the display device that sends the heartbeat packet;

[0013] A display device corresponding to the control device is determined according to the first location information and the plurality of heartbeat packets.

[0014] As a further improved technical solution, the determining the display device corresponding to the control device according to the first position information and the plurality of heartbeat packets specifically includes:

[0015] Obtaining second location information corresponding to each of the plurality of heartbeat packets;

[0016] Determine a target heartbeat packet according to the second position information corresponding to each of the plurality of heartbeat packets, wherein the distance between the second position information corresponding to the target heartbeat packet and the first position information is the smallest;

[0017] The display device corresponding to the target heartbeat packet is used as the display device corresponding to the control device.

[0018] As a further improved technical solution, the determining the display device corresponding to the control device according to the first position information and the plurality of heartbeat packets specifically includes:

[0019] Determining a target area set corresponding to the first location information according to a plurality of preset location area sets;

[0020] Obtaining second location information corresponding to each of the plurality of heartbeat packets;

[0021] Determine a target heartbeat packet according to the second position information corresponding to each of the plurality of heartbeat packets, wherein the second position information corresponding to the target heartbeat packet belongs to the target area set;

[0022] The display device corresponding to the target heartbeat packet is used as the display device corresponding to the control device.

[0023] As a further improved technical solution, when the display device corresponding to the control device is switched, determining the device information of the first device specifically includes:

[0024] When the display device corresponding to the control device is switched, obtaining a first heartbeat packet corresponding to the first device;

[0025] Device information is determined according to the first heartbeat packet.

[0026] As a further improved technical solution, the determining the playback information of the second device specifically includes:

[0027] Obtain a second heartbeat packet corresponding to the second device, and determine the playback information according to the second heartbeat packet.

[0028] As a further improved technical solution, the playback information includes: a video address and a playback breakpoint; and sending the playback information to the first device so that the first device plays the video according to the playback information specifically includes:

[0029] The video address and the play breakpoint are sent to the first device, so that the first device obtains the video based on the video address and starts playing the video from the play breakpoint.

[0030] As a further improved technical solution, when the display device corresponding to the control device is switched, before determining the device information of the first device, it also includes:

[0031] Performing an acquisition operation at intervals of a preset duration to acquire a display device corresponding to the control device itself;

[0032] When the acquisition operation is not performed for the first time, acquiring the historical display device obtained by the last acquisition operation, wherein the first execution refers to the first execution after starting to detect the display device corresponding to the control device itself;

[0033] If the display device corresponding to the control device itself is different from the historical display device, it is determined that the display device corresponding to the control device is switched.

[0034] As a further improved technical solution, before detecting the display device corresponding to the control device itself, the method further includes:

[0035] Receive follow-up instructions;

[0036] In response to the following instruction, the user's location information is acquired, and movement is performed according to the user's location information.

[0037] As a further improved technical solution, after sending the playback information to the first device, the method further includes:

[0038] Send a stop instruction to the second device, so that the second device stops playing the video according to the stop instruction.

[0039] In a second aspect, the present invention provides a control device, comprising:

[0040] A display device detection unit, used to detect the display device corresponding to the control device itself;

[0041] a device information determining unit, configured to determine device information of a first device when a display device corresponding to the control device is switched, wherein the first device is a switched display device corresponding to the control device;

[0042] a playback information determination unit, configured to start the first device based on the device information and determine the playback information of the second device, wherein the second device is a display device before switching corresponding to the control device;

[0043] The playback information sending unit is used to send the playback information to the first device, so that the first device plays the video according to the playback information.

[0044] In a third aspect, the present invention provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the following steps are implemented:

[0045] Detecting a display device corresponding to the control device itself;

[0046] When the display device corresponding to the control device is switched, determining device information of a first device, wherein the first device is the switched display device corresponding to the control device;

[0047] Based on the device information, the first device is turned on, and playback information of a second device is determined, wherein the second device is a display device before switching corresponding to the control device;

[0048] The playback information is sent to the first device, so that the first device plays the video according to the playback information.

[0049] In a third aspect, the present invention provides a computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the following steps are implemented:

[0050] Detecting a display device corresponding to the control device itself;

[0051] When the display device corresponding to the control device is switched, determining device information of a first device, wherein the first device is the switched display device corresponding to the control device;

[0052] Based on the device information, the first device is turned on, and playback information of a second device is determined, wherein the second device is a display device before switching corresponding to the control device;

[0053] The playback information is sent to the first device, so that the first device plays the video according to the playback information.

[0054] Compared with the prior art, the embodiments of the present invention have the following advantages:

[0055] In an embodiment of the present invention, the display device corresponding to the control device itself is detected; when the display device corresponding to the control device is switched, the device information of the first device is determined, wherein the first device is the display device after switching corresponding to the control device; based on the device information, the first device is turned on, and the playback information of the second device is determined, wherein the second device is the display device before switching corresponding to the control device; the playback information is sent to the first device, so that the first device plays the video according to the playback information. In the present invention, when the position area of ​​the control device is switched, the playback information of the second display device in the position area before switching is obtained, and the playback information is sent to the first display device in the position area after switching, so that the first display device continues to display the video played by the second display device. The whole process does not require manual adjustment, and can accurately locate the breakpoint of the video played by the display device in the position area before switching, so as to achieve accurate continuous playback. BRIEF DESCRIPTION OF THE DRAWINGS

[0056] Figure 1 This is a schematic diagram of an application scenario of a playback switching method of a display device in an embodiment of the present invention;

[0057] Figure 2 is a flow chart of a playback switching method of a display device in an embodiment of the present invention;

[0058] Figure 3 is a structural schematic diagram of a control device in an embodiment of the present invention;

[0059] Figure 4 1 is a diagram showing the internal structure of a computer device in an embodiment of the present invention. DETAILED DESCRIPTION

[0060] In order to make the purpose, technical solution and effect of the present invention clearer and more specific, the present invention is further described in detail with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.

[0061] It will be understood by those skilled in the art that, unless expressly stated, the singular forms "one", "said", and "the" used herein may also include plural forms. It should be further understood that the term "comprising" used in the specification of the present invention refers to the presence of the features, integers, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or groups thereof. It should be understood that when we refer to an element as being "connected" or "coupled" to another element, it may be directly connected or coupled to the other element, or there may be intermediate elements. In addition, the "connection" or "coupling" used herein may include wireless connection or wireless coupling. The term "and / or" used herein includes all or any unit and all combinations of one or more associated listed items.

[0062] It will be understood by those skilled in the art that, unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as generally understood by those skilled in the art in the art to which the present invention belongs. It should also be understood that terms such as those defined in general dictionaries should be understood to have meanings consistent with the meanings in the context of the prior art, and will not be interpreted with idealized or overly formal meanings unless specifically defined as herein.

[0063] The inventor has discovered through research that with the development of society, people's lives are becoming more and more inseparable from the media. At present, in order to obtain media information more conveniently, most environments include multiple display devices so that users can obtain media information anytime and anywhere. For example, in a home, multiple rooms are equipped with display screens so that users can watch TV videos, online videos and other media resources in each room.

[0064] In the prior art, after moving to another area, the user needs to turn on the media device in this area, manually search for media resources, and adjust the playback time of the media resources to the playback time of the previous area before continuing to watch the media resources watched in the previous area. This process is relatively cumbersome, and manual operation cannot be accurately connected with the media resources watched in the previous area.

[0065] In order to solve the above problem, in an embodiment of the present invention, the display device corresponding to the control device itself is detected; when the display device corresponding to the control device is switched, the device information of the first device is determined, wherein the first device is the display device after switching corresponding to the control device; based on the device information, the first device is turned on, and the playback information of the second device is determined, wherein the second device is the display device before switching corresponding to the control device; the playback information is sent to the first device, so that the first device plays the video according to the playback information.

[0066] In the present invention, when the display device corresponding to the control device is switched, the playback information of the second display device before the switching is obtained, and the playback information is sent to the first display device after the switching, so that the first display device continues to display the video played by the second display device. The entire process does not require manual adjustment, and can accurately locate the breakpoint of the video played by the second display device before the switching, thereby achieving accurate continuous playback.

[0067] A playback switching method for a display device proposed in an embodiment of the present invention can be applied to a control device. The control device can be an intelligent device equipped with a driving device, such as a movable robot; the control device can also be an intelligent device not equipped with a driving device, such as an intelligent remote control. The intelligent device not equipped with a driving device can be passively moved, such as being carried by a user to achieve movement. The functions implemented by the playback switching method of the display device can be implemented by calling program codes by a processor in the control device. Of course, the program codes can be stored in a computer storage medium. It can be seen that the control device at least includes a processor and a storage medium. The playback switching method of the display device is used to implement: detecting the display device corresponding to the control device itself, when the display device corresponding to the control device is switched, the video on the second device (display device before switching) is continuously played on the first device (display device after switching), the first device and the second device are both electronic devices that can play videos, and the electronic device can be a television, a computer, etc.

[0068] For example, the embodiments of the present invention can be applied to Figure 1 In this scenario, first, the control device 1 can detect its corresponding display device. When its own display device is switched, the display device before the switch is the first device 2, and the display device before the switch is the second device 3. The control device 1 obtains the playback information corresponding to the second device 3 and sends it to the first device 2, so that the video played on the second device 3 can be played on the first device 2 continuously.

[0069] It should be noted that the above application scenarios are only shown to facilitate understanding of the present invention, and the embodiments of the present invention are not limited in this respect. On the contrary, the embodiments of the present invention can be applied to any applicable scenarios.

[0070] Furthermore, in order to further illustrate the content of the invention, various non-limiting implementation modes of the present invention are described below in conjunction with the accompanying drawings.

[0071] This embodiment provides a playback switching method for a display device, such as Figure 2 As shown, including:

[0072] S1. Detecting a display device corresponding to the control device itself.

[0073] In the embodiment of the present invention, the control device can detect the display device corresponding to itself in real time, and in order to save power consumption, it can also detect the display device corresponding to itself at intervals of the first duration. The control device can also start detecting the display device corresponding to itself according to the received control instruction, for example, recognize the received voice information to obtain the control instruction, and start detecting the display device corresponding to itself according to the control instruction (real-time detection or detection at intervals of the first duration).

[0074] Specifically, step S1 includes:

[0075] S11. Obtain the first location information of the control device itself, and monitor several heartbeat packets.

[0076] In an example of this embodiment, the first position information is the position information of the control device itself, which is used to reflect the position of the control device, and the position information can be represented by coordinates. The control device can be an intelligent device equipped with a drive device, such as a mobile robot, and the mobile robot can pre-map the environment in which it is located globally, for example, using the Robot Operating System (ROS) for laser synchronous positioning and mapping (SLAM). After global mapping, the mobile robot moves to a certain position, and the first position information corresponding to the position can be determined.

[0077] In an example of this embodiment, the control device may be an intelligent device without a drive device, such as an intelligent remote controller. The control device determines its own first location information through positioning technology, such as positioning through GPRS, to obtain the first location information of the control device itself.

[0078] In an embodiment of the present invention, when the control device is a mobile robot, positioning can also be performed through GPRS. When the control device is an intelligent device that is not configured with a driving device, a global map of its environment can be constructed in advance. When the intelligent device moves to a certain position, the first position information corresponding to the position can be determined.

[0079] In an embodiment of the present invention, the heartbeat packet is sent once at a fixed interval, for example, once at an interval of 1 second. The heartbeat packet is a data packet sent by a display device that is communicatively connected to the control device, and the heartbeat packet is used to reflect the operating status of the display device that sends the heartbeat packet; the operating status of the display device includes: the playback status of the display device, the location information of the display device, etc. After the display device is turned on, if a communication connection is successfully established with the control device, a heartbeat packet is sent to the control device to maintain a long connection with the control device. When there are several display devices that are communicatively connected to the control device, the control device can receive several heartbeat packets. The so-called monitoring of several heartbeat packets refers to the control device receiving heartbeat packets sent by several display devices respectively.

[0080] S12. Determine a display device corresponding to the control device according to the first location information and the plurality of heartbeat packets.

[0081] In an embodiment of the present invention, for each of the several heartbeat packets, the heartbeat packet at least includes: the position information and device information corresponding to the display device that sends the heartbeat packet, wherein the position information refers to the position of the display device, and the position information can be represented by coordinates; the device information includes the physical address of the display device, and when the display device that sends the heartbeat packet is in a playing state, the heartbeat packet also includes the playing information corresponding to the display device, and the playing information includes the playing address and the playing duration, etc. For ease of explanation, the position information included in the heartbeat packet is referred to as the second position information. The display device corresponding to the control device can be determined based on the second position information corresponding to each of the several heartbeat packets and the first position information (the position information of the control device).

[0082] In one implementation, step S12 includes:

[0083] S121A. Obtain second location information corresponding to each of the plurality of heartbeat packets.

[0084] In an embodiment of the present invention, after the display device is turned on, if a communication connection is successfully established with the control device, a heartbeat packet is sent to the control device, and the communication connection mode may be a wireless communication connection. When there are multiple display devices connected to the control device for communication, the control device may receive multiple heartbeat packets. The control device parses each received heartbeat packet to determine the second location information corresponding to the heartbeat packet.

[0085] Since the heartbeat packet is sent by the display device, the essence of the second position information is the position information of the display device. The display device in the embodiment of the present invention may be a device that is not configured with a drive device (cannot move autonomously), such as a television; a display device that is usually not configured with a drive device will not frequently change its own position during use, so the position information of the display device (second position information) can be acquired in advance, and the position information of the display device is added to the heartbeat packet. Alternatively, the display device in the embodiment of the present invention may be a device configured with a drive device, and each time the display device sends a heartbeat packet, the display device acquires its own position information (second position information), and adds the display device's own position information to the heartbeat packet.

[0086] S122A. Determine a target heartbeat packet according to second position information corresponding to each of the plurality of heartbeat packets, wherein the distance between the second position information corresponding to the target heartbeat packet and the first position information is the smallest.

[0087] In an embodiment of the present invention, the control device calculates the distance between each second position information obtained by analysis and the first position information of the control device itself to obtain a plurality of distances; determines the minimum distance among the plurality of distances, and uses the heartbeat packet corresponding to the minimum distance as the target heartbeat packet. The heartbeat packet corresponding to the minimum distance refers to the heartbeat packet corresponding to the second position information corresponding to the minimum distance.

[0088] For the sake of ease of description, the heartbeat packets other than the target heartbeat packet among the several heartbeat packets are recorded as non-target heartbeat packets, and the distance between the second position information corresponding to each non-target heartbeat packet and the first position information is greater than the distance between the second position information corresponding to the target heartbeat packet and the second position information (minimum distance).

[0089] For example, the control device receives four heartbeat packets, namely p1, p2, p3 and p4, and the second position information corresponding to p1 is parsed as d1, the second position information corresponding to p2 is parsed as d2, the second position information corresponding to p3 is parsed as d3, and the second position information corresponding to p4 is parsed as d4; the position information of the control device itself is d0, and the distance between d0 and d1 is calculated to be l1, the distance between d0 and d2 is calculated to be l2, the distance between d0 and d3 is calculated to be l3, and the distance between d0 and d4 is calculated to be l4; assuming that l2 is the smallest, the heartbeat packet p2 corresponding to d2 is taken as the target heartbeat packet.

[0090] S123A. Use the display device corresponding to the target heartbeat packet as the display device corresponding to the control device.

[0091] In the embodiment of the present invention, the display device corresponding to the target heartbeat packet is the display device that sends the target heartbeat packet. For example, in the above example, the heartbeat packet p2 corresponding to d2 is the target heartbeat packet, and the display device that sends the heartbeat packet p2 is the display device corresponding to the control device.

[0092] In another implementation, step S12 includes:

[0093] S121B: Determine a target area set corresponding to the first location information according to a plurality of preset location area sets.

[0094] In an embodiment of the present invention, the environment in which the control device is located is pre-divided into a plurality of location areas, each location area corresponds to a location area set, and the location area set includes a plurality of location area information. After the control device obtains its own first location information, the first location information is matched with a plurality of preset location area sets to determine a target area set corresponding to the first location information.

[0095] For example, for several location area sets, if the first location information belongs to a first location area set among the several location area sets, the first location area set is used as the target area set.

[0096] In an embodiment of the present invention, the multiple location area information included in the location area set can be determined when using ROS for SLAM mapping, and the environment in which the control device is located is divided into multiple areas, each area corresponds to a location area set, and each location area set includes multiple location area information.

[0097] In the embodiment of the present invention, the location areas may be divided according to the display devices to ensure that each location area has one and only one display device. For example, an environment with an area of ​​20m*20m may include multiple display devices, and the 20m*20m area may be divided into multiple location areas, each of which includes one display device. In actual application, the location areas may be real areas in the environment, for example, in a home, the living room is used as one location area, and the bedroom is used as another location area.

[0098] S122B. Obtain second location information corresponding to each of the plurality of heartbeat packets.

[0099] In the embodiment of the present invention, the process of step S122B is the same as that of step S121A, and thus, for the process of step S122B, reference may be made to the description of step S121A.

[0100] S123B. Determine a target heartbeat packet according to the second position information corresponding to each of the plurality of heartbeat packets, wherein the second position information corresponding to the target heartbeat packet belongs to the target area set.

[0101] In an embodiment of the present invention, a target area set corresponding to the first position and second position information corresponding to each heartbeat packet have been determined. For each second position information, the second position information is matched with a plurality of preset position area sets to determine the position area set corresponding to the second position information; the second position information belonging to the target area set is used as the target information, and the heartbeat packet corresponding to the target information is used as the target heartbeat packet.

[0102] For example, the target area set corresponding to the first position is S0, and the control device receives four heartbeat packets, namely p1, p2, p3 and p4. The second position information corresponding to p1 is parsed as d1, the second position information corresponding to p2 is parsed as d2, the second position information corresponding to p3 is parsed as d3, and the second position information corresponding to p4 is parsed as d4; among them, the location area set to which d1 belongs is S1, the location area to which d2 belongs is S2, the location area to which d3 belongs is S0, and the location area to which d4 belongs is S3, then the heartbeat packet p3 corresponding to d3 is used as the target heartbeat packet.

[0103] S124B. Use the display device corresponding to the target heartbeat packet as the display device corresponding to the control device.

[0104] In the embodiment of the present invention, the target heartbeat packet corresponds to a display device, that is, a display device that sends the target heartbeat packet. For example, in the above example, the heartbeat packet p2 corresponding to d2 is the target heartbeat packet, and the display device that sends the heartbeat packet p2 is the display device corresponding to the control device.

[0105] S2. When the display device corresponding to the control device is switched, determine the device information of the first device.

[0106] In the embodiment of the present invention, step S1 may be to detect the display device corresponding to the control device in real time, or to detect the display device corresponding to the control device at a first time interval, and after starting to detect the display device corresponding to the control device, the display device corresponding to the control device may be obtained at a preset time interval. The first time interval and the preset time interval may be equal.

[0107] Before step S2, it is necessary to determine whether the display device corresponding to the control device is switched, and when the switch occurs, the display device after the switch is determined to be the first device. When the display devices corresponding to the control device obtained twice are different, it is determined that the display device corresponding to the control device is switched, and then the display device after the switch is determined to be the first device.

[0108] Specifically, the process of determining whether the display device corresponding to the control device is switched includes:

[0109] At every preset time interval, an acquisition operation is performed to acquire the display device corresponding to the control device itself; when the acquisition operation is not performed for the first time, the historical display device obtained by the last acquisition operation is acquired, wherein the first execution refers to the first execution after starting to detect the display device corresponding to the control device itself; if the display device corresponding to the control device itself is different from the historical display device, it is determined that the display device corresponding to the control device is switched.

[0110] In an embodiment of the present invention, after starting to detect the display device corresponding to the control device itself, an acquisition operation can be performed once at a preset time interval to obtain the display device corresponding to the control device obtained by the detection, and save it in the order of acquisition time. For example, the control device saves: the display device corresponding to the control device obtained at the first moment is v1, and the display device corresponding to the control device obtained at the second moment is v1.

[0111] For the first acquisition operation, that is, the first acquisition operation after the detection is started, the control device has not acquired the display device corresponding to itself before the acquisition operation, so it is impossible to determine whether the display device corresponding to the control device is switched before the first acquisition operation is performed. Then, when the condition that the acquisition operation is not performed for the first time is met, it is determined whether the display device corresponding to the control device is switched.

[0112] For example, in the above example, the control device stores: the display device corresponding to the control device obtained at the first moment is v1, and the display device corresponding to the control device obtained at the second moment is v1, that is, the control device has performed two acquisition operations. When the control device performs the acquisition operation at the third moment (the current moment), the display device corresponding to the obtained control device is v2, which is different from the historical display device corresponding to the last acquisition operation (the display device v1 corresponding to the control device obtained at the second moment), it is determined that the display device corresponding to the control device has switched.

[0113] In an embodiment of the present invention, when the display device corresponding to the control device is switched, a first heartbeat packet corresponding to the first device is obtained, and device information is determined according to the first heartbeat packet. The first device is the switched display device corresponding to the control device, and the first heartbeat packet is a heartbeat packet sent by the first device. The control device parses the first heartbeat packet to obtain device information corresponding to the first device, and the device information includes the physical address of the first display device.

[0114] For example, in the above example, the control device stores: the display device v1 corresponding to the control device obtained at the first moment, the display device v1 corresponding to the control device obtained at the second moment, and the display device v2 corresponding to the control device obtained at the third moment. It is determined that the display device corresponding to the control device is switched, then the first device is v2 (the display device after switching), and the heartbeat packet sent by v2 is taken as the first heartbeat packet, and the first heartbeat packet is parsed to obtain the device information.

[0115] In an embodiment of the present invention, when a user watches a video on a display device for a long time, the control device may not detect whether its corresponding display device is switched. When the user needs to switch the display device, the control device is triggered to detect whether its corresponding device is switched.

[0116] The so-called user's need to switch display devices means that the user needs to move from an area corresponding to one display device to an area corresponding to another display device. That is, it is considered that the user has a need to switch display devices. At this time, the user can trigger the control device through voice or button to detect whether the corresponding display device of itself is switched.

[0117] When the control device is a movable robot, and the movable robot can follow the user, before step S1, the method includes:

[0118] M. receiving a follow-up instruction, obtaining the user's location information in response to the follow-up instruction, and moving according to the user's location information.

[0119] In the embodiment of the present invention, the following instruction may be triggered by the user pressing a switch button on the mobile robot, or the following instruction may be triggered by the user sending a voice message. The switch button configured on the mobile robot is pressed to trigger the following instruction, or the mobile robot receives the voice message, recognizes the voice message to trigger the following instruction, so as to follow the user's movement and start to detect whether the display device corresponding to itself is switched.

[0120] In an embodiment of the present invention, the control device responds to the following instruction, determines the user, and obtains the user's location information. Specifically, the control device is configured with a camera, and the control device can take a number of images of its own environment, determine a number of facial images based on the images, and then determine the user based on the facial images. In actual application, the user image corresponding to the user can be saved in the control device in advance, and the determined facial images can be matched with the user image to determine the facial image corresponding to the user, and the face in the captured image can be followed in real time to achieve following the user's movement, and start detecting whether the display device corresponding to itself is switched.

[0121] When the control device is an immovable smart remote controller, the follow instruction may be triggered by pressing a switch button on the smart remote controller, or the follow instruction may be triggered by a voice message from the user. The switch button configured on the smart remote controller is pressed to trigger the follow instruction, or the smart remote controller receives the voice message, recognizes the voice message to trigger the follow instruction, and starts to detect whether the display device corresponding to itself is switched, and the user can carry the smart remote controller and move.

[0122] S3. Turn on the first device based on the device information, and determine the playback information of the second device, wherein the second device is the display device before switching corresponding to the control device.

[0123] In an embodiment of the present invention, since the first device is a display device after switching, and the display device after switching does not play a video within a certain period of time, in order to save power consumption, the first device is usually not in a working state, that is, the first device can be in a standby state, and the so-called turning on the first device is to control the first device to enter a working state from a standby state. When the first device is in a standby state, the first device has been turned on, but no video or TV program is played. The first device is in a working state, that is, it can play a video or TV program. The device information includes the physical address of the first device, and the control device sends a wake-up instruction to the first device based on the physical address to turn on the first device. Turning on the first device by a wake-up instruction can be achieved by using the boot wake-up function in the STR state, and many products currently support this function. The second device is the display device before switching corresponding to the control device, that is, the display device corresponding to itself detected by the control device last time.

[0124] In an embodiment of the present invention, the first device may also be in a working state. In order to avoid sending a wake-up instruction to the first device in a working state, the control device may first determine whether the first device is in a standby state. When the first device is in a standby state, the first device is turned on based on the device information; when the first device is not in a standby state, the step of "turning on the first device based on the device information" is skipped. In an embodiment of the present invention, whether the first device is in a standby state can be determined by a heartbeat packet corresponding to the first device.

[0125] For example, in the above example, the control device stores: the display device v1 corresponding to the control device obtained at the first moment, the display device v1 corresponding to the control device obtained at the second moment, and the display device v2 corresponding to the control device obtained at the third moment. If it is determined that the display device corresponding to the control device is switched, then the first device is v2. It can be seen that v2 is the first device (display device after switching) and v1 is the second device (display device before switching).

[0126] In an embodiment of the present invention, a second heartbeat packet corresponding to the second device is obtained, and playback information is determined according to the second heartbeat packet. For example, a user watches video 1 through the second device in the living room. After the user moves from the living room to the study, the user turns on the first device in the study and obtains playback information corresponding to the second device, that is, information corresponding to video 1.

[0127] S4. Send the playback information to the first device, so that the first device plays the video according to the playback information.

[0128] In an embodiment of the present invention, the playback information includes: a video address and a playback breakpoint, that is, the control device sends the video address and the playback breakpoint to the first device, so that the first device obtains the video based on the video address and starts playing the video from the playback breakpoint.

[0129] In an embodiment of the present invention, the video address may be a network address, and the first device may search for a video corresponding to the video address; the play breakpoint may be represented by time, for example, 1 minute and 30 seconds, indicating that when the play information is obtained, the second device plays the video to 1 minute and 30 seconds. The first device adjusts the start time of playing the searched video to the play breakpoint and starts playing. For example, the start time of playing the searched video is positioned at 1 minute and 30 seconds and starts playing.

[0130] For example, a user watches video 1 through the second device in the living room. The user moves from the living room to the study, and the display device corresponding to the control device is switched to the first device in the study. The control device starts the first device and obtains the playback information corresponding to video 1 played by the second device, and obtains the playback breakpoint corresponding to video 1: t (the playback duration corresponding to video 1 when obtaining), and the video address corresponding to video 1. The control device sends the video address and playback breakpoint to the first device. The first device starts playing video 1 from the playback duration t according to the received video address and playback breakpoint, so that the user can continue to watch video 1 in the study.

[0131] In the embodiment of the present invention, after step S4, the method further includes:

[0132] S5. Send a stop instruction to the second device, so that the second device stops playing the video according to the stop instruction.

[0133] In the embodiment of the present invention, the stop instruction may be sent immediately after the control device obtains the playback information of the second device, or may be sent after the control device determines that the first device successfully plays the video. The second device stops playing the video according to the instruction.

[0134] In an embodiment of the present invention, a control device detects a display device corresponding to the control device itself; when the display device corresponding to the control device switches, the device information of the first device is determined, wherein the first device is the display device after switching corresponding to the control device; the first device is turned on based on the device information, and the playback information of the second device is determined, wherein the second device is the display device before switching corresponding to the control device; the playback information is sent to the first device, so that the first device plays the video according to the playback information. In the present invention, when the position area of ​​the control device switches, the playback information of the second display device in the position area before switching is obtained, and the playback information is sent to the first display device in the position area after switching, so that the first display device continues to display the video played by the second display device. The whole process does not require manual adjustment, and can accurately locate the breakpoint of the video played by the display device in the position area before switching, so as to achieve accurate continuous playback.

[0135] Based on the above-mentioned playback switching method of a display device, an embodiment of the present invention further provides a control device, see Figure 3 ,include:

[0136] A display device detection unit, used to detect the display device corresponding to the control device itself;

[0137] a device information determining unit, configured to determine device information of a first device when a display device corresponding to the control device is switched, wherein the first device is a switched display device corresponding to the control device;

[0138] a playback information determination unit, configured to start the first device based on the device information and determine the playback information of the second device, wherein the second device is a display device before switching corresponding to the control device;

[0139] The playback information sending unit is used to send the playback information to the first device, so that the first device plays the video according to the playback information.

[0140] Based on the above-mentioned playback switching method of a display device, an embodiment of the present invention further provides a computer device, which may be a terminal, and the internal structure is as follows: Figure 4As shown. The computer device includes a processor, a memory, a network interface, a display screen and an input device connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a playback switching method of a display device is implemented. The display screen of the computer device can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covered on the display screen, or a button, trackball or touchpad set on the computer device shell, or an external keyboard, touchpad or mouse, etc.

[0141] Those skilled in the art will understand that Figure 4 What is shown is only a block diagram of a partial structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than shown in the figure, or combine certain components, or have a different arrangement of components.

[0142] An embodiment of the present invention provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the following steps are implemented:

[0143] Detecting a display device corresponding to the control device itself;

[0144] When the display device corresponding to the control device is switched, determining device information of a first device, wherein the first device is the switched display device corresponding to the control device;

[0145] Based on the device information, the first device is turned on, and playback information of a second device is determined, wherein the second device is a display device before switching corresponding to the control device;

[0146] The playback information is sent to the first device, so that the first device plays the video according to the playback information.

[0147] The embodiment of the present invention further provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the following steps are implemented:

[0148] Detecting a display device corresponding to the control device itself;

[0149] When the display device corresponding to the control device is switched, determining device information of a first device, wherein the first device is the switched display device corresponding to the control device;

[0150] Based on the device information, the first device is turned on, and playback information of a second device is determined, wherein the second device is a display device before switching corresponding to the control device;

[0151] The playback information is sent to the first device, so that the first device plays the video according to the playback information.

[0152] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0153] The above-mentioned embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be subject to the attached claims.

[0154] It should be understood that the application of the present invention is not limited to the above examples. For ordinary technicians in this field, improvements or changes can be made based on the above description. All these improvements and changes should fall within the scope of protection of the claims attached to the present invention.

Claims

1. A playback switching method for a display device, applied to a control device, wherein the control device includes a movable robot, characterized in that: include: Receive follow-up instructions; In response to the follow instruction, obtaining the user's location information, and moving according to the user's location information; Detecting a display device corresponding to the control device itself; When the display device corresponding to the control device is switched, determining device information of a first device, wherein the first device is the switched display device corresponding to the control device; Based on the device information, the first device is turned on, and playback information of a second device is determined, wherein the second device is a display device before switching corresponding to the control device; Sending the playback information to the first device, so that the first device plays the video according to the playback information; The detecting the display device corresponding to the control device itself specifically includes: Obtaining the first position information of the control device itself, and monitoring a number of heartbeat packets, wherein the heartbeat packet is a data packet sent by a display device that is communicatively connected to the control device, and the heartbeat packet is used to reflect the operating status of the display device that sends the heartbeat packet; the first position information is obtained by GPRS positioning, or the first position information is obtained by pre-global mapping of the environment and when moving to a certain position; Determine a display device corresponding to the control device according to the first location information and the plurality of heartbeat packets; The determining the display device corresponding to the control device according to the first position information and the plurality of heartbeat packets specifically includes: Obtaining second location information corresponding to each of the plurality of heartbeat packets; Determine a target heartbeat packet according to the second position information corresponding to each of the plurality of heartbeat packets, wherein the distance between the second position information corresponding to the target heartbeat packet and the first position information is the smallest; Using the display device corresponding to the target heartbeat packet as the display device corresponding to the control device; The heartbeat packet includes: the second location information, the device information and the playback information; The playback information includes: a video address and a playback breakpoint; and sending the playback information to the first device so that the first device plays the video according to the playback information specifically includes: The video address and the play breakpoint are sent to the first device, so that the first device obtains the video based on the video address and starts playing the video from the play breakpoint.

2. The playback switching method of a display device according to claim 1, characterized in that: The method of determining the display device corresponding to the control device according to the first location information and the plurality of heartbeat packets may be replaced by: Determining a target area set corresponding to the first location information according to a plurality of preset location area sets; Obtaining second location information corresponding to each of the plurality of heartbeat packets; Determine a target heartbeat packet according to the second position information corresponding to each of the plurality of heartbeat packets, wherein the second position information corresponding to the target heartbeat packet belongs to the target area set; The display device corresponding to the target heartbeat packet is used as the display device corresponding to the control device.

3. The playback switching method of a display device according to claim 1, characterized in that: When the display device corresponding to the control device is switched, determining the device information of the first device specifically includes: When the display device corresponding to the control device is switched, obtaining a first heartbeat packet corresponding to the first device; Device information is determined according to the first heartbeat packet.

4. The playback switching method of a display device according to claim 1, characterized in that: The determining the playback information of the second device specifically includes: Obtain a second heartbeat packet corresponding to the second device, and determine the playback information according to the second heartbeat packet.

5. The playback switching method of a display device according to any one of claims 1 to 4, characterized in that: When the display device corresponding to the control device is switched, before determining the device information of the first device, the method further includes: Performing an acquisition operation at intervals of a preset duration to acquire a display device corresponding to the control device itself; When the acquisition operation is not performed for the first time, acquiring the historical display device obtained by the last acquisition operation, wherein the first execution refers to the first execution after starting to detect the display device corresponding to the control device itself; If the display device corresponding to the control device itself is different from the historical display device, it is determined that the display device corresponding to the control device is switched.

6. The playback switching method of a display device according to any one of claims 1 to 4, characterized in that: After sending the playback information to the first device, the method further includes: Send a stop instruction to the second device, so that the second device stops playing the video according to the stop instruction.

7. A control device, used to implement the playback switching method of a display device according to any one of claims 1 to 6, characterized in that: include: A display device detection unit, used to detect the display device corresponding to the control device itself; a device information determining unit, configured to determine device information of a first device when a display device corresponding to the control device is switched, wherein the first device is a switched display device corresponding to the control device; a playback information determination unit, configured to start the first device based on the device information and determine the playback information of the second device, wherein the second device is a display device before switching corresponding to the control device; The playback information sending unit is used to send the playback information to the first device, so that the first device plays the video according to the playback information.

8. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the playback switching method of the display device according to any one of claims 1 to 6 are implemented.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the playback switching method of the display device according to any one of claims 1 to 6 are implemented.

Citation Information

Patent Citations

  • Method for switching playing equipment and mobile terminal

    CN104616675A

  • Method for interacting with display screen terminal

    CN104853235A