WO2024131661A1 - 设备管理方法及电子设备 - Google Patents
设备管理方法及电子设备 Download PDFInfo
- Publication number
- WO2024131661A1 WO2024131661A1 PCT/CN2023/139085 CN2023139085W WO2024131661A1 WO 2024131661 A1 WO2024131661 A1 WO 2024131661A1 CN 2023139085 W CN2023139085 W CN 2023139085W WO 2024131661 A1 WO2024131661 A1 WO 2024131661A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- event
- screen
- local
- reverse control
- input
- Prior art date
Links
- 238000007726 management method Methods 0.000 title claims description 51
- 238000000034 method Methods 0.000 claims abstract description 151
- 230000005540 biological transmission Effects 0.000 claims abstract description 9
- 230000002441 reversible effect Effects 0.000 claims description 155
- 238000012545 processing Methods 0.000 claims description 81
- 230000008569 process Effects 0.000 claims description 50
- 238000007667 floating Methods 0.000 claims description 44
- 230000001960 triggered effect Effects 0.000 claims description 31
- 230000015654 memory Effects 0.000 claims description 25
- 230000004044 response Effects 0.000 claims description 22
- 238000004590 computer program Methods 0.000 claims description 10
- 230000006870 function Effects 0.000 description 44
- 238000004891 communication Methods 0.000 description 39
- 230000006854 communication Effects 0.000 description 39
- 238000010586 diagram Methods 0.000 description 17
- 230000003993 interaction Effects 0.000 description 17
- 230000005236 sound signal Effects 0.000 description 13
- 238000010295 mobile communication Methods 0.000 description 11
- 210000000988 bone and bone Anatomy 0.000 description 10
- 230000000694 effects Effects 0.000 description 8
- 101001121408 Homo sapiens L-amino-acid oxidase Proteins 0.000 description 4
- 101000827703 Homo sapiens Polyphosphoinositide phosphatase Proteins 0.000 description 4
- 102100026388 L-amino-acid oxidase Human genes 0.000 description 4
- 102100023591 Polyphosphoinositide phosphatase Human genes 0.000 description 4
- 101100233916 Saccharomyces cerevisiae (strain ATCC 204508 / S288c) KAR5 gene Proteins 0.000 description 4
- 230000009471 action Effects 0.000 description 4
- 230000033001 locomotion Effects 0.000 description 4
- 229920001621 AMOLED Polymers 0.000 description 3
- 101100012902 Saccharomyces cerevisiae (strain ATCC 204508 / S288c) FIG2 gene Proteins 0.000 description 3
- 230000001133 acceleration Effects 0.000 description 3
- 238000013528 artificial neural network Methods 0.000 description 3
- 230000000903 blocking effect Effects 0.000 description 3
- 238000012790 confirmation Methods 0.000 description 3
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 238000013500 data storage Methods 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 3
- 239000010985 leather Substances 0.000 description 3
- 230000003287 optical effect Effects 0.000 description 3
- 230000002093 peripheral effect Effects 0.000 description 3
- 230000002159 abnormal effect Effects 0.000 description 2
- 230000036772 blood pressure Effects 0.000 description 2
- 238000004422 calculation algorithm Methods 0.000 description 2
- 230000008859 change Effects 0.000 description 2
- 238000001514 detection method Methods 0.000 description 2
- 238000011161 development Methods 0.000 description 2
- 238000001914 filtration Methods 0.000 description 2
- 230000007246 mechanism Effects 0.000 description 2
- 230000005855 radiation Effects 0.000 description 2
- 238000009877 rendering Methods 0.000 description 2
- 230000000007 visual effect Effects 0.000 description 2
- 230000001755 vocal effect Effects 0.000 description 2
- 230000003321 amplification Effects 0.000 description 1
- 230000003416 augmentation Effects 0.000 description 1
- 230000003190 augmentative effect Effects 0.000 description 1
- 230000007175 bidirectional communication Effects 0.000 description 1
- 230000002457 bidirectional effect Effects 0.000 description 1
- 238000013529 biological neural network Methods 0.000 description 1
- 210000004556 brain Anatomy 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 230000001413 cellular effect Effects 0.000 description 1
- 230000019771 cognition Effects 0.000 description 1
- 230000000295 complement effect Effects 0.000 description 1
- 239000004020 conductor Substances 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 230000004927 fusion Effects 0.000 description 1
- 230000005484 gravity Effects 0.000 description 1
- 230000003862 health status Effects 0.000 description 1
- 230000001939 inductive effect Effects 0.000 description 1
- 230000001788 irregular Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 230000007774 longterm Effects 0.000 description 1
- 229910044991 metal oxide Inorganic materials 0.000 description 1
- 150000004706 metal oxides Chemical class 0.000 description 1
- 210000002569 neuron Anatomy 0.000 description 1
- 238000003199 nucleic acid amplification method Methods 0.000 description 1
- 238000005457 optimization Methods 0.000 description 1
- 238000003672 processing method Methods 0.000 description 1
- 239000002096 quantum dot Substances 0.000 description 1
- 230000009467 reduction Effects 0.000 description 1
- 238000005070 sampling Methods 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 230000003238 somatosensory effect Effects 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
- 238000012795 verification Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/70—Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer
- G06F21/82—Protecting input, output or interconnection devices
- G06F21/84—Protecting input, output or interconnection devices output devices, e.g. displays or monitors
-
- 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/14—Digital output to display device ; Cooperation and interconnection of the display device with other functional units
-
- G—PHYSICS
- G08—SIGNALLING
- G08C—TRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
- G08C17/00—Arrangements for transmitting signals characterised by the use of a wireless electrical link
- G08C17/02—Arrangements for transmitting signals characterised by the use of a wireless electrical link using a radio link
-
- G—PHYSICS
- G08—SIGNALLING
- G08C—TRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
- G08C19/00—Electric signal transmission systems
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72403—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
- H04M1/72409—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72403—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
- H04M1/72409—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories
- H04M1/72412—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories using two-way short-range wireless interfaces
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72448—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/30—Services specially adapted for particular environments, situations or purposes
- H04W4/40—Services specially adapted for particular environments, situations or purposes for vehicles, e.g. vehicle-to-pedestrians [V2P]
Definitions
- the present application relates to the field of terminals, and in particular to a device management method and electronic equipment.
- screen projection reverse control can be used to support users' reverse control operations on the projection end, but users have more needs in this scenario. How to meet user needs and improve user experience is an urgent problem to be solved.
- the present application provides a device management method and an electronic device, which helps to improve the user experience.
- a device management method is provided, the method being applied to a system including a first device and a second device, wherein an interface of the first device is projected to the second device for display, the method comprising: the first device receiving a first event, the first event being triggered by a first operation, the first operation being a local operation of the first device;
- the first device blocks the transmission of the first event, wherein the input control state being on indicates that the local operation of the first device is controlled;
- the first device adjusts the input control state to off, wherein the input control state being off indicates that the local operation of the first device is not controlled, the first area and the second area are respectively part of the display area of the first device, and the first area and the second area do not overlap.
- the device management method can be extended to a system including at least two devices, wherein the first device of the at least two devices is capable of receiving user operation information from the second device of the at least two devices and performing the action indicated by the user operation information.
- the device management method is not limited to the screen projection scenario.
- the processing of the first event can be determined according to the operation position corresponding to the first event, such as rejecting the first event or triggering an escape process.
- the user's local operations on the first device can be restricted to prevent the user's local operations on the first device from affecting the coordination between the second device and the first device, such as screen projection.
- an escape area is reserved, and the first device can autonomously release the control state when the input control state is turned on. After the control state is released, the user of the first device can operate freely, which helps to improve the user experience.
- the first device when the input control state is closed, the first device allows the transmission of the first event.
- the first device receives a first message, where the first message is used to indicate that the input control state is adjusted to on.
- the first device can turn on input control after receiving the first message.
- the first device turns on input control after receiving the turn-on instruction.
- the user of the first device can freely operate the first device, or the user of the first device can freely use the first device.
- the first device receives the instruction and then turns on the input domain control, which can be turned on on demand and ensure the freedom of use of the user of the first device as much as possible.
- the first device when the input control state is on, the first device opens a full-screen transparent floating window, and the full-screen transparent floating window covers the display area of the first device.
- the first device is an electronic device, such as a tablet, a mobile phone, etc.
- the first device may also be a display screen, such as a car
- the first device input control state is turned on, which means that the first device is controlled, and the full-screen transparent floating window covering the first device can be understood as the full-screen transparent floating window covering the controlled electronic device or the controlled display screen.
- the full-screen transparent floating window includes the second area.
- the escape area on the first device is set on the full-screen transparent floating window.
- the first event corresponds to a screen-off processing
- the method further includes: the first device performs a screen-off processing.
- the first event corresponds to the screen-off processing
- the first device performs the screen-off processing
- the first device receives indication information from a second device, the indication information is used to instruct to turn off the screen, and the indication information is triggered by a local reverse control operation of the second device; the first device performs screen turning off processing, including: the first device performs screen turning off processing according to the indication information.
- the first device performs the screen-off processing due to the reverse control operation of the second device, such as the second device reversely controls the first device to turn off the screen.
- the first device receives a second event, where the second event is triggered by a reverse control operation from the second device; in response to the second event, the first device performs processing corresponding to the second event.
- the first device receives a second event, where the second event is triggered by a reverse control operation from the second device; in response to the second event, the first device performs processing corresponding to the second event.
- the second device can still control the first device through screen projection.
- the first device when the processing corresponding to the second event calls a sensitive sensor of the first device, the first device blocks the call.
- the sensitive device refuses to call to protect the privacy of the user of the first device.
- a device management method is provided, which is applied to a system including a first device and a second device, wherein the interface of the first device is projected to the second device for display, and the method includes: the first device establishes a connection with the second device; the first device performs a screen-off operation; when a sensitive sensor of the first device is called, the first device blocks the call.
- the device management method can be applied to a system including at least two devices, wherein a first device among the at least two devices is capable of receiving user operation information from a second device among the at least two devices and performing an action indicated by the user operation information.
- the sensitive sensor of the first device can reject the call when it is called to protect the privacy of the first device or the user of the first device, which helps to improve the user experience.
- establishing a connection between the first device and the second device includes: the first device and the second device start collaboration, and the first device projects its own display interface to the second device.
- indication information is received, and the indication information is used to instruct to turn off the screen; the first device performs the screen turning off operation including: the first device performs the screen turning off operation according to the indication information.
- the indication information may be sent by the second device to the first device.
- a device which includes: a display unit for displaying a collaborative interface; a processing unit for receiving a first event, and determining whether to block the first event according to an input control state, wherein the input control state indicates whether a first operation of the first device is controlled, the first operation is an input operation to the first device, and the input control state includes on or off; when the input control state is on and the position of the first operation corresponding to the first event is within a first area, the processing unit blocks the first event; when the input control state is on and the position of the first operation corresponding to the first event is within a second area, the processing unit triggers an escape process, and the first area and the second area are respectively part of the display area of the first device.
- the processing unit when the input control state is not enabled, the processing unit allows the first event.
- the processing unit is further used to receive a first message, where the first message is used to instruct to adjust the input control state to on.
- the processing unit when the input control status is on, the processing unit is used to open a full-screen transparent floating window, and the display unit is used to display the full-screen transparent floating window, and the full-screen transparent floating window covers the display area of the first device.
- the full-screen transparent floating window includes the second area.
- the first event corresponds to a screen-off processing
- the processing unit is used to perform the screen-off processing
- the first event corresponds to the screen-off processing
- the first device performs the screen-off processing
- the processing unit receives indication information from a second device, wherein the indication information is used to instruct to turn off the screen, and the indication information is triggered by a local reverse control operation of the second device; the processing unit performs screen turning off processing according to the indication information.
- the processing unit is used to receive a second event, where the second event is triggered by a reverse control operation from the second device; in response to the second event, the processing unit is used to perform processing corresponding to the second event.
- the processing unit when the processing corresponding to the second event calls a sensitive sensor of the first device, the processing unit is further used to block the call.
- a device which includes: a display unit for displaying an application interface; a processing unit for establishing a connection with a second device; the processing unit is also used to perform a screen-off operation, and when a sensitive sensor of the first device is called, the processing unit blocks the call.
- the processing unit is used to enable collaboration, and the processing unit is also used to project its own display interface to the second device.
- the processing unit is used to receive indication information, where the indication information is used to instruct to turn off the screen; and the processing unit performs a screen turning off operation according to the indication information.
- a computer program product comprising instructions is provided.
- the electronic device executes the management and control method described in the first aspect and/or the second aspect, or any implementable manner of the first aspect and/or any implementable manner of the second aspect.
- a chip system comprising: a processor for calling and running a computer program from a memory, so that an electronic device equipped with the chip system executes the management and control method described in the above-mentioned first aspect and/or second aspect, or any achievable method of the first aspect and/or any achievable method of the second aspect.
- a device management method is provided, the method being applied to an electronic device and to a system including a first device and a second device, wherein an interface of the first device is projected to the second device for display, the method comprising:
- the first device receives a first reverse control event, where the first reverse control event is triggered by a local reverse control operation of the second device;
- the first device In response to the first counter-control event, the first device performs a process corresponding to the first counter-control event;
- the first device receives a first local event, where an operation corresponding to the first local event is within a first region;
- the first device In response to the first local event, the first device does not perform processing corresponding to the first local event;
- the first device receives a second local event, and the operation corresponding to the second local event is in a second area, wherein the first area and the second area are respectively part of a display area of the first device, and the first area and the second area do not overlap;
- the first device In response to the second local event, the first device performs processing corresponding to the second local event.
- the device management method can be extended to a system including at least two devices, wherein the first device of the at least two devices is capable of receiving user operation information from the second device of the at least two devices and performing the action indicated by the user operation information.
- the device management method is not limited to the screen projection scenario.
- the processing corresponding to the second local event is to adjust the input control state of the first device to off, wherein the input control state being off indicates that the local operation of the first device is not controlled.
- the method in response to the second local event, after the first device performs processing corresponding to the second local event, the method further includes:
- the first device receives a third local event, where an operation corresponding to the third local event is located at any position in a display area of the first device;
- the first device In response to the third local event, the first device performs processing corresponding to the third local event.
- the device is configured to operate the first device, and the first device can perform corresponding processing.
- the first device receives a second reverse control event, where the second reverse control event is triggered by a local reverse control operation of the second device;
- the first device In response to the second reverse control event, the first device performs a screen-off operation
- the first device receives a third reverse control event, where the third reverse control event is triggered by a local reverse control operation of the second device;
- the first device can still be controlled by the second device to start the first application.
- the first device receives a fourth local event, and the fourth local event instructs the first device to turn off the screen;
- the first device In response to the fourth local event, the first device performs a screen-off operation
- the first device receives a fourth reverse control event, where the fourth reverse control event is triggered by a local reverse control operation of the second device;
- the first device In response to the fourth reverse control event, the first device starts a first application.
- the first device after the first device performs the screen-off operation locally, the first device can still be reversely controlled through the second device to start the first application.
- a prompt indicating call failure is displayed on the first device and/or the second device.
- FIG1 shows a schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present application.
- FIG. 2 shows a software structure block diagram of an electronic device provided in an embodiment of the present application.
- FIG3 shows an example diagram of an application scenario 200 provided in an embodiment of the present application.
- FIG. 5 shows a set of GUIs provided by an embodiment of the present application.
- FIG6 shows a schematic diagram of an interaction process between a vehicle computer and a tablet provided in an embodiment of the present application.
- FIG. 7 shows another set of GUIs provided by an embodiment of the present application.
- FIG8 shows a schematic diagram of another interaction process between a vehicle computer and a tablet provided in an embodiment of the present application.
- FIG. 9 shows another set of GUIs provided by an embodiment of the present application.
- FIG10 shows a schematic diagram of an interaction process among a vehicle computer, a mobile phone and a tablet provided in an embodiment of the present application.
- FIG. 11 shows a schematic diagram of an interaction process between different vehicle-mounted screens provided in an embodiment of the present application.
- FIG12 shows a schematic diagram of a management and control method provided in an embodiment of the present application.
- FIG. 13 shows a schematic diagram of an interaction process between a vehicle computer and a tablet provided in an embodiment of the present application.
- FIG14 shows a schematic block diagram of an apparatus according to an embodiment of the present application.
- FIG15 shows a schematic structural diagram of an electronic device provided in an embodiment of the present application.
- first and second are used for descriptive purposes only and are not to be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features.
- a feature defined as “first” or “second” may explicitly or implicitly include one or more of the features.
- plural means two or more.
- FIG1 shows a schematic diagram of the structure of an electronic device 100.
- the electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a button 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a subscriber identification module (SIM) card interface 195, etc.
- SIM subscriber identification module
- the processor 110 may include one or more processing units, for example, the processor 110 may include an application processor (AP), a modem processor, a graphics processor (GPU), an image signal processor (ISP), a controller, a memory, a video codec, a digital signal processor (DSP), a baseband processor, and/or a neural-network processing unit (NPU), etc.
- AP application processor
- GPU graphics processor
- ISP image signal processor
- controller a memory
- video codec a digital signal processor
- DSP digital signal processor
- NPU neural-network processing unit
- Different processing units may be independent devices or integrated in one or more processors.
- the controller may be the nerve center and command center of the electronic device 100.
- the controller may generate an operation control signal according to the instruction operation code and the timing signal to complete the control of fetching and executing instructions.
- the processor 110 may also be provided with a memory for storing instructions and data.
- the memory in the processor 110 is a cache memory.
- the memory may store instructions or data that the processor 110 has just used or cyclically used. If the processor 110 needs to use the instruction or data again, it may be directly called from the memory. This avoids repeated access, reduces the waiting time of the processor 110, and thus improves the efficiency of the system.
- the processor 110 may include one or more interfaces.
- the interface may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver/transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input/output (GPIO) interface, a subscriber identity module (SIM) interface, and/or a universal serial bus (USB) interface, etc.
- I2C inter-integrated circuit
- I2S inter-integrated circuit sound
- PCM pulse code modulation
- UART universal asynchronous receiver/transmitter
- MIPI mobile industry processor interface
- GPIO general-purpose input/output
- SIM subscriber identity module
- USB universal serial bus
- the I2C interface is a bidirectional synchronous serial bus, including a serial data line (SDA) and a serial clock line (SCL).
- the processor 110 may include multiple groups of I2C buses.
- the processor 110 may be coupled to the touch sensor 180K, the charger, the flash, the camera 193, etc. through different I2C bus interfaces.
- the processor 110 may be coupled to the touch sensor 180K through the I2C interface, so that the processor 110 communicates with the touch sensor 180K through the I2C bus interface, thereby realizing the touch function of the electronic device 100.
- the I2S interface can be used for audio communication.
- the processor 110 can include multiple I2S buses.
- the processor 110 can be coupled to the audio module 170 via the I2S bus to achieve communication between the processor 110 and the audio module 170.
- the audio module 170 can transmit an audio signal to the wireless communication module 160 via the I2S interface to achieve the function of answering a call through a Bluetooth headset.
- the PCM interface can also be used for audio communication, sampling, quantizing and encoding analog signals.
- the audio module 170 and the wireless communication module 160 can be coupled via a PCM bus interface.
- the audio module 170 can also transmit audio signals to the wireless communication module 160 via the PCM interface to realize the function of answering calls via a Bluetooth headset. Both the I2S interface and the PCM interface can be used for audio communication.
- the UART interface is a universal serial data bus for asynchronous communication.
- the bus can be a bidirectional communication bus. It converts the data to be transmitted between serial communication and parallel communication .
- the UART interface is generally used to connect the processor 110 and the wireless communication module 160.
- the processor 110 communicates with the Bluetooth module in the wireless communication module 160 through the UART interface to implement the Bluetooth function.
- the audio module 170 can transmit an audio signal to the wireless communication module 160 through the UART interface to implement the function of playing music through a Bluetooth headset.
- the MIPI interface can be used to connect the processor 110 with peripheral devices such as the display screen 194 and the camera 193.
- the MIPI interface includes the camera Serial interface (camera serial interface, CSI), display serial interface (display serial interface, DSI), etc.
- the processor 110 and the camera 193 communicate through the CSI interface to realize the shooting function of the electronic device 100.
- the processor 110 and the display screen 194 communicate through the DSI interface to realize the display function of the electronic device 100.
- the GPIO interface can be configured by software.
- the GPIO interface can be configured as a control signal or as a data signal.
- the GPIO interface can be used to connect the processor 110 with the camera 193, the display 194, the wireless communication module 160, the audio module 170, the sensor module 180, etc.
- the GPIO interface can also be configured as an I2C interface, an I2S interface, a UART interface, a MIPI interface, etc.
- the USB interface 130 is an interface that complies with the USB standard specification, and specifically can be a Mini USB interface, a Micro USB interface, a USB Type C interface, etc.
- the USB interface 130 can be used to connect a charger to charge the electronic device 100, and can also be used to transmit data between the electronic device 100 and a peripheral device. It can also be used to connect headphones to play audio through the headphones.
- the interface can also be used to connect other electronic devices, such as AR devices, etc.
- the interface connection relationship between the modules illustrated in the embodiment of the present application is only a schematic illustration and does not constitute a structural limitation on the electronic device 100.
- the electronic device 100 may also adopt different interface connection methods in the above embodiments, or a combination of multiple interface connection methods.
- the charging management module 140 is used to receive charging input from a charger.
- the charger may be a wireless charger or a wired charger.
- the charging management module 140 may receive charging input from a wired charger through the USB interface 130.
- the charging management module 140 may receive wireless charging input through a wireless charging coil of the electronic device 100. While the charging management module 140 is charging the battery 142, it may also power the electronic device through the power management module 141.
- the power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110.
- the power management module 141 receives input from the battery 142 and/or the charging management module 140, and supplies power to the processor 110, the internal memory 121, the external memory, the display screen 194, the camera 193, and the wireless communication module 160.
- the power management module 141 can also be used to monitor parameters such as battery capacity, battery cycle number, battery health status (leakage, impedance), etc.
- the power management module 141 can also be set in the processor 110.
- the power management module 141 and the charging management module 140 can also be set in the same device.
- the wireless communication function of the electronic device 100 can be implemented through the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor and the baseband processor.
- Antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals.
- Each antenna in electronic device 100 can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve the utilization of antennas.
- antenna 1 can be reused as a diversity antenna for a wireless local area network.
- the antenna can be used in combination with a tuning switch.
- the mobile communication module 150 can provide solutions for wireless communications including 2G/3G/4G/5G, etc., applied to the electronic device 100.
- the mobile communication module 150 may include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), etc.
- the mobile communication module 150 may receive electromagnetic waves from the antenna 1, and perform filtering, amplification, and other processing on the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation.
- the mobile communication module 150 may also amplify the signal modulated by the modulation and demodulation processor, and convert it into electromagnetic waves for radiation through the antenna 1.
- at least some of the functional modules of the mobile communication module 150 may be arranged in the processor 110.
- at least some of the functional modules of the mobile communication module 150 may be arranged in the same device as at least some of the modules of the processor 110.
- the modem processor may include a modulator and a demodulator.
- the modulator is used to modulate the low-frequency baseband signal to be sent into a medium-high frequency signal.
- the demodulator is used to demodulate the received electromagnetic wave signal into a low-frequency baseband signal.
- the demodulator then transmits the demodulated low-frequency baseband signal to the baseband processor for processing.
- the application processor outputs a sound signal through an audio device (not limited to a speaker 170A, a receiver 170B, etc.), or displays an image or video through a display screen 194.
- the modem processor may be an independent device.
- the modem processor may be independent of the processor 110 and be set in the same device as the mobile communication module 150 or other functional modules.
- the wireless communication module 160 can provide wireless communication solutions including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) network), bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR) and the like applied to the electronic device 100.
- WLAN wireless local area networks
- BT wireless fidelity
- GNSS global navigation satellite system
- FM frequency modulation
- NFC near field communication
- IR infrared
- the wireless communication module 160 can be one or more devices integrating at least one communication processing module.
- the wireless communication module 160 receives electromagnetic waves via the antenna 2, modulates the frequency of the electromagnetic wave signal and performs filtering processing, and sends the processed signal to the processor 110.
- the wireless communication module 160 can also receive the signal to be sent from the processor 110, modulate the frequency of the signal, amplify the signal, and convert it into electromagnetic waves for radiation through the antenna 2.
- the antenna 1 of the electronic device 100 is coupled to the mobile communication module 150, and the antenna 2 is coupled to the wireless communication module 160.
- the electronic device 100 can communicate with the network and other devices through wireless communication technology.
- the wireless communication technology may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), wideband code division multiple access (WCDMA), time division code division multiple access (TD-SCDMA), long term evolution (LTE), BT, GNSS, WLAN, NFC, FM, and/or IR technology.
- the GNSS may include global positioning system (GPS), global navigation satellite system (GLONASS), Beidou navigation satellite system (BDS), quasi-zenith satellite system (QZSS) and/or satellite based augmentation system (SBAS).
- the electronic device 100 implements the display function through a GPU, a display screen 194, and an application processor.
- the GPU is a microprocessor for image processing, which connects the display screen 194 and the application processor.
- the GPU is used to perform mathematical and geometric calculations for graphics rendering.
- the processor 110 may include one or more GPUs that execute program instructions to generate or change display information.
- the display screen 194 is used to display images, videos, etc.
- the display screen 194 includes a display panel.
- the display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode or an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), Miniled, MicroLed, Micro-oLed, quantum dot light-emitting diodes (QLED), etc.
- the electronic device 100 may include 1 or N display screens 194, where N is a positive integer greater than 1.
- the electronic device 100 can realize the shooting function through ISP, camera 193, video codec, GPU, display screen 194 and application processor.
- the ISP is used to process the data fed back by the camera 193. For example, when taking a photo, the shutter is opened, and the light is transmitted to the camera photosensitive element through the lens. The light signal is converted into an electrical signal, and the camera photosensitive element transmits the electrical signal to the ISP for processing and converts it into an image visible to the naked eye.
- the ISP can also perform algorithm optimization on the noise, brightness, and skin color of the image. The ISP can also optimize the exposure, color temperature and other parameters of the shooting scene. In some embodiments, the ISP can be set in the camera 193.
- the camera 193 is used to capture still images or videos.
- the object generates an optical image through the lens and projects it onto the photosensitive element.
- the photosensitive element can be a charge coupled device (CCD) or a complementary metal oxide semiconductor (CMOS) phototransistor.
- CMOS complementary metal oxide semiconductor
- the photosensitive element converts the optical signal into an electrical signal, and then passes the electrical signal to the ISP to be converted into a digital image signal.
- the ISP outputs the digital image signal to the DSP for processing.
- the DSP converts the digital image signal into an image signal in a standard RGB, YUV or other format.
- the electronic device 100 may include 1 or N cameras 193, where N is a positive integer greater than 1.
- the digital signal processor is used to process digital signals, and can process not only digital image signals but also other digital signals. For example, when the electronic device 100 is selecting a frequency point, the digital signal processor is used to perform Fourier transform on the frequency point energy.
- Video codecs are used to compress or decompress digital videos.
- the electronic device 100 may support one or more video codecs. In this way, the electronic device 100 may play or record videos in a variety of coding formats, such as Moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, MPEG4, etc.
- MPEG Moving Picture Experts Group
- MPEG2 MPEG2, MPEG3, MPEG4, etc.
- NPU is a neural network (NN) computing processor.
- NN neural network
- applications such as intelligent cognition of electronic device 100 can be realized, such as image recognition, face recognition, voice recognition, text understanding, etc.
- the external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device 100.
- the external memory card communicates with the processor 110 through the external memory interface 120 to implement a data storage function. For example, files such as music and videos can be stored in the external memory card.
- the internal memory 121 can be used to store computer executable program codes, which include instructions.
- the processor 110 executes various functional applications and data processing of the electronic device 100 by running the instructions stored in the internal memory 121.
- the internal memory 121 may include a program storage area and a data storage area.
- the program storage area may store an operating system, at least one App required for a function (such as a sound playback function, an image playback function, etc.), etc.
- the data storage area may store data created during the use of the electronic device 100 (such as audio data, a phone book, etc.), etc.
- the internal memory 121 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, a universal flash storage (UFS), etc.
- UFS universal flash storage
- the electronic device 100 can implement audio functions such as music playing and recording through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone jack 170D, and the application processor.
- the audio module 170 is used to convert digital audio information into analog audio signal output, and is also used to convert analog audio input into digital audio signals.
- the audio module 170 can also be used to encode and decode audio signals.
- the audio module 170 can be arranged in the processor 110, or some functional modules of the audio module 170 can be arranged in the processor 110.
- the speaker 170A also called a "speaker" is used to convert an audio electrical signal into a sound signal.
- the electronic device 100 can listen to music or listen to a hands-free call through the speaker 170A.
- the receiver 170B also called a "earpiece" is used to convert audio electrical signals into sound signals.
- the voice can be received by placing the receiver 170B close to the human ear.
- Microphone 170C also called “microphone” or “microphone” is used to convert sound signals into electrical signals. When making a call or sending a voice message, the user can speak by putting their mouth close to microphone 170C to input the sound signal into microphone 170C.
- the electronic device 100 can be provided with at least one microphone 170C. In other embodiments, the electronic device 100 can be provided with two microphones 170C, which can not only collect sound signals but also realize noise reduction function. In other embodiments, the electronic device 100 can also be provided with three, four or more microphones 170C to collect sound signals, reduce noise, identify the sound source, realize directional recording function, etc.
- the earphone interface 170D is used to connect a wired earphone.
- the earphone interface 170D may be the USB interface 130, or may be a 3.5 mm open mobile terminal platform (OMTP) standard interface or a cellular telecommunications industry association of the USA (CTIA) standard interface.
- OMTP open mobile terminal platform
- CTIA cellular telecommunications industry association of the USA
- the pressure sensor 180A is used to sense the pressure signal and can convert the pressure signal into an electrical signal.
- the pressure sensor 180A can be set on the display screen 194.
- the capacitive pressure sensor can be a parallel plate including at least two conductive materials.
- the electronic device 100 determines the intensity of the pressure according to the change in capacitance.
- the electronic device 100 detects the touch operation intensity according to the pressure sensor 180A.
- the electronic device 100 can also calculate the touch position according to the detection signal of the pressure sensor 180A.
- touch operations acting on the same touch position but with different touch operation intensities can correspond to different operation instructions. For example: when a touch operation with a touch operation intensity less than the first pressure threshold acts on the short message application icon, an instruction to view the short message is executed. When a touch operation with a touch operation intensity greater than or equal to the first pressure threshold acts on the short message application icon, an instruction to create a new short message is executed.
- the gyro sensor 180B can be used to determine the motion posture of the electronic device 100.
- the angular velocity of the electronic device 100 around three axes i.e., x, y, and z axes
- the gyro sensor 180B can be used for anti-shake shooting. For example, when the shutter is pressed, the gyro sensor 180B detects the angle of the electronic device 100 shaking, calculates the distance that the lens module needs to compensate based on the angle, and allows the lens to offset the shaking of the electronic device 100 through reverse movement to achieve anti-shake.
- the gyro sensor 180B can also be used for navigation and somatosensory game scenes.
- the air pressure sensor 180C is used to measure air pressure.
- the electronic device 100 calculates the altitude through the air pressure value measured by the air pressure sensor 180C to assist in positioning and navigation.
- the magnetic sensor 180D includes a Hall sensor.
- the electronic device 100 can use the magnetic sensor 180D to detect the opening and closing of the flip leather case.
- the electronic device 100 when the electronic device 100 is a flip phone, the electronic device 100 can detect the opening and closing of the flip cover according to the magnetic sensor 180D. Then, according to the detected opening and closing state of the leather case or the opening and closing state of the flip cover, the flip cover can be automatically unlocked.
- the acceleration sensor 180E can detect the magnitude of the acceleration of the electronic device 100 in all directions (generally three axes). When the electronic device 100 is stationary, the magnitude and direction of gravity can be detected. It can also be used to identify the posture of the electronic device and is applied to applications such as horizontal and vertical screen switching and pedometers.
- the distance sensor 180F is used to measure the distance.
- the electronic device 100 can measure the distance by infrared or laser. In some embodiments, when shooting a scene, the electronic device 100 can use the distance sensor 180F to measure the distance to achieve fast focusing.
- the proximity light sensor 180G may include, for example, a light emitting diode (LED) and a light detector, such as a photodiode.
- the light emitting diode may be an infrared light emitting diode.
- the electronic device 100 emits infrared light outward through the light emitting diode.
- the electronic device 100 uses a photodiode to detect infrared reflected light from nearby objects. When sufficient reflected light is detected, it can be determined that there is an object near the electronic device 100. When insufficient reflected light is detected, the electronic device 100 can determine that there is no object near the electronic device 100.
- the electronic device 100 can use the proximity light sensor 180G to detect that the user holds the electronic device 100 close to the ear to talk, so as to automatically turn off the screen to save power.
- the proximity light sensor 180G can also be used in leather case mode and pocket mode to automatically unlock and lock the screen.
- the ambient light sensor 180L is used to sense the brightness of the ambient light.
- the electronic device 100 can adaptively adjust the display according to the perceived ambient light brightness.
- the ambient light sensor 180L can also be used to automatically adjust the white balance when taking pictures.
- the ambient light sensor 180L can also cooperate with the proximity light sensor 180G to detect whether the electronic device 100 is in a pocket to prevent accidental touch.
- the fingerprint sensor 180H is used to collect fingerprints.
- the electronic device 100 can use the collected fingerprint characteristics to implement fingerprint unlocking, access application locks, fingerprint photography, fingerprint call answering, etc.
- the temperature sensor 180J is used to detect temperature.
- the electronic device 100 uses the temperature detected by the temperature sensor 180J to execute a temperature processing strategy. For example, when the temperature reported by the temperature sensor 180J exceeds a threshold, the electronic device 100 reduces the performance of a processor located near the temperature sensor 180J to reduce power consumption and implement thermal protection. In other embodiments, when the temperature is lower than another threshold, the electronic device 100 heats the battery 142 to avoid abnormal shutdown of the electronic device 100 due to low temperature. In other embodiments, when the temperature is lower than another threshold, the electronic device 100 boosts the output voltage of the battery 142 to avoid abnormal shutdown caused by low temperature.
- the touch sensor 180K is also called a "touch panel”.
- the touch sensor 180K can be set on the display screen 194, and the touch sensor 180K and the display screen 194 form a touch screen, also called a "touch screen”.
- the touch sensor 180K is used to detect touch operations acting on or near it.
- the touch sensor can pass the detected touch operation to the application processor to determine the type of touch event.
- Visual output related to the touch operation can be provided through the display screen 194.
- the touch sensor 180K can also be set on the surface of the electronic device 100, which is different from the position of the display screen 194.
- the bone conduction sensor 180M can obtain a vibration signal. In some embodiments, the bone conduction sensor 180M can obtain a vibration signal of a vibrating bone block of the vocal part of the human body. The bone conduction sensor 180M can also contact the human pulse to receive a blood pressure beat signal. In some embodiments, the bone conduction sensor 180M can also be set in an earphone and combined into a bone conduction earphone.
- the audio module 170 can parse out a voice signal based on the vibration signal of the vibrating bone block of the vocal part obtained by the bone conduction sensor 180M to realize a voice function.
- the application processor can parse the heart rate information based on the blood pressure beat signal obtained by the bone conduction sensor 180M to realize a heart rate detection function.
- the key 190 includes a power key, a volume key, etc.
- the key 190 may be a mechanical key or a touch key.
- the electronic device 100 may receive key input and generate key signal input related to user settings and function control of the electronic device 100.
- Motor 191 can generate vibration prompts.
- Motor 191 can be used for incoming call vibration prompts, and can also be used for touch vibration feedback.
- touch operations acting on different applications can correspond to different vibration feedback effects.
- touch operations acting on different areas of the display screen 194 can also correspond to different vibration feedback effects.
- Different application scenarios for example: time reminders, receiving messages, alarm clocks, games, etc.
- the touch vibration feedback effect can also support customization.
- the indicator 192 may be an indicator light, which may be used to indicate the charging status, power changes, messages, missed calls, notifications, etc.
- the SIM card interface 195 is used to connect a SIM card.
- the SIM card can be connected to and separated from the electronic device 100 by inserting it into the SIM card interface 195 or pulling it out from the SIM card interface 195.
- the electronic device 100 can support 1 or N SIM card interfaces, where N is a positive integer greater than 1.
- the SIM card interface 195 can support Nano SIM cards, Micro SIM cards, SIM cards, and the like. Multiple cards can be inserted into the same SIM card interface 195 at the same time. The types of the multiple cards can be the same or different.
- the SIM card interface 195 can also be compatible with different types of SIM cards.
- the SIM card interface 195 can also be compatible with external memory cards.
- the electronic device 100 interacts with the network through the SIM card to implement functions such as calls and data communications.
- the electronic device 100 uses an embedded SIM (eSIM) card, i.e., an embedded SIM card.
- the eSIM card can be embedded in the electronic device 100 and cannot be separated from the electronic device 100.
- phone cards in the embodiments of the present application include but are not limited to SIM cards, eSIM cards, universal subscriber identity modules (USIM), universal integrated circuit cards (UICC), and the like.
- the software system of the electronic device 100 may adopt a layered architecture, an event-driven architecture, a micro-core architecture, a micro-service architecture, or a cloud architecture.
- the embodiment of the present application takes the Android system of the layered architecture as an example to exemplify the software structure of the electronic device 100.
- FIG2 is a software structure diagram of the electronic device 100 of an embodiment of the present application.
- the layered architecture divides the software into several layers, each layer has a clear role and division of labor.
- the layers communicate with each other through software interfaces.
- the Android system is divided into four layers, from top to bottom, namely, the application layer, the application framework layer, the Android runtime (Android runtime) and the system library, and the kernel layer.
- the application layer can include a series of application packages.
- the application package may include applications such as camera, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, short message, etc.
- the application framework layer provides application programming interface (API) and programming framework for the applications in the application layer.
- API application programming interface
- the application framework layer includes some predefined functions.
- the application framework layer may include a window manager, a content provider, a view system, a telephony manager, a resource manager, a notification manager, and the like.
- the window manager is used to manage window programs.
- the window manager can obtain the display screen size, determine whether there is a status bar, lock the screen, capture the screen, etc.
- Content providers are used to store and retrieve data and make it accessible to applications.
- the data may include videos, images, audio, calls made and received, browsing history and bookmarks, phone books, etc.
- the view system includes visual controls, such as controls for displaying text, controls for displaying images, etc.
- the view system can be used to build applications.
- a display interface can be composed of one or more views.
- a display interface including a text notification icon can include a view for displaying text and a view for displaying images.
- the phone manager is used to provide communication functions of the electronic device 100, such as management of call status (including connecting, hanging up, etc.).
- the resource manager provides various resources for applications, such as localized strings, icons, images, layout files, video files, and so on.
- the notification manager enables applications to display notification information in the status bar. It can be used to convey notification-type messages and can disappear automatically after a short stay without user interaction. For example, the notification manager is used to notify download completion, message reminders, etc.
- the notification manager can also be a notification that appears in the system top status bar in the form of a chart or scroll bar text, such as notifications of applications running in the background, or a notification that appears on the screen in the form of a dialog window. For example, a text message is displayed in the status bar, a prompt sound is emitted, an electronic device vibrates, an indicator light flashes, etc.
- Android Runtime includes core libraries and virtual machines. Android Runtime is responsible for the scheduling and management of the Android system.
- the core library consists of two parts: one part is the function that needs to be called by the Java language, and the other part is the Android core library.
- the application layer and the application framework layer run in a virtual machine.
- the virtual machine executes the Java files of the application layer and the application framework layer as binary files.
- the virtual machine is used to perform functions such as object life cycle management, stack management, thread management, security and exception management, and garbage collection.
- the system library can include multiple functional modules, such as surface manager, media libraries, 3D graphics processing library (such as OpenGL ES), 2D graphics engine (such as SGL), etc.
- functional modules such as surface manager, media libraries, 3D graphics processing library (such as OpenGL ES), 2D graphics engine (such as SGL), etc.
- the surface manager is used to manage the display subsystem and provide the fusion of 2D and 3D layers for multiple applications.
- the media library supports playback and recording of a variety of commonly used audio and video formats, as well as static image files, etc.
- the media library can support a variety of audio and video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.
- the 3D graphics processing library is used to implement 3D graphics drawing, image rendering, compositing, and layer processing.
- a 2D graphics engine is a drawing engine for 2D drawings.
- the kernel layer is the layer between hardware and software.
- the kernel layer contains at least display driver, camera driver, audio driver, and sensor driver.
- Users can use multiple apps on electronic devices to achieve multiple functions. For example, users can use map apps on electronic devices to achieve positioning or navigation functions, and users can also use audio and video apps on electronic devices to achieve audio and video functions.
- the App can run in the foreground of the electronic device or in the background of the electronic device.
- the electronic device 100 can display the user interface of the App on the display screen.
- the user can interact with the App through the controls in the user interface of the App.
- the App runs in the electronic device, but it does not fall into the above-mentioned situation of running in the foreground, that is, the App runs in the background of the electronic device.
- the situation where the App runs in the background of the electronic device may include the existence of the App process in the electronic device, but the user interface of the App is not displayed on the display screen. Since the user interface of the App running in the background is not displayed on the display screen, the user usually cannot directly interact with the App running in the background.
- the above-mentioned background may also be referred to as "non-foreground".
- apps There may be one or more apps running in the foreground of the electronic device, and there may also be one or more apps running in the background of the electronic device. When one or more apps are running in the foreground of the electronic device, one or more apps may be running in the background of the electronic device.
- the present application proposes a device control method that can limit the operations of other users on the projected or coordinated electronic device to meet the control needs of the main control user (such as user A mentioned above), thereby helping to improve the user experience.
- FIG3 is an example diagram of an application scenario 200 provided in an embodiment of the present application.
- the application scenario 200 includes a vehicle 210 and a driver 220.
- the driver 220 is in the driving position of the vehicle 210.
- the vehicle 210 is equipped with an on-board device 230, and the on-board device 230 has a display screen.
- the on-board device 230 is an example of the electronic device 100 in FIG1 and FIG2 , and its hardware structure and software structure can refer to the previous description of the electronic device 100 in FIG1 and FIG2 , which will not be repeated here.
- the vehicle 210 may also include a rear-seat tablet computer.
- the tablet computer may be a post-installed device.
- the embodiment of the present application does not limit the specific form of the vehicle-mounted device 230, as long as it has a display screen.
- the in-vehicle device 230 may be an in-vehicle infotainment product installed in the vehicle 210 .
- the in-vehicle device 230 may also be a device connected to an in-vehicle infotainment product installed in the vehicle 210 , such as a mobile phone.
- the scene shown in Figure 3 is only an example and should not be construed as limiting the present application.
- the scene may also include more electronic devices or personnel.
- FIG4 shows a device management method provided by an embodiment of the present application, which can be applied to the scenario described in FIG3 .
- a first device such as a rear-seat tablet computer
- a second device such as a vehicle-mounted device
- the method can include the following steps:
- S401 A first device receives a first event.
- the event may be understood as input information received by the first device.
- an input event may include a motion event (MotionEvent) and a key event (KeyEvent).
- an input event may be a sensor input event (Sensor InputEvent), a headphone input event (Hook InputEvent), a power button input event (On InputEvent), a touch screen input event (Touch Screen InputEvent, hereinafter also referred to as a touch event), a key input event (Key InputEvent) or a mouse motion input event (Hover InputEvent), etc.
- the touch screen input events include the following basic events: finger pressed on the screen (ACTION_DOWN), finger moved on the screen (ACTION_MOVE), finger left the screen (ACTION_UP).
- ACTION_DOWN finger pressed on the screen
- ACTION_MOVE finger moved on the screen
- ACTION_UP finger left the screen
- Event sequences can often form complex events, such as click events, double-click events, gesture events, etc.
- the input events in the embodiments of the present application can be basic events or complex events composed of basic events, which are not limited in the embodiments of the present application.
- the first event may be a local input event.
- the so-called local input event may be understood as an event corresponding to the user's operation on the first device (that is, the local operation of the first device). For example, if the user clicks a certain position on the screen of the first device, "a certain position being clicked" is a local input event. In other words, for the user, clicking the screen is a user operation (that is, an input operation); for the first device, the event triggered by "click” is an input event. In other words, the event is triggered by the user's action (or operation). It can also be understood that the first event is the above-mentioned input event that occurs locally on the first device.
- S402 The first device determines whether to block the first event according to the state of input control.
- the state of the input control is used to characterize whether the input operation of the first device is controlled, wherein the input operation of the first device can be understood as the input operation of the user on the first device.
- the state of the input control is used to characterize whether the input event triggered by the user's input operation is controlled.
- the input operation of the first device can be touch input, key input, voice input, gesture input, etc.
- the user's operation on the first device can be key, touch, air input, or input operation of the device by a peripheral connected to it, such as keyboard input. This embodiment of the present application is not limited to this.
- the touch operation of the first device can be controlled by the second device, and the second device can be a device that cooperates with the first device, and the second device turns on input control with the first device.
- the touch operation on the first device is restricted.
- the status of input control includes enabled or disabled.
- the user may enable input control on the second device, which may be understood as managing touch operations on the first device, such as limiting operations on the first device.
- the user can enable input control through a physical button of the second device.
- the physical button can be mounted on the second device or on other locations in the cockpit, such as on a steering wheel, etc.
- the user can enable input control through a virtual function key of the second device.
- the input control is enabled through the input control function key in the second device.
- the input control function key can be set in the homepage display interface of the second device, or in the control page of the second device, or can be hidden in the menu function. This application does not limit this.
- the user turns on input control on the first device.
- the input control can be understood as managing the touch operation on the first device. For example, limiting the operation of the first device.
- the user may enable input control through a physical button of the first device.
- the physical button may be mounted on the first device, for example, the physical button may be a volume button of a tablet computer.
- the user can enable input control through a virtual function key of the first device.
- the input control is enabled through the input control function key on the screen of the first device.
- the input control function key can be set on the homepage of the display interface of the first device, or can be hidden in a menu function, such as a drop-down menu. This application does not limit this.
- the embodiment of the present application does not limit the method of enabling input control.
- the embodiment of the present application does not limit the way in which the first device and the second device start collaboration.
- the collaboration can be started through a wired method or through a wireless method. After the collaboration between the first device and the second device is started, they can access each other.
- the first device can project its own interface to the second device.
- screen projection can be projecting the interface of the first device to the second device through a wired connection.
- the interface of the first device can be projected onto the second device via a wireless connection.
- the first device can be projected onto the second device via a projection button, such as a projection button in an APP, or a projection button in a function menu.
- the first device can be projected onto the second device via a physical button of the projection function, and optionally, the physical button for projection can be loaded on the first device and/or the second device.
- the first device can be projected onto the second device via a virtual key of the projection function in the function menu. It should be understood that the embodiment of the present application does not limit the manner in which the first device projects the screen onto the second device.
- the first device projects its interface onto the second device
- the above blocking of the first event can be understood as that the operation corresponding to the first event cannot be performed on the first device.
- the first device may reject the operation corresponding to the first event, or the first device may not respond to the operation corresponding to the first event.
- the embodiment of the present application does not limit the title of blocking the first event, and alternative statements that can achieve the above effect should be within the scope of protection of this application.
- the first device determines whether to block the first event according to the state of input control, and there may be the following situations:
- the first area and the second area may be part of the screen area of the first device, respectively.
- the first area and the second area do not overlap.
- the sum of the first area and the second area is the screen range of the first device.
- the above "range” may refer to a two-dimensional range.
- the second area may be the range within the closed figure obtained by connecting four points with coordinates (x1, y1), (x1, y2), (x2, y1), and (x2, y2), then the first area is the range of the screen of the first device except the second area.
- the above is an example of a rectangle as the second area. It should be understood that the embodiment of the present application does not limit the shape and size of the second area.
- the shape of the second area may be a circle, a triangle, a square, an ellipse or an irregular figure, etc. Since the first area is adjacent to the second area and together constitutes the range of the screen of the first device, the shape and size of the first area are also not limited.
- the first device when the first device determines that the state of input control is on, it can further determine whether to block the first event according to the position of the operation corresponding to the first event.
- the first device blocks the first event, or in other words, the local input event of the first device is limited.
- the first device triggers the escape process. In other words, the first device releases the input control, or in other words, the first device adjusts the input control state from on to off.
- the first device itself can complete the escape process.
- the escape process is triggered when the user clicks once in the second area.
- a pop-up confirmation interface can be triggered to confirm the triggering of the escape process, such as an arithmetic problem, where the user triggers the escape process after entering or clicking the correct answer.
- the arithmetic problem is only an example of a confirmation interface, and the embodiments of the present application are not limited to this. For example, it can also be a picture verification interface, an option confirmation interface, etc.
- the second device may perform the escape procedure after allowing the escape procedure.
- the device requests to be released from input control. After the second device agrees, the first device can release the input control.
- the first device when the input control state is on, the first device may determine how to handle the first event according to whether the first event belongs to a whitelist, which is a whitelist of events that the first device may allow.
- the first device When the first event belongs to the whitelist, the first device allows the first event. When the first event does not belong to the whitelist, the first device blocks the first event.
- the whitelist may be predefined.
- the whitelist may also be indicated, for example, the second device sends information to the first device, and the information is used to indicate the whitelist.
- the present application does not limit the determination method of the whitelist.
- the state of the above-mentioned input control can be represented by a flag bit.
- the first device can set a flag bit, which is used to represent the state of input control, that is, the flag bit is used to represent whether the state of input control is on or off, or in other words, the flag bit is used to represent whether the input control is on.
- the flag bit can be set to true or false, and when the flag bit is true, it represents that the input control state is on or the input control is on, and when the flag bit is false, it represents that the input control state is off or the input control is not on. It should be understood that the setting of the above-mentioned flag bit is only an example and not a limitation.
- the flag bit can also be set to 0 or 1, and when the flag bit is 1, it represents that the input control state is on or the input control is on, and when the flag bit is 0, it represents that the input control state is off or the input control is not on. It should also be understood that the corresponding relationship between the specific value of the flag bit and the meaning represented by the value is not limited in the embodiment of the present application. It should also be understood that the corresponding relationship between the specific value of the flag bit and the meaning represented by the value can be predefined or configured, and the embodiment of the present application does not limit this.
- the operation position of the local event of the first device is judged to further determine whether to restrict the operation or release the input control. This can limit other users' local operations on the first device and improve the user experience in the collaborative scenario of the first device and the second device.
- the method for limiting the local operation of the first device is described above.
- the implementation of the method is described in detail below in combination with several possible scenarios.
- the above method is applicable to vehicle-mounted devices and tablets.
- FIG5 shows a set of graphical user interfaces (GUIs) provided in an embodiment of the present application, including a vehicle-mounted display screen 510 and a flat screen 520 .
- GUIs graphical user interfaces
- the vehicle display screen 510 (also referred to herein as the vehicle screen) performs touch control on the tablet screen 520. That is, the vehicle display screen 510 is an example of the second device in FIG. 4, and the tablet screen 520 is an example of the first device in FIG.
- vehicle display screen 510 and the flat screen 520 start to cooperate and then start input control.
- the way in which the vehicle display screen 510 and the flat screen 520 start to cooperate and start input control can refer to the description of S402, which will not be repeated here.
- the tablet screen 520 can be controlled through the vehicle display screen 510.
- video A is playing on the tablet screen 520
- the screen of video A is 5201 in the figure.
- the screen 5201 can be projected to the vehicle display screen 510, such as the screen 5101 in the vehicle display screen 510, and the content displayed in the screen 5101 is exactly the same as that displayed in the screen 5201.
- the screen includes a video progress bar 5106, and the user can control the progress of the video A played on the tablet screen 520 by dragging the video progress bar 5106 in the vehicle display screen 510, that is, the user can realize the reverse control of the projection of the tablet screen 520 on the vehicle display screen 510.
- the contents of the screens on the two electronic devices are exactly the same, but the contents on the screens of the two electronic devices are not necessarily the same.
- the screen 5201 is projected to the vehicle display screen 510
- the screen 5101 on the vehicle display screen 510 is the same as the screen 5201 on the tablet, but the vehicle display screen 510 may have different display contents from those on the tablet screen 520.
- the cover legend (5202) of video B, the cover legend (5203) of video C, and the cover legend (5204) of video D are arranged in sequence, which can be used by the user to select or switch videos.
- the flat screen 520 may also include an escape area 5205, which is an example of the first area in S402.
- the portion of the flat screen 520 other than the escape area 5205 is a restricted area (also called a non-escape area), which is an example of the second area in S402.
- the tablet determines the user's operation position, i.e., the click position, to determine the subsequent processing. For example, if the tablet determines that the click position belongs to the non-escape area, the tablet blocks the "video switching event". In other words, the user's video switching operation on the tablet screen 520 is limited.
- the tablet screen 520 when the user's operation on the tablet screen 520 falls within the escape zone, for example, the user clicks on position M, and the tablet determines that position M belongs to the escape zone, the tablet starts the escape process and releases the input control. After the input control is released, the user can freely operate on the tablet screen 520.
- the above solution brings more usage scenarios to screen projection and reverse control.
- the screen on the tablet can be projected to the front display screen in the cockpit.
- the parent in the front row can use the tablet to select the content the child is watching through screen projection and reverse control, and restrict the child's operation of the tablet locally to prevent the child from touching it by mistake.
- the user of the tablet switches to an adult, he can escape by himself and release the input control.
- FIG6 shows an interaction process between a vehicle computer and a tablet provided in an embodiment of the present application.
- the vehicle computer may include a reverse control module, which may also be used to receive the projection screen.
- the tablet may include a reverse control receiving module, an input subsystem, a screen management module, and a privacy sensor service module.
- S601 The vehicle computer and the tablet computer are connected.
- the car computer can start collaboration with the tablet.
- the tablet projects its interface onto the display screen of the car computer.
- the method of starting collaboration can refer to the description of S402, which will not be repeated here.
- vehicle computer operating user turning on the input control is only an example of a method for turning on the input control, and is not limited thereto. Specifically, the method for turning on the input control can refer to the description in S402, and will not be repeated here.
- the reverse control module of the vehicle computer sends an input control message to the reverse control receiving module of the tablet computer.
- the reverse control receiving module of the tablet computer receives the input control message.
- the reverse control receiving module of the tablet displays a full-screen transparent floating window to the foreground.
- the full-screen transparent floating window includes an escape area.
- the car user can perform operations on the display screen of the vehicle-mounted device to control the tablet.
- the reverse control operation can be understood as an example of an input operation.
- the reverse control operation can refer to the description of the input operation in S402.
- the reverse control operation can be understood as a non-local operation of the tablet.
- the reverse control operation can be to control the display of the tablet through the display screen of the vehicle-mounted device.
- the car user drags the progress bar of the video on the display screen of the vehicle-mounted device to control the video progress on the tablet display screen.
- the reverse control module of the vehicle computer sends a reverse control event to the reverse control receiving module of the tablet computer.
- the reverse control receiving module of the tablet computer receives the reverse control event.
- the reverse control event is an event corresponding to the reverse control operation.
- the reverse control event is an event triggered by the reverse control operation.
- the reverse control event can be understood as an example of an input event, and for details, reference can be made to the description of the input event in S401.
- the reverse control receiving module of the tablet sends the reverse control event to the input subsystem, and correspondingly, the input subsystem receives the reverse control event.
- the tablet receives a first operation from the tablet operation user.
- the tablet operating user can click any position on the tablet screen.
- the tablet operating user can click a certain App.
- the input subsystem of the tablet determines a transparent floating window currently used for managing input according to the touch position corresponding to the first operation.
- the transparent floating window can be displayed on the screen of the tablet.
- the input subsystem of the tablet further determines whether the transparent floating window exists according to the touch position of the first operation. Generally, when the input control state is turned on, the transparent floating window is displayed on the screen of the tablet.
- the input control state of the tablet screen can also be determined according to the flag bit. Specifically, reference can be made to the description of the flag bit in S402, which will not be repeated here.
- S610 The input subsystem of the tablet processes the first event according to the source of the first event.
- the first event is an event corresponding to the first operation in S608.
- the first event is an event triggered by the first operation.
- the first event is an example of the input event in S401. For details, please refer to the relevant description in S401, which will not be repeated here.
- the input subsystem does not process it and continues to distribute it in the system.
- the input subsystem redirects the first event back to the floating window and blocks the event delivery process outside the escape area.
- redirecting back to the floating window can be understood as: before input control is turned on, the distribution path of local input events is determined. When input control is turned on, the distribution path will be modified, and redirection means distributing input events to the floating window. It should be understood that the explanation of redirection below can be referred to here and will not be repeated.
- the tablet can determine the handling method of the event corresponding to the user's operation based on the location of the user's operation. It can limit the tablet user's operation under the premise that the car computer and the tablet work together and input control is turned on. At the same time, it reserves a way for the tablet user to lift the input control by themselves, effectively improving the user experience.
- FIG7 shows another set of graphical user interfaces (GUIs) provided in an embodiment of the present application, including a vehicle-mounted display screen 710 and a flat-panel screen 720 .
- GUIs graphical user interfaces
- vehicle display screen 710 is an example of the first device in FIG4, and the flat screen 720 is an example of the second device in FIG4.
- vehicle display screen 710 and the flat screen 720 start to cooperate and then start input control.
- the way in which the vehicle display screen 710 and the flat screen 720 start to cooperate and start input control can refer to the description of S402, which will not be repeated here.
- the vehicle display screen 710 can be controlled through the tablet screen 720.
- video A is playing on the vehicle display screen 710
- the screen of video A is 7101 in the figure.
- the screen 7101 can be projected to the tablet screen 720, such as the screen 7201 in the tablet screen 720, and the content displayed in the screen 7201 is exactly the same as that in the screen 7101.
- the screen includes a video progress bar 7206, and the user can control the progress of the video A played on the vehicle display screen 710 by dragging the video progress bar 7206 in the tablet screen 720, that is, the user can realize the reverse control of the projection of the vehicle display screen 710 on the tablet.
- the cover legend (7102) of video B, the cover legend (7103) of video C, and the cover legend (7104) of video D are arranged in sequence, which can be used by users to select or switch videos.
- the vehicle display screen 710 also includes an escape area 7105, which is an example of the first area in S402.
- the parts of the vehicle display screen 710 other than the escape area 7105 are all restricted areas (also called non-escape areas), which are examples of the second area in S402.
- the vehicle computer determines the user's operation position, that is, the click position, to determine the subsequent processing. For example, if the vehicle computer determines that the click position belongs to the non-escape area, the vehicle computer blocks the "video switching event". In other words, the user's video switching operation on the vehicle display screen 720 is limited.
- the tablet determines that the location belongs to the escape zone, and the vehicle computer starts the escape process and releases the input control. After the input control is released, the user can freely operate on the vehicle display screen 720.
- FIG8 shows an interaction process between a vehicle computer and a tablet provided in an embodiment of the present application.
- the tablet may include a reverse control module, which may also be used to receive the projection screen.
- the vehicle computer may include a reverse control receiving module, an input subsystem, a screen management module, and a privacy sensor service module.
- the car computer can start collaboration with the tablet.
- the tablet projects its interface onto the display screen of the car computer.
- the method of starting collaboration can refer to the description of S402, which will not be repeated here.
- the method of enabling input control by the tablet operating user is only an example of a method of enabling input control and is not limited thereto. Specifically, the method of enabling input control can refer to the description in S402 and will not be described in detail.
- the reverse control module of the tablet sends an input control message to the reverse control receiving module of the vehicle computer.
- the reverse control receiving module of the vehicle computer receives the input control message.
- the reverse control receiving module of the vehicle computer displays a full-screen transparent floating window to the foreground.
- the full-screen transparent floating window includes an escape area.
- the tablet user can perform an operation to control the in-vehicle display screen.
- the reverse control operation can be understood as an example of an input operation.
- the reverse control operation can refer to the description of the input operation in S402.
- the reverse control operation can be understood as a non-local operation.
- the reverse control operation can be to control the display of the in-vehicle device through the tablet.
- the tablet user drags on the tablet screen.
- the progress bar of the animated video can be used to control the video progress on the display screen of the in-vehicle device.
- the reverse control module of the tablet sends a reverse control event to the reverse control receiving module of the vehicle computer.
- the reverse control receiving module of the vehicle computer receives the reverse control event.
- the reverse control event is an event corresponding to the reverse control operation.
- the reverse control event is an event triggered by the reverse control operation.
- the reverse control event can be understood as an example of an input event, and for details, reference can be made to the description of the input event in S401.
- the reverse control receiving module of the vehicle computer sends the reverse control event to the input subsystem, and correspondingly, the input subsystem receives the reverse control event.
- the vehicle operating user can click any position on the vehicle display screen.
- the vehicle operating user can click on an App.
- the input subsystem of the vehicle computer determines a transparent floating window currently used to manage input according to the touch position corresponding to the first operation.
- the input control state of the screen of the vehicle computer can also be determined according to the flag bit. Specifically, reference can be made to the description of the flag bit in S402, which will not be repeated here.
- S810 The input subsystem of the vehicle computer processes the first event according to the source of the first event.
- the first event is an event corresponding to the first operation in S808.
- the first event is an event triggered by the first operation.
- the first event is an example of the input event in S401. For details, please refer to the relevant description in S401, which will not be repeated here.
- the input subsystem does not process it and continues to distribute it in the system.
- the input subsystem redirects the first event back to the floating window and blocks the event transmission process outside the escape area.
- the car computer can determine the processing method of the event corresponding to the user's operation based on the location of the user's operation. It can limit the car computer user's operation under the premise that the tablet and the car computer work together and turn on input control. At the same time, it reserves a way for the car computer user to cancel input control by himself, effectively improving the user experience.
- a third device may also exist.
- the third device may be a mobile phone. It should be understood that the following description will take a mobile phone as an example to illustrate the solution, but the present application is not limited to the type of the third device.
- the third device may also be a tablet or a portable computer.
- FIG9 shows another set of graphical user interfaces (GUIs) provided in an embodiment of the present application, including a vehicle display screen 910 , a tablet screen 920 , and a mobile phone screen 930 .
- GUIs graphical user interfaces
- the mobile phone can share its own interface with the vehicle computer, and the vehicle computer can then project its own interface to the tablet, and the tablet can be used to control the input of the vehicle display screen.
- the vehicle display screen 910 can be controlled by touch through the tablet screen 920. That is, the vehicle display screen 910 is an example of the first device in Figure 4, and the tablet screen 920 is an example of the second device in Figure 4.
- the scheme shown in FIG9 takes the example of sharing a mobile phone and projecting the car computer screen to a tablet as an example, but the present application is not limited thereto.
- the mobile phone can also share its own interface with the tablet, and the tablet can then project its own interface to the car computer, so that the car computer can realize input control of the tablet. No more details are given.
- the vehicle display screen 910 and the flat screen 920 are enabled to cooperate and then enable input control.
- the method of enabling cooperation and input control of the vehicle display screen 910 and the flat screen 920 can refer to the description of S402, which will not be repeated here.
- the interface sharing between the mobile phone and the vehicle machine can also be achieved by enabling cooperation.
- the description of the method of enabling cooperation in S402 also applies to the cooperation between the mobile phone and the vehicle machine, which will not be repeated here.
- the tablet screen 920 can be controlled through the vehicle display screen 910.
- video A is playing on the vehicle display screen 910
- the screen of video A is 9101 in the figure.
- the screen 9101 can be projected to the tablet screen 920, such as the screen 9201 in the tablet screen 920, and the content displayed on the screen 9201 is exactly the same as the content displayed on the screen 9101 and the content displayed on the screen 9301.
- the screen includes a video progress bar 9206, and the user can control the progress of the video A played on the vehicle display screen 910 by dragging the video progress bar 9206 in the tablet screen 920, that is, the user can realize the reverse control of the projection of the vehicle display screen 910 on the tablet.
- the cover legend (9102) of video B is arranged in sequence, which can be used by users to select or switch videos.
- the cover legend (9102) of video B is arranged in sequence, which can be used by users to select or switch videos.
- the vehicle display screen 910 also includes an escape area 9105, which is an example of the first area in S402.
- the parts of the vehicle display screen 910 other than the escape area 9107 are all restricted areas (also called non-escape areas), which are examples of the second area in S402.
- the vehicle computer determines the user's operation position, that is, the click position, to determine the subsequent processing. For example, if the vehicle computer determines that the click position belongs to the non-escape area, the vehicle computer blocks the "video switching event". In other words, the user's video switching operation on the vehicle display screen 920 is limited.
- the vehicle computer starts the escape process and releases the input control restriction. After the input control restriction is released, the user can freely operate on the vehicle display screen 910.
- FIG10 shows an interaction process among a vehicle computer, a mobile phone and a tablet provided in an embodiment of the present application.
- the tablet may include a reverse control module, which may also be used to receive the projection screen.
- the vehicle computer may include a reverse control receiving module, an input subsystem, a screen management module, and a privacy sensor service module.
- S1001 The car computer, mobile phone and tablet are connected.
- the car computer can start collaboration with a mobile phone and a tablet.
- the mobile phone projects its own interface to the display screen of the car computer.
- the mobile phone projects its own interface to the tablet.
- the method of starting collaboration can refer to the description of S402 and will not be repeated here. It should be understood that after the mobile phone projects its own interface to the tablet, the tablet can then project the projection interface to the car screen.
- the embodiment of the present application does not limit the screen sharing method of the three-party devices, and the methods that can achieve screen sharing of the three-party devices should be within the scope of protection of this application.
- the method of enabling input control by the tablet operating user is only an example of a method of enabling input control and is not limited thereto. Specifically, the method of enabling input control can refer to the description in S402 and will not be described in detail.
- the reverse control module of the tablet sends an input control message to the reverse control receiving module of the vehicle computer.
- the reverse control receiving module of the vehicle computer receives the input control message.
- the reverse control receiving module of the vehicle computer displays a full-screen transparent floating window to the foreground.
- the full-screen transparent floating window includes an escape area.
- the tablet user can perform operations to control the vehicle-mounted display screen.
- the tablet user can perform operations to control the vehicle-mounted display screen.
- S805 which will not be repeated here.
- the reverse control module of the tablet sends a reverse control event to the reverse control receiving module of the vehicle computer.
- the reverse control receiving module of the vehicle computer receives the reverse control event.
- the reverse control event is an event corresponding to the reverse control operation.
- S806 which will not be described in detail.
- the reverse control receiving module of the vehicle computer sends the reverse control event to the input subsystem, and correspondingly, the input subsystem receives the reverse control event.
- the vehicle operating user can click any position on the vehicle display screen.
- the vehicle operating user can click on an App.
- the input subsystem of the vehicle computer determines a transparent floating window currently used to manage input according to the touch position corresponding to the first operation.
- the input control state of the screen of the vehicle computer can also be determined according to the flag bit. Specifically, reference can be made to the description of the flag bit in S402, which will not be repeated here.
- S1010 The input subsystem of the vehicle computer processes the first event according to the source of the first event.
- the first event is an event corresponding to the first operation in S10010.
- the first event is an event triggered by the first operation.
- the first event is an example of the input event in S401. For details, please refer to the relevant description in S401, which will not be repeated here.
- the input subsystem does not process it and continues to distribute it in the system.
- the input subsystem redirects the first event back to the floating window and blocks the event transmission process outside the escape area.
- the above method is an explanation of the example of projecting the screen of a mobile phone and managing the touch operation of the car computer by a tablet, and this application is not limited to this.
- the touch operation of the tablet can also be managed by the car computer.
- the touch operation of the mobile phone can be managed by the car computer.
- the touch operation of the tablet can be managed by the mobile phone.
- the touch operation of the car display can be managed by the mobile phone, and so on. I will not list them one by one here.
- the input control of a certain device is enabled, and the device can handle the event source.
- the event is handled effectively, which effectively limits the local operations of the controlled device and improves the user experience.
- this method only takes three-party device interaction as an example, and this application does not limit the number of devices included in the communication system. For example, it can also be four-party device interaction, five-party device interaction, and so on.
- the first device and the second device in the above scheme may belong to different devices, such as a car computer and a tablet, or different devices in a car computer with a multi-core and multi-screen mechanism.
- the first device and the second device may also belong to the same device.
- the first device and the second device may be different electronic screens mounted on a car computer with a one-core and multi-screen mechanism.
- the present application does not limit the number of devices included in the communication system.
- the communication system of the present application may include multiple electronic screens mounted on the car computer.
- the following is an example in which two electronic screens are included in the communication system. That is, the first device is the car screen 1, and the second device is the car screen 2.
- FIG. 11 shows an interaction process between different vehicle-mounted screens provided in an embodiment of the present application.
- the vehicle screen 1 may include a reverse control module, which may also be used to receive the projection screen.
- the vehicle screen 2 may include a reverse control receiving module, an input subsystem, a screen management module, and a privacy sensor service module.
- the vehicle screen 1 is used as an example of the second device, and the vehicle screen 2 is used as an example of the first device.
- Car screen 1 establishes a connection with car screen 2.
- the vehicle screen 1 can start collaboration with the vehicle screen 2.
- the interface of the vehicle screen 2 is projected onto the vehicle screen 1.
- the method of starting collaboration can refer to the description of S402, which will not be repeated here.
- S1102 The user of the vehicle screen 1 operates to turn on input control.
- vehicle screen 2 operating the user to turn on the input control is only an example of a method for turning on the input control, and is not limited thereto. Specifically, the method for turning on the input control can refer to the description in S402, and will not be repeated here.
- S1103 The reverse control module of the vehicle screen 1 sends an input control message to the reverse control receiving module of the vehicle screen 2. Correspondingly, the reverse control receiving module of the vehicle screen 2 receives the input control message.
- S1104 The reverse control receiving module of the vehicle-mounted screen 2 displays a full-screen transparent floating window to the foreground.
- the full-screen transparent floating window includes an escape area.
- S1105 The user of the vehicle-mounted screen 1 performs a reverse control operation.
- the user of the in-vehicle screen 1 can perform operations to control the in-vehicle screen 2 .
- the reverse control operation is a reverse control operation.
- the reverse control operation can be understood as an example of an input operation.
- the reverse control operation can refer to the description of the input operation in S402.
- the reverse control operation can be understood as a non-local operation.
- the reverse control operation can be to control the display of the vehicle screen 2 through the vehicle screen 1.
- the user of the vehicle screen 1 drags the progress bar of the video on the vehicle screen 1 to control the progress of the video in the vehicle screen 2.
- the reverse control module of the vehicle screen 1 sends a reverse control event to the reverse control receiving module of the vehicle screen 2.
- the reverse control receiving module of the vehicle screen 2 receives the reverse control event.
- the reverse control event is an event corresponding to the reverse control operation.
- the reverse control event is an event triggered by the reverse control operation.
- the reverse control event can be understood as an example of an input event, and for details, reference can be made to the description of the input event in S401.
- the reverse control receiving module of the vehicle-mounted screen 2 sends the reverse control event to the input subsystem, and correspondingly, the input subsystem receives the reverse control event.
- S1108 Car screen 2 operation The user touches the car screen 2 to complete the first operation.
- the user operating the vehicle screen 2 can click any position on the vehicle display screen.
- the user operating the vehicle screen 2 can click a certain App.
- the input subsystem of the vehicle screen 2 determines the transparent floating window currently used to manage the input according to the touch position corresponding to the first operation.
- the input control state of the vehicle screen 2 can also be determined according to the flag bit. Specifically, reference can be made to the description of the flag bit in S402, which will not be repeated here.
- S1111 The input subsystem of the vehicle screen 2 processes the first event according to the source of the first event.
- the first event is an event corresponding to the first operation in S1108.
- the first event is an event triggered by the first operation.
- the first event is an example of the input event in S401. For details, please refer to the relevant description in S401, which will not be repeated here.
- the input subsystem does not process it and continues to distribute it in the system.
- the input subsystem redirects the first event Return to the floating window and block the event transmission process outside the escape area.
- input control can also be achieved between different display screens belonging to the same device.
- the processing of the event can be determined according to the source of the local event, such as blocking the event, effectively avoiding the impact of local operations on the current screen running tasks, and improving the user experience.
- the present application proposes an embodiment, which provides a privacy protection method that can protect user privacy.
- FIG12 shows a device management method provided by an embodiment of the present application, which may include the following steps:
- the second device sends indication information to the first device, and correspondingly, the first device receives the indication information.
- the first device and the second device have started collaboration.
- the first device projects its own interface to the second device, and the second device can control the first device by operating locally on the second device.
- the way in which the first device and the second device start collaboration can refer to the description of S402, which will not be repeated here.
- the indication information is used to instruct the second device to turn off the screen.
- S1202 The first device turns off the screen according to the instruction information.
- S1203 The second device performs a second operation to enable the first application of the first device.
- the second device can still control the first device through local operations, for example, the second device opens the first application through the second operation.
- the sensitive sensor may be a sensor such as a camera or a microphone.
- the blocked call may be understood as being unable to call or being rejected.
- the method may further include:
- S1205 The first device displays the reason for the call failure.
- the first device can remind the operating user why the call failed this time, and the user can adjust the operation according to the reminder.
- the reason for the call failure may also be displayed on the second device, which is not limited in this application.
- the call of sensitive sensors can be blocked, thereby protecting user privacy and improving user experience.
- the following takes the second device as a car computer and the first device as a tablet as an example to provide a specific implementation process of the above method.
- FIG. 13 shows an interaction process between a vehicle computer and a tablet provided in an embodiment of the present application.
- the vehicle computer may include a reverse control module, which may also be used to receive the projection screen.
- the tablet may include a reverse control receiving module, an input subsystem, a screen management module, and a privacy sensor service module.
- the car computer can start collaboration with the tablet.
- the tablet projects its interface onto the display screen of the car computer.
- the method of starting collaboration can refer to the description of S402, which will not be repeated here.
- the reverse control module of the vehicle computer sends a screen-off instruction to the reverse control receiving module of the tablet computer.
- the reverse control receiving module of the tablet computer receives the screen-off instruction.
- S1304 The reverse control receiving module of the tablet calls the screen turning off interface to the screen management module.
- S1305 The screen management module of the tablet executes screen turning off.
- S1306 the screen management module of the tablet sends a screen-off success message to the reverse control receiving module of the tablet, and correspondingly, the reverse control receiving module of the tablet receives the screen-off success message.
- the reverse control receiving module of the tablet sends a message for closing the privacy sensor call to the privacy sensor service module.
- the privacy sensor service module receives the message for closing the privacy sensor call.
- the privacy sensor service module sets a flag to block the call to the privacy sensor.
- the flag bit is used to represent the calling state of the privacy sensor. Specifically, the flag bit is used to represent whether the calling state of the privacy sensor is on or off, or in other words, the flag bit is used to represent whether the calling of the privacy sensor is allowed. Specifically, the flag bit can be set to true or false. When the flag bit is true, it represents that the call is allowed or the calling state is on. When the flag bit is false, it represents that the call is rejected or the calling state is off. It should be understood that the setting of the above flag bit is only an example and not a limitation. For example, the flag bit can also be set to 0 or 1. When the flag bit is 1, it represents that the call is allowed or the calling state is on.
- the screen projection reverse control operation is used to trigger a second event.
- the reverse control receiving module receives a second event.
- the processing corresponding to the second event needs to call the sensitive sensor of the tablet.
- the processing corresponding to the second event may be to start an application in the second device.
- the privacy sensing service module calls back the application's calling message on the sensitive sensor to the counter-control receiving module, and correspondingly, the counter-control receiving module receives the application's calling message on the sensitive sensor.
- the reverse control receiving module reminds the operating user of the reason for the call failure.
- the tablet screen when the tablet screen is off, the car computer can still control the tablet through local operations. At the same time, the tablet denies the user's operation of calling sensitive sensors through the privacy sensor service module, protecting user privacy and improving user experience.
- the above process uses a tablet and a car computer as an example, but the present application is not limited to this.
- the car computer can also turn off the screen and refuse the tablet's call to the car computer privacy sensor.
- the first device and the second device can be different display screens of the same device, such as car screen 1 and car screen 2.
- the communication system can also include more devices, for example, it can be the interaction between a mobile phone, a tablet and a car computer, etc. For the sake of brevity, they are not listed one by one here.
- the embodiments of the present application can also be applied to scenarios with multiple devices and multiple screens. If the multiple devices and multiple screens share a system, the specific solution can refer to the description of Figure 11; if the multiple devices belong to different systems, and each system manages multiple screens, the solution within the same system can refer to the description of Figure 11, and the solution across systems (or belonging to multiple systems) can refer to the descriptions in Figures 5 to 8, which will not be repeated here.
- the full-screen transparent floating window in the embodiment of the present application is covered in the display area of the controlled device, or in other words, the full-screen transparent floating window is covered in the display area of the device under input control.
- the full-screen transparent floating window is covered in the display screen of the tablet; between multiple screens belonging to the same system, the full-screen transparent floating window is covered on the screen under input control, such as when the vehicle screen 1 and the vehicle screen 2 are in the interaction process, the vehicle screen 2 is input controlled, and the full-screen transparent floating window is covered on the vehicle screen 2.
- the first device in the present application can be an electronic device, such as a tablet, or a screen, such as a tablet screen, a vehicle screen, etc.
- the first device is a device under input control, and the full-screen transparent floating window is displayed on the device under input control.
- Fig. 14 shows a schematic block diagram of a device provided in an embodiment of the present application.
- the device can be arranged in the vehicle-mounted device or the electronic device described in Figs. 4 to 13 above.
- the device 400 includes: a display unit 415 and a processing unit 420 .
- the display unit 415 is used to execute steps related to the display of the second device (e.g., a vehicle computer) in the embodiments described in FIGS. 4 to 13 above;
- the processing unit 420 is used to execute steps related to the processing of the second device (e.g., a vehicle computer) in the embodiments described in FIGS. 4 to 13 above.
- the apparatus may further include a playback unit, which is used to execute the playback-related steps of the second device (such as a vehicle computer) in the embodiments described in FIGS. 4 to 13 above.
- a playback unit which is used to execute the playback-related steps of the second device (such as a vehicle computer) in the embodiments described in FIGS. 4 to 13 above.
- the display unit 415 is used to execute steps related to the display of the first device (e.g., a tablet) in the embodiments described in FIGS. 4 to 13 above;
- the processing unit 420 is used to execute steps related to the processing of the first device (e.g., a tablet) in the embodiments described in FIGS. 4 to 13 above.
- the apparatus may further include a playback unit, which is used to execute the playback-related steps of the electronic device in the embodiment described in FIG. 8 above.
- FIG. 15 shows a schematic structural diagram of an electronic device 500 provided in an embodiment of the present application.
- the electronic device 500 includes: one or more processors 515, one or more memories 520, and the one or more memories 520 store one or more computer programs, and the one or more computer programs include instructions.
- the instructions are executed by the one or more processors 515, the second device (such as a car computer) described in FIG. 4 to FIG. 13 above executes the technical solutions in the embodiments of FIG. 4 to FIG. 13 above, or the first device (such as a tablet) described in FIG. 4 to FIG. 13 above executes The technical solutions of the embodiments in Figures 4 to 13 above.
- the embodiment of the present application provides a computer program product, when the computer program product is run on an electronic device, the electronic device executes the technical solution in the above embodiment. Its implementation principle and technical effect are similar to those of the above method-related embodiments, and will not be repeated here.
- the embodiment of the present application provides a readable storage medium, the readable storage medium contains instructions, when the instructions are executed in an electronic device, the electronic device executes the technical solution of the above embodiment.
- the implementation principle and technical effect are similar, and will not be repeated here.
- the embodiment of the present application provides a chip, the chip is used to execute instructions, when the chip is running, the technical solution in the above embodiment is executed.
- the implementation principle and technical effect are similar, and will not be repeated here.
- the disclosed systems, devices and methods can be implemented in other ways.
- the device embodiments described above are only schematic.
- the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed.
- Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
- the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple 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.
- each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
- the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium.
- the technical solution of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art.
- the computer software product is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in each embodiment of the present application.
- the aforementioned storage media include: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk, and other media that can store program codes.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Theoretical Computer Science (AREA)
- Signal Processing (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- General Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Computer Security & Cryptography (AREA)
- Telephone Function (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
一种管控方法及电子设备,管控方法包括:第一设备与第二设备开启协同,当输入管控状态为开启,且第一事件对应的第一操作的位置在第一区域内,第一设备阻断第一事件的传递(S4021);当输入管控状态为开启,且第一事件对应的第一操作的位置在第二区域内,第一设备解除输入管控,第一区域与第二区域分别为第一设备显示区域的一部分(S42022)。管控方法限制用户在第一设备本地的操作,避免用户在第一设备本地的操作影响第二设备与第一设备的协同,同时预留了逃生区域,第一设备能够在输入管控状态开启的情况下自主解除管控状态,管控状态解除后第一设备的用户可以自由操作,进而有助于提高用户体验。
Description
本申请要求于2022年12月21日提交中国国家知识产权局、申请号为202211650267.6、申请名称为“设备管理方法及电子设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
本申请涉及终端领域。尤其涉及一种设备管理方法及电子设备。
随着电子设备的发展,用户对电子设备的要求越来越高,如用户往往希望可以跨设备操作或者多屏幕协作。比如,可以通过投屏反控来支持用户在投屏端的反控操作,但是这种场景下用户存在更多的需求。如何满足用户需求,提升用户体验是亟待解决的问题。
发明内容
本申请提供一种设备管理方法及电子设备,该方法有助于提高用户的体验。
第一方面,提供了一种设备管理方法,所述方法应用于包括第一设备和第二设备的***,其中,所述第一设备的界面投屏至所述第二设备显示,所述方法包括:所述第一设备接收第一事件,所述第一事件是由第一操作触发的,所述第一操作属于所述第一设备的本地操作;
当所述输入管控状态为开启,且所述第一操作的位置在第一区域内时,所述第一设备阻断所述第一事件的传递,其中,所述输入管控状态为开启表示所述第一设备的本地操作被管控;
或者,
当所述输入管控状态为开启,且所述第一操作的位置在第二区域内时,所述第一设备将所述输入管控状态调整为关闭,其中,所述输入管控状态为关闭表示所述第一设备的本地操作未被管控,所述第一区域与所述第二区域分别为所述第一设备显示区域的一部分,所述第一区域与所述第二区域不重叠。
可以理解,该设备管理的方法可以扩展到包括至少两个设备的***,其中,所述至少两个设备中的第一设备能够接收来自所述至少两个设备中的第二设备的用户操作信息,并执行所述用户操作信息指示的动作。也就是说,该设备管理方法不局限于投屏场景。
在本申请技术方案中,在第一设备与第二设备协同并开启输入管控的情况下,当第一设备发生本地输入事件时,可以根据第一事件对应的操作位置确定对第一事件的处理,比如拒绝第一事件,或者触发逃生流程。这样,能够限制用户在第一设备本地的操作,避免用户在第一设备本地的操作影响第二设备与第一设备的协同,比如投屏等。同时预留了逃生区域,第一设备能够在输入管控状态开启的情况下自主解除管控状态,管控状态解除后第一设备的用户可以自由操作,进而有助于提高用户体验。
结合第一方面,在第一方面的某些实现方式中,当所述输入管控状态为关闭时,所述第一设备允许所述第一事件的传递。
该方式中,当输入管控状态未开启,对第一设备本地输入事件不作限制,第一设备的用户可以自由操作。
结合第一方面,在第一方面的某些实现方式中,所述第一设备接收第一消息,所述第一消息用于指示将所述输入管控状态调整为开启。
也就是说,第一设备可以在接收到第一消息后开启输入管控。或者说,第一设备在接收到开启指示后开启输入管控。该方式中,第一设备在未接收到开启指示时,第一设备的用户可以自由操作第一设备,或者说第一设备的用户可以自由使用第一设备。当需要开启输入管控时,第一设备接收到指示再开启输入域管控,可以实现按需开启,尽可能保证第一设备的用户的使用自由。
应理解,第一设备开启输入管控状态的方式不限于此。
结合第一方面,在第一方面的某些实现方式中,当输入管控状态为开启时,所述第一设备开启全屏透明悬浮窗,所述全屏透明悬浮窗覆盖于所述第一设备的显示区域。
应理解,第一设备为电子设备,比如可以是平板、手机等等,第一设备也可以是显示屏幕,比如车
载屏幕,或是同一电子设备的多个显示屏幕等等。第一设备输入管控状态为开启,意味着第一设备被管控,全屏透明悬浮窗覆盖于第一设备可以理解为,全屏透明悬浮窗覆盖于被管控的电子设备或是被管控的显示屏幕上。
结合第一方面,在第一方面的某些实现方式中,所述全屏透明悬浮窗包括所述第二区域。
也就是说,第一设备上的逃生区域设置在全屏透明悬浮窗上。
结合第一方面,在第一方面的某些实现方式中,所述第一事件对应熄屏处理,所述输入管控状态为关闭时,所述方法还包括:所述第一设备执行熄屏处理。
或者说,所述第一事件对应熄屏处理,所述输入管控未开启时,第一设备执行熄屏处理。
结合第一方面,在第一方面的某些实现方式中,所述第一设备接收来自第二设备的指示信息,所述指示信息用于指示熄屏,所述指示信息是由所述第二设备本地的反控操作触发的;所述第一设备执行熄屏处理包括:所述第一设备根据所述指示信息执行熄屏处理。
换言之,该方式中,第一设备执行熄屏处理是由于第二设备的反控操作,比如第二设备反控第一设备熄屏。
结合第一方面,在第一方面的某些实现方式中,所述第一设备接收第二事件,所述第二事件是由来自所述第二设备的反控操作触发的;响应于所述第二事件,所述第一设备执行所述第二事件对应的处理。
结合第一方面,在第一方面的某些实现方式中,所述第一设备接收第二事件,所述第二事件是由来自所述第二设备的反控操作触发的;响应于所述第二事件,所述第一设备执行所述第二事件对应的处理。
换句话说,当第一设备熄屏后,第二设备仍让能够通过投屏反控来控制第一设备。
结合第一方面,在第一方面的某些实现方式中,当所述第二事件对应的处理调用所述第一设备的敏感传感器时,所述第一设备阻断所述调用。
在第一设备熄屏的情况下,敏感传奇器拒绝调用能够保护第一设备用户隐私。
第二方面,提供了一种设备管理方法,所述方法应用于包括第一设备和第二设备的***,其中,所述第一设备的界面投屏至所述第二设备显示,所述方法包括:第一设备与第二设备建立连接;所述第一设备执行熄屏操作;当所述第一设备的敏感传感器被调用时,所述第一设备阻断所述调用。
换句话说,该设备管理的方法可以应用于包括至少两个设备的***,其中,所述至少两个设备中的第一设备能够接收来自所述至少两个设备中的第二设备的用户操作信息,并执行所述用户操作信息指示的动作。
该方法中,在第一设备与第二设备建立连接并且熄屏的情况下,第一设备敏感传感器被调用时可以拒绝该调用,以保护第一设备或是第一设备的用户的隐私,有助于提升用户体验。
结合第二方面,在第二方面的某些实现方式中,所述第一设备与第二设备建立连接包括:所述第一设备与所述第二设备开启协同,所述第一设备将自身显示界面投屏给所述第二设备。
结合第二方面,在第二方面的某些实现方式中,接收指示信息,所述指示信息用于指示熄屏;所述第一设备执行熄屏操作包括:所述第一设备根据所述指示信息执行熄屏操作。
可选地,指示信息可以是第二设备向第一设备发送的。
第三方面,提供了一种装置,该装置包括:显示单元,用于显示协同界面;处理单元,用于接收第一事件,根据输入管控状态确定是否阻断所述第一事件,所述输入管控状态表示所述第一设备的第一操作是否被管控,所述第一操作为对所述第一设备的输入操作,所述输入管控状态包括开启或者关闭;当所述输入管控状态为开启,且所述第一事件对应的第一操作的位置在第一区域内,所述处理单元阻断所述第一事件;当所述输入管控状态为开启,且所述第一事件对应的第一操作的位置在第二区域内,所述处理单元触发逃生流程,所述第一区域与所述第二区域分别为所述第一设备显示区域的一部分。
结合第三方面,在第三方面的某些实现方式中,当所述输入管控状态未开启时,处理单元允许所述第一事件。
结合第三方面,在第三方面的某些实现方式中,处理单元还用于接收第一消息,所述第一消息用于指示将所述输入管控状态调整为开启。
结合第三方面,在第三方面的某些实现方式中,当输入管控状态为开启时,处理单元用于开启全屏透明悬浮窗,显示单元用于显示所述全屏透明悬浮窗,所述全屏透明悬浮窗覆盖于所述第一设备的显示区域。
结合第三方面,在第三方面的某些实现方式中,所述全屏透明悬浮窗包括所述第二区域。
结合第三方面,在第三方面的某些实现方式中,所述第一事件对应熄屏处理,所述输入管控状态为关闭时,处理单元用于执行熄屏处理。
或者说,所述第一事件对应熄屏处理,所述输入管控未开启时,第一设备执行熄屏处理。
结合第三方面,在第三方面的某些实现方式中,该处理单元接收来自第二设备的指示信息,所述指示信息用于指示熄屏,所述指示信息是由所述第二设备本地的反控操作触发的;该处理单元根据所述指示信息执行熄屏处理。
结合第三方面,在第三方面的某些实现方式中,处理单元用于接收第二事件,所述第二事件是由来自所述第二设备的反控操作触发的;响应于所述第二事件,处理单元用于执行所述第二事件对应的处理。
结合第三方面,在第三方面的某些实现方式中,当所述第二事件对应的处理调用所述第一设备的敏感传感器时,该处理单元还用于阻断所述调用。
第四方面,提供了一种装置,该装置包括:显示单元,用于显示应用界面;处理单元,用于与第二设备建立连接;该处理单元还用于执行熄屏操作,当所述第一设备的敏感传感器被调用时,处理单元阻断所述调用。
结合第四方面,在第四方面的某些实现方式中,该处理单元用于开启协同,该处理单元还用于将自身显示界面投屏给所述第二设备。
结合第四方面,在第四方面的某些实现方式中,该处理单元用于接收指示信息,所述指示信息用于指示熄屏;该处理单元根据所述指示信息执行熄屏操作。
第五方面,提供了一种包含指令的计算机程序产品,当所述计算机程序产品在电子设备上运行时,使得所述电子设备执行上述第一方面和/或第二方面、或第一方面的任一种可实现的方式和/或第二方面的任一种可实现的方式中所述的管控方法。
第六方面,提供了一种计算机可读存储介质,该存储介质可以是非易失性的。该存储介质包括指令,当所述指令在电子设备上运行时,使得所述电子设备执行上述第一方面和/或第二方面、或第一方面的任一种可实现的方式和/或第二方面的任一种可实现的方式中所述的管控方法。
第七方面,提供了一种芯片***,包括:处理器,用于从存储器中调用并运行计算机程序,使得安装有所述芯片***的电子设备执行上述第一方面和/或第二方面、或第一方面的任一种可实现的方式和/或第二方面的任一种可实现的方式中所述的管控方法。
第八方面,提供了一种设备管理方法,所述方法应用于电子设备,应用于包括第一设备和第二设备的***,其中,所述第一设备的界面投屏至所述第二设备显示,所述方法包括:
所述第一设备接收第一反控事件,所述第一反控事件是所述第二设备本地的反控操作触发的;
响应于所述第一反控事件,所述第一设备执行所述第一反控事件对应的处理;
所述第一设备接收第一本地事件,所述第一本地事件对应的操作在第一区域内;
响应于所述第一本地事件,所述第一设备不执行所述第一本地事件对应的处理;
所述第一设备接收第二本地事件,所述第二本地事件对应的操作在第二区域内,其中,所述第一区域与所述第二区域分别为所述第一设备显示区域的一部分,所述第一区域与所述第二区域不重叠;
响应于所述第二本地事件,所述第一设备执行所述第二本地事件对应的处理。
也就是说,第二设备可以对第一设备进行投屏反控。当在第一区域内操作第一设备时,由于第一区域被输入管控,第一设备不执行相应的处理,当在第二区域操作第一设备时,可以解除对该第一设备的管控。
可以理解,该设备管理的方法可以扩展到包括至少两个设备的***,其中,所述至少两个设备中的第一设备能够接收来自所述至少两个设备中的第二设备的用户操作信息,并执行所述用户操作信息指示的动作。也就是说,该设备管理方法不局限于投屏场景。
结合第八方面,在第八方面的某些实现方式中,所述第二本地事件对应的处理为将所述第一设备的输入管控状态调整为关闭,其中,所述输入管控状态为关闭表示所述第一设备的本地操作未被管控。
结合第八方面,在第八方面的某些实现方式中,响应于所述第二本地事件,所述第一设备执行所述第二本地事件对应的处理之后,所述方法还包括:
所述第一设备接收第三本地事件,所述第三本地事件对应的操作在第一设备的显示区域的任意位置;
响应于所述第三本地事件,所述第一设备执行所述第三本地事件对应的处理。
也就是说,通过在第二区域内的操作解除对第一设备的管控后,可以在第一设备显示区域的任意位
置对第一设备进行操作,第一设备可以执行对应的处理。
结合第八方面,在第八方面的某些实现方式中,所述第一设备接收第二反控事件,所述第二反控事件是所述第二设备本地的反控操作触发的;
响应于所述第二反控事件,所述第一设备执行熄屏操作;
所述第一设备接收第三反控事件,所述第三反控事件是所述第二设备本地的反控操作触发的;
响应于所述第三反控事件,所述第一设备启动第一应用。
也就是说,当通过第二设备反控第一设备熄屏后,依然可以通过第二设备对第一设备进行反控操作,启动第一应用。
结合第八方面,在第八方面的某些实现方式中,所述第一设备接收第四本地事件,所述第四本地事件指示所述第一设备熄屏;
响应于所述第四本地事件,所述第一设备执行熄屏操作;
所述第一设备接收第四反控事件,所述第四反控事件是所述第二设备本地的反控操作触发的;
响应于所述第四反控事件,所述第一设备启动第一应用。
也就是说,当第一设备本地执行熄屏操作后,依然可以通过第二设备对第一设备进行反控操作,启动第一应用。
结合第八方面,在第八方面的某些实现方式中,所述第一应用调用所述第二设备的敏感传感器时,在所述第一设备和/或所述第二设备上提示调用失败。
第九方面,提供了一种设备管理***,该***包括第八方面的任一种可实现的方式中的第一设备和第二设备。
图1示出了本申请实施例提供的一种电子设备的硬件结构示意图。
图2示出了本申请实施例提供的一种电子设备的软件结构框图。
图3示出了本申请实施例提供的一例应用场景200的示例图。
图4示出了本申请实施例提供的一种管控方法的示意图。
图5示出了本申请实施例提供的一组GUI。
图6示出了本申请实施例提供的一种车机与平板的交互流程示意图。
图7示出了本申请实施例提供的又一组GUI。
图8示出了本申请实施例提供的又一种车机与平板的交互流程示意图。
图9示出了本申请实施例提供的又一组GUI。
图10示出了本申请实施例提供的一种车机、手机与平板的交互流程示意图。
图11示出了本申请实施例提供的一种不同车载屏幕之间的交互流程示意图。
图12示出了本申请实施例提供的一种管控方法的示意图。
图13示出了本申请实施例提供的一种车机与平板之间的交互流程示意图。
图14示出了本申请实施例提供的一例装置的示意性框图。
图15示出了本申请实施例提供的一例电子设备的示意性结构图。
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行描述。其中,在本申请实施例的描述中,除非另有说明,“/”表示或的意思,例如,A/B可以表示A或B;本文中的“和/或”仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。另外,在本申请实施例的描述中,“复数个”或者“多个”是指两个或多于两个。
以下,术语“第一”、“第二”仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括一个或者更多个该特征。在本实施例的描述中,除非另有说明,“多个”的含义是两个或两个以上。
本申请实施例提供的方法可以应用于手机、平板电脑、可穿戴设备、车载设备、增强现实(augmented reality,AR)/虚拟现实(virtual reality,VR)设备、笔记本电脑、超级移动个人计算机
(ultra-mobile personal computer,UMPC)、上网本、个人数字助理(personal digital assistant,PDA)、智能车等电子设备上,本申请实施例对电子设备的具体类型不作任何限制。
示例性的,图1示出了电子设备100的结构示意图。电子设备100可以包括处理器110,外部存储器接口120,内部存储器121,通用串行总线(universal serial bus,USB)接口130,充电管理模块140,电源管理模块141,电池142,天线1,天线2,移动通信模块150,无线通信模块160,音频模块170,扬声器170A,受话器170B,麦克风170C,耳机接口170D,传感器模块180,按键190,马达191,指示器192,摄像头193,显示屏194,以及用户身份识别(subscriber identification module,SIM)卡接口195等。其中传感器模块180可以包括压力传感器180A,陀螺仪传感器180B,气压传感器180C,磁传感器180D,加速度传感器180E,距离传感器180F,接近光传感器180G,指纹传感器180H,温度传感器180J,触摸传感器180K,环境光传感器180L,骨传导传感器180M等。
可以理解的是,本申请实施例示意的结构并不构成对电子设备100的具体限定。在本申请另一些实施例中,电子设备100可以包括比图示更多或更少的部件,或者组合某些部件,或者拆分某些部件,或者不同的部件布置。图示的部件可以以硬件,软件或软件和硬件的组合实现。
处理器110可以包括一个或多个处理单元,例如:处理器110可以包括应用处理器(application processor,AP),调制解调处理器,图形处理器(graphics processing unit,GPU),图像信号处理器(image signal processor,ISP),控制器,存储器,视频编解码器,数字信号处理器(digital signal processor,DSP),基带处理器,和/或神经网络处理器(neural-network processing unit,NPU)等。其中,不同的处理单元可以是独立的器件,也可以集成在一个或多个处理器中。
其中,控制器可以是电子设备100的神经中枢和指挥中心。控制器可以根据指令操作码和时序信号,产生操作控制信号,完成取指令和执行指令的控制。
处理器110中还可以设置存储器,用于存储指令和数据。在一些实施例中,处理器110中的存储器为高速缓冲存储器。该存储器可以保存处理器110刚用过或循环使用的指令或数据。如果处理器110需要再次使用该指令或数据,可从所述存储器中直接调用。避免了重复存取,减少了处理器110的等待时间,因而提高了***的效率。
在一些实施例中,处理器110可以包括一个或多个接口。接口可以包括集成电路(inter-integrated circuit,I2C)接口,集成电路内置音频(inter-integrated circuit sound,I2S)接口,脉冲编码调制(pulse code modulation,PCM)接口,通用异步收发传输器(universal asynchronous receiver/transmitter,UART)接口,移动产业处理器接口(mobile industry processor interface,MIPI),通用输入输出(general-purpose input/output,GPIO)接口,用户身份识别(subscriber identity module,SIM)接口,和/或通用串行总线(universal serial bus,USB)接口等。
I2C接口是一种双向同步串行总线,包括一根串行数据线(serial data line,SDA)和一根串行时钟线(derail clock line,SCL)。在一些实施例中,处理器110可以包含多组I2C总线。处理器110可以通过不同的I2C总线接口分别耦合触摸传感器180K,充电器,闪光灯,摄像头193等。例如:处理器110可以通过I2C接口耦合触摸传感器180K,使处理器110与触摸传感器180K通过I2C总线接口通信,实现电子设备100的触摸功能。
I2S接口可以用于音频通信。在一些实施例中,处理器110可以包含多组I2S总线。处理器110可以通过I2S总线与音频模块170耦合,实现处理器110与音频模块170之间的通信。在一些实施例中,音频模块170可以通过I2S接口向无线通信模块160传递音频信号,实现通过蓝牙耳机接听电话的功能。
PCM接口也可以用于音频通信,将模拟信号抽样,量化和编码。在一些实施例中,音频模块170与无线通信模块160可以通过PCM总线接口耦合。在一些实施例中,音频模块170也可以通过PCM接口向无线通信模块160传递音频信号,实现通过蓝牙耳机接听电话的功能。所述I2S接口和所述PCM接口都可以用于音频通信。
UART接口是一种通用串行数据总线,用于异步通信。该总线可以为双向通信总线。它将要传输的数据在串行通信与并行通信之间转换。在一些实施例中,UART接口通常被用于连接处理器110与无线通信模块160。例如:处理器110通过UART接口与无线通信模块160中的蓝牙模块通信,实现蓝牙功能。在一些实施例中,音频模块170可以通过UART接口向无线通信模块160传递音频信号,实现通过蓝牙耳机播放音乐的功能。
MIPI接口可以被用于连接处理器110与显示屏194,摄像头193等***器件。MIPI接口包括摄像头
串行接口(camera serial interface,CSI),显示屏串行接口(display serial interface,DSI)等。在一些实施例中,处理器110和摄像头193通过CSI接口通信,实现电子设备100的拍摄功能。处理器110和显示屏194通过DSI接口通信,实现电子设备100的显示功能。
GPIO接口可以通过软件配置。GPIO接口可以被配置为控制信号,也可被配置为数据信号。在一些实施例中,GPIO接口可以用于连接处理器110与摄像头193,显示屏194,无线通信模块160,音频模块170,传感器模块180等。GPIO接口还可以被配置为I2C接口,I2S接口,UART接口,MIPI接口等。
USB接口130是符合USB标准规范的接口,具体可以是Mini USB接口,Micro USB接口,USB Type C接口等。USB接口130可以用于连接充电器为电子设备100充电,也可以用于电子设备100与***设备之间传输数据。也可以用于连接耳机,通过耳机播放音频。该接口还可以用于连接其他电子设备,例如AR设备等。
可以理解的是,本申请实施例示意的各模块间的接口连接关系,只是示意性说明,并不构成对电子设备100的结构限定。在本申请另一些实施例中,电子设备100也可以采用上述实施例中不同的接口连接方式,或多种接口连接方式的组合。
充电管理模块140用于从充电器接收充电输入。其中,充电器可以是无线充电器,也可以是有线充电器。在一些有线充电的实施例中,充电管理模块140可以通过USB接口130接收有线充电器的充电输入。在一些无线充电的实施例中,充电管理模块140可以通过电子设备100的无线充电线圈接收无线充电输入。充电管理模块140为电池142充电的同时,还可以通过电源管理模块141为电子设备供电。
电源管理模块141用于连接电池142,充电管理模块140与处理器110。电源管理模块141接收电池142和/或充电管理模块140的输入,为处理器110,内部存储器121,外部存储器,显示屏194,摄像头193,和无线通信模块160等供电。电源管理模块141还可以用于监测电池容量,电池循环次数,电池健康状态(漏电,阻抗)等参数。在其他一些实施例中,电源管理模块141也可以设置于处理器110中。在另一些实施例中,电源管理模块141和充电管理模块140也可以设置于同一个器件中。
电子设备100的无线通信功能可以通过天线1,天线2,移动通信模块150,无线通信模块160,调制解调处理器以及基带处理器等实现。
天线1和天线2用于发射和接收电磁波信号。电子设备100中的每个天线可用于覆盖单个或多个通信频带。不同的天线还可以复用,以提高天线的利用率。例如:可以将天线1复用为无线局域网的分集天线。在另外一些实施例中,天线可以和调谐开关结合使用。
移动通信模块150可以提供应用在电子设备100上的包括2G/3G/4G/5G等无线通信的解决方案。移动通信模块150可以包括至少一个滤波器,开关,功率放大器,低噪声放大器(low noise amplifier,LNA)等。移动通信模块150可以由天线1接收电磁波,并对接收的电磁波进行滤波,放大等处理,传送至调制解调处理器进行解调。移动通信模块150还可以对经调制解调处理器调制后的信号放大,经天线1转为电磁波辐射出去。在一些实施例中,移动通信模块150的至少部分功能模块可以被设置于处理器110中。在一些实施例中,移动通信模块150的至少部分功能模块可以与处理器110的至少部分模块被设置在同一个器件中。
调制解调处理器可以包括调制器和解调器。其中,调制器用于将待发送的低频基带信号调制成中高频信号。解调器用于将接收的电磁波信号解调为低频基带信号。随后解调器将解调得到的低频基带信号传送至基带处理器处理。低频基带信号经基带处理器处理后,被传递给应用处理器。应用处理器通过音频设备(不限于扬声器170A,受话器170B等)输出声音信号,或通过显示屏194显示图像或视频。在一些实施例中,调制解调处理器可以是独立的器件。在另一些实施例中,调制解调处理器可以独立于处理器110,与移动通信模块150或其他功能模块设置在同一个器件中。
无线通信模块160可以提供应用在电子设备100上的包括无线局域网(wireless local area networks,WLAN)(如无线保真(wireless fidelity,Wi-Fi)网络),蓝牙(bluetooth,BT),全球导航卫星***(global navigation satellite system,GNSS),调频(frequency modulation,FM),近距离无线通信技术(near field communication,NFC),红外技术(infrared,IR)等无线通信的解决方案。无线通信模块160可以是集成至少一个通信处理模块的一个或多个器件。无线通信模块160经由天线2接收电磁波,将电磁波信号调频以及滤波处理,将处理后的信号发送到处理器110。无线通信模块160还可以从处理器110接收待发送的信号,对其进行调频,放大,经天线2转为电磁波辐射出去。
在一些实施例中,电子设备100的天线1和移动通信模块150耦合,天线2和无线通信模块160耦合,
使得电子设备100可以通过无线通信技术与网络以及其他设备通信。所述无线通信技术可以包括全球移动通讯***(global system for mobile communications,GSM),通用分组无线服务(general packet radio service,GPRS),码分多址接入(code division multiple access,CDMA),宽带码分多址(wideband code division multiple access,WCDMA),时分码分多址(time-division code division multiple access,TD-SCDMA),长期演进(long term evolution,LTE),BT,GNSS,WLAN,NFC,FM,和/或IR技术等。所述GNSS可以包括全球卫星定位***(global positioning system,GPS),全球导航卫星***(global navigation satellite system,GLONASS),北斗卫星导航***(beidou navigation satellite system,BDS),准天顶卫星***(quasi-zenith satellite system,QZSS)和/或星基增强***(satellite based augmentation systems,SBAS)。
电子设备100通过GPU,显示屏194,以及应用处理器等实现显示功能。GPU为图像处理的微处理器,连接显示屏194和应用处理器。GPU用于执行数学和几何计算,用于图形渲染。处理器110可包括一个或多个GPU,其执行程序指令以生成或改变显示信息。
显示屏194用于显示图像,视频等。显示屏194包括显示面板。显示面板可以采用液晶显示屏(liquid crystal display,LCD),有机发光二极管(organic light-emitting diode,OLED),有源矩阵有机发光二极体或主动矩阵有机发光二极体(active-matrix organic light emitting diode的,AMOLED),柔性发光二极管(flex light-emitting diode,FLED),Miniled,MicroLed,Micro-oLed,量子点发光二极管(quantum dot light emitting diodes,QLED)等。在一些实施例中,电子设备100可以包括1个或N个显示屏194,N为大于1的正整数。
电子设备100可以通过ISP,摄像头193,视频编解码器,GPU,显示屏194以及应用处理器等实现拍摄功能。
ISP用于处理摄像头193反馈的数据。例如,拍照时,打开快门,光线通过镜头被传递到摄像头感光元件上,光信号转换为电信号,摄像头感光元件将所述电信号传递给ISP处理,转化为肉眼可见的图像。ISP还可以对图像的噪点,亮度,肤色进行算法优化。ISP还可以对拍摄场景的曝光,色温等参数优化。在一些实施例中,ISP可以设置在摄像头193中。
摄像头193用于捕获静态图像或视频。物体通过镜头生成光学图像投射到感光元件。感光元件可以是电荷耦合器件(charge coupled device,CCD)或互补金属氧化物半导体(complementary metal-oxide-semiconductor,CMOS)光电晶体管。感光元件把光信号转换成电信号,之后将电信号传递给ISP转换成数字图像信号。ISP将数字图像信号输出到DSP加工处理。DSP将数字图像信号转换成标准的RGB,YUV等格式的图像信号。在一些实施例中,电子设备100可以包括1个或N个摄像头193,N为大于1的正整数。
数字信号处理器用于处理数字信号,除了可以处理数字图像信号,还可以处理其他数字信号。例如,当电子设备100在频点选择时,数字信号处理器用于对频点能量进行傅里叶变换等。
视频编解码器用于对数字视频压缩或解压缩。电子设备100可以支持一种或多种视频编解码器。这样,电子设备100可以播放或录制多种编码格式的视频,例如:动态图像专家组(moving picture experts group,MPEG)1,MPEG2,MPEG3,MPEG4等。
NPU为神经网络(neural-network,NN)计算处理器,通过借鉴生物神经网络结构,例如借鉴人脑神经元之间传递模式,对输入信息快速处理,还可以不断的自学习。通过NPU可以实现电子设备100的智能认知等应用,例如:图像识别,人脸识别,语音识别,文本理解等。
外部存储器接口120可以用于连接外部存储卡,例如Micro SD卡,实现扩展电子设备100的存储能力。外部存储卡通过外部存储器接口120与处理器110通信,实现数据存储功能。例如将音乐,视频等文件保存在外部存储卡中。
内部存储器121可以用于存储计算机可执行程序代码,所述可执行程序代码包括指令。处理器110通过运行存储在内部存储器121的指令,从而执行电子设备100的各种功能应用以及数据处理。内部存储器121可以包括存储程序区和存储数据区。其中,存储程序区可存储操作***,至少一个功能所需的App(比如声音播放功能,图像播放功能等)等。存储数据区可存储电子设备100使用过程中所创建的数据(比如音频数据,电话本等)等。此外,内部存储器121可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件,闪存器件,通用闪存存储器(universal flash storage,UFS)等。
电子设备100可以通过音频模块170,扬声器170A,受话器170B,麦克风170C,耳机接口170D,以及应用处理器等实现音频功能。例如音乐播放,录音等。
音频模块170用于将数字音频信息转换成模拟音频信号输出,也用于将模拟音频输入转换为数字音频信号。音频模块170还可以用于对音频信号编码和解码。在一些实施例中,音频模块170可以设置于处理器110中,或将音频模块170的部分功能模块设置于处理器110中。
扬声器170A,也称“喇叭”,用于将音频电信号转换为声音信号。电子设备100可以通过扬声器170A收听音乐,或收听免提通话。
受话器170B,也称“听筒”,用于将音频电信号转换成声音信号。当电子设备100接听电话或语音信息时,可以通过将受话器170B靠近人耳接听语音。
麦克风170C,也称“话筒”,“传声器”,用于将声音信号转换为电信号。当拨打电话或发送语音信息时,用户可以通过人嘴靠近麦克风170C发声,将声音信号输入到麦克风170C。电子设备100可以设置至少一个麦克风170C。在另一些实施例中,电子设备100可以设置两个麦克风170C,除了采集声音信号,还可以实现降噪功能。在另一些实施例中,电子设备100还可以设置三个,四个或更多麦克风170C,实现采集声音信号,降噪,还可以识别声音来源,实现定向录音功能等。
耳机接口170D用于连接有线耳机。耳机接口170D可以是USB接口130,也可以是3.5mm的开放移动电子设备平台(open mobile terminal platform,OMTP)标准接口,美国蜂窝电信工业协会(cellular telecommunications industry association of the USA,CTIA)标准接口。
压力传感器180A用于感受压力信号,可以将压力信号转换成电信号。在一些实施例中,压力传感器180A可以设置于显示屏194。压力传感器180A的种类很多,如电阻式压力传感器,电感式压力传感器,电容式压力传感器等。电容式压力传感器可以是包括至少两个具有导电材料的平行板。当有力作用于压力传感器180A,电极之间的电容改变。电子设备100根据电容的变化确定压力的强度。当有触摸操作作用于显示屏194,电子设备100根据压力传感器180A检测所述触摸操作强度。电子设备100也可以根据压力传感器180A的检测信号计算触摸的位置。在一些实施例中,作用于相同触摸位置,但不同触摸操作强度的触摸操作,可以对应不同的操作指令。例如:当有触摸操作强度小于第一压力阈值的触摸操作作用于短消息应用图标时,执行查看短消息的指令。当有触摸操作强度大于或等于第一压力阈值的触摸操作作用于短消息应用图标时,执行新建短消息的指令。
陀螺仪传感器180B可以用于确定电子设备100的运动姿态。在一些实施例中,可以通过陀螺仪传感器180B确定电子设备100围绕三个轴(即,x,y和z轴)的角速度。陀螺仪传感器180B可以用于拍摄防抖。示例性的,当按下快门,陀螺仪传感器180B检测电子设备100抖动的角度,根据角度计算出镜头模组需要补偿的距离,让镜头通过反向运动抵消电子设备100的抖动,实现防抖。陀螺仪传感器180B还可以用于导航,体感游戏场景。
气压传感器180C用于测量气压。在一些实施例中,电子设备100通过气压传感器180C测得的气压值计算海拔高度,辅助定位和导航。
磁传感器180D包括霍尔传感器。电子设备100可以利用磁传感器180D检测翻盖皮套的开合。在一些实施例中,当电子设备100是翻盖机时,电子设备100可以根据磁传感器180D检测翻盖的开合。进而根据检测到的皮套的开合状态或翻盖的开合状态,设置翻盖自动解锁等特性。
加速度传感器180E可检测电子设备100在各个方向上(一般为三轴)加速度的大小。当电子设备100静止时可检测出重力的大小及方向。还可以用于识别电子设备姿态,应用于横竖屏切换,计步器等应用。
距离传感器180F,用于测量距离。电子设备100可以通过红外或激光测量距离。在一些实施例中,拍摄场景,电子设备100可以利用距离传感器180F测距以实现快速对焦。
接近光传感器180G可以包括例如发光二极管(LED)和光检测器,例如光电二极管。发光二极管可以是红外发光二极管。电子设备100通过发光二极管向外发射红外光。电子设备100使用光电二极管检测来自附近物体的红外反射光。当检测到充分的反射光时,可以确定电子设备100附近有物体。当检测到不充分的反射光时,电子设备100可以确定电子设备100附近没有物体。电子设备100可以利用接近光传感器180G检测用户手持电子设备100贴近耳朵通话,以便自动熄灭屏幕达到省电的目的。接近光传感器180G也可用于皮套模式,口袋模式自动解锁与锁屏。
环境光传感器180L用于感知环境光亮度。电子设备100可以根据感知的环境光亮度自适应调节显示
屏194亮度。环境光传感器180L也可用于拍照时自动调节白平衡。环境光传感器180L还可以与接近光传感器180G配合,检测电子设备100是否在口袋里,以防误触。
指纹传感器180H用于采集指纹。电子设备100可以利用采集的指纹特性实现指纹解锁,访问应用锁,指纹拍照,指纹接听来电等。
温度传感器180J用于检测温度。在一些实施例中,电子设备100利用温度传感器180J检测的温度,执行温度处理策略。例如,当温度传感器180J上报的温度超过阈值,电子设备100执行降低位于温度传感器180J附近的处理器的性能,以便降低功耗实施热保护。在另一些实施例中,当温度低于另一阈值时,电子设备100对电池142加热,以避免低温导致电子设备100异常关机。在其他一些实施例中,当温度低于又一阈值时,电子设备100对电池142的输出电压执行升压,以避免低温导致的异常关机。
触摸传感器180K,也称“触控面板”。触摸传感器180K可以设置于显示屏194,由触摸传感器180K与显示屏194组成触摸屏,也称“触控屏”。触摸传感器180K用于检测作用于其上或附近的触摸操作。触摸传感器可以将检测到的触摸操作传递给应用处理器,以确定触摸事件类型。可以通过显示屏194提供与触摸操作相关的视觉输出。在另一些实施例中,触摸传感器180K也可以设置于电子设备100的表面,与显示屏194所处的位置不同。
骨传导传感器180M可以获取振动信号。在一些实施例中,骨传导传感器180M可以获取人体声部振动骨块的振动信号。骨传导传感器180M也可以接触人体脉搏,接收血压跳动信号。在一些实施例中,骨传导传感器180M也可以设置于耳机中,结合成骨传导耳机。音频模块170可以基于所述骨传导传感器180M获取的声部振动骨块的振动信号,解析出语音信号,实现语音功能。应用处理器可以基于所述骨传导传感器180M获取的血压跳动信号解析心率信息,实现心率检测功能。
按键190包括开机键,音量键等。按键190可以是机械按键。也可以是触摸式按键。电子设备100可以接收按键输入,产生与电子设备100的用户设置以及功能控制有关的键信号输入。
马达191可以产生振动提示。马达191可以用于来电振动提示,也可以用于触摸振动反馈。例如,作用于不同应用(例如拍照,音频播放等)的触摸操作,可以对应不同的振动反馈效果。作用于显示屏194不同区域的触摸操作,马达191也可对应不同的振动反馈效果。不同的应用场景(例如:时间提醒,接收信息,闹钟,游戏等)也可以对应不同的振动反馈效果。触摸振动反馈效果还可以支持自定义。
指示器192可以是指示灯,可以用于指示充电状态,电量变化,也可以用于指示消息,未接来电,通知等。
SIM卡接口195用于连接SIM卡。SIM卡可以通过***SIM卡接口195,或从SIM卡接口195拔出,实现和电子设备100的接触和分离。电子设备100可以支持1个或N个SIM卡接口,N为大于1的正整数。SIM卡接口195可以支持Nano SIM卡,Micro SIM卡,SIM卡等。同一个SIM卡接口195可以同时***多张卡。所述多张卡的类型可以相同,也可以不同。SIM卡接口195也可以兼容不同类型的SIM卡。SIM卡接口195也可以兼容外部存储卡。电子设备100通过SIM卡和网络交互,实现通话以及数据通信等功能。在一些实施例中,电子设备100采用嵌入式SIM(embedded-SIM,eSIM)卡,即:嵌入式SIM卡。eSIM卡可以嵌在电子设备100中,不能和电子设备100分离。
应理解,本申请实施例中的电话卡包括但不限于SIM卡、eSIM卡、全球用户识别卡(universal subscriber identity module,USIM)、通用集成电话卡(universal integrated circuit card,UICC)等等。
电子设备100的软件***可以采用分层架构,事件驱动架构,微核架构,微服务架构,或云架构。本申请实施例以分层架构的Android***为例,示例性说明电子设备100的软件结构。
图2是本申请实施例的电子设备100的软件结构框图。分层架构将软件分成若干个层,每一层都有清晰的角色和分工。层与层之间通过软件接口通信。在一些实施例中,将Android***分为四层,从上至下分别为应用程序层,应用程序框架层,安卓运行时(Android runtime)和***库,以及内核层。应用程序层可以包括一系列应用程序包。
如图2所示,应用程序包可以包括相机,图库,日历,通话,地图,导航,WLAN,蓝牙,音乐,视频,短信息等应用程序。
应用程序框架层为应用程序层的应用程序提供应用编程接口(application programming interface,API)和编程框架。应用程序框架层包括一些预先定义的函数。
如图2所示,应用程序框架层可以包括窗口管理器,内容提供器,视图***,电话管理器,资源管理器,通知管理器等。
窗口管理器用于管理窗口程序。窗口管理器可以获取显示屏大小,判断是否有状态栏,锁定屏幕,截取屏幕等。
内容提供器用来存放和获取数据,并使这些数据可以被应用程序访问。所述数据可以包括视频,图像,音频,拨打和接听的电话,浏览历史和书签,电话簿等。
视图***包括可视控件,例如显示文字的控件,显示图片的控件等。视图***可用于构建应用程序。显示界面可以由一个或多个视图组成的。例如,包括短信通知图标的显示界面,可以包括显示文字的视图以及显示图片的视图。
电话管理器用于提供电子设备100的通信功能。例如通话状态的管理(包括接通,挂断等)。
资源管理器为应用程序提供各种资源,比如本地化字符串,图标,图片,布局文件,视频文件等等。
通知管理器使应用程序可以在状态栏中显示通知信息,可以用于传达告知类型的消息,可以短暂停留后自动消失,无需用户交互。比如通知管理器被用于告知下载完成,消息提醒等。通知管理器还可以是以图表或者滚动条文本形式出现在***顶部状态栏的通知,例如后台运行的应用程序的通知,还可以是以对话窗口形式出现在屏幕上的通知。例如在状态栏提示文本信息,发出提示音,电子设备振动,指示灯闪烁等。
Android Runtime包括核心库和虚拟机。Android runtime负责安卓***的调度和管理。
核心库包含两部分:一部分是java语言需要调用的功能函数,另一部分是安卓的核心库。
应用程序层和应用程序框架层运行在虚拟机中。虚拟机将应用程序层和应用程序框架层的java文件执行为二进制文件。虚拟机用于执行对象生命周期的管理,堆栈管理,线程管理,安全和异常的管理,以及垃圾回收等功能。
***库可以包括多个功能模块。例如:表面管理器(surface manager),媒体库(media libraries),三维图形处理库(例如:OpenGL ES),2D图形引擎(例如:SGL)等。
表面管理器用于对显示子***进行管理,并且为多个应用程序提供了2D和3D图层的融合。
媒体库支持多种常用的音频,视频格式回放和录制,以及静态图像文件等。媒体库可以支持多种音视频编码格式,例如:MPEG4,H.264,MP3,AAC,AMR,JPG,PNG等。
三维图形处理库用于实现三维图形绘图,图像渲染,合成,和图层处理等。
2D图形引擎是2D绘图的绘图引擎。
内核层是硬件和软件之间的层。内核层至少包含显示驱动,摄像头驱动,音频驱动,传感器驱动。
应理解,本申请实施例中的技术方案可以用于Android、IOS、鸿蒙等***中。
用户可以使用电子设备的多个App来实现多种功能。例如,用户可以通过电子设备上的地图类App实现定位或导航功能,用户也可以通过电子设备上的音视频类App实现听音视频功能。
App可以在电子设备的前台运行,也可以在电子设备的后台运行。其中,当App在电子设备的前台运行,电子设备100可以在显示屏上显示该App的用户界面。用户可以通过该App的用户界面中的控件与该App进行交互。App在电子设备中运行,但不属于上述在前台运行的情况即为App在电子设备的后台运行的情况。App在电子设备的后台运行的情况可以包括电子设备中存在该App的进程,但显示屏上未显示有该App的用户界面。由于后台运行的App的用户界面未显示在显示屏上,用户通常无法直接与后台运行的App进行交互。上述后台也可以称为“非前台”。
在电子设备前台运行的App可以有一个或多个,在电子设备后台运行的App也可以有一个或多个。其中,在有一个或多个App在电子设备前台运行的同时,电子设备的后台可运行有一个或多个App。
随着电子设备的发展,用户对电子设备的要求越来越高。示例性地,用户A将一个电子设备A投屏到另一电子设备B上后,能够通过在电子设备B上的操作控制该被投屏的电子设备A。但是,另一用户B在被投屏的电子设备A上的操作无法被限制,这对于用户A而言,用户体验并不好。本申请提出一种设备控制方法,能够限制其他用户在被投屏或者被协同的电子设备上的操作,以满足主控用户(比如上述用户A)的控制需求,进而有助于提高用户的体验。
图3是本申请实施例提供的一例应用场景200的示例图。例如,如图3所示,该应用场景200包括车辆210和驾驶员220。该驾驶员220处于车辆210的驾驶位。车辆210上装有车载设备230,该车载设备230具有显示屏。应理解,车载设备230作为图1和图2中电子设备100的一个示例,其硬件结构和软件结构可以参考前文关于图1和图2中电子设备100的说明,这里不再赘述。可选的,车辆210中还可以包括后排平板电脑。可选的,该平板电脑可以是后装的设备。
本申请实施例对车载设备230的具体形式不作限定,只要其具有显示屏即可。
可选地,在一些实施例中,该车载设备230可以是安装在车辆210里面的车载信息娱乐产品。
可选地,在一些实施例中,该车载设备230还可以是与安装在车辆210里面的车载信息娱乐产品连接的设备,如手机。
需要说明的是,图3所示的场景仅为示例,其不应对本申请构成限制。例如,该场景中还可以包括更多的电子设备或人员。
下面结合图示,对本申请的方案详细说明。
图4示出了本申请实施例提供的一种设备管理方法,该方法可以应用于图3所述场景中,示例性的,在车辆座舱中可以包括第一设备(例如后排平板电脑)和第二设备(例如车载设备)。该方法可以包括下述步骤:
S401:第一设备接收第一事件。
其中,事件可以理解为第一设备接收到的输入信息。
可选地,输入事件(InputEvent)可以包括动作事件(MotionEvent)和按键事件(KeyEvent)。示例地,输入事件具体可以是传感器输入事件(Sensor InputEvent)、耳机输入事件(Hook InputEvent)、开机键输入事件(On InputEvent)、触摸屏输入事件(Touch Screen InputEvent,下文也称触控事件)、按键输入事件(Key InputEvent)或者鼠标动作输入事件(Hover InputEvent)等等。
其中,触摸屏输入事件包括以下基础事件:手指按到屏幕上(ACTION_DOWN)、手指在屏幕上移动(ACTION_MOVE)、手指从屏幕上离开(ACTION_UP)。用户的每次交互会产生一个事件序列,这个序列以ACTION_DOWN开头,中间有0或者n个ACTION_MOVE事件,以ACTION_UP结尾。事件序列往往可以组成复杂事件,比如点击事件、双击事件、手势事件等。本申请实施例中的输入事件可以是基础事件,也可以是由基础事件构成的复杂事件,本申请实施例对此不作限定。
该第一事件可以是本地输入事件。所谓本地输入事件可以理解为,用户在第一设备上的操作(也即第一设备本地操作)对应的事件。示例地,用户在第一设备的屏幕上点击某个位置,则“某位置被点击”为本地输入事件。换句话说,对于用户而言,点击屏幕为用户操作(即输入操作);对于第一设备而言,“点击”所触发的事件为输入事件。也就是说,事件是由用户的动作(或称操作)触发的。也可以理解为,第一事件为发生在第一设备本地的上述输入事件。
本申请中的事件还包括反控事件,反控事件可以理解为通过其他设备对某设备进行控制而触发的事件。示例地,当第一设备被第二设备控制,比如,通过投屏控制时,在第二设备上的操作所触发的第一设备上的事件即为反控事件。
S402:第一设备根据输入管控的状态确定是否阻断第一事件。
该输入管控的状态用于表征第一设备的输入操作是否被管控,其中,第一设备的输入操作可以理解为用户对第一设备的输入操作。或者说,该输入管控的状态用于表征用户的输入操作触发的输入事件是否被管控。示例地,第一设备的输入操作可以是触控输入、按键输入、语音输入或者手势输入等等。换句话说,对应于S401中对输入事件的说明,用户对第一设备的操作可以是按键、触控、隔空输入或是与其连接的外设对该设备输入操作,比如通过键盘输入。本申请实施例对此不作限定。
以下以触控输入作为输入操作的示例对本方案进行说明。
示例性地,第一设备的触控操作可以被第二设备管控,该第二设备可以是与第一设备开启协同的设备,并且,该第二设备与第一设备开启输入管控。换句话说,当第一设备的触控操作被管控时,在第一设备上的触控操作被限制。
可以理解的是,输入管控的状态包括开启或者未开启。
一个示例,用户可以在第二设备上开启输入管控。该输入管控可以理解为管理第一设备端的触控操作,比如,限制第一设备端的操作。
一种可能的实现,用户可以通过第二设备的物理按键开启输入管控。该物理按键可以是装载在第二设备上,也可以装载在座舱内的其他位置,比如,方向盘上,等等。
又一种可能的实现,用户可以通过第二设备的虚拟功能按键开启输入管控。比如,通过第二设备中的输入管控功能键开启输入管控。该输入管控功能键可以设置于第二设备主页显示界面中,或者在第二设备控制页面中,也可以隐藏在菜单功能中。本申请对此不作限定。
另一个示例,用户在第一设备上开启输入管控。该输入管控可以理解为管理第一设备端的触控操作,
比如,限制第一设备端的操作。
一种可能的实现,用户可以通过第一设备的物理按键开启输入管控。该物理按键可以是装载在第一设备上,例如,该物理按键可以是平板电脑的音量键等。
又一种可能的实现,用户可以通过第一设备的虚拟功能按键开启输入管控。比如,通过第一设备屏幕中的输入管控功能键开启输入管控。该输入管控功能键可以设置于第一设备显示界面的主页中,也可以隐藏在菜单功能中,比如下拉菜单中。本申请对此不作限定。
本申请实施例对开启输入管控的方式不作限定。
应理解,本申请实施例对第一设备与第二设备开启协同的方式不作限定,比如,可以是通过有线方式开启协同,又或者通过无线方式开启协同。第一设备与第二设备之间开启协同后,相互之间可以访问。比如,第一设备可以将自身界面投屏给第二设备。
示例地,投屏可以是通过有线连接的方式将第一设备的界面投屏到第二设备上。
又或者,可以通过无线连接的方式将第一设备的界面投屏到第二设备上。比如,可以通过投屏按钮将第一设备投屏到第二设备上,比如APP内的投屏按钮,或是功能菜单中的投屏按钮。或者可以通过投屏功能的物理按键将第一设备投屏到第二设备上,可选地,该投屏的物理按键可以装载在第一设备和/或第二设备上。再者,可以通过功能菜单中的投屏功能虚拟键将第一设备投屏到第二设备上。应理解,本申请实施例对第一设备投屏到第二设备的方式不作限定。
在第一设备将自身界面投屏至第二设备上后,可以通过在第二设备上的操作,实现对第一设备的控制。完成投屏后,可以开启输入管控。
上述阻断第一事件可以理解为,第一事件对应的操作在第一设备上无法执行。比如,可以是第一设备拒绝第一事件对应的操作,或者,第一设备不响应第一事件对应的操作。应理解,本申请实施例对阻断第一事件的称谓不作限定,能够实现上述效果的替代陈述均应在本申请保护范围之内。
示例性的,第一设备根据输入管控的状态确定是否阻断第一事件,可以存在下面几种情况:
S4021:当输入管控的状态为开启,第一事件对应的操作位置处于第一区域内时,第一设备阻断第一事件。
S4022:当输入管控的状态为开启,第一事件对应的操作位置处于第二区域内时,第一设备触发逃生流程。
S4023:当输入管控的状态为关闭(也就是未开启输入管控)时,用户在第一设备上的操作可以是不受限的。换句话说,用户在第一设备上的操作可以正常实现。需要说明的是,在开启协同的前提下,用户仍然可以通过第二设备上的操作实现对第一设备的控制。
示例性的,第一区域和第二区域可以分别为第一设备的屏幕区域的一部分。示例地,第一区域和第二区域不重叠。可选的,第一区域和第二区域的和为第一设备的屏幕范围。上述“范围”可以是指二维的范围。比如,以第一设备的屏幕为基准,以第一设备的屏幕的一条边为横轴,另一条边为纵轴,第二区域可以是坐标为(x1,y1)、(x1,y2)、(x2,y1)、(x2,y2)的四个点连接起来得到的封闭图形之内的范围,则第一区域为第一设备的屏幕中除第二区域以外的范围。以上是以矩形作为第二区域的一个示例,应理解,本申请实施例对第二区域的形状和大小不作限定,比如第二区域的形状可以是圆形、三角形、正方形、椭圆或者不规则图形等等,由于第一区域与第二区域相邻,且共同组成第一设备的屏幕的范围,第一区域的形状和大小也不作限定。
换句话说,第一设备在确定输入管控的状态为开启的情况下,可以进一步根据第一事件对应的操作的位置确定是否阻断第一事件。
当第一事件对应的操作落在第一区域内时,第一设备阻断第一事件,或者说,第一设备的本地输入事件受限。
当第一事件对应的操作落在第二区域内时,第一设备触发逃生流程。换句话说,第一设备解除输入管控,或者说,第一设备将输入管控状态从开启调整为关闭。
一种可能的方式,第一设备自身即可以完成逃生流程。可选地,当用户在第二区域内点击一次时触发逃生流程。可选地,当第一事件对应的操作落在第二区域内时,可以触发弹出确认界面,以确定触发逃生流程,比如算术题,用户在输入或是点击正确答案后触发逃生流程。应理解,算术题仅作为确认界面的一种示例,本申请实施例对此不作限定,比如也可以是图片验证界面、选项确定界面等等。
另一种可能的方式,第二设备可以在允许逃生流程后执行逃生流程。示例地,第一设备可以向第二
设备请求脱离输入管控,第二设备同意后,第一设备可以解除输入管控。
应理解,上述方式仅作为第一设备触发逃生流程的示例,本申请实施例对此不作限定,能够触发逃生流程的方式均应在本申请保护范围之内。
一种可能的实现,当输入管控的状态为开启时,第一设备可以根据第一事件是否属于白名单,确定对第一事件的处理。该白名单为第一设备可以放行的事件的白名单。
当第一事件属于该白名单时,第一设备放行第一事件。当第一事件不属于该白名单时,第一设备阻断第一事件。
可选地,该白名单可以是预定义的。可选地,该白名单也可以是指示的,比如第二设备向第一设备发送信息,该信息用于指示该白名单,本申请对白名单的确定方式不作限定。
可选地,上述输入管控的状态可以通过标志位表征。示例地,第一设备可以设置标志位,该标志位为用于表征输入管控的状态,即该标志位用于表征输入管控的状态为开启或是关闭,又或者说,该标志位用于表征输入管控是否开启。具体地,该标志位可以设置为true或者false,当标志位为true时表征输入管控状态为开启或者输入管控已开启,当标志位为false时表征输入管控状态为关闭或者输入管控未开启。应理解,上述标志位的设置仅作为示例而非限定。比如,该标志位也可以设置为0或1,当标志位为1时表征输入管控状态为开启或者输入管控已开启,当标志位为0时表征输入管控状态为关闭或者输入管控未开启。还应理解,标志位的具体取值与该取值表征的含义之间的对应关系,本申请实施例也不做限定。还应理解,标志位的具体取值与该取值表征的含义之间的对应关系可以是预定义的,也可以是配置的,本申请实施例对此不作限定。
该方法中,第一设备与第二设备开启协同且开启输入管控后,通过对第一设备本地事件的操作位置的判断,进一步确定限制该操作还是解除输入管控,能够限制其他用户在第一设备的本地操作,提升在第一设备与第二设备的协同场景下的用户体验。
上面对第一设备的本地操作的限制方法进行了说明,下面结合几种可能的场景对该方法的实现详细说明。
一种可能的实现,上述方法适用于车载设备与平板。
图5示出了本申请实施例提供的一组图形用户界面(graphical user interface,GUI)。其中包括车载显示屏510和平板屏幕520。
一种可能的方式,通过车载显示屏510(本文也称车载屏幕)对平板屏幕520进行触控管制。即,车载显示屏510为图4中第二设备的一个示例,平板屏幕520为图4中第一设备的一个示例。
可以理解的是,车载显示屏510和平板屏幕520开启协同后开启输入管控。具体地,车载显示屏510和平板屏幕520开启协同以及开启输入管控的方式可以参考S402的说明,这里不再赘述。
开启协同后,可以通过车载显示屏510控制平板屏幕520。示例地,平板屏幕520上正在播放视频A,该视频A的画面即为图中的5201。该画面5201可以投屏到车载显示屏510中,比如车载显示屏510中的画面5101,该画面5101与画面5201显示的内容完全相同。该画面包括视频进度条5106,用户可以通过拖动车载显示屏510中的视频进度条5106,实现对平板屏幕520上播放的视频A的进度控制,即用户可以在车载显示屏510上实现对平板屏幕520的投屏反控。
应理解,在投屏后,两个电子设备上投屏画面的内容完全相同,但两个电子设备显示屏中的内容不一定相同。比如上述画面5201投屏到车载显示屏510中,车载显示屏510中的画面5101与平板上的画面5201相同,但是车载显示屏510中可以存在与平板屏幕520中不同的显示内容。
开启输入管控后,平板屏幕520的本地事件对应的操作受限。
示例地,在平板屏幕520的右侧依次排列有视频B的封面图例(5202)、视频C的封面图例(5203)、视频D的封面图例(5204),可用于用户选择或者切换视频。
平板屏幕520还可以包括逃生区域5205,该逃生区域即为S402中的第一区域的示例。平板屏幕520中除了逃生区域5205以外的部分,均属于限制区域(也称非逃生区域),即为S402中的第二区域的示例。
一个示例,当用户在平板屏幕520上点击视频B的封面图例(5202),意图将当前播放视频A切换为视频B时,平板判断用户的操作位置,即点击位置,以确定后续处理。比如,平板确定该点击位置属于非逃生区域,则平板阻断该“视频切换事件”,换句话说,用户在平板屏幕520上的视频切换操作受限。
另一个示例,当用户在平板屏幕520上的操作落在逃生区域范围内时,比如用户点击位置为M,平板判断该位置M属于逃生区域,则平板启动逃生流程,解除输入管控。在解除输入管控后,用户可以在平板屏幕520上自由操作。
通过上述方案,为投屏反控带来了更多使用场景。例如,座舱场景中,当孩子在后排使用平板电脑观看视频时,平板电脑上的画面可以投屏至座舱前排显示屏,前排的家长可以通过投屏反控操作平板电脑选取孩子观看的内容,并限制孩子在平板电脑本地对平板电脑的操作,防止孩子误触。同时,在平板电脑的用户切换为成人后,可以自助逃生,解除输入管控。
具体地,下面给出一种详细的交互流程。
图6示出了本申请实施例提供的一种车机与平板的交互流程。
可选地,车机可以包括反控模块,该反控模块也可以用于接收投屏。平板可以包括反控接收模块、输入子***、屏幕管理模块和隐私传感器服务模块。
具体地,可以包括下述步骤:
S601:车机与平板建立连接。
示例地,车机可以与平板开启协同。比如,平板将自身界面投屏至车机的显示屏上。具体地,开启协同的方式可以参考S402的说明,不再赘述。
S602:车机操作用户开启输入管控。
应理解,这里由车机操作用户开启输入管控仅为开启输入管控的方式的一个示例,不作限定。具体地,开启输入管控的方式可以参考S402中的说明,不再赘述。
S603:车机的反控模块向平板的反控接收模块发送输入管控消息,对应地,平板的反控接收模块接收该输入管控消息。
S604:平板的反控接收模块展示全屏透明悬浮窗到前台。
该全屏透明悬浮窗中包括逃生区域。
S605:车机用户执行反控操作。
示例地,车机用户可以在车载设备的显示屏上执行操作,以实现对平板的控制。反控操作可以理解为输入操作的一个示例,具体地,反控操作可以参考S402中输入操作的说明。或者说,反控操作可以理解为平板的非本地操作。比如,该反控操作可以是通过车载设备的显示屏控制平板的显示。举个例子,车机用户在车载设备的显示屏上拖动视频的进度条,以控制平板显示屏中的视频进度。
S606:车机的反控模块向平板的反控接收模块发送反控事件,对应地,平板的反控接收模块接收该反控事件。
其中,该反控事件为反控操作对应的事件。或者说,该反控事件为反控操作触发的事件。反控事件可以理解为输入事件的一个示例,具体地可以参考S401中关于输入事件的说明。
S607:平板的反控接收模块将反控事件发送至输入子***,对应地,输入子***接收该反控事件。
S608:平板接收平板操作用户的第一操作。
应理解,平板操作用户可以点击平板屏幕上的任一位置。示例地,平板操作用户可以点击某个App。
S609:平板的输入子***根据第一操作对应的触控位置,确定当前用于管控输入的透明悬浮窗口。
应理解,透明悬浮窗口可以显示在平板的屏幕上。
换句话说,平板的输入子***根据第一操作的触控位置进一步确定该透明悬浮窗口是否存在。一般地,当输入管控状态为开启时,该透明悬浮窗口显示在平板的屏幕上。
可选地,在平板的输入子***确定透明悬浮窗口之前,还可以根据标志位确定平板的屏幕的输入管控状态。具体地,可以参考S402中关于标志位的说明,这里不再赘述。
S610:平板的输入子***根据第一事件的来源处理第一事件。
第一事件为S608中的第一操作对应的事件。或者说,第一事件为第一操作触发的事件。第一事件为S401中的输入事件的一个示例,具体地,可以参考S401中的相关说明,这里不再赘述。
可选地,如果输入事件为反控事件,即输入事件来自于车机,则输入子***不作处理,继续在***中分发。
可选地,如果输入事件为本地事件,即输入事件来自于平板,则输入子***将第一事件重定向回悬浮窗口,并阻断逃生区域之外的事件传递流程。
其中,重定向回悬浮窗口可以理解为:在输入管控开启之前,本地输入事件的分发路径是确定的,
而输入管控开启后分发路径会被修改,重定向即是将输入事件分发到悬浮窗口上。应理解,下文中的重定向的解释可以参考此处,不再赘述。
在该流程中,平板可以根据用户操作的位置确定该操作对应的事件的处理方式,能够在车机与平板协同并开启输入管控的前提下,限制平板用户的操作,同时预留了平板用户自助解除输入管控的途径,有效提升了用户体验。
图7示出了本申请实施例提供的又一组图形用户界面(graphical user interface,GUI)。其中包括车载显示屏710和平板屏幕720。
另一种可能的方式,通过平板屏幕720对车载显示屏710进行触控管制。即,车载显示屏710为图4中第一设备的一个示例,平板屏幕720为图4中第二设备的一个示例。
可以理解的是,车载显示屏710和平板屏幕720开启协同后开启输入管控。具体地,车载显示屏710和平板屏幕720开启协同以及开启输入管控的方式可以参考S402的说明,这里不再赘述。
开启协同后,可以通过平板屏幕720控制车载显示屏710。示例地,车载显示屏710上正在播放视频A,该视频A的画面即为图中的7101。该画面7101可以投屏到平板屏幕720中,比如平板屏幕720中的画面7201,该画面7201与画面7101显示的内容完全相同。该画面包括视频进度条7206,用户可以通过拖动平板屏幕720中的视频进度条7206,实现对车载显示屏710上播放的视频A的进度控制,即用户可以在平板上实现对车载显示屏710的投屏反控。
开启输入管控后,车载显示屏710的本地事件对应的操作受限。
示例地,在车载显示屏710的右侧依次排列有视频B的封面图例(7102)、视频C的封面图例(7103)、视频D的封面图例(7104),可用于用户选择或者切换视频。
车载显示屏710还包括逃生区域7105,该逃生区域即为S402中的第一区域的示例。车载显示屏710中除了逃生区域7105以外的部分,均属于限制区域(也称非逃生区域),即为S402中的第二区域的示例。
一个示例,当用户在车载显示屏720上点击视频B的封面图例(7202),意图将当前播放视频A切换为视频B时,车机判断用户的操作位置,即点击位置,以确定后续处理。比如,车机确定该点击位置属于非逃生区域,则车机阻断该“视频切换事件”,换句话说,用户在车载显示屏720上的视频切换操作受限。
另一个示例,当用户在车载显示屏720上的操作落在逃生区域范围内时,平板判断该位置属于逃生区域,则车机启动逃生流程,解除输入管控。在解除输入管控后,用户可以在车载显示屏720上自由操作。
具体地,下面给出一种详细的交互流程。
图8示出了本申请实施例提供的一种车机与平板的交互流程。
可选地,平板可以包括反控模块,该反控模块也可以用于接收投屏。车机可以包括反控接收模块、输入子***、屏幕管理模块和隐私传感器服务模块。
具体地,可以包括下述步骤:
S801:车机与平板建立连接。
示例地,车机可以与平板开启协同。比如,平板将自身界面投屏至车机的显示屏上。具体地,开启协同的方式可以参考S402的说明,不再赘述。
S802:平板操作用户开启输入管控。
应理解,这里由平板操作用户开启输入管控仅为开启输入管控的方式的一个示例,不作限定。具体地,开启输入管控的方式可以参考S402中的说明,不再赘述。
S803:平板的反控模块向车机的反控接收模块发送输入管控消息,对应地,车机的反控接收模块接收该输入管控消息。
S804:车机的反控接收模块展示全屏透明悬浮窗到前台。
该全屏透明悬浮窗中包括逃生区域。
S805:平板用户执行反控操作。
示例地,平板用户可以执行操作,以实现对车载显示屏的控制。反控操作可以理解为输入操作的一个示例,具体地,反控操作可以参考S402中输入操作的说明。或者说,反控操作可以理解为非本地操作。比如,该反控操作可以是通过平板控制车载设备的显示屏的显示。举个例子,平板用户在平板屏幕上拖
动视频的进度条,以控制车载设备的显示屏中的视频进度。
S806:平板的反控模块向车机的反控接收模块发送反控事件,对应地,车机的反控接收模块接收该反控事件。
其中,该反控事件为反控操作对应的事件。或者说,该反控事件为反控操作触发的事件。反控事件可以理解为输入事件的一个示例,具体地可以参考S401中关于输入事件的说明。
S807:车机的反控接收模块将反控事件发送至输入子***,对应地,输入子***接收该反控事件。
S808:车机操作用户触控车载显示屏完成第一操作。
应理解,车机操作用户可以点击车载显示屏上的任一位置。示例地,车机操作用户可以点击某个App。
S809:车机的输入子***根据第一操作对应的触控位置,确定当前用于管控输入的透明悬浮窗口。
可选地,在车机的输入子***确定透明悬浮窗口之前,还可以根据标志位确定车机的屏幕的输入管控状态。具体地,可以参考S402中关于标志位的说明,这里不再赘述。
S810:车机的输入子***根据第一事件的来源处理第一事件。
第一事件为S808中的第一操作对应的事件。或者说,第一事件为第一操作触发的事件。第一事件为S401中的输入事件的一个示例,具体地,可以参考S401中的相关说明,这里不再赘述。
可选地,如果第一事件为反控事件,即第一事件来自于平板,则输入子***不作处理继续在***中分发。
可选地,如果第一事件为本地事件,即第一事件来自于车机,则输入子***将第一事件重定向回悬浮窗口,并阻断逃生区域之外的事件传递流程。
在该流程中,车机可以根据用户操作的位置确定该操作对应的事件的处理方式,能够在平板与车机协同并开启输入管控的前提下,限制车机用户的操作,同时预留了车机用户自助解除输入管控的途径,有效提升了用户体验。
又一种可能的方式,在上述第一设备与第二设备通信的***中,还可以存在第三设备。示例地,第三设备可以是手机。应理解,下文将以手机为例对方案进行说明,但本申请对第三设备的类型不限于此,比如,第三设备也可以是平板,或者便携式电脑。
图9示出了本申请实施例提供的又一组图形用户界面(graphical user interface,GUI)。其中包括车载显示屏910、平板屏幕920和手机屏幕930。
手机可以将自身界面共享给车机,车机再将自身界面投屏到平板,通过平板实现对车载显示屏的输入管控。比如,通过平板屏幕920对车载显示屏910进行触控管制。即,车载显示屏910为图4中第一设备的一个示例,平板屏幕920为图4中第二设备的一个示例。
应理解,图9所示方案中以手机共享、车机投屏至平板为例作为说明,但本申请不限于此,比如,手机也可以将自身界面共享给平板,平板再将自身界面投屏到车机,通过车机实现对平板的输入管控。不再赘述。
可以理解的是,车载显示屏910和平板屏幕920开启协同后开启输入管控。具体地,车载显示屏910和平板屏幕920开启协同以及开启输入管控的方式可以参考S402的说明,这里不再赘述。手机与车机的界面共享也可以是通过开启协同实现,具体地,S402中关于开启协同的方式的说明同样适用于手机与车机的协同,不再赘述。
开启协同后,可以通过车载显示屏910控制平板屏幕920。示例地,车载显示屏910上正在播放视频A,该视频A的画面即为图中的9101。该画面9101可以投屏到平板屏幕920中,比如平板屏幕920中的画面9201,该画面9201与画面9101显示的内容、画面9301显示的内容完全相同。该画面包括视频进度条9206,用户可以通过拖动平板屏幕920中的视频进度条9206,实现对车载显示屏910上播放的视频A的进度控制,即用户可以在平板上实现对车载显示屏910的投屏反控。
开启输入管控后,车载显示屏910的本地事件对应的操作受限。
示例地,在车载显示屏910的右侧依次排列有视频B的封面图例(9102)、视频C的封面图例(9103)、视频D的封面图例(9104),可用于用户选择或者切换视频。
车载显示屏910还包括逃生区域9105,该逃生区域即为S402中的第一区域的示例。车载显示屏910中除了逃生区域9107以外的部分,均属于限制区域(也称非逃生区域),即为S402中的第二区域的示例。
一个示例,当用户在车载显示屏910上点击视频B的封面图例(9202),意图将当前播放视频A切换为视频B时,车机判断用户的操作位置,即点击位置,以确定后续处理。比如,车机确定该点击位置属于非逃生区域,则车机阻断该“视频切换事件”,换句话说,用户在车载显示屏920上的视频切换操作受限。
另一个示例,当用户在车载显示屏910上的操作落在逃生区域范围内时,比如用户点击位置为O,平板判断该位置O属于逃生区域,则车机启动逃生流程,解除输入管控限制。在解除输入管控限制后,用户可以在车载显示屏910上自由操作。
图10示出了本申请实施例提供的一种车机、手机与平板的交互流程。
可选地,平板可以包括反控模块,该反控模块也可以用于接收投屏。车机可以包括反控接收模块、输入子***、屏幕管理模块和隐私传感器服务模块。
具体地,可以包括下述步骤:
S1001:车机、手机和平板建立连接。
示例地,车机可以与手机、平板开启协同。比如,手机将自身界面投屏至车机的显示屏上。又或者,手机将自身界面投屏至平板。具体地,开启协同的方式可以参考S402的说明,不再赘述。应理解,手机将自身界面投屏至平板后,平板可以将该投屏界面再投屏至车载屏幕上。本申请实施例对三方设备的屏幕共享方式不作限定,能够实现三方设备屏幕共享的方式均应在本申请保护范围之内。
S1002:平板操作用户开启输入管控。
应理解,这里由平板操作用户开启输入管控仅为开启输入管控的方式的一个示例,不作限定。具体地,开启输入管控的方式可以参考S402中的说明,不再赘述。
S1003:平板的反控模块向车机的反控接收模块发送输入管控消息,对应地,车机的反控接收模块接收该输入管控消息。
S1004:车机的反控接收模块展示全屏透明悬浮窗到前台。
该全屏透明悬浮窗中包括逃生区域。
S1005:平板用户执行反控操作。
示例地,平板用户可以执行操作,以实现对车载显示屏的控制。具体地,可以参考S805的描述,不再赘述。
S1006:平板的反控模块向车机的反控接收模块发送反控事件,对应地,车机的反控接收模块接收该反控事件。
其中,该反控事件为反控操作对应的事件。具体地,可以参考S806的描述,不再赘述。
S1007:车机的反控接收模块将反控事件发送至输入子***,对应地,输入子***接收该反控事件。
S1008:车机操作用户触控车载显示屏完成第一操作。
应理解,车机操作用户可以点击车载显示屏上的任一位置。示例地,车机操作用户可以点击某个App。
S1009:车机的输入子***根据第一操作对应的触控位置,确定当前用于管控输入的透明悬浮窗口。
可选地,在车机的输入子***确定透明悬浮窗口之前,还可以根据标志位确定车机的屏幕的输入管控状态。具体地,可以参考S402中关于标志位的说明,这里不再赘述。
S1010:车机的输入子***根据第一事件的来源处理第一事件。
第一事件为S10010中的第一操作对应的事件。或者说,第一事件为第一操作触发的事件。第一事件为S401中的输入事件的一个示例,具体地,可以参考S401中的相关说明,这里不再赘述。
可选地,如果第一事件为反控事件,即第一事件来自于平板,则输入子***不作处理继续在***中分发。
可选地,如果第一事件为本地事件,即第一事件来自于车机,则输入子***将第一事件重定向回悬浮窗口,并阻断逃生区域之外的事件传递流程。
应理解,上述方式中是以手机投屏,由平板管理车机的触控操作为例进行的说明,本申请对此不作限定。比如,也可以是由车机管理平板的触控操作。又或者,可以是由车机管理手机的触控操作。又或者,由手机管理平板的触控操作。又或者,由手机管理车载显示屏的触控操作,等等,这里不再一一列举。
该方式中,在多方设备共享的情况下,开启某一方设备的输入管控,该设备可以通过事件来源来处
理该事件,有效限制了该被管控的设备的本地操作,提升了用户体验。
还应理解,该方式中仅以三方设备交互为例,本申请对通信***中包括的设备数量不作限定,比如,还可以是四方设备交互,五方设备交互,等等。
上述方案中的第一设备和第二设备可以属于不同的设备,比如车机与平板,又比如,多芯多屏机制的车机中不同的设备。该第一设备和第二设备还可以属于相同的设备,比如,第一设备和第二设备可以是一芯多屏机制的车机上装载的不同电子屏幕。应理解,本申请对通信***中包括的设备数量不作限定,比如,本申请的通信***中可以包括车机上装载的多个电子屏幕。为了清楚地描述本申请的方案,下面以通信***中包括两块电子屏幕为例进行说明。即,第一设备为车载屏幕1,第二设备为车载屏幕2。
图11示出了本申请实施例提供的一种不同车载屏幕之间的交互流程。
可选地,车载屏幕1可以包括反控模块,该反控模块也可以用于接收投屏。车载屏幕2可以包括反控接收模块、输入子***、屏幕管理模块和隐私传感器服务模块。换句话说,这里以车载屏幕1作为第二设备的示例,以车载屏幕2作为第一设备的示例。
具体地,可以包括下述步骤:
S1101:车载屏幕1与车载屏幕2建立连接。
示例地,车载屏幕1可以与车载屏幕2开启协同。比如,将车载屏幕2的界面投屏至车载屏幕1上。具体地,开启协同的方式可以参考S402的说明,不再赘述。
S1102:车载屏幕1操作用户开启输入管控。
应理解,这里由车载屏幕2操作用户开启输入管控仅为开启输入管控的方式的一个示例,不作限定。具体地,开启输入管控的方式可以参考S402中的说明,不再赘述。
S1103:车载屏幕1的反控模块向车载屏幕2的反控接收模块发送输入管控消息,对应地,车载屏幕2的反控接收模块接收该输入管控消息。
S1104:车载屏幕2的反控接收模块展示全屏透明悬浮窗到前台。
该全屏透明悬浮窗中包括逃生区域。
S1105:车载屏幕1用户执行反控操作。
示例地,车载屏幕1用户可以执行操作,以实现对车载屏幕2的控制。
该操作为反控操作。反控操作可以理解为输入操作的一个示例,具体地,反控操作可以参考S402中输入操作的说明。或者说,反控操作可以理解为非本地操作。比如,该反控操作可以是通过车载屏幕1控制车载屏幕2的显示。举个例子,车载屏幕1用户在车载屏幕1上拖动视频的进度条,以控制车载屏幕2中的视频进度。
S1106:车载屏幕1的反控模块向车载屏幕2的反控接收模块发送反控事件,对应地,车载屏幕2的反控接收模块接收该反控事件。
其中,该反控事件为反控操作对应的事件。或者说,该反控事件为反控操作触发的事件。反控事件可以理解为输入事件的一个示例,具体地可以参考S401中关于输入事件的说明。
S1107:车载屏幕2的反控接收模块将反控事件发送至输入子***,对应地,输入子***接收该反控事件。
S1108:车载屏幕2操作用户触控车载屏幕2完成第一操作。
应理解,车载屏幕2操作用户可以点击车载显示屏上的任一位置。示例地,车载屏幕2操作用户可以点击某个App。
S1109:车载屏幕2的输入子***根据第一操作对应的触控位置,确定当前用于管控输入的透明悬浮窗口。
可选地,在车载屏幕2的输入子***确定透明悬浮窗口之前,还可以根据标志位确定车载屏幕2的输入管控状态。具体地,可以参考S402中关于标志位的说明,这里不再赘述。
S1111:车载屏幕2的输入子***根据第一事件的来源处理第一事件。
第一事件为S1108中的第一操作对应的事件。或者说,第一事件为第一操作触发的事件。第一事件为S401中的输入事件的一个示例,具体地,可以参考S401中的相关说明,这里不再赘述。
可选地,如果第一事件为反控事件,即第一事件来自于车载屏幕2,则输入子***不作处理继续在***中分发。
可选地,如果第一事件为本地事件,即第一事件来自于车载屏幕1,则输入子***将第一事件重定向
回悬浮窗口,并阻断逃生区域之外的事件传递流程。
该方式中,属于同一设备的不同显示屏幕之间也可以实现输入管控。当其中一个显示屏被管控时,可以根据本地事件的来源确定对该事件的处理,比如,阻断该事件,有效避免本地操作对当前屏幕运行任务的影响,提升了用户体验。
考虑到在多设备协同场景中被管控设备的隐私保护问题,本申请又提出一个实施例,该实施例提供了一种隐私保护方法,能够保护用户隐私。
图12示出了本申请实施例提供的一种设备管理方法,该方法可以包括下述步骤:
S1201:第二设备向第一设备发送指示信息,对应地,第一设备接收该指示信息。
其中,第一设备与第二设备开启了协同。示例地,第一设备将自身界面投屏至第二设备,第二设备可以通过在第二设备本地的操作实现对第一设备的控制。具体地,第一设备与第二设备开启协同的方式可以参考S402的说明,不再赘述。
该指示信息用于指示第二设备熄屏。
S1202:第一设备根据指示信息执行熄屏。
S1203:第二设备执行第二操作,以启用第一设备的第一应用。
换句话说,在第一设备熄屏时,第二设备仍然能够通过本地操作实现对第一设备的控制。比如,第二设备通过第二操作打开第一应用等。
S1204:当所述第一应用调用第一设备的敏感传感器时,该调用被阻断。
其中,敏感传感器可以是摄像头或者麦克风等传感器。调用被阻断,可以理解为无法调用,或者拒绝调用。
可选地,该方法还可以包括:
S1205:第一设备显示调用失败的原因。
也就是说,第一设备可以提醒操作用户此次调用为何失败。用户可以根据该提醒调整操作。
可选地,该调用失败的原因也可以在第二设备上显示,本申请对此不作限定。
该方法中,当第二设备与第一设备协同,并且熄屏后,可以阻断敏感传感器的调用,保护了用户隐私,提升了用户体验。
具体地,下面以第二设备为车机,第一设备为平板为例,给出一种上述方法的具体实现流程。
图13示出了本申请实施例提供的一种车机与平板之间的交互流程。
可选地,车机可以包括反控模块,该反控模块也可以用于接收投屏。平板可以包括反控接收模块、输入子***、屏幕管理模块和隐私传感器服务模块。
S1301:车机与平板建立连接。
示例地,车机可以与平板开启协同。比如,平板将自身界面投屏至车机的显示屏上。具体地,开启协同的方式可以参考S402的说明,不再赘述。
S1302:车机用户点击熄屏。
S1303:车机的反控模块向平板的反控接收模块发送熄屏指令,对应地,平板的反控接收模块接收该熄屏指令。
S1304:平板的反控接收模块向屏幕管理模块调用熄屏接口。
S1305:平板的屏幕管理模块执行屏幕熄屏。
可选地,S1306:平板的屏幕管理模块向平板的反控接收模块发送熄屏成功消息,对应地,平板的反控接收模块接收该熄屏成功消息。
S1307:平板的反控接收模块向隐私传感服务模块发送关闭隐私传感器调用的消息,对应地,隐私传感服务模块接收该关闭隐私传感器调用的消息。
S1308:隐私传感服务模块设置标志位阻断对隐私传感器的调用。
示例地,该标志位用于表征隐私传感器的调用状态。具体地,即该标志位用于表征隐私传感器的调用状态为开启或是关闭,又或者说,该标志位用于表征是否允许隐私传感器的调用。具体地,该标志位可以设置为true或者false,当标志位为true时表征允许调用或是调用状态为开启,当标志位为false时表征拒绝调用或是调用状态为关闭。应理解,上述标志位的设置仅作为示例而非限定。比如,该标志位也可以设置为0或1,当标志位为1时表征允许调用或是调用状态为开启,当标志位为0时表征拒绝调用或是调用状态为关闭。还应理解,标志位的具体取值与该取值表征的含义之间的对应关系,本申请实施例
也不做限定。还应理解,标志位的具体取值与该取值表征的含义之间的对应关系可以是预定义的,也可以是配置的,本申请实施例对此不作限定。
S1309:车机用户完成投屏反控操作。
示例地,该投屏反控操作用于触发第二事件。
S1310:反控接收模块接收第二事件。
该第二事件对应的处理需要调用平板的敏感传感器。示例地,该第二事件对应的处理可以是启动第二设备中的某个应用。
可选地,S1311:隐私传感服务模块向反控接收模块回调应用对敏感传感器调用消息,对应地,反控接收模块接收该应用对敏感传感器调用消息。
S1312:反控接收模块提醒操作用户调用失败原因。
该方式中,在平板熄屏的情况下,车机仍然能够通过本地操作实现对平板的控制。同时,平板通过隐私传感器服务模块拒绝用户操作对敏感传感器的调用,保护了用户隐私,提升了用户体验。
应理解,该方法能够适用于前述实施例,比如前述投屏反控场景中。具体地,可以适用于前述图4至图11所述的方法中。
还应理解,上述流程中以平板与车机作为示例,但本申请不限于此。比如,还可以是车机熄屏,拒绝平板对车机隐私传感器的调用。又比如,第一设备与第二设备可以是同一设备的不同显示屏,比如车载屏幕1和车载屏幕2。又比如,该通信***还可以包括更多的设备,示例地,可以是手机、平板与车机的交互,等等,为了简洁起见,这里不再一一枚举。
还应理解,本申请实施例还可以应用于多设备多屏幕的场景。如果这多个设备与多个屏幕共用一个***,则具体的方案可以参考图11的说明;如果该多个设备属于不同的***,且每个***管理多个屏幕,则在同一***内的方案可以参考图11的说明,跨***(或者说属于多个***)的方案可以参考图5至图8中的说明,这里不再赘述。
还应理解,本申请实施例中的全屏透明悬浮窗覆盖在被管控设备的显示区域中,或者说,全屏透明悬浮窗覆盖于被输入管控的设备的显示区域。示例地,在平板与车机交互流程中,平板被输入管控时,全屏透明悬浮窗覆盖在平板的显示屏幕中;在属于同一***的多个屏幕之间,全屏透明悬浮窗覆盖在被输入管控的屏幕上,比如当车载屏幕1和车载屏幕2的交互流程中,车载屏幕2被输入管控,全屏透明悬浮窗覆盖在车载屏幕2上。总而言之,本申请中的第一设备可以是电子设备,比如平板,也可以是屏幕,比如平板的屏幕、车载屏幕等等,第一设备为被输入管控的设备,全屏透明悬浮窗在被输入管控的设备上显示。
下面,结合图14至图15,对本申请实施例提供的装置进行描述。
图14示出了本申请实施例提供的装置的示意性框图。该装置可以设置于上文图4至图13中所述的车载设备或电子设备。
例如,如图14所示,该装置400包括:显示单元415和处理单元420。
在一种可实现的方式中,该显示单元415用于执行上文图4至图13中所述的实施例中第二设备(比如车机)的显示相关的步骤;该处理单元420用于执行上文图4至图13中所述的实施例中第二设备(比如车机)的处理相关的步骤。
可选地,在一些实施例中,该装置还可以包括播放单元,该播放单元用于执行上文图4至图13中所述的实施例中第二设备(比如车机)的播放相关的步骤。
在另一种可实现的方式中,该显示单元415用于执行上文图4至图13中所述的实施例中第一设备(比如平板)的显示相关的步骤;该处理单元420用于执行上文图4至图13中所述的实施例中第一设备(比如平板)的处理相关的步骤。
可选地,在一些实施例中,该装置还可以包括播放单元,该播放单元用于执行上文图8中所述的实施例中电子设备的播放相关的步骤。
图15示出了本申请实施例提供的电子设备500的示意性结构图。
例如,如图15所示,该电子设备500包括:一个或多个处理器515,一个或多个存储器520,该一个或多个存储器存储520存储有一个或多个计算机程序,该一个或多个计算机程序包括指令。当该指令被所述一个或多个处理器515运行时,使得如上文图4至图13中所述的第二设备(比如车机)执行上述图4至图13的实施例中的技术方案,或者,使得如上文图4至图13中所述的第一设备(比如平板)执行
上述图4至图13中实施例的技术方案。
本申请实施例提供一种计算机程序产品,当所述计算机程序产品在电子设备运行时,使得电子设备执行上述实施例中的技术方案。其实现原理和技术效果与上述方法相关实施例类似,此处不再赘述。
本申请实施例提供一种可读存储介质,所述可读存储介质包含指令,当所述指令在电子设备运行时,使得所述电子设备执行上述实施例的技术方案。其实现原理和技术效果类似,此处不再赘述。
本申请实施例提供一种芯片,所述芯片用于执行指令,当所述芯片运行时,执行上述实施例中的技术方案。其实现原理和技术效果类似,此处不再赘述。
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的***、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。
在本申请所提供的几个实施例中,应该理解到,所揭露的***、装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个***,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。
所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。
以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以所述权利要求的保护范围为准。
Claims (19)
- 一种设备管理方法,应用于包括第一设备和第二设备的***,其中,所述第一设备的界面投屏至所述第二设备显示,所述方法包括:所述第一设备接收第一事件,所述第一事件是由第一操作触发的,所述第一操作属于所述第一设备的本地操作;当输入管控状态为开启,且所述第一操作的位置在第一区域内时,所述第一设备阻断所述第一事件的传递,其中,所述输入管控状态为开启表示所述第一设备的本地操作被管控,或者,当所述输入管控状态为开启,且所述第一操作的位置在第二区域内时,所述第一设备将所述输入管控状态调整为关闭,其中,所述输入管控状态为关闭表示所述第一设备的本地操作未被管控,所述第一区域与所述第二区域分别为所述第一设备显示区域的一部分,所述第一区域与所述第二区域不重叠。
- 根据权利要求1所述的方法,其特征在于,所述方法还包括:当所述输入管控状态为关闭时,所述第一设备允许所述第一事件的传递。
- 根据权利要求1或2所述的方法,其特征在于,所述方法还包括:所述第一设备接收第一消息,所述第一消息用于指示将所述输入管控状态调整为开启。
- 根据权利要求1至3中任一项所述的方法,其特征在于,所述方法还包括:当输入管控状态为开启时,所述第一设备开启全屏透明悬浮窗,所述全屏透明悬浮窗覆盖于所述第一设备的显示区域。
- 根据权利要求4所述的方法,其特征在于,所述全屏透明悬浮窗包括所述第二区域。
- 根据权利要求1至5中任一项所述的方法,其特征在于,所述第一事件对应熄屏处理,所述输入管控状态为关闭时,所述方法还包括:所述第一设备执行熄屏处理。
- 根据权利要求1至6中任一项所述的方法,其特征在于,所述方法还包括:所述第一设备接收来自第二设备的指示信息,所述指示信息用于指示熄屏,所述指示信息是由所述第二设备本地的反控操作触发的;所述第一设备执行熄屏处理包括:所述第一设备根据所述指示信息执行熄屏处理。
- 根据权利要求6或7所述的方法,其特征在于,所述方法还包括:所述第一设备接收第二事件,所述第二事件是由来自所述第二设备的投屏反控操作触发的;响应于所述第二事件,所述第一设备执行所述第二事件对应的处理。
- 根据权利要求8所述的方法,其特征在于,所述方法还包括:当所述第二事件对应的处理调用所述第一设备的敏感传感器时,所述第一设备阻断所述调用。
- 一种计算机可读存储介质,其特征在于,包括计算机指令,当所述计算机指令在电子设备上运行时,使得所述电子设备执行如权利要求1至9中任一项所述的方法。
- 一种芯片***,其特征在于,包括:处理器,用于从存储器中调用并运行计算机程序,使得安装有所述芯片***的电子设备执行如权利要求1至9中任一项所述的显示方法。
- 一种电子设备,其特征在于,所述电子设备包括显示屏,存储器和一个或多个处理器,其中,所述存储器用于存储计算机程序代码,所述计算机程序代码包括计算机指令;当所述计算机指令被所述一个或多个处理器执行时,使得所述电子设备执行如权利要求1至9中任一项所述的方法。
- 一种设备管理方法,应用于包括第一设备和第二设备的***,其中,所述第一设备的界面投屏至所述第二设备显示,所述方法包括:所述第一设备接收第一反控事件,所述第一反控事件是所述第二设备本地的反控操作触发的;响应于所述第一反控事件,所述第一设备执行所述第一反控事件对应的处理;所述第一设备接收第一本地事件,所述第一本地事件对应的操作在第一区域内;响应于所述第一本地事件,所述第一设备不执行所述第一本地事件对应的处理;所述第一设备接收第二本地事件,所述第二本地事件对应的操作在第二区域内,其中,所述第一区 域与所述第二区域分别为所述第一设备显示区域的一部分,所述第一区域与所述第二区域不重叠;响应于所述第二本地事件,所述第一设备执行所述第二本地事件对应的处理。
- 根据权利要求13所述的方法,其特征在于,所述第二本地事件对应的处理为将所述第一设备的输入管控状态调整为关闭,其中,所述输入管控状态为关闭表示所述第一设备的本地操作未被管控。
- 根据权利要求13或14所述的方法,其特征在于,响应于所述第二本地事件,所述第一设备执行所述第二本地事件对应的处理之后,所述方法还包括:所述第一设备接收第三本地事件,所述第三本地事件对应的操作在第一设备的显示区域的任意位置;响应于所述第三本地事件,所述第一设备执行所述第三本地事件对应的处理。
- 根据权利要求13所述的方法,其特征在于,所述方法还包括:所述第一设备接收第二反控事件,所述第二反控事件是所述第二设备本地的反控操作触发的;响应于所述第二反控事件,所述第一设备执行熄屏操作;所述第一设备接收第三反控事件,所述第三反控事件是所述第二设备本地的反控操作触发的;响应于所述第三反控事件,所述第一设备启动第一应用。
- 根据权利要求13所述的方法,其特征在于,所述方法还包括:所述第一设备接收第四本地事件,所述第四本地事件指示所述第一设备熄屏;响应于所述第四本地事件,所述第一设备执行熄屏操作;所述第一设备接收第四反控事件,所述第是反控事件是所述第二设备本地的反控操作触发的;响应于所述第四反控事件,所述第一设备启动第一应用。
- 根据权利要求16或17所述的方法,其特征在于,所述方法还包括:所述第一应用调用所述第二设备的敏感传感器时,在所述第一设备和/或所述第二设备上提示调用失败。
- 一种设备管理***,其特征在于,包括如权利要求13至18中任一项所述的第一设备和第二设备。
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211650267.6A CN118230535A (zh) | 2022-12-21 | 2022-12-21 | 设备管理方法及电子设备 |
CN202211650267.6 | 2022-12-21 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2024131661A1 true WO2024131661A1 (zh) | 2024-06-27 |
Family
ID=91499512
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2023/139085 WO2024131661A1 (zh) | 2022-12-21 | 2023-12-15 | 设备管理方法及电子设备 |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN118230535A (zh) |
WO (1) | WO2024131661A1 (zh) |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109788265A (zh) * | 2019-01-28 | 2019-05-21 | 深圳市飞图视讯有限公司 | 一种投影机的无线交互方法及装置 |
CN110221798A (zh) * | 2019-05-29 | 2019-09-10 | 华为技术有限公司 | 一种投屏方法、***及相关装置 |
CN112149194A (zh) * | 2020-09-18 | 2020-12-29 | 珠海格力电器股份有限公司 | 设备投屏的方法和装置、存储介质和电子装置 |
CN112631535A (zh) * | 2020-12-22 | 2021-04-09 | 努比亚技术有限公司 | 一种投屏反向控制方法及装置、移动终端、存储介质 |
WO2022042326A1 (zh) * | 2020-08-31 | 2022-03-03 | 华为技术有限公司 | 显示控制的方法及相关装置 |
CN114610253A (zh) * | 2020-12-08 | 2022-06-10 | 华为技术有限公司 | 一种投屏方法及设备 |
CN114741039A (zh) * | 2020-12-24 | 2022-07-12 | 华为技术有限公司 | 设备控制方法和终端设备 |
WO2022228065A1 (zh) * | 2021-04-25 | 2022-11-03 | 华为技术有限公司 | 功能跳转方法及电子设备 |
CN115390776A (zh) * | 2022-08-22 | 2022-11-25 | 北京字跳网络技术有限公司 | 投屏控制方法、装置、终端和存储介质 |
CN115437593A (zh) * | 2022-08-29 | 2022-12-06 | Oppo广东移动通信有限公司 | 信息处理方法、装置、存储介质及电子设备 |
-
2022
- 2022-12-21 CN CN202211650267.6A patent/CN118230535A/zh active Pending
-
2023
- 2023-12-15 WO PCT/CN2023/139085 patent/WO2024131661A1/zh unknown
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109788265A (zh) * | 2019-01-28 | 2019-05-21 | 深圳市飞图视讯有限公司 | 一种投影机的无线交互方法及装置 |
CN110221798A (zh) * | 2019-05-29 | 2019-09-10 | 华为技术有限公司 | 一种投屏方法、***及相关装置 |
WO2022042326A1 (zh) * | 2020-08-31 | 2022-03-03 | 华为技术有限公司 | 显示控制的方法及相关装置 |
CN112149194A (zh) * | 2020-09-18 | 2020-12-29 | 珠海格力电器股份有限公司 | 设备投屏的方法和装置、存储介质和电子装置 |
CN114610253A (zh) * | 2020-12-08 | 2022-06-10 | 华为技术有限公司 | 一种投屏方法及设备 |
CN112631535A (zh) * | 2020-12-22 | 2021-04-09 | 努比亚技术有限公司 | 一种投屏反向控制方法及装置、移动终端、存储介质 |
CN114741039A (zh) * | 2020-12-24 | 2022-07-12 | 华为技术有限公司 | 设备控制方法和终端设备 |
WO2022228065A1 (zh) * | 2021-04-25 | 2022-11-03 | 华为技术有限公司 | 功能跳转方法及电子设备 |
CN115390776A (zh) * | 2022-08-22 | 2022-11-25 | 北京字跳网络技术有限公司 | 投屏控制方法、装置、终端和存储介质 |
CN115437593A (zh) * | 2022-08-29 | 2022-12-06 | Oppo广东移动通信有限公司 | 信息处理方法、装置、存储介质及电子设备 |
Also Published As
Publication number | Publication date |
---|---|
CN118230535A (zh) | 2024-06-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR102496111B1 (ko) | 표시 방법 및 관련 장치 | |
EP3846427B1 (en) | Control method and electronic device | |
EP4113415A1 (en) | Service recommending method, electronic device, and system | |
WO2021036770A1 (zh) | 一种分屏处理方法及终端设备 | |
CN111443836B (zh) | 一种暂存应用界面的方法及电子设备 | |
WO2021078032A1 (zh) | 用户界面的显示方法及电子设备 | |
WO2021180089A1 (zh) | 界面切换方法、装置和电子设备 | |
US20230117194A1 (en) | Communication Service Status Control Method, Terminal Device, and Readable Storage Medium | |
WO2020107463A1 (zh) | 一种电子设备的控制方法及电子设备 | |
CN111542802A (zh) | 一种屏蔽触摸事件的方法及电子设备 | |
WO2021143391A1 (zh) | 基于视频通话的共享屏幕方法及移动设备 | |
CN113452945A (zh) | 分享应用界面的方法、装置、电子设备及可读存储介质 | |
CN114253491A (zh) | 显示方法及电子设备 | |
EP4407421A1 (en) | Device collaboration method and related apparatus | |
WO2021238740A1 (zh) | 一种截屏方法及电子设备 | |
EP4163782A1 (en) | Cross-device desktop management method, first electronic device, and second electronic device | |
US20220291832A1 (en) | Screen Display Method and Electronic Device | |
WO2023020012A1 (zh) | 设备之间的数据通信方法、设备、存储介质及程序产品 | |
WO2024131661A1 (zh) | 设备管理方法及电子设备 | |
WO2024139257A1 (zh) | 应用程序的界面显示方法及电子设备 | |
WO2024149216A1 (zh) | 一种窗口管理方法、***和电子设备 | |
WO2024109573A1 (zh) | 悬浮窗显示的方法和电子设备 | |
WO2023155583A1 (zh) | 跨设备应用程序管理的方法、电子设备及*** | |
WO2024012346A1 (zh) | 任务迁移的方法、电子设备和*** | |
WO2024152905A1 (zh) | 设备交互的方法和电子设备 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 23905825 Country of ref document: EP Kind code of ref document: A1 |