CN117573057A - Control method and electronic equipment - Google Patents
Control method and electronic equipment Download PDFInfo
- Publication number
- CN117573057A CN117573057A CN202311415996.8A CN202311415996A CN117573057A CN 117573057 A CN117573057 A CN 117573057A CN 202311415996 A CN202311415996 A CN 202311415996A CN 117573057 A CN117573057 A CN 117573057A
- Authority
- CN
- China
- Prior art keywords
- cloud device
- cloud
- control signal
- local
- list
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 126
- 238000004891 communication Methods 0.000 claims abstract description 56
- 230000015654 memory Effects 0.000 claims description 36
- 238000004590 computer program Methods 0.000 claims description 9
- 238000010586 diagram Methods 0.000 description 14
- 230000001360 synchronised effect Effects 0.000 description 9
- 238000012545 processing Methods 0.000 description 6
- 230000005291 magnetic effect Effects 0.000 description 4
- 238000013507 mapping Methods 0.000 description 4
- 238000012544 monitoring process Methods 0.000 description 4
- 230000003068 static effect Effects 0.000 description 4
- 235000019800 disodium phosphate Nutrition 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 238000006467 substitution reaction Methods 0.000 description 2
- 238000003491 array Methods 0.000 description 1
- 230000005294 ferromagnetic effect Effects 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 238000003672 processing method Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/16—Sound input; Sound output
- G06F3/165—Management of the audio stream, e.g. setting of volume, audio stream path
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Multimedia (AREA)
- Health & Medical Sciences (AREA)
- Audiology, Speech & Language Pathology (AREA)
- General Health & Medical Sciences (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Stored Programmes (AREA)
Abstract
The application provides a control method, which comprises the following steps: establishing communication connection with a cloud device, and sending a control signal to the cloud device through a local device based on the communication connection, so that the cloud device adjusts the current state of a target object on the cloud device based on the control signal. Meanwhile, the application also provides electronic equipment.
Description
Technical Field
The application relates to a control method and electronic equipment.
Background
After the local device establishes communication connection with the cloud device, the state of the target object cannot be adjusted in the cloud device.
Disclosure of Invention
In view of this, it is desirable to provide a control method and an electronic device.
In order to achieve the above purpose, the technical scheme of the application is realized as follows:
according to an aspect of the present application, there is provided a control method including:
establishing communication connection with a cloud device, and sending a control signal to the cloud device through a local device based on the connection, so that the cloud device adjusts the current state of a target object on the cloud device based on the control signal.
In the above method, the sending, by the local device, a control signal to the cloud device based on the connection, so that the cloud device adjusts the current state of the target object on the cloud device based on the control signal, including:
transmitting a control signal for a target virtual input/output device in the cloud device to the cloud device based on the connection; and the cloud device adjusts the current state of a target virtual input/output device on the cloud device based on the control signal, wherein the target virtual input/output device corresponds to the target input/output device on the local device.
In the above method, the control signal for the target virtual input/output device in the cloud device is sent to the cloud device based on the communication connection; the cloud device adjusts the current state of a target virtual input/output device on the cloud device based on the control signal, wherein the current state comprises;
transmitting a list of input/output devices on the local device to the cloud device based on the communication connection; the cloud device creates a corresponding virtual input/output device list on the cloud device based on the input/output device list;
receiving an adjustment event monitored by the cloud device based on the virtual input/output device list;
and adjusting the current state of the target input/output device in the local device based on the adjustment event.
In the above method, the sending, by the local device, a control signal to the cloud device based on the connection, so that the cloud device adjusts the current state of the target object on the cloud device based on the control signal, including:
transmitting a control signal aiming at a target application in the cloud device to the cloud device based on the communication connection; and enabling the cloud device to adjust the current state of the target application on the cloud device based on the control signal.
In the above method, the control signal for the target application in the cloud device is sent to the cloud device based on the communication connection; the cloud device adjusts the current state of the target application on the cloud device based on the control signal, including:
acquiring an application list in an operation state on the cloud device based on the communication connection;
creating a volume list corresponding to an application process in the application list on a local device;
and sending a control signal aiming at a target application on the cloud device to the cloud device based on the volume list, so that the cloud device adjusts the current volume of the target application based on the control signal.
The method further comprises the steps of:
transmitting an application list in an operation state on the local equipment to the cloud equipment based on the communication connection; the cloud device is enabled to create a corresponding process list on the cloud device based on the application list;
receiving a control signal sent by the cloud device based on the process list;
and adjusting the current state of the target application on the local equipment based on the control signal.
According to another aspect of the present application, there is provided a control method including:
the cloud device establishes communication connection with the local device, and receives a control signal sent by the local device based on the connection;
and adjusting the current state of the target object on the cloud device based on the control signal.
In the above method, the adjusting the current state of the target object on the cloud device based on the control signal includes one of:
adjusting the current state of a target virtual input/output device on the cloud device based on the control signal; wherein the target virtual input/output device corresponds to a target input/output device on the local device;
and adjusting the current state of the target application on the cloud device based on the control signal.
The method further comprises the steps of:
receiving an application list which is sent by the local equipment and is in a running state on the local equipment based on the communication connection;
creating a corresponding process list on the cloud device based on the application list;
and if the adjustment event is monitored based on the process list, sending a control signal to the local equipment, so that the local equipment adjusts the current state of the target application on the local equipment based on the control signal.
According to a third aspect of the present application, there is provided an electronic device comprising: a processor and a memory for storing a computer program capable of running on the processor,
wherein the processor is configured to execute any one of the method steps of the control method described above when the computer program is run.
According to the control method and the electronic device, communication connection is established between the device and the cloud device, a control signal is sent to the cloud device based on the communication connection, and accordingly the cloud device adjusts the current state of a target object on the cloud device based on the control signal. Therefore, the purpose of adjusting the state of the target object on the cloud device can be achieved.
Drawings
FIG. 1 is a schematic diagram of a control method according to the first embodiment of the present application;
FIG. 2 is a schematic diagram II of a control method in the present application;
FIG. 3 is a schematic diagram III of a flow implementation of the control method of the present application;
FIG. 4 is a schematic diagram of the structural composition of the electronic device in the present application;
FIG. 5 is a schematic diagram of the structural components of the local device in the present application;
fig. 6 is a schematic structural diagram of a cloud device in the present application;
fig. 7 is a schematic structural diagram of the control system in the present application.
Detailed Description
For the purposes of making the objects, technical solutions and advantages of the present application more apparent, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application, and it is apparent that the described embodiments are only some embodiments of the present application, but not all embodiments. All other embodiments, which can be made by one of ordinary skill in the art without undue burden from the present disclosure, are within the scope of the present disclosure. Embodiments and features of embodiments in this application may be combined with each other arbitrarily without conflict. The steps illustrated in the flowchart of the figures may be performed in a computer system, such as a set of computer-executable instructions. Also, while a logical order is depicted in the flowchart, in some cases, the steps depicted or described may be performed in a different order than presented herein.
The technical scheme of the application is further elaborated below with reference to the drawings in the specification and the specific embodiments.
Fig. 1 is a schematic diagram of a flow implementation of a control method in the present application, where the method may be applied to a local device, and the local device includes, but is not limited to, a terminal such as a computer, a mobile phone, a tablet, and the like. As shown in fig. 1, includes:
step 101, establishing communication connection with a cloud device, and sending a control signal to the cloud device through a local device based on the connection, so that the cloud device adjusts the current state of a target object on the cloud device based on the control signal.
Here, the cloud device may be a remote device that is remotely connected to a local device, including but not limited to a computer, a mobile phone, a tablet, a server, etc.
In one implementation, an application program may be run on the cloud device, and the local device may control the cloud device to adjust a current state of the application program by sending a control signal to the cloud device.
Such as adjusting the running state, presentation state, etc. of the application.
In another implementation, the cloud device may have an input/output device, such as a microphone and a speaker, and the local device may control the cloud device to adjust the current state of the microphone and/or the speaker by sending a control signal to the cloud device.
For example, the volume level, the operating state, etc. of the microphone and/or the speaker are adjusted.
According to the control method, communication connection is established between the cloud device and the cloud device, a control signal is sent to the cloud device based on the communication connection, and therefore the cloud device adjusts the current state of a target object on the cloud device based on the control signal. Therefore, the purpose of adjusting the state of the target object on the cloud device can be achieved.
In the application, when the local device sends a control signal to the cloud device through the local device based on the connection, so that the cloud device adjusts the current state of a target object on the cloud device based on the control signal, the local device may also send a control signal for a target virtual input/output device in the cloud device to the cloud device based on the connection; and the cloud device adjusts the current state of a target virtual input/output device on the cloud device based on the control signal, wherein the target virtual input/output device corresponds to the target input/output device on the local device.
Here, the local device may first obtain its own i/o device information, generate an i/o device list based on the i/o device information, and then send the i/o device list on the local device to the cloud device based on the communication connection; the cloud device creates a corresponding virtual input/output device list on the cloud device based on the input/output device list; when a user performs switching operation on the cloud device through the local device for the virtual input/output device in the virtual input/output device list, the cloud device can monitor an adjustment event for the virtual input/output device and send the adjustment event to the local device, and the local device receives the adjustment event monitored by the cloud device based on the virtual input/output device list; and may adjust the current state of the target input/output device in the local device based on the adjustment event.
Here, the input/output devices in the local device may have a plurality of devices including, but not limited to, microphones, speakers, external headphones, microphones, and the like integrated with the device itself. The virtual input/output device list created by the cloud device may also include a plurality of virtual input/output devices corresponding to the input/output devices in the local device.
Fig. 2 is a schematic diagram two of a flow implementation of a control method in the present application, as shown in fig. 2, where the method includes:
201. after the local computer establishes connection with the cloud computer through a remote desktop protocol (RDP, remote Desktop Protocol), a client of the local computer calls windows api to inquire a local audio equipment list and sends the local audio equipment list to the cloud computer;
202. the agent program agent in the cloud computer establishes a corresponding virtual audio equipment list in the cloud computer according to the audio equipment list;
203. when the agent in the cloud computer monitors that the user switches the audio equipment in the cloud computer, sending the adjusting event to the local computer;
204. and the client of the local computer switches the local audio equipment according to the adjustment event, so that the virtual audio equipment on the cloud computer is also switched.
According to the method and the device, the device list of the local device is sent to the cloud device, so that the cloud device creates a virtual device list corresponding to the device list in the cloud device, the cloud device monitors the device adjustment event of the virtual device list, the device adjustment event is sent to the local device after the device adjustment event is monitored, and the state adjustment of the corresponding virtual device in the cloud device is achieved through the adjustment of the target device on the local device by the local device. Therefore, when a plurality of virtual devices exist in the virtual device list of the cloud device, the state of the single virtual device in the cloud device can be adjusted.
In the application, when the local device sends a control signal to the cloud device through the local device based on the connection, so that the cloud device adjusts the current state of the target object on the cloud device based on the control signal, the local device may also send a control signal for the target application in the cloud device to the cloud device based on the communication connection; and enabling the cloud device to adjust the current state of the target application on the cloud device based on the control signal.
Here, after the local device establishes communication connection with the cloud device, the local device may acquire an application list in an operation state on the cloud device based on the communication connection; creating a volume list corresponding to an application process in the application list on the local equipment; and sending a control signal aiming at a target application on the cloud device to the cloud device based on the volume list, so that the cloud device adjusts the current volume of the target application based on the control signal.
For example, after the local computer is connected with the cloud computer through RDP, each time the user opens an application in the cloud computer, the client of the cloud computer can send the application information to the local computer, and based on the application information, a corresponding volume process is created on the local computer and registered in a local volume synthesizer of the local computer. When a user adjusts the volume of a target application in the cloud computer in a volume synthesizer of the local computer, a client of the cloud computer can monitor the volume change of a corresponding process, so that a agent in the cloud computer is informed to adjust the volume of the target application.
According to the control method, the application list of the cloud device is obtained, the corresponding volume process list is created in the local device, and the volume control of a single application in the cloud device can be achieved by controlling the target volume process in the local device.
In the application, after the local device and the cloud device establish communication connection, the local device can also send an application list in an operation state on the local device to the cloud device based on the communication connection; the cloud device is enabled to create a corresponding process list on the cloud device based on the application list; receiving a control signal sent by the cloud device based on the process list; and adjusting the current state of the target application on the local equipment based on the control signal.
For example, after the local computer establishes a connection with the cloud computer through RDP, based on the connection, an application list opened on the local computer can be sent to the cloud computer, a agent in the cloud computer can create a volume process for each application in the application list and register the volume process to a volume synthesizer of the cloud computer, when a user adjusts the volume of a certain volume process in the volume synthesizer of the cloud computer through the local computer, the agent of the cloud computer can monitor the volume change of the corresponding process and send the adjustment event to the local computer, and the local computer adjusts the volume of a local target application based on the adjustment event.
According to the control method, the application list of the local equipment is obtained, the corresponding volume process list is created in the cloud equipment, and the volume control of a single application in the local equipment through the cloud equipment can be achieved by monitoring the adjusting event of the target volume process in the cloud equipment and informing the local equipment.
Fig. 3 is a schematic diagram three of a flow implementation of a control method in the present application, as shown in fig. 3, where the method includes:
step 301, a cloud device establishes a communication connection with a local device, and receives a control signal sent by the local device based on the communication connection;
here, the cloud device and the local device may establish a communication connection through a remote desktop protocol.
Step 302, adjusting a current state of a target object on the cloud device based on the control signal.
Here, the cloud device may adjust the current state of the target application on the cloud device based on the control signal sent by the local device, and may also adjust the current state of the target virtual input/output device on the cloud device, where the target virtual input/output device corresponds to the target input/output device on the local device.
In the application, when the cloud device adjusts the current state of the target virtual input/output device on the cloud device based on the control signal, the input/output device list on the local device sent by the local device may be received based on the communication connection; then creating a corresponding virtual input/output device list on the cloud device based on the input/output device list; if a throttling event is monitored based on the virtual input/output device list; and sending a control signal to the local equipment so that the local equipment adjusts the current state of the target input/output equipment in the local equipment based on the control signal.
Here, input/output devices include, but are not limited to, external headphones, external or internal microphones, external or internal speakers, external microphones, and the like. According to the method and the device, the local equipment list of the local equipment is obtained, the corresponding virtual equipment list is created in the cloud equipment, and the local target equipment is subjected to state adjustment on the local equipment, so that the adjustment on the target equipment in the cloud equipment is realized. Therefore, when a plurality of virtual devices exist in the virtual device list of the cloud device, the state of a single virtual device in the cloud device can be adjusted through the local device.
In the application, when the cloud device adjusts the current state of the target application on the cloud device based on the control signal, the cloud device may also send an application list in an operation state on the cloud device to the local device based on the communication connection; the local equipment creates a volume list corresponding to an application process in the application list; receiving a control signal which is sent by the local equipment and aims at a target application on the cloud equipment based on the volume list; and adjusting the current volume of the target application based on the control signal.
For example, after the local computer is connected with the cloud computer through RDP, each time the user opens an application in the cloud computer, the client of the cloud computer can send the application information to the local computer, and based on the application information, a corresponding volume process is created on the local computer and registered in a local volume synthesizer of the local computer. When a user adjusts the volume of a target application in the cloud computer in a volume synthesizer of the local computer, a client of the cloud computer can monitor the volume change of a corresponding process, so that a agent in the cloud computer is informed to adjust the volume of the target application.
According to the control method, the application list of the cloud device is obtained, the corresponding volume process list is created in the local device, and the volume control of a single application in the cloud device can be achieved by controlling the target volume process in the local device.
In the application, after the cloud device and the local device establish communication connection, the cloud device can also receive an application list in an operation state on the local device, which is sent by the local device, based on the communication connection; creating a corresponding process list on the cloud device based on the application list; and if the adjustment event is monitored based on the process list, sending a control signal to the local equipment, so that the local equipment adjusts the current state of the target application on the local equipment based on the control signal.
For example, after the local device and the cloud device are both computers, the local computer establishes connection with the cloud computer through RDP, an application list opened on the local computer can be sent to the cloud computer based on the connection, after the cloud computer receives the application list, a volume process can be created for each application in the application list through a agent in the cloud computer and registered to a volume synthesizer of the cloud computer, when a user adjusts the volume of a certain volume process in the volume synthesizer of the cloud computer through the local computer, the agent of the cloud computer can monitor the volume change of a corresponding process and send an adjustment event to the local computer, and the local computer adjusts the volume of a local target application based on the adjustment event.
According to the control method, the application list of the local equipment is obtained, the corresponding volume process list is created in the cloud equipment, and the volume control of a single application in the local equipment through the cloud equipment can be achieved by monitoring the adjusting event of the target volume process in the cloud equipment and informing the local equipment.
Fig. 4 is a schematic structural diagram of an electronic device in the present application, as shown in fig. 4, where the electronic device includes: a processor and a memory for storing a computer program capable of running on the processor, wherein the processor is adapted to perform any of the method steps of the control method described above when the computer program is run.
Here, the electronic device 400 may be a mobile phone, a computer, a digital broadcasting terminal, an information transceiving device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, or the like. The electronic device 400 shown in fig. 4 includes: at least one processor 401, a memory 402, at least one network interface 404, and a user interface 403. The various components in electronic device 400 are coupled together by bus system 405. It is understood that the bus system 405 is used to enable connected communications between these components. The bus system 405 includes a power bus, a control bus, and a status signal bus in addition to a data bus. But for clarity of illustration the various buses are labeled as bus system 405 in fig. 4.
The user interface 403 may include, among other things, a display, keyboard, mouse, trackball, click wheel, keys, buttons, touch pad, or touch screen, etc.
It is to be appreciated that memory 402 can be either volatile memory or nonvolatile memory, and can include both volatile and nonvolatile memory. Wherein the nonvolatile Memory may be Read Only Memory (ROM), programmable Read Only Memory (PROM, programmable Read-Only Memory), erasable programmable Read Only Memory (EPROM, erasable Programmable Read-Only Memory), electrically erasable programmable Read Only Memory (EEPROM, electrically Erasable Programmable Read-Only Memory), magnetic random access Memory (FRAM, ferromagnetic random access Memory), flash Memory (Flash Memory), magnetic surface Memory, optical disk, or compact disk Read Only Memory (CD-ROM, compact Disc Read-Only Memory); the magnetic surface memory may be a disk memory or a tape memory. The volatile memory may be random access memory (RAM, random Access Memory), which acts as external cache memory. By way of example, and not limitation, many forms of RAM are available, such as static random access memory (SRAM, static Random Access Memory), synchronous static random access memory (SSRAM, synchronous Static Random Access Memory), dynamic random access memory (DRAM, dynamic Random Access Memory), synchronous dynamic random access memory (SDRAM, synchronous Dynamic Random Access Memory), double data rate synchronous dynamic random access memory (ddr SDRAM, double Data Rate Synchronous Dynamic Random Access Memory), enhanced synchronous dynamic random access memory (ESDRAM, enhanced Synchronous Dynamic Random Access Memory), synchronous link dynamic random access memory (SLDRAM, syncLink Dynamic Random Access Memory), direct memory bus random access memory (DRRAM, direct Rambus Random Access Memory). The memory 402 described in embodiments of the present application is intended to comprise, without being limited to, these and any other suitable types of memory.
The memory 402 in the present embodiment is used to store various types of data to support the operation of the electronic device 400. Examples of such data include: any computer programs for operation on electronic device 400, such as operating system 4021 and application programs 4022; contact data; telephone book data; a message; a picture; audio, etc. The operating system 4021 includes various system programs, such as a framework layer, a core library layer, a driver layer, and the like, for implementing various basic services and processing hardware-based tasks. The application programs 4022 may include various application programs such as a Media Player (Media Player), a Browser (Browser), and the like for implementing various application services. A program for implementing the method of the embodiment of the present application may be included in the application program 4022.
The method disclosed in the embodiments of the present application may be applied to the processor 401 or implemented by the processor 401. The processor 401 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware in the processor 401 or by instructions in the form of software. The processor 401 described above may be a general purpose processor, a digital signal processor (DSP, digital Signal Processor), or other programmable logic device, discrete gate or transistor logic device, discrete hardware components, or the like. The processor 401 may implement or perform the methods, steps, and logic blocks disclosed in the embodiments of the present application. The general purpose processor may be a microprocessor or any conventional processor or the like. The steps of the method disclosed in the embodiments of the present application may be directly embodied in a hardware decoding processor or implemented by a combination of hardware and software modules in the decoding processor. The software module may be located in a storage medium located in the memory 402, the processor 401 reading information in the memory 402, in combination with its hardware performing the steps of the method described above.
In an exemplary embodiment, the electronic device 400 may be implemented by one or more application specific integrated circuits (ASIC, application Specific Integrated Circuit), DSPs, programmable logic devices (PLD, programmable Logic Device), complex programmable logic devices (CPLD, complex Programmable Logic Device), field-programmable gate arrays (FPGA, field-Programmable Gate Array), general purpose processors, controllers, microcontrollers (MCU, micro Controller Unit), microprocessors (Microprocessor), or other electronic components for performing the aforementioned methods.
In an exemplary embodiment, the present application also provides a computer readable storage medium, such as a memory 402, comprising a computer program executable by the processor 401 of the electronic device 400 to perform the steps of the aforementioned method. The computer readable storage medium may be FRAM, ROM, PROM, EPROM, EEPROM, flash Memory, magnetic surface Memory, optical disk, or CD-ROM; but may be a variety of devices including one or any combination of the above-described memories, such as a mobile phone, computer, tablet device, personal digital assistant, or the like.
A computer readable storage medium having stored thereon a computer program which, when executed by a processor, performs any of the method steps of the above-described processing method.
Fig. 5 is a schematic structural diagram of a local device in the present application, as shown in fig. 5, where the local device includes:
an establishing unit 501, configured to establish a communication connection with a cloud device;
a sending unit 502, configured to send a control signal to the cloud device through a local device based on the communication connection;
the control unit 503 is configured to adjust a current state of a target object on the cloud device based on the control signal.
Here, the sending unit 502 may send, to the cloud device, a control signal for a target virtual input/output device in the cloud device based on the communication connection; and the cloud device adjusts the current state of a target virtual input/output device on the cloud device based on the control signal, wherein the target virtual input/output device corresponds to the target input/output device on the local device.
In a preferred embodiment, the local device further includes: a receiving unit 504;
the sending unit 502 is further configured to send, to the cloud device, an input/output device list on the local device based on the communication connection; the cloud device creates a corresponding virtual input/output device list on the cloud device based on the input/output device list; the receiving unit 504 is configured to receive an adjustment event that the cloud device monitors based on the virtual input/output device list; the control unit 503 is configured to adjust a current state of a target input/output device in the local device based on the adjustment event.
In this application, the sending unit 502 is further configured to send, to the cloud device, a control signal for a target application in the cloud device based on the communication connection; and enabling the cloud device to adjust the current state of the target application on the cloud device based on the control signal.
In a preferred embodiment, the local device further includes: an acquisition unit 505;
the acquiring unit 505 is configured to acquire an application list in an running state on the cloud device based on the communication connection;
a building unit 501, configured to create a volume list corresponding to an application process in the application list on a local device;
the sending unit 502 is configured to send, to the cloud device, a control signal for a target application on the cloud device based on the volume list, so that the cloud device adjusts a current volume of the target application based on the control signal.
In a preferred solution, the sending unit 502 is further configured to send, to the cloud device, an application list in an running state on the local device based on the communication connection; the cloud device is enabled to create a corresponding process list on the cloud device based on the application list;
the receiving unit 504 is further configured to receive a control signal sent by the cloud device based on the process list;
the control unit 503 is further configured to adjust a current state of the target application on the local device based on the control signal.
It should be noted that: in the control of the cloud device by the local device according to the above embodiment, only the division of each program module is used for illustration, and in practical application, the processing allocation may be performed by different program modules according to needs, that is, the internal structure of the device is divided into different program modules, so as to complete all or part of the processing described above. In addition, the local device provided in the above embodiment and the method embodiment provided in fig. 1 belong to the same concept, and the specific implementation process of the local device is detailed in the method embodiment, which is not repeated herein.
Fig. 6 is a schematic structural diagram of a cloud device in the present application, as shown in fig. 6, the cloud device includes:
an establishing unit 601, configured to establish a communication connection with a local device;
a receiving unit 602, configured to receive a control signal sent by the local device based on the communication connection;
and the adjusting unit 603 is configured to adjust a current state of the target object on the cloud device based on the control signal.
In a preferred embodiment, the adjusting unit 603 is configured to adjust a current state of a target virtual input/output device on the cloud device based on the control signal; wherein the target virtual input/output device corresponds to a target input/output device on the local device;
in a preferred embodiment, the adjusting unit 603 is configured to adjust a current state of a target application on the cloud device based on the control signal.
In a preferred embodiment, the cloud device further includes: a listening unit 604 and a transmitting unit 605;
wherein the receiving unit 602 is further configured to receive, based on the connection, a list of input/output devices on the local device sent by the local device; the establishing unit 601 is further configured to create a corresponding virtual input/output device list on the cloud device based on the input/output device list;
a monitoring unit 604, configured to monitor an adjustment event based on the virtual input/output device list;
a sending unit 605, configured to, if an adjustment event is monitored based on the virtual input output device list; and sending a control signal to the local equipment so that the local equipment adjusts the current state of the target input/output equipment in the local equipment based on the control signal.
In a preferred embodiment, the sending unit 605 is further configured to send, to the local device, an application list in an running state on the cloud device based on the communication connection; the local equipment creates a volume list corresponding to an application process in the application list;
the receiving unit 602 is further configured to receive a control signal sent by the local device for a target application on the cloud device based on the volume list;
the adjusting unit 603 is further configured to adjust a current volume of the target application based on the control signal.
In a preferred embodiment, the receiving unit 602 is further configured to receive, based on the communication connection, an application list that is sent by the local device and is in a running state on the local device;
the establishing unit 601 is further configured to create a corresponding process list on the cloud device based on the application list;
the monitoring unit 604 is further configured to monitor for a tuning event based on the process list;
the sending unit 605 is further configured to send a control signal to the local device if an adjustment event is monitored based on the process list, so that the local device adjusts the current state of the target application on the local device based on the control signal.
It should be noted that: in the control of the cloud device by the local device according to the above embodiment, only the division of each program module is used for illustration, and in practical application, the processing allocation may be performed by different program modules according to needs, that is, the internal structure of the device is divided into different program modules, so as to complete all or part of the processing described above. In addition, the local device provided in the above embodiment and the method embodiment provided in fig. 3 belong to the same concept, and the specific implementation process of the local device is detailed in the method embodiment, which is not repeated herein.
Fig. 7 is a schematic structural diagram of a control system in the present application, as shown in fig. 7, where the control system includes:
the cloud client 7011 in the local device 701 calls a volume synthesizer 7012 of the local device 701 to obtain a process list of the local device 701 and sends the process list to the cloud device 702; agent7021 in cloud device 702 calls volume synthesizer 7022 of itself to obtain a process list of itself, and sends the process list to local device 701;
the cloud client 7011 creates a corresponding volume process according to the process list sent by the cloud device 702, and invokes the volume synthesizer 7012 to register the mapping relation between the application of the cloud device 702 and the volume process; agent7021 creates a volume process according to the process list sent by local device 701, and invokes volume synthesizer 7022 to register the mapping relationship between the application of local device 701 and the volume process;
cloud client 7011 and agent7021 each listen for their own volume synthesizer events. When the cloud client 7011 monitors that the user adjusts the volume of the mapping process in the local device 701, sending a volume setting parameter corresponding to the volume adjustment event to the cloud device 702; when the agent7021 monitors that the user adjusts the volume of the mapping process in the cloud device 702, sending a volume setting parameter corresponding to the volume adjustment event to the local device 701;
after receiving the volume setting parameter sent by the cloud device 702, the cloud client 7011 invokes the volume adjuster 7012 to set the volume of the corresponding process. After receiving the volume setting parameter sent by the local device 701, the Agent7021 invokes the volume adjuster 7022 to set the volume of the corresponding process.
Through the control system provided by the application, a user can adjust the volume applied in the cloud computer in the volume synthesizer of the local computer, and can also adjust the volume applied in the local computer in the volume synthesizer of the cloud computer.
It should be noted that: the control system provided in the above embodiment belongs to the same concept as the method embodiment provided in fig. 1 and 3, and the specific implementation process is detailed in the method embodiment, which is not repeated here.
In the several embodiments provided in this application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The above described device embodiments are only illustrative, e.g. the division of the units is only one logical function division, and there may be other divisions in practice, such as: multiple units or components may be combined or may be integrated into another system, or some features may be omitted, or not performed. In addition, the various components shown or discussed may be coupled or directly coupled or communicatively coupled to each other via some interface, whether indirectly coupled or communicatively coupled to devices or units, whether electrically, mechanically, or otherwise.
The units described as separate units may or may not be physically separate, and units displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units; some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
The methods disclosed in the several method embodiments provided in the present application may be arbitrarily combined without collision to obtain a new method embodiment.
The features disclosed in the several product embodiments provided in the present application may be combined arbitrarily without conflict to obtain new product embodiments.
The features disclosed in the several method or apparatus embodiments provided in the present application may be arbitrarily combined without conflict to obtain new method embodiments or apparatus embodiments.
The foregoing is merely specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily think about changes or substitutions within the technical scope of the present application, and the changes and substitutions are intended to be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.
Claims (10)
1. A control method, comprising:
establishing communication connection with a cloud device, and sending a control signal to the cloud device through a local device based on the communication connection, so that the cloud device adjusts the current state of a target object on the cloud device based on the control signal.
2. The method of claim 1, the sending, by the local device, a control signal to the cloud device based on the communication connection, so that the cloud device adjusts a current state of a target object on the cloud device based on the control signal, including:
transmitting a control signal for a target virtual input/output device in the cloud device to the cloud device based on the communication connection; and the cloud device adjusts the current state of a target virtual input/output device on the cloud device based on the control signal, wherein the target virtual input/output device corresponds to the target input/output device on the local device.
3. The method of claim 2, the sending control signals for a target virtual input/output device in the cloud device to the cloud device based on the communication connection; the cloud device adjusts the current state of a target virtual input/output device on the cloud device based on the control signal, wherein the current state comprises;
transmitting a list of input/output devices on the local device to the cloud device based on the communication connection; the cloud device creates a corresponding virtual input/output device list on the cloud device based on the input/output device list;
receiving an adjustment event monitored by the cloud device based on the virtual input/output device list;
and adjusting the current state of the target input/output device in the local device based on the adjustment event.
4. The method of claim 1, the sending, by the local device, a control signal to the cloud device based on the communication connection, so that the cloud device adjusts a current state of a target object on the cloud device based on the control signal, including:
transmitting a control signal aiming at a target application in the cloud device to the cloud device based on the communication connection; and enabling the cloud device to adjust the current state of the target application on the cloud device based on the control signal.
5. The method of claim 4, the sending, to the cloud device, a control signal for a target application in the cloud device based on the communication connection; the cloud device adjusts the current state of the target application on the cloud device based on the control signal, including:
acquiring an application list in an operation state on the cloud device based on the communication connection;
creating a volume list corresponding to an application process in the application list on a local device;
and sending a control signal aiming at a target application on the cloud device to the cloud device based on the volume list, so that the cloud device adjusts the current volume of the target application based on the control signal.
6. The method of claim 1, further comprising:
transmitting an application list in an operation state on the local equipment to the cloud equipment based on the communication connection; the cloud device is enabled to create a corresponding process list on the cloud device based on the application list;
receiving a control signal sent by the cloud device based on the process list;
and adjusting the current state of the target application on the local equipment based on the control signal.
7. A control method, comprising:
the cloud device establishes communication connection with the local device, and receives a control signal sent by the local device based on the communication connection;
and adjusting the current state of the target object on the cloud device based on the control signal.
8. The method of claim 7, wherein adjusting the current state of the target object on the cloud device based on the control signal comprises one of:
adjusting the current state of a target virtual input/output device on the cloud device based on the control signal; wherein the target virtual input/output device corresponds to a target input/output device on the local device;
and adjusting the current state of the target application on the cloud device based on the control signal.
9. The method of claim 7, further comprising:
receiving an application list which is sent by the local equipment and is in a running state on the local equipment based on the communication connection;
creating a corresponding process list on the cloud device based on the application list;
and if the adjustment event is monitored based on the process list, sending a control signal to the local equipment, so that the local equipment adjusts the current state of the target application on the local equipment based on the control signal.
10. An electronic device, comprising: a processor and a memory for storing a computer program capable of running on the processor,
wherein the processor is adapted to execute any of the method steps of the control method of any of claims 1 to 9 when the computer program is run.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311415996.8A CN117573057A (en) | 2023-10-27 | 2023-10-27 | Control method and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311415996.8A CN117573057A (en) | 2023-10-27 | 2023-10-27 | Control method and electronic equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN117573057A true CN117573057A (en) | 2024-02-20 |
Family
ID=89887164
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202311415996.8A Pending CN117573057A (en) | 2023-10-27 | 2023-10-27 | Control method and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN117573057A (en) |
-
2023
- 2023-10-27 CN CN202311415996.8A patent/CN117573057A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP2749988B1 (en) | Method and device for application program operation, mobile terminal | |
WO2020211766A1 (en) | Audio processing method, circuit and terminal | |
CN112822431B (en) | Method and equipment for private audio and video call | |
CN110799936B (en) | Volume adjusting method, volume adjusting device, terminal equipment and storage medium | |
EP3671747A1 (en) | Sound volume adjustment method and apparatus, mobile terminal, and storage medium | |
CN111371695B (en) | Service flow limiting method and device | |
CN112188342B (en) | Equalization parameter determining method, apparatus, electronic device and storage medium | |
WO2024109786A1 (en) | Instant messaging session information processing method and apparatus, and electronic device | |
KR20210150326A (en) | Audio data processing method, device, apparatus, and storage medium and computer program | |
CN105022297A (en) | Sound box parameter configuration method, mobile terminal, server and system | |
CN106506646B (en) | Control method and device of playing equipment, mobile terminal and playing system | |
WO2020097927A1 (en) | Call control method and device, computer-readable storage medium and electronic device | |
KR102627012B1 (en) | Electronic device and method for controlling operation thereof | |
CN117573057A (en) | Control method and electronic equipment | |
WO2023165320A1 (en) | Playback parameter configuration method and device | |
KR20150084192A (en) | Apparatus And Method For Providing Sound | |
CN111405026B (en) | Method and device for synchronously controlling volumes of android mobile phone and cloud mobile phone | |
JP2024534274A (en) | Vibration motor control method, vibration motor control device, storage medium, and electronic device | |
CN112307161B (en) | Method and apparatus for playing audio | |
CN110753919B (en) | Volume adjusting method and device, storage medium and mobile terminal | |
CN113892080A (en) | Device aggregation representing multiple endpoints as one endpoint | |
CN113852780B (en) | Audio data processing method and electronic equipment | |
CN104967771B (en) | A kind of method and mobile terminal controlling camera | |
WO2022213712A1 (en) | Volume synchronization method and apparatus, and electronic device and storage medium | |
CN114726830B (en) | Voice service access method, system and vehicle |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |