Control method and device, electronic equipment and storage medium
By monitoring the device status and adjusting the playback of streaming media data based on delay information, the problem of inconsistent playback progress when the device is disconnected is solved, and the user experience and device efficiency are improved.
Patent Information
- Application Number
- CN202410840595.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-26
- Publication Date
- 2024-11-05
AI Technical Summary
When the connection between the device and the external display device is disconnected, the operating status of the device cannot be adjusted in time, resulting in inconsistent streaming data playback progress and affecting the user experience.
By determining the target status between devices, pausing or restoring playback of streaming data, and determining the recovery node in combination with the data transmission delay information, ensuring the smoothness and accuracy of playback, and displaying prompt information after the connection is disconnected to the user choose whether to re-select whether to choose whether to re-select Turn on streaming data.
It effectively avoids the problem of inconsistent streaming data playback progress after the connection is disconnected, improves the user experience, ensures fluency and accuracy, and optimizes the operating efficiency of the device.
Smart Images

Figure CN118900342A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of computer technology, and in particular to a control method, device, electronic device and storage medium. Background Art
[0002] With the development of computer technology, more and more devices are able to connect their own display interfaces to other devices so that other devices can display the display interfaces. However, since the connection between the device and the external display device may be accidentally disconnected, the operating status of the device itself cannot be adjusted in time according to the connection status. Summary of the invention
[0003] The present disclosure provides a control method, device, equipment and storage medium to at least solve the above technical problems existing in the prior art.
[0004] According to a first aspect of the present disclosure, a control method is provided, including: determining a target state between a first device and a second device, wherein a target operating system is running in the first device, and the second device receives and displays a display interface image of the first device; in response to the target state switching from a first state to a second state, pausing playback of target streaming media data in the target operating system; wherein the first state represents a connection between the first device and the second device, and the second state represents a disconnection between the first device and the second device.
[0005] In one possible implementation, a control method further includes: in response to the target state switching from the second state to the first state, resuming the playback of the target streaming media data in the target operating system.
[0006] In one possible implementation, before the response that the target state switches from the second state to the first state, it also includes: determining delay information of data transmission between the first device and the second device; based on the delay information and the playback node when the target streaming media data is paused, determining a recovery node, the recovery node being the starting node for resuming the playback of the target streaming media data.
[0007] In one possible implementation, a control method further includes: if the pause duration of the target streaming media data exceeds a target threshold, closing the target streaming media data played in the target operating system.
[0008] In one possible implementation, a control method further includes: if in response to the target state switching from the second state to the first state after the pause duration of the target streaming media data exceeds a target threshold, displaying a prompt message, wherein the prompt message indicates that the target streaming media data has been closed.
[0009] In one possible implementation, pausing the playing of the target streaming media data in the target operating system includes: determining the target streaming media data corresponding to the second device from all streaming media data played by the target operating system; and pausing the target streaming media data.
[0010] In one possible implementation, the first device is a cloud computer server.
[0011] According to a second aspect of the present disclosure, a control device is provided, comprising: a determination module, used to determine a target state between a first device and a second device, wherein a target operating system is running in the first device, and the second device receives and displays a display interface image of the first device; a response module, used to respond to the target state switching from a first state to a second state, and pause the playback of target streaming media data in the target operating system; wherein the first state represents a connection between the first device and the second device, and the second state represents a disconnection between the first device and the second device.
[0012] According to a third aspect of the present disclosure, there is provided an electronic device, including:
[0013] at least one processor; and
[0014] a memory communicatively connected to the at least one processor; wherein,
[0015] The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method described in the present disclosure.
[0016] According to a fourth aspect of the present disclosure, a non-transitory computer-readable storage medium storing computer instructions is provided, wherein the computer instructions are used to cause the computer to execute the method described in the present disclosure.
[0017] It should be understood that the content described in this section is not intended to identify the key or important features of the embodiments of the present disclosure, nor is it intended to limit the scope of the present disclosure. Other features of the present disclosure will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] The above and other features and advantages of the exemplary embodiments of the present disclosure will become readily understood by reading the detailed description below with reference to the accompanying drawings. In the accompanying drawings, several embodiments of the present disclosure are shown in an exemplary and non-limiting manner, in which:
[0019] In the drawings, the same or corresponding reference numerals represent the same or corresponding parts.
[0020] Figure 1A schematic diagram showing a control method according to an embodiment of the present disclosure Figure 1 ;
[0021] Figure 2 A schematic diagram showing a control method according to an embodiment of the present disclosure Figure 2 ;
[0022] Figure 3 A schematic diagram showing a control method according to an embodiment of the present disclosure Figure 3 ;
[0023] Figure 4 A schematic diagram showing a control method according to an embodiment of the present disclosure Figure 4 ;
[0024] Figure 5 A schematic diagram showing the connection between the first device and the second device is shown;
[0025] Figure 6 A schematic diagram of the structure of a control device according to an embodiment of the present disclosure is shown;
[0026] Figure 7 A schematic diagram of the structure of an electronic device according to an embodiment of the present disclosure is shown. DETAILED DESCRIPTION
[0027] In order to make the features and advantages of the present disclosure more obvious and easy to understand, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the drawings in the embodiments of the present disclosure. Obviously, the described embodiments are only part of the embodiments of the present disclosure, not all of the embodiments. Based on the embodiments in the present disclosure, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present disclosure.
[0028] Figure 1 A schematic diagram showing a control method according to an embodiment of the present disclosure Figure 1 ,like Figure 1 As shown, a control method includes:
[0029] Step S101, determining a target state between a first device and a second device.
[0030] In this embodiment, a control method is applied to a first device, in which a target operating system is running. The first device can be connected to a second device and send a display interface image of the first device to the second device, for example, the display interface image of the target operating system is sent to the second device. When there is streaming media data being played in the target operating system, the display interface image has an image corresponding to the streaming media data; the second device receives and displays the display interface image of the first device. Optionally, the second device can also operate the target operating system in the first device through the received display interface image. For example, the playback progress of the streaming media data can be controlled on the second device side through the image of the received streaming media data. The target state between the first device and the second device includes a first state and a second state. The first state represents the connection between the first device and the second device, and the second state represents the disconnection between the first device and the second device. In this embodiment, the first device first needs to determine the target state between the first device and the second device.
[0031] In one possible implementation mode, the first device can be a mobile phone, tablet computer, laptop computer, conference machine, etc., and the second device can be an external display device such as a projector, external display screen, TV, etc. The first device can also be a cloud computer server, and the second device can be a mobile phone, tablet computer, laptop computer, etc., which can install a cloud computer client program and has a display device.
[0032] In one possible implementation, the first device can determine the target state by means of heartbeat detection, that is, the first device will periodically receive a heartbeat signal from the second device, the heartbeat signal is used to indicate that the second device is still active and connected to the first device, if the first device does not receive the heartbeat signal from the second device within a period of time, it is determined that the first device and the second device are disconnected; the first device can also determine the target state through TCP (Transmission Control Protocol), that is, by using the characteristics of TCP, when the first device and the second device are disconnected, the TCP connection will be terminated, and the first device will receive a corresponding disconnection signal, such as a FIN (Finish) packet or a RST (Reset) packet, thereby determining that the first device and the second device are disconnected; the first device can also determine the target state through a custom management system, the management system is used to monitor the target state between the first device and the second device, if the first device and the second device are disconnected, the first device is notified; the first device can also monitor the target state between the first device and the second device through a program corresponding to the remote desktop protocol.
[0033] Step S102, in response to the target state switching from the first state to the second state, pausing the playing of the target streaming media data in the target operating system.
[0034] In this embodiment, if the target state between the first device and the second device is switched from the first state to the second state, that is, the connection between the first device and the second device is disconnected, the playback of the target streaming media data in the target operating system of the first device is suspended. Since the target operating system of the first device may play multiple streaming media data, the image corresponding to each streaming media data may be sent to different devices including the second device. If the connection between the first device and the second device is disconnected, only the corresponding target streaming media data with the second device needs to be suspended.
[0035] In the present disclosure, if the connection between the first device and the second device is disconnected, the playback of the target streaming media data in the target operating system running in the first device is paused, and the target streaming media data is the streaming media data corresponding to the second device. Thus, after the connection between the first device and the second device is disconnected, the target operating system in the first device continues to play the target streaming media data, but the second device cannot receive the image corresponding to the target streaming media data sent by the first device, thereby causing the problem of inconsistent playback progress of the target streaming media data between the first device and the second device. This ensures the smoothness of the user watching the target streaming media data on the second device and improves the user experience.
[0036] Figure 2 A schematic diagram showing a control method according to an embodiment of the present disclosure Figure 2 ,like Figure 2 As shown, a control method includes:
[0037] Step S201, determining a target state between a first device and a second device.
[0038] Step S202, in response to the target state switching from the first state to the second state, pausing the playing of the target streaming media data in the target operating system.
[0039] The specific implementation details of step S201-step S202 are similar to those of step S101-step S102 and will not be repeated here.
[0040] Step S203, in response to the target state switching from the second state to the first state, resuming the playback of the target streaming media data in the target operating system.
[0041] In this embodiment, if the target state between the first device and the second device is switched from the second state to the first state, that is, the first device and the second device are disconnected and then reconnected, the playback of the target streaming media data in the target operating system of the first device is restored, and the image of the target streaming media data in the target operating system will be resent to the second device. At this time, the image of the target streaming media data received by the second device starts from the playback node when the connection between the first device and the second device is disconnected, thereby ensuring the smoothness of the user watching the target streaming media data on the second device and improving the user experience.
[0042] Figure 3 A schematic diagram showing a control method according to an embodiment of the present disclosure Figure 3 ,like Figure 3 As shown, a control method includes:
[0043] Step S301, determining a target state between a first device and a second device.
[0044] Step S302, in response to the target state switching from the first state to the second state, pausing the playing of the target streaming media data in the target operating system.
[0045] The specific implementation details of step S301-step S302 are similar to those of step S101-step S102 and will not be repeated here.
[0046] Step S303: Determine delay information of data transmission between the first device and the second device.
[0047] In this embodiment, if the first device and the second device are disconnected and then reconnected, considering the network delay between the first device and the second device, if the playback of the target streaming media data is resumed from the pause node of the target streaming media data, it may cause the target streaming media data received by the second device to freeze or lose frames, etc. Therefore, it is necessary to determine a reasonable recovery node for the target streaming media data to be reconnected after the first device and the second device are disconnected. To determine the recovery node, it is first necessary to determine the delay information of the data transmission between the first device and the second device. The delay information may include one of the following: delay time, jitter, bandwidth, packet loss rate, throughput and MTU (Maximum Transmission Unit). In one example, the first device can determine the delay information by periodically sending a network test packet, such as a ping request, to the second device and measuring the RTT (Round-Trip Time) during the connection with the second device. The delay information can also be determined by using a specific network monitoring tool or network service platform.
[0048] Step S304: determining a resume node based on the delay information and the playback node when the target streaming media data is paused.
[0049] In this embodiment, the recovery node, that is, the starting node for resuming the playback of the target streaming media data, can be determined based on the delay information and the playback node when the target streaming media data is paused. That is, if the delay information shows that the delay time is greater than the set threshold and the network quality is poor, the recovery node is set before the playback node when the target streaming media data is paused and away from the playback node when it is paused; if the delay information shows that the delay time is less than the set threshold and the network quality is good, the recovery node is set before the playback node when the target streaming media data is paused and close to the playback node when it is paused, or the recovery node is directly set at the playback node when it is paused.
[0050] Step S305, in response to the target state switching from the second state to the first state, the playback of the target streaming media data in the target operating system is resumed from the recovery node.
[0051] In this embodiment, if the target state between the first device and the second device is switched from the second state to the first state, that is, the first device and the second device are disconnected and then reconnected, the playback of the target streaming media data in the target operating system of the first device is restored from the recovery node, thereby reducing the delay in data transmission between the first device and the second device, further ensuring the accuracy and smoothness of the target streaming media data viewed by the user on the second device, and improving the user experience.
[0052] Figure 4 A schematic diagram showing a control method according to an embodiment of the present disclosure Figure 4 ,like Figure 4 As shown, a control method includes:
[0053] Step S401, determining a target state between a first device and a second device.
[0054] Step S402, in response to the target state switching from the first state to the second state, pausing the playing of the target streaming media data in the target operating system.
[0055] The specific implementation details of step S401-step S402 are similar to those of step S101-step S102 and are not repeated here.
[0056] If the pause duration of the target streaming media data exceeds the target threshold, step S403-step S404 is executed:
[0057] Step S403, closing the target streaming media data played in the target operating system.
[0058] In this embodiment, if the pause duration of the target streaming media data exceeds the target threshold, that is, the disconnection duration between the first device and the second device exceeds the target threshold, proving that the second device temporarily has no need to receive the image corresponding to the target streaming media data, then the target streaming media data played in the target operating system is closed, thereby reducing the memory consumption of the target operating system and indirectly improving the operating efficiency of the target operating system.
[0059] Step S404, in response to the target state switching from the second state to the first state, display prompt information.
[0060] In this embodiment, if the target state switches from the second state to the first state in response to the pause duration of the target streaming data exceeding the target threshold, that is, in response to the first device disconnecting and then reconnecting with the second device, a prompt message is displayed, and the prompt message indicates that the target streaming data has been closed. The user operating the second device can choose whether to reopen the target streaming data according to the prompt message.
[0061] If the pause duration of the target streaming media data does not exceed the target threshold, step S405 is executed: in response to the target state switching from the second state to the first state, the playing of the target streaming media data in the target operating system is resumed.
[0062] The specific implementation details of step S405 are similar to those of step S203 and will not be repeated here.
[0063] In one possible implementation, the “pausing the playback of the target streaming media data in the target operating system” in step S102 includes:
[0064] Determine target streaming media data corresponding to the second device from all streaming media data played by the target operating system; and pause the target streaming media data.
[0065] Figure 5 A schematic diagram showing the connection between the first device and the second device is shown. Figure 5As shown, the first device can be connected to the second device, the third device, and the third device at the same time. The target operating system of the first device may play multiple streaming media data, and the images corresponding to the multiple streaming media data may be sent to the second device, the third device, and the third device, respectively. If the connection between the first device and the second device is disconnected, it is only necessary to pause the target streaming media data sent by the first device to the second device, that is, the streaming media data corresponding to the second device. Therefore, it is necessary to determine the target streaming media data corresponding to the second device from all the streaming media data played by the target operating system of the first device, and then only pause the target streaming media data corresponding to the second device. In one example, when the first device responds to the target state between the first device and the second device switching from the first state to the second state, that is, responding to the disconnection of the connection between the first device and the second device, it will obtain the identifier of the second device, and can determine the target streaming media data corresponding to the second device from all the streaming media data played by the target operating system based on the identifier.
[0066] In one possible implementation, the first device is a cloud computer server. Cloud computer technology migrates the hardware resources, desktop environment, and applications that originally needed to be configured on physical devices to a remote cloud data center. In the cloud data center, a powerful cloud computer server cluster provides shared computing resources, storage space, and network bandwidth. These resources are virtualized and allocated on demand to various devices connected thereto, including the second device.
[0067] Figure 6 A schematic diagram of the structure of a control device according to an embodiment of the present disclosure is shown. Figure 6 As shown, a control device includes:
[0068] A determination module 10 is used to determine a target state between a first device and a second device, wherein a target operating system is running in the first device, and the second device receives and displays a display interface image of the first device; a response module 11 is used to respond to the target state switching from a first state to a second state, and pause the playback of target streaming media data in the target operating system; wherein the first state represents a connection between the first device and the second device, and the second state represents a disconnection between the first device and the second device.
[0069] In one possible implementation, the response module 11 is further used to: in response to the target state switching from the second state to the first state, resume playing of the target streaming media data in the target operating system.
[0070] In one possible implementation, a control device also includes a node determination module, which is used to determine the delay information of data transmission between the first device and the second device; based on the delay information and the playback node when the target streaming media data is paused, a recovery node is determined, and the recovery node is the starting node for resuming the playback of the target streaming media data.
[0071] In one possible implementation, a control device further includes a closing module, which is used to close the target streaming media data played in the target operating system if the pause duration of the target streaming media data exceeds a target threshold.
[0072] In one embodiment, the response module 11 is further configured to: if the target state is switched from the second state to the first state after the pause duration of the target streaming media data exceeds the target threshold, display a prompt message indicating that the target streaming media data has been closed.
[0073] In one possible implementation, the response module 11 is further used to: determine target streaming media data corresponding to the second device from all streaming media data played by the target operating system; and pause the target streaming media data.
[0074] In one possible implementation, a control device is applied to a first device, and the first device is a cloud computer server.
[0075] According to an embodiment of the present disclosure, the present disclosure also provides an electronic device and a readable storage medium.
[0076] Figure 7 A schematic block diagram of an example electronic device 800 that can be used to implement an embodiment of the present disclosure is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present disclosure described and / or required herein.
[0077] like Figure 7 As shown, the device 800 includes a computing unit 801, which can perform various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) 802 or a computer program loaded from a storage unit 808 into a random access memory (RAM) 803. In the RAM 803, various programs and data required for the operation of the device 800 can also be stored. The computing unit 801, the ROM 802, and the RAM 803 are connected to each other via a bus 804. An input / output (I / O) interface 805 is also connected to the bus 804.
[0078] A number of components in the device 800 are connected to the I / O interface 805, including: an input unit 806, such as a keyboard, a mouse, etc.; an output unit 807, such as various types of displays, speakers, etc.; a storage unit 808, such as a disk, an optical disk, etc.; and a communication unit 809, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 809 allows the device 800 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.
[0079] The computing unit 801 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the computing unit 801 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, digital signal processors (DSPs), and any appropriate processors, controllers, microcontrollers, etc. The computing unit 801 performs the various methods and processes described above, such as a control method. For example, in some embodiments, a control method may be implemented as a computer software program, which is tangibly contained in a machine-readable medium, such as a storage unit 808. In some embodiments, part or all of the computer program may be loaded and / or installed on the device 800 via ROM 802 and / or communication unit 809. When the computer program is loaded into RAM 803 and executed by the computing unit 801, one or more steps of a control method described above may be performed. Alternatively, in other embodiments, the computing unit 801 may be configured to perform a control method in any other appropriate manner (e.g., by means of firmware).
[0080] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0081] The program code for implementing the method of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that the program code, when executed by the processor or controller, enables the functions / operations specified in the flow chart and / or block diagram to be implemented. The program code may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.
[0082] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0083] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the computer. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).
[0084] The systems and techniques described herein may be implemented in a computing system that includes back-end components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes front-end components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such back-end components, middleware components, or front-end components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), and the Internet.
[0085] A computer system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The relationship of client and server is generated by computer programs running on respective computers and having a client-server relationship with each other. The server may be a cloud server, a server of a distributed system, or a server combined with a blockchain.
[0086] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps recorded in this disclosure can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solutions disclosed in this disclosure can be achieved, and this document does not limit this.
[0087] In addition, the terms "first" and "second" are used for description only and cannot be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In the description of the present disclosure, the meaning of "plurality" is two or more, unless otherwise clearly and specifically defined.
[0088] The above is only a specific embodiment of the present disclosure, but the protection scope of the present disclosure is not limited thereto. Any person skilled in the art who is familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present disclosure, which should be included in the protection scope of the present disclosure. Therefore, the protection scope of the present disclosure should be based on the protection scope of the claims.
Claims
1. A control method, the method comprising: Determining a target state between a first device and a second device, wherein a target operating system is running in the first device, and the second device receives and displays a display interface image of the first device; In response to the target state switching from the first state to the second state, pausing the playing of the target streaming media data in the target operating system; The first state represents that the first device is connected to the second device, and the second state represents that the first device is disconnected from the second device.
2. The method according to claim 1, further comprising: In response to the target state switching from the second state to the first state, the playback of the target streaming media data in the target operating system is resumed.
3. The method according to claim 2, before responding to the target state switching from the second state to the first state, further comprising: Determining delay information of data transmission between the first device and the second device; Based on the delay information and the playing node when the target streaming media data is paused, a resume node is determined, and the resume node is a start node for resuming the playing of the target streaming media data.
4. The method according to claim 1, further comprising: If the pause duration of the target streaming media data exceeds a target threshold, the target streaming media data played in the target operating system is closed.
5. The method according to claim 4, further comprising: If the target state is switched from the second state to the first state in response to the target state being switched from the second state to the first state after the pause duration of the target streaming media data exceeds the target threshold, prompt information is displayed, and the prompt information indicates that the target streaming media data has been closed.
6. According to the method according to any one of claims 1 to 5, pausing the playing of the target streaming media data in the target operating system comprises: Determining target streaming media data corresponding to the second device from all streaming media data played by the target operating system; Pause the target streaming media data.
7. According to the method described in any one of claims 1-5, the first device is a cloud computer server.
8. A control device, comprising: A determination module, configured to determine a target state between a first device and a second device, wherein a target operating system is running in the first device, and the second device receives and displays a display interface image of the first device; A response module, configured to pause the playing of target streaming media data in the target operating system in response to the target state switching from the first state to the second state; The first state represents that the first device is connected to the second device, and the second state represents that the first device is disconnected from the second device.
9. An electronic device, comprising: at least one processor; as well as a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method according to any one of claims 1 to 7.
10. A non-transitory computer-readable storage medium storing computer instructions for causing a computer to execute the method according to any one of claims 1 to 7.
