WO2022134179A1 - 目标区域的设置方法、装置、电子设备及存储介质 - Google Patents
目标区域的设置方法、装置、电子设备及存储介质 Download PDFInfo
- Publication number
- WO2022134179A1 WO2022134179A1 PCT/CN2020/141760 CN2020141760W WO2022134179A1 WO 2022134179 A1 WO2022134179 A1 WO 2022134179A1 CN 2020141760 W CN2020141760 W CN 2020141760W WO 2022134179 A1 WO2022134179 A1 WO 2022134179A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- area
- target
- layer
- information
- electronic device
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 47
- 238000004590 computer program Methods 0.000 claims description 11
- 230000004044 response Effects 0.000 claims description 4
- 238000010586 diagram Methods 0.000 description 10
- 230000008569 process Effects 0.000 description 7
- 238000004891 communication Methods 0.000 description 6
- 230000003287 optical effect Effects 0.000 description 6
- 230000008859 change Effects 0.000 description 4
- 230000006870 function Effects 0.000 description 3
- 238000012986 modification Methods 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 230000005540 biological transmission Effects 0.000 description 2
- 230000005055 memory storage Effects 0.000 description 2
- 238000007792 addition Methods 0.000 description 1
- 230000015556 catabolic process Effects 0.000 description 1
- 230000008878 coupling Effects 0.000 description 1
- 238000010168 coupling process Methods 0.000 description 1
- 238000005859 coupling reaction Methods 0.000 description 1
- 238000006731 degradation reaction Methods 0.000 description 1
- 230000009977 dual effect Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 239000000835 fiber Substances 0.000 description 1
- 230000002452 interceptive effect Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 238000011084 recovery Methods 0.000 description 1
- 230000009467 reduction Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/451—Execution arrangements for user interfaces
Definitions
- the present application relates to the technical field of dual-system electronic devices, and in particular, to a method, device, electronic device, and storage medium for setting a target area.
- a dual-system electronic device such as a smart interactive tablet has two operating systems, namely a first system and a second system.
- the first system may be an Android system and the second system may be a Windows system.
- the second system displays the handwriting corresponding to the writing operation, and it is usually necessary to perform a High Definition Multimedia Interface (High Definition Multimedia Interface) on the signal of the writing operation.
- HDMI High Definition Multimedia Interface
- HDMI decoding which are cumbersome and time-consuming, resulting in slow response speed of handwriting display.
- the first system in order to improve the speed at which the second system displays the handwriting corresponding to the writing operation, the first system usually receives the writing operation input by the user, and in the display interface of the second system of the second system, the first system corresponding to the first system A layer displays the handwriting of the handwriting operation, and sends the handwriting of the writing operation to the second system, so that the second image layer corresponding to the second system in the display interface of the second system displays the handwriting of the writing operation, and the first The handwriting on one layer overlaps the handwriting on the second layer.
- the first layer and the second layer may display handwriting separately, which increases the possibility that the dual-system electronic device displays low-quality handwriting.
- the embodiments of the present application provide a method, device, electronic device, and storage medium for setting a target area, which can solve the problem that the current dual-system electronic device displays low-quality handwriting because the first layer and the second layer display handwriting respectively. problem with high probability.
- an embodiment of the present application provides a method for setting a target area, which is applied to a first target system of a dual-system electronic device, wherein the dual-system electronic device is provided with a first system and a second system, and the first system
- the target system is the first system or the second system
- the method includes:
- the display screen of the dual-system electronic device displays the display interface of the second system
- acquire target information of the second target system wherein the target information is the same as the undrawn handwriting on the first layer.
- Information associated with the first layer area the first layer is a layer under the first system used to display the image of the second target system
- the second target system is the first system and the systems other than the first target system in the second system;
- the second layer area on the second layer is set as the target area, wherein the second layer is an image of the first target system under the first system for displaying the image of the first target system. layer, and the second layer area overlaps with the first layer area; the target area is an area where handwriting cannot be drawn.
- an embodiment of the present application provides an apparatus for setting a target area, which is applied to a first target system of a dual-system electronic device, wherein the dual-system electronic device is provided with a first system and a second system, and the first system
- the target system is the first system or the second system
- the apparatus includes:
- a target information acquisition module configured to acquire target information of the second target system when the display screen of the dual-system electronic device displays the display interface of the second system, wherein the target information is the same as that of the first system Information associated with the first layer area where handwriting cannot be drawn on the layer, the first layer is the layer under the first system used to display the image of the second target system, the second target system is a system other than the first target system in the first system and the second system;
- a target area setting module configured to set the second layer area on the second layer as the target area based on the target information, wherein the second layer is used under the first system to display the The image layer of the first target system, and the second layer area overlaps the first layer area; the target area is an area where handwriting cannot be drawn.
- an embodiment of the present application provides a dual-system electronic device, where the dual-system electronic device includes:
- a memory for storing the processor-executable instructions
- processor is configured to execute the instructions to implement the steps of the method of the first aspect.
- an embodiment of the present application provides a computer storage medium, where computer program instructions are stored thereon, and when the computer program instructions are executed by a processor, the steps of the method according to the first aspect are implemented.
- the first target system of the dual-system electronic device sets the second layer area on the second layer of the first target system as a non-drawable area according to the target information of the second target system.
- the layer area overlaps with the first layer area on the first layer of the second target system, and the first layer area is a non-drawable area on the first layer.
- the dual-system electronic device can realize the synchronization of the target areas on the layers of the first system and the second system, avoid the occurrence of a situation where the handwriting displayed on the layers of the two systems is out of synchronization, thereby reducing the occurrence of dual-system electronic devices. Possibility to display low-quality handwriting.
- FIG. 1 is a schematic flowchart of a method for setting a target area provided by an embodiment of the present application
- FIG. 2 is a schematic structural diagram of a device for setting a target area provided by an embodiment of the present application
- FIG. 3 is a schematic diagram of a hardware structure of a dual-system electronic device provided by an embodiment of the present application.
- first, second and the like in the description and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It is to be understood that the data so used are interchangeable under appropriate circumstances so that the embodiments of the present application can be practiced in sequences other than those illustrated or described herein, and distinguish between “first”, “second”, etc.
- Objects are usually of one type, and the number of objects is not limited.
- the first writing operation may be one or multiple.
- “and/or” in the description and claims indicates at least one of the connected objects, and the character “/" generally indicates that the associated objects are in an "or” relationship.
- an embodiment of the present application provides a method for setting a target area.
- the method for setting a target area is applied to a dual-system electronic device, and is applied to a first target system of a dual-system electronic device.
- the dual-system electronic device is provided with a first target system.
- a system and a second system, and the first target system is the first system or the second system, as shown in FIG. 1 , the method includes the following steps:
- Step 101 In the case where the display screen of the dual-system electronic device displays the display interface of the second system, obtain target information of the second target system, wherein the target information is the same as the first image on which handwriting cannot be drawn on the first layer.
- Information associated with the layer area the first layer is the layer used to display the image of the second target system under the first system, and the second target system is the system other than the first target system in the first system and the second system ;
- Step 102 Based on the target information, set the second layer area on the second layer as the target area, wherein the second layer is a layer used to display the image of the first target system under the first system, and the first layer The second layer area overlaps with the first layer area; the target area is the area where handwriting cannot be drawn. .
- the first target system of the dual-system electronic device sets the second layer area on the second layer corresponding to the first target system as a non-drawable area according to the target information of the second target system,
- the second layer area overlaps with the first layer area on the first layer corresponding to the second target system, and the first layer area is a non-drawable area on the first layer.
- the dual-system electronic device can realize the synchronization of the target area on the layers of the first system and the second system, so as to avoid the situation that the handwriting displayed on the layers of the two systems is out of synchronization, and then Reduced the likelihood of dual-system electronics displaying low-quality handwriting.
- the above-mentioned dual-system electronic device includes a display screen, a first system and a second system, and the display screen is used to display the display interface of the first system or the second system, and an operation (such as a writing operation, etc.) to receive user input.
- the first system and the second system may be understood as devices or apparatuses respectively provided with different operating systems, and both the first system and the second system are provided with a processor and a memory to realize independent operation.
- the operating systems of the first system and the second system may include the Windows system or the Android system.
- the above-mentioned first system is a device or device for setting the Android system (hereinafter referred to as “the first system is the Android system”) and the above-mentioned second system is a device or device for setting the Windows system (hereinafter referred to as “the second system is the Windows system”) ”).
- the above-mentioned first system may be the main system of the above-mentioned dual-system electronic equipment
- the second system may be the auxiliary system of the dual-system electronic equipment.
- the display screen of the dual-system electronic equipment displays the display interface of the second system
- the display interface of the second system is displayed under the first system in the form of a video stream, that is, the frame after the dual-system electronic device encodes the display interface of the second system through the High Definition Multimedia Interface (HDMI).
- HDMI High Definition Multimedia Interface
- the first target system of the dual-system electronic device can obtain target information of the second target system.
- the first target system may be any one of the first system and the second system, and the second target system is a system other than the first target system among the first system and the second system.
- the above-mentioned first system is an Android system and the second system is a Windows system
- the above-mentioned first target system is an Android system
- the second target system is a Windows system
- the above-mentioned first target system is Windows system
- the second target system is Android system.
- the above target information may be sent by the second target system to the first target system, and it may be any information associated with the first layer area on the first layer corresponding to the second target system.
- the layer area is an area where handwriting cannot be drawn, and the area where handwriting cannot be drawn may be: when the second target system receives a writing operation input in the area where handwriting cannot be drawn, the area where handwriting cannot be drawn does not display the writing operation 's handwriting.
- the above-mentioned target information may directly include the area coordinate information of the first layer area in the display screen.
- it may include coordinate information of all pixels covered in the first layer area; alternatively, it may include coordinate information, area shape, size, rounded corners and other information of preset reference points in the first layer area, and
- the location of the first layer area in the display screen can be realized by presetting the coordinate information of the reference point, the area shape, size, rounded corners and other information.
- the first layer area may overlap with the preset area of the second target system in the display screen layer area.
- the first layer area includes an area associated with the positions of the shortcut keys located on both sides of the display screen of the dual-system electronic device;
- the first layer area includes the area where the toolbar of the second system is located.
- the dual-system electronic device may set the area associated with the location of the shortcut keys on both sides of the display screen of the first system and the layer area corresponding to the area where the toolbar of the second system is located as an area where handwriting cannot be drawn , so that not only the possibility of displaying low-quality handwriting on the dual-system electronic device can be reduced, but also the degradation of the display quality of the dual-system electronic device caused by drawing handwriting in the above-mentioned area can be avoided.
- the shortcut keys on both sides of the display screen may be physical or virtual keys including volume keys, power-off keys, and quick screen capture keys, and the above-mentioned areas associated with the positions of the shortcut keys on both sides of the display screen may be in the display screen.
- the area where the toolbar of the second system is located may include an area preset in the display interface for displaying information such as time, power, and signal.
- the above-mentioned target information may also include information used to calculate the above-mentioned first layer area
- the above-mentioned target information may include the first resolution of the second target system, and the first resolution of the second target system The ratio can be used to calculate the black border area when the display interface of the second target system is displayed on the display screen, that is, the layer area where the first layer is in the black border area is the above-mentioned first layer area, and so on.
- the display interface of the second system when the display interface of the second system is displayed under the first system, the display interface of the second system is provided with layers corresponding to the first system under the first system and layers corresponding to the second system under the first system.
- the layer of the first system can be overlaid on the layer of the second system in a transparent form, and when the dual-system electronic device receives a writing operation, the layer of the first system and the layer of the second system
- the layers of the first system can respectively display the handwriting of the writing operation, and the handwriting of the writing operation displayed by the layer of the first system overlaps the handwriting of the writing operation displayed by the layer of the second system.
- the above-mentioned first layer may be a layer corresponding to the first system or a layer corresponding to the second system, that is, when the first target system is the second system and the second target system is the first system,
- the above-mentioned first layer is a layer corresponding to the first system and the second layer is a layer corresponding to the second system; and, where the first target system is the first system and the second target system is the second system
- the above-mentioned first layer is a layer corresponding to the second system and the second layer is a layer corresponding to the first system.
- the above-mentioned second target system sends target information to the first target system, which may be that the second target system triggers an event for obtaining target information under the condition that a preset trigger condition is met, and sends the obtained target information to the second target system.
- the system is sent to the first target system. For example, when a display interface for instructing to display the second system under the first system is received, the first system acquires the above target information and sends it to the second system.
- target information which can include:
- the second target system of the dual-system electronic device obtains the above target information and sends it to the first target system when receiving the writing operation or the first layer area is changed, so as to realize the timely determination of the first target system Areas where handwriting cannot be drawn.
- the above-mentioned change in the area where handwriting cannot be drawn may include at least one of an increase or reduction in the area of the area where handwriting cannot be drawn on the first layer, and the position of the area where handwriting cannot be drawn. .
- the second target system may transmit the target information of the second target system through the Open Pluggable Specification (OPS). to the above-mentioned first target system.
- OPS Open Pluggable Specification
- the first target system sets the second layer area on the second layer as the target area based on the above target information, and the target area is not drawable. area of handwriting.
- the first target system based on the target information, sets the second layer area on the second layer as the target area, which may be determined by the first target system according to a preset rule or method.
- the second layer area on the layer corresponding to the target information, and the second layer area is set as the area where handwriting cannot be drawn.
- the above-mentioned target information is the preset area coordinate information of the first layer area in the display screen of the dual-system electronic device
- the above-mentioned step 102 may include:
- the first target system may assign the second layer in the second layer that has the above preset area coordinate information to the second layer.
- the area is set to the area where handwriting cannot be drawn, so that the first target system can quickly set the area corresponding to the second target system where handwriting cannot be drawn, thereby improving the processing efficiency of the dual-system electronic device.
- the first system may determine the layer area on its layer that overlaps the area where the toolbar is located as the above-mentioned area.
- the second layer area, and the second layer area is set as an area where handwriting cannot be drawn; or, where the target information is the area coordinate information of the area associated with the location of the shortcut keys located on both sides of the display screen of the first system
- the above-mentioned second system may determine the layer area corresponding to the area associated with the location of the shortcut keys on both sides of the display screen as the above-mentioned second layer area, and the second layer area Set the area where no handwriting can be drawn.
- the above-mentioned target information may also be the resolution of the above-mentioned second target system, specifically, the second target system is the second system, the first target system is the first system, and the display interface of the second system is in the first system. Output in the form of video stream under the system; the target information is the first resolution of the second system;
- the above step 102 may include:
- the first system may set the black border area generated when the display interface of the second system is displayed under the first system as the area where handwriting cannot be drawn, so as to make sure that the above-mentioned impossible The way you draw areas of handwriting is more flexible and more widely used.
- the above-mentioned determination of the black border area displayed on the display interface of the second system under the first system based on the first resolution and the second resolution may be based on the aspect ratio of the second system and the first system. Size, determine whether there is a black border area in the display screen and whether the black border area is at the left or right position or up and down. If there is a black border area, the coordinate range of the black border area in the second system can be calculated based on the aspect ratio of the first system, Then, according to the scaling coefficient of the resolution of the first system and the resolution of the second system, it is converted into the coordinate range of the black border area in the first system, so as to realize the determination of the black border area.
- the first target system can be based on To change the area of the first layer, adjust the area of the second layer in the second layer accordingly, that is, change the area in the second layer where handwriting cannot be drawn, and the implementation process is similar to the above steps 101 and 102 , and will not be repeated here.
- an embodiment of the present application provides a device for setting a target area, which is applied to a first target system of a dual-system electronic device.
- the dual-system electronic device is provided with a first system and a second system, and the first target system is The first system or the second system, as shown in Figure 2, the device includes:
- the target information acquisition module 201 is configured to acquire target information of the second target system when the display screen of the dual-system electronic device displays the display interface of the second system, wherein the target information is the same as the one that cannot be drawn on the first layer Information associated with the first layer area of the handwriting, the first layer is the layer used to display the image of the second target system under the first system, and the second target system is the first system and the second system except the first target systems outside the system;
- the target area setting module 202 is configured to, based on the target information, set the second layer area on the second layer as the target area, wherein the second layer is used for displaying the image of the first target system under the first system. layer, and the second layer area overlaps with the first layer area; the target area is the area where handwriting cannot be drawn.
- the first target system of the target area setting device 200 may set the second layer area on the second layer of the first target system as a non-drawable area according to the target information of the second target system.
- the layer area overlaps with the first layer area on the first layer of the second target system, and the first layer area is a non-drawable area on the first layer.
- the dual-system electronic device can realize the synchronization of the target area on the layers of the first system and the second system, avoid the occurrence of a situation in which the handwriting displayed on the layers of the two systems is out of synchronization, thereby reducing the setting device of the target area. 200 appears to show the possibility of low-quality handwriting.
- the target information is preset area coordinate information of the first layer area in the display screen of the dual-system electronic device
- the target area setting module 202 may include:
- the second layer area determination unit is configured to determine the layer area whose area coordinate information on the second layer is the preset area coordinate information as the second layer area;
- the first area setting unit is used to set the second layer area as the target area.
- the device 200 for setting the target area may set the area associated with the location of the shortcut keys of the first system on both sides of the display screen and the layer area corresponding to the area where the toolbar of the second system is located as non-drawable handwriting Therefore, not only the possibility of displaying low-quality handwriting in the setting apparatus 200 of the target area can be reduced, but also the display quality of the setting apparatus 200 in the target area caused by drawing handwriting in the above area can be avoided.
- the first layer area when the second target system is the first system, includes an area associated with the positions of the shortcut keys located on both sides of the display screen of the dual-system electronic device;
- the first layer area includes the area where the toolbar of the second system is located.
- the first target system may be the second image that has the above-mentioned preset area coordinate information in the second layer
- the layer area is set as the area where handwriting cannot be drawn, so that the first target system can quickly set the area corresponding to the second target system where handwriting cannot be drawn, and the processing efficiency of the target area setting device 200 is improved.
- the first target system is the first system
- the second target system is the second system
- the display interface of the second system is output in the form of a video stream under the first system
- the target information is the second system first resolution
- the target area module 202 includes:
- the black border area determination unit is used to determine the black border area based on the first resolution and the second resolution, and determine the black border area generated by the display interface of the second system displayed in the first system, wherein the second resolution is the first resolution.
- the second area setting unit is used for setting the layer area located in the black border area on the second layer as the target area.
- the first system may set the black border area generated when the display interface of the second system is displayed under the first system as the area where handwriting cannot be drawn, so as to make sure that the above-mentioned impossible The way you draw areas of handwriting is more flexible and more widely used.
- the area information acquisition module 201 is specifically configured to:
- the second target system In the case of receiving a writing operation input in the display interface, in response to the writing operation, the second target system obtains target information; or,
- the second target system obtains target information in the case of detecting that the area where handwriting cannot be drawn is changed on the first layer, where the area of the first layer is the changed area where handwriting cannot be drawn.
- the second target system of the target area setting device 200 acquires the above target information when receiving a writing operation or the first layer area is changed, so that the area of the first target system where handwriting cannot be drawn can be determined in time. .
- the device for setting the target area in this embodiment of the present application may be a device having two operating systems.
- the operating system may be an Android (Android) operating system, a Windows operating system, or other possible operating systems, which are not specifically limited in the embodiments of the present application.
- the apparatus for setting a target area provided in this embodiment of the present application can implement each process implemented by the method embodiment in FIG. 1 , and to avoid repetition, details are not described here.
- FIG. 3 shows a schematic diagram of a hardware structure of a dual-system electronic device provided by an embodiment of the present application.
- the first target system may be the first system or the second system, and the first target system includes a processor 301 and a memory 302 storing computer program instructions.
- the above-mentioned processor 301 may include a central processing unit (CPU), or a specific integrated circuit (Application Specific Integrated Circuit, ASIC), or may be configured to implement one or more integrated circuits of the embodiments of the present application.
- CPU central processing unit
- ASIC Application Specific Integrated Circuit
- Memory 302 may include mass storage for data or instructions.
- memory 302 may include a Hard Disk Drive (HDD), a floppy disk drive, a flash memory, an optical disk, a magneto-optical disk, a magnetic tape, or a Universal Serial Bus (USB) drive or two or more A combination of more than one of the above.
- Memory 302 may include removable or non-removable (or fixed) media, where appropriate.
- Storage 302 may be internal or external to the integrated gateway disaster recovery device, where appropriate.
- memory 302 is non-volatile solid state memory.
- Memory may include read only memory (ROM), random access memory (RAM), magnetic disk storage media devices, optical storage media devices, flash memory devices, electrical, optical or other physical/tangible memory storage devices.
- ROM read only memory
- RAM random access memory
- magnetic disk storage media devices e.g., magnetic disks
- optical storage media devices e.g., magnetic disks
- flash memory devices e.g., electrical, optical or other physical/tangible memory storage devices.
- a memory includes one or more tangible (non-transitory) computer-readable storage media (eg, memory devices) encoded with software including computer-executable instructions, and when the software is executed (eg, by a or multiple processors), it is operable to perform the operations described with reference to a method according to an aspect of the present application.
- the processor 301 reads and executes the computer program instructions stored in the memory 302 to implement any one of the target area setting methods in the foregoing embodiments.
- the dual system electronic device may also include a communication interface 303 and a bus 310 .
- the processor 301 , the memory 302 , and the communication interface 303 are connected through the bus 310 and complete the communication with each other.
- the communication interface 303 is mainly used to implement communication between modules, apparatuses, units, and/or devices in the embodiments of the present application.
- the bus 310 includes hardware, software, or both, coupling the components of the online data flow metering device to each other.
- the bus may include Accelerated Graphics Port (AGP) or other graphics bus, Enhanced Industry Standard Architecture (EISA) bus, Front Side Bus (FSB), HyperTransport (HT) Interconnect, Industry Standard Architecture (ISA) Bus, Infiniband Interconnect, Low Pin Count (LPC) Bus, Memory Bus, Microchannel Architecture (MCA) Bus, Peripheral Component Interconnect (PCI) Bus, PCI-Express (PCI-X) Bus, Serial Advanced Technology Attachment (SATA) bus, Video Electronics Standards Association Local (VLB) bus or other suitable bus or a combination of two or more of the above.
- Bus 310 may include one or more buses, where appropriate. Although embodiments of this application describe and illustrate a particular bus, this application contemplates any suitable bus or interconnect.
- the dual-system electronic device can display the first handwriting of the first writing operation on the first layer in the first system, and send the handwriting of the first writing operation to the second system to be displayed on the second layer of the second system
- the second handwriting superimposed on the first note executes the method for setting a target area in this embodiment of the present application, thereby implementing the method and apparatus for setting a target area described in conjunction with FIG. 1 and FIG. 2 .
- the embodiment of the present application may provide a computer storage medium for implementation.
- Computer program instructions are stored on the computer storage medium; when the computer program instructions are executed by the processor, any one of the target area setting methods in the foregoing embodiments is implemented.
- Examples of computer storage media include non-transitory storage media such as read only memory (ROM), random access memory (RAM), magnetic disk storage media devices, optical storage media devices, flash memory devices, electrical, optical or other physical/tangible memory storage device.
- the functional blocks shown in the above-described structural block diagrams may be implemented as hardware, software, firmware, or a combination thereof.
- it When implemented in hardware, it may be, for example, an electronic circuit, an application specific integrated circuit (ASIC), suitable firmware, a plug-in, a function card, or the like.
- ASIC application specific integrated circuit
- elements of the present application are programs or code segments used to perform the required tasks.
- the program or code segments may be stored in a machine-readable medium or transmitted over a transmission medium or communication link by a data signal carried in a carrier wave.
- a "machine-readable medium” may include any medium that can store or transmit information.
- machine-readable media examples include electronic circuits, semiconductor memory devices, ROM, flash memory, erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, hard disks, fiber optic media, radio frequency (RF) links, and the like.
- the code segments may be downloaded via a computer network such as the Internet, an intranet, or the like.
- processors may be, but are not limited to, general purpose processors, special purpose processors, application specific processors, or field programmable logic circuits. It will also be understood that each block of the block diagrams and/or flowchart illustrations, and combinations of blocks in the block diagrams and/or flowchart illustrations, can also be implemented by special purpose hardware for performing the specified functions or actions, or by special purpose hardware and/or A combination of computer instructions is implemented.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
一种目标区域的设置方法,应用于双***电子设备的第一目标***,双***电子设备设置有第一***和第二***,且第一目标***为第一***或者第二***,方法包括:在双***电子设备的显示屏显示有第二***的显示界面的情况下,获取第二目标***的目标信息(101),其中,目标信息为与第一图层上不可绘制笔迹的第一图层区域关联的信息,第一图层为第一***下用于显示第二目标***的图像的图层,第二目标***为第一***和第二***中除第一目标***之外的***;基于目标信息,将第二图层上的第二图层区域设置为目标区域(102),其中,第二图层为第一***下用于显示第一目标***的图像的图层,且第二图层区域与第一图层区域重叠;目标区域为不可绘制笔迹的区域。
Description
相关申请的交叉引用
本申请要求享有于2020年12月25日提交的名称为“目标区域的设置方法、装置、电子设备及存储介质”的中国专利申请202011566398.7的优先权,该申请的全部内容通过引用并入本文中。
本申请涉及双***电子设备技术领域,具体涉及一种目标区域的设置方法、装置、电子设备及存储介质。
智能交互平板等双***电子设备有两个操作***,即第一***和第二***,例如,第一***可以是安卓***且第二***为Windows***等。其中,目前双***电子设备在第二***下接收到用户输入的书写操作情况下,第二***显示书写操作对应的笔迹,通常需要对书写操作的信号进行高清晰度多媒体接口(High Definition Multimedia Interface,HDMI)编码、传输以及HDMI解码等处理,繁琐且费时,从而导致笔迹显示的响应速度慢。
目前,为提升第二***显示书写操作对应的笔迹的速度,通常是通过第一***接收用户输入的书写操作,在第二***的所述第二***的显示界面中与第一***对应的第一图层显示手写操作的笔迹,并将书写操作的笔迹发送至第二***,以在所述第二***的显示界面中与第二***对应的第二图像层显示书写操作的笔迹,且第一图层的笔迹和第二图层的笔迹重合。但是,目前第一图层和第二图层可能发生分别显示笔迹的情况,从而导致双***电子设备显示低质量的笔迹的可能性增加。
发明内容
本申请实施例提供一种目标区域的设置方法、装置、电子设备及存储介质,能够解决目前双***电子设备因第一图层和第二图层发生分别显示笔迹,而导致显示低质量的笔迹的可能性高的问题。
为了解决上述技术问题,本申请是这样实现的:
第一方面,本申请实施例提供一种目标区域的设置方法,应用于双***电子设的第一目标***,所述双***电子设备设置有第一***和第二***,且所述第一目标***为所述第一***或者所述第二***,所述方法包括:
在所述双***电子设备的显示屏显示有第二***的显示界面的情况下,获取所述第二目标***的目标信息,其中,所述目标信息为与第一图层上不可绘制笔迹的第一图层区域关联的信息,所述第一图层为所述第一***下用于显示所述第二目标***的图像的图层,所述第二目标***为所述第一***和所述第二***中除所述第一目标***之外的***;
基于所述目标信息,将第二图层上的第二图层区域设置为目标区域,其中,所述第二图层为所述第一***下用于显示所述第一目标***的图像的图层,且所述第二图层区域与所述第一图层区域重叠;所述目标区域为不可绘制笔迹的区域。
第二方面,本申请实施例提供一种目标区域的设置装置,应用于双***电子设备的第一目标***,所述双***电子设备设置有第一***和第二***,且所述第一目标***为所述第一***或者所述第二***,所述装置包括:
目标信息获取模块,用于在所述双***电子设备的显示屏显示有第二***的显示界面的情况下,获取所述第二目标***的目标信息,其中,所述目标信息为与第一图层上不可绘制笔迹的第一图层区域关联的信息,所述第一图层为所述第一***下用于显示所述第二目标***的图像的图层,所述第二目标***为所述第一***和所述第二***中除所述第一目标***之外的***;
目标区域设置模块,用于基于所述目标信息,将第二图层上的第二图 层区域设置为目标区域,其中,所述第二图层为所述第一***下用于显示所述第一目标***的图像的图层,且所述第二图层区域与所述第一图层区域重叠;所述目标区域为不可绘制笔迹的区域。
第三方面,本申请实施例提供了一种双***电子设备,该双***电子设备包括:
处理器;
用于存储所述处理器可执行指令的存储器;
其中,所述处理器被配置为执行所述指令,以实现如第一方面所述的方法的步骤。
第四方面,本申请实施例提供了一种计算机存储介质,所述计算机存储介质上存储有计算机程序指令,所述计算机程序指令被处理器执行时实现如第一方面所述的方法的步骤。
本申请实施例中,双***电子设备的第一目标***根据第二目标***的目标信息,将第一目标***的第二图层上的第二图层区域设置为不可绘制区域,该第二图层区域与第二目标***的第一图层上的第一图层区域重叠,且第一图层区域为第一图层上的不可绘制区域,如此,通过本申请实施例的目标区域的设置方法,双***电子设备可以实现第一***和第二***的图层上目标区域的同步,避免出现在两个***的图层上显示笔迹不同步的情况发生,进而降低双***电子设备出现显示低质量的笔迹的可能性。
为了更清楚地说明本申请实施例的技术方案,下面将对本申请实施例中所需要使用的附图作简单的介绍,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1是本申请实施例提供的一种目标区域的设置方法的流程示意图;
图2是本申请实施例提供的一种目标区域的设置装置的结构示意图;
图3是本申请实施例提供的一种双***电子设备的硬件结构示意图。
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。
本申请的说明书和权利要求书中的术语“第一”、“第二”等是用于区别类似的对象,而不用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施,且“第一”、“第二”等所区分的对象通常为一类,并不限定对象的个数,例如第一书写操作可以是一个,也可以是多个。此外,说明书以及权利要求中“和/或”表示所连接对象的至少其中之一,字符“/”,一般表示前后关联对象是一种“或”的关系。
下面结合附图,通过具体地实施例及其应用场景对本申请实施例提供的目标区域的设置方法进行详细地说明。
请参见图1,本申请实施例提供一种目标区域的设置方法,该目标区域的设置方法应用于双***电子设备,应用于双***电子设备的第一目标***,双***电子设备设置有第一***和第二***,且第一目标***为第一***或者第二***,如图1所示,方法包括如下步骤:
步骤101、在双***电子设备的显示屏显示有第二***的显示界面的情况下,获取第二目标***的目标信息,其中,目标信息为与第一图层上不可绘制笔迹的第一图层区域关联的信息,第一图层为第一***下用于显示第二目标***的图像的图层,第二目标***为第一***和第二***中除第一目标***之外的***;
步骤102、基于目标信息,将第二图层上的第二图层区域设置为目标区域,其中,第二图层为第一***下用于显示第一目标***的图像的图层,且第二图层区域与第一图层区域重叠;目标区域为不可绘制笔迹的区域。。
在本申请实施例中,双***电子设备的第一目标***根据第二目标系 统的目标信息,将与第一目标***对应的第二图层上的第二图层区域设置为不可绘制区域,该第二图层区域与与第二目标***对应的第一图层上的第一图层区域重叠,且第一图层区域为第一图层上的不可绘制区域,如此,通过本申请实施例的目标区域的设置方法,双***电子设备可以实现第一***和第二***的图层上目标区域的同步,避免出现因在两个***的图层上显示笔迹不同步的情况发生,进而降低双***电子设备出现显示低质量的笔迹的可能性。
需要说明的是,上述双***电子设备包括显示屏、第一***第二***,显示屏用于显示第一***或者第二***的显示界面,以及,接收用户输入的操作(如书写操作等);第一***和第二***可以理解为分别设置有不同操作***的设备或者装置,第一***和第二***均设置有处理器以及存储器以实现独立运行。上述第一***和第二***的操作***可以是包括Windows***或者Android***。具体地,上述第一***为设置Android***的设备或者装置(后续简称“第一***为Android***”)且上述第二***为设置Windows***的设备或者装置(后续简称“第二***为Windows***”)。
另外,上述第一***可以是上述双***电子设备的主***,且第二***可以是双***电子设备的辅***,双***电子设备的显示屏在显示第二***的显示界面的情况下,实际上是第二***的显示界面以视频流的形式在第一***下进行显示,即双***电子设备通过高清多媒体接口(High Definition Multimedia Interface,HDMI)将第二***的显示界面编码后的帧数据并传输至第一***,第一***对接收到的帧数据进行解码后,将第二***的显示界面在双***电子设备的显示屏中进行显示。
在上述步骤101中,双***电子设备在第一***下显示上述第二***的显示界面的过程中,双***电子设备的第一目标***可以获取第二目标***的目标信息。
其中,上述第一目标***可以是上述第一***和上述第二***的中的任一个***,且第二目标***为第一***和第二***中除第一目标***之外的***。例如,在上述第一***为Android***且第二***为Windows ***的情况下,上述第一目标***为Android***,且第二目标***为Windows***;或者,也可以是上述第一目标***为Windows***,且第二目标***为Android***。
另外,上述目标信息可以是由第二目标***发送至第一目标***,其可以是任何与第二目标***所对应的第一图层上的第一图层区域关联的信息,该第一图层区域为不可绘制笔迹的区域,且不可绘制笔迹的区域可以为:在第二目标***接收到在不可绘制笔迹的区域内输入书写操作的情况下,该不可绘制笔迹的区域并不显示书写操作的笔迹。
具体地,上述目标信息可以是直接包括第一图层区域在显示屏中的区域坐标信息。例如,可以是包括第一图层区域内覆盖的所有像素点的坐标信息;或者,也可以包括第一图层区域中预设参考点的坐标信息、区域形状、大小以及圆角等信息,且通过预设参考点的坐标信息、区域形状、大小以及圆角等信息可以实现对第一图层区域处于显示屏中位置进行定位。
本申请实施例中,在上述目标信息为第一图层区域在显示屏中的区域坐标信息的情况下,上述第一图层区域可以是与第二目标***在显示屏中的预设区域重叠的图层区域。
具体地,在第二目标***为第一***的情况下,第一图层区域包括与位于双***电子设备的显示屏两侧的快捷键所处位置关联的区域;
在第二目标***为第二***的情况下,第一图层区域包括第二***的工具栏所处的区域。
这里,双***电子设备可以将第一***位于显示屏两侧的快捷键所处位置关联的区域,以及第二***的工具栏所处的区域所对应的图层区域设置为不可绘制笔迹的区域,从而不仅可以降低双***电子设备出现显示低质量的笔迹的可能性,还可以避免出现因在上述区域绘制笔迹而引起双***电子设备的显示质量下降。
其中,上述显示屏两侧的快捷键可以是包括音量键、关机键以及快速截屏键等物理或者虚拟按键,且上述与显示屏两侧的快捷键所处位置关联的区域,可以是显示屏中靠近快捷键且区域大小和形状为预先设定的屏幕边缘区域。
另外,上述第二***的工具栏所处的区域可以是包括显示界面中预设的用于显示时间、电量以及信号等信息的区域。
当然,上述目标信息还可以是包括用于计算得出上述第一图层区域的信息,例如,上述目标信息可以包括第二目标***的第一分辨率,且通过第二目标***的第一分辨率可以计算第二目标***的显示界面在显示屏中显示时的黑边区域,即第一图层处于黑边区域的图层区域为上述第一图层区域,等等。
需要说明的是,在上述第一***下显示上述第二***的显示界面的情况下,第二***的显示界面中设置有第一***下的与第一***对应的图层和与第二***对应的图层,第一***的图层可以是以透明形式覆盖于第二***的图层上,而在双***电子设备接收到书写操作的情况下,第一***的图层和第二***的图层可以分别显示书写操作的笔迹,且第一***的图层显示的书写操作的笔迹与第二***的图层显示的书写操作的笔迹重叠。
那么,上述第一图层可以是与第一***对应的图层或者与第二***对应的图层,即在第一目标***为第二***且第二目标***为第一***的情况下,上述第一图层为与第一***对应的图层且第二图层为与第二***对应的图层;以及,在第一目标***为第一***且第二目标***为第二***的情况下,上述第一图层为与第二***对应的图层且第二图层为与第一***对应的图层。
本申请实施例中,上述第二目标***向第一目标***发送目标信息,可以是在满足预设的触发条件的情况下,第二目标***触发获取目标信息的事件,并将获取到的目标***发送至第一目标***。例如,可以是在接收到用于指示在第一***下显示第二***的显示界面的情况下,上述第一***获取上述目标信息并发送至第二***。
或者,目标信息,可以包括:
在接收到在显示界面中输入书写操作的情况下,响应于书写操作,第二目标***获取到的信息;或者,
在检测到第一图层上不可绘制笔迹的区域发生更改的情况下,第二目标***获取到的信息,其中,第一图层区域为发生更改后的不可绘制笔迹 的区域。
这里,双***电子设备的第二目标***在接收到书写操作或者第一图层区域发生更改的情况下,获取上述目标信息并发送至第一目标***,从而可以实现及时确定第一目标***的不可绘制笔迹的区域。
需要说明的是,上述不可绘制笔迹的区域发生更改,可以是包括第一图层上不可绘制笔迹的区域的区域面积增加或者缩小以及不可绘制笔迹的区域的位置移动等中的至少一项的发生。
需要说明的是,上述第二目标***将目标信息发送至第一目标***,可以是上述第二目标***通过开放式拔插电脑规范(Open Pluggable Specification,OPS)将第二目标***的目标信息传输至上述第一目标***。
上述步骤102中,在第一目标***获取到上述目标信息之后,第一目标***基于上述目标信息,将第二图层上的第二图层区域设置为目标区域,且该目标区域为不可绘制笔迹的区域。
本申请实施例中,上述基于目标信息,第一目标***将第二图层上的第二图层区域设置为目标区域,可以是第一目标***根据预设的规则或者方法,确定上述第二图层上与目标信息相对应的第二图层区域,并将第二图层区域设置为不可绘制笔迹的区域。
其中,在上述目标信息为第一图层区域在双***电子设备的显示屏中的预设区域坐标信息的情况下,上述步骤102,可以包括:
将第二图层上区域坐标信息为预设区域坐标信息的图层区域,确定为第二图层区域;
将第二图层区域设置为目标区域。
这里,在上述目标信息为在第一图层区域在显示屏中的预设区域坐标信息的情况下,第一目标***可以将第二图层中具有上述预设区域坐标信息的第二图层区域设置为不可绘制笔迹的区域,从而使第一目标***可以快速设置与第二目标***相对应的不可绘制笔迹的区域,提升双***电子设备的处理效率。
例如,在上述目标信息为第二***的工具栏处于显示屏中的区域坐标 信息的情况下,第一***可以将其图层上与工具栏所处的区域相重叠的图层区域确定为上述第二图层区域,并将第二图层区域设置为不可绘制笔迹的区域;或者,在上述目标信息为第一***的位于显示屏两侧的快捷键所处位置关联的区域的区域坐标信息的情况下,上述第二***可以将其图层上与显示屏两侧的快捷键所处位置关联的区域相对应的图层区域确定为上述第二图层区域,并将第二图层区域设置为不可绘制笔迹的区域。
另外,由于上述目标信息也可以是上述第二目标***的分辨率,具体地,述第二目标***为第二***,第一目标***为第一***,且第二***的显示界面在第一***下以视频流形式输出;目标信息为第二***的第一分辨率;
上述步骤102,可以包括:
基于第一分辨率和第二分辨率,确定第二***的显示界面在第一***下显示产生的黑边区域,其中,第二分辨率为第一***的分辨率;
将第二图层上位于黑边区域的图层区域设置为目标区域。
这里,第一***可以根据其分辨率以及第二***的分辨率,将第二***的显示界面在第一***下显示时产生的黑边区域设置为不可绘制笔迹的区域,从而使确定上述不可绘制笔迹的区域的方式更灵活,且应用更广泛。
需要说明的是,上述基于第一分辨率和第二分辨率,确定第二***的显示界面在第一***下显示的黑边区域,可以是根据第二***和第一***的宽高比的大小,确定显示屏中是否有黑边区域以及黑边区域在左右位置还是上下位置,如果有黑边区域,基于第一***的宽高比可以计算得到第二***中的黑边区域坐标范围,然后根据第一***的分辨率和第二***的分辨率的比例系数,转换为第一***中的黑边区域坐标范围,实现黑边区域的确定。
另外,在上述将第二图层的第二图层区域设置为不可绘制笔迹的区域之后,在上述第二目标***中的第一图层区域发生更改的情况下,上述第一目标***可以根据第一图层区域的更改,将其第二图层中的第二图层区域进行相应地调整,即更改第二图层中不可绘制笔迹的区域,且实现过程 与上述步骤101和步骤102类似,在此并不进行赘述。
请参见图2,本申请实施例提供一种目标区域的设置装置,应用于双***电子设备的第一目标***,双***电子设备设置有第一***和第二***,且第一目标***为第一***或者第二***,如图2所示,装置包括:
目标信息获取模块201,用于在双***电子设备的显示屏显示有第二***的显示界面的情况下,获取第二目标***的目标信息,其中,目标信息为与第一图层上不可绘制笔迹的第一图层区域关联的信息,第一图层为第一***下用于显示第二目标***的图像的图层,第二目标***为第一***和第二***中除第一目标***之外的***;
目标区域设置模块202,用于基于目标信息,将第二图层上的第二图层区域设置为目标区域,其中,第二图层为第一***下用于显示第一目标***的图像的图层,且第二图层区域与第一图层区域重叠;目标区域为不可绘制笔迹的区域。
这里,目标区域的设置装置200的第一目标***可以根据第二目标***的目标信息,将第一目标***的第二图层上的第二图层区域设置为不可绘制区域,该第二图层区域与第二目标***的第一图层上的第一图层区域重叠,且第一图层区域为第一图层上的不可绘制区域,如此,通过本申请实施例的目标区域的设置方法,双***电子设备可以实现第一***和第二***的图层上目标区域的同步,避免出现因在两个***的图层上显示笔迹不同步的情况发生,进而降低目标区域的设置装置200出现显示低质量的笔迹的可能性。
在其中一个实施例中,目标信息为第一图层区域在双***电子设备的显示屏中的预设区域坐标信息;
目标区域设置模块202,可以包括:
第二图层区域确定单元,用于将第二图层上区域坐标信息为预设区域坐标信息的图层区域,确定为第二图层区域;
第一区域设置单元,用于将第二图层区域设置为目标区域。
这里,目标区域的设置装置200可以将第一***位于显示屏两侧的快捷键所处位置关联的区域,以及第二***的工具栏所处的区域所对应的图 层区域设置为不可绘制笔迹的区域,从而不仅可以降低目标区域的设置装置200出现显示低质量的笔迹的可能性,还可以避免出现因在上述区域绘制笔迹而引起目标区域的设置装置200的显示质量下降。
在其中一个实施例中,在第二目标***为第一***的情况下,第一图层区域包括与位于双***电子设备的显示屏两侧的快捷键所处位置关联的区域;
在第二目标***为第二***的情况下,第一图层区域包括第二***的工具栏所处的区域。
这里,在上述目标信息为在第一图层区域在显示屏中的预设区域坐标信息的情况下,第一目标***可以是将第二图层中具有上述预设区域坐标信息的第二图层区域设置为不可绘制笔迹的区域,从而使第一目标***可以快速设置与第二目标***相对应的不可绘制笔迹的区域,提升目标区域的设置装置200的处理效率。
在其中一个实施例中,第一目标***为第一***,第二目标***为第二***,且第二***的显示界面在第一***下以视频流形式输出;目标信息为第二***的第一分辨率;
目标区域模块202,包括:
黑边区域确定单元,用于黑边区域确定基于第一分辨率和第二分辨率,确定第二***的显示界面在第一***下显示产生的黑边区域,其中,第二分辨率为第一***的分辨率;
第二区域设置单元,用于将第二图层上位于黑边区域的图层区域设置为目标区域。
这里,第一***可以根据其分辨率以及第二***的分辨率,将第二***的显示界面在第一***下显示时产生的黑边区域设置为不可绘制笔迹的区域,从而使确定上述不可绘制笔迹的区域的方式更灵活,且应用更广泛。
在其中一个实施例中,区域信息获取模块201,具体用于:
在接收到在显示界面中输入书写操作的情况下,响应于书写操作,第二目标***获取目标信息;或者,
在检测到第一图层上不可绘制笔迹的区域发生更改的情况下,第二目标***获取目标信息,其中,第一图层区域为发生更改后的不可绘制笔迹的区域。
这里,目标区域的设置装置200的第二目标***在接收到书写操作或者第一图层区域发生更改的情况下,获取上述目标信息,从而可以实现及时确定第一目标***的不可绘制笔迹的区域。
本申请实施例中的目标区域的设置装置可以为具有两个操作***的装置。该操作***可以为安卓(Android)操作***,可以为Windows操作***,还可以为其他可能的操作***,本申请实施例不作具体限定。
本申请实施例提供的目标区域的设置装置能够实现图1的方法实施例实现的各个过程,为避免重复,这里不再赘述。
图3示出了本申请实施例提供的双***电子设备的硬件结构示意图。
在双***电子设备可以第一目标***,该第一目标***为第一***或者第二***,且第一目标***包括处理器301以及存储有计算机程序指令的存储器302。
具体地,上述处理器301可以包括中央处理器(CPU),或者特定集成电路(Application Specific Integrated Circuit,ASIC),或者可以被配置成实施本申请实施例的一个或多个集成电路。
存储器302可以包括用于数据或指令的大容量存储器。举例来说而非限制,存储器302可包括硬盘驱动器(Hard Disk Drive,HDD)、软盘驱动器、闪存、光盘、磁光盘、磁带或通用串行总线(Universal Serial Bus,USB)驱动器或者两个或更多个以上这些的组合。在合适的情况下,存储器302可包括可移除或不可移除(或固定)的介质。在合适的情况下,存储器302可在综合网关容灾设备的内部或外部。在特定实施例中,存储器302是非易失性固态存储器。
存储器可包括只读存储器(ROM),随机存取存储器(RAM),磁盘存储介质设备,光存储介质设备,闪存设备,电气、光学或其他物理/有形的存储器存储设备。因此,通常,存储器包括一个或多个编码有包括计算机可执行指令的软件的有形(非暂态)计算机可读存储介质(例如,存 储器设备),并且当该软件被执行(例如,由一个或多个处理器)时,其可操作来执行参考根据本申请的一方面的方法所描述的操作。
处理器301通过读取并执行存储器302中存储的计算机程序指令,以实现上述实施例中的任意一种目标区域的设置方法。
在一个示例中,双***电子设备还可包括通信接口303和总线310。其中,如图3所示,处理器301、存储器302、通信接口303通过总线310连接并完成相互间的通信。
通信接口303,主要用于实现本申请实施例中各模块、装置、单元和/或设备之间的通信。
总线310包括硬件、软件或两者,将在线数据流量计费设备的部件彼此耦接在一起。举例来说而非限制,总线可包括加速图形端口(AGP)或其他图形总线、增强工业标准架构(EISA)总线、前端总线(FSB)、超传输(HT)互连、工业标准架构(ISA)总线、无限带宽互连、低引脚数(LPC)总线、存储器总线、微信道架构(MCA)总线、***组件互连(PCI)总线、PCI-Express(PCI-X)总线、串行高级技术附件(SATA)总线、视频电子标准协会局部(VLB)总线或其他合适的总线或者两个或更多个以上这些的组合。在合适的情况下,总线310可包括一个或多个总线。尽管本申请实施例描述和示出了特定的总线,但本申请考虑任何合适的总线或互连。
该双***电子设备可以在第一***在第一图层显示第一书写操作的第一笔迹,并将第一书写操作的笔迹发送至第二***,以在第二***的第二图层显示与第一笔记叠设的第二笔迹执行本申请实施例中的在目标区域的设置方法,从而实现结合图1和图2描述的目标区域的设置方法和装置。
另外,结合上述实施例中的目标区域的设置方法,本申请实施例可提供一种计算机存储介质来实现。该计算机存储介质上存储有计算机程序指令;该计算机程序指令被处理器执行时实现上述实施例中的任意一种目标区域的设置方法。计算机存储介质的示例包括非暂态存储介质,如只读存储器(ROM),随机存取存储器(RAM),磁盘存储介质设备,光存储介质设备,闪存设备,电气、光学或其他物理/有形的存储器存储设备。
需要明确的是,本申请并不局限于上文所描述并在图中示出的特定配置和处理。为了简明起见,这里省略了对已知方法的详细描述。在上述实施例中,描述和示出了若干具体的步骤作为示例。但是,本申请的方法过程并不限于所描述和示出的具体步骤,本领域的技术人员可以在领会本申请的精神后,作出各种改变、修改和添加,或者改变步骤之间的顺序。
以上所述的结构框图中所示的功能块可以实现为硬件、软件、固件或者它们的组合。当以硬件方式实现时,其可以例如是电子电路、专用集成电路(ASIC)、适当的固件、插件、功能卡等等。当以软件方式实现时,本申请的元素是被用于执行所需任务的程序或者代码段。程序或者代码段可以存储在机器可读介质中,或者通过载波中携带的数据信号在传输介质或者通信链路上传送。“机器可读介质”可以包括能够存储或传输信息的任何介质。机器可读介质的例子包括电子电路、半导体存储器设备、ROM、闪存、可擦除ROM(EROM)、软盘、CD-ROM、光盘、硬盘、光纤介质、射频(RF)链路,等等。代码段可以经由诸如因特网、内联网等的计算机网络被下载。
还需要说明的是,本申请中提及的示例性实施例,基于一系列的步骤或者装置描述一些方法或***。但是,本申请不局限于上述步骤的顺序,也就是说,可以按照实施例中提及的顺序执行步骤,也可以不同于实施例中的顺序,或者若干步骤同时执行。
上面参考根据本申请的实施例的方法、装置、双***电子设备和计算机程序产品的流程图和/或框图描述了本申请的各方面。应当理解,流程图和/或框图中的每个方框以及流程图和/或框图中各方框的组合可以由计算机程序指令实现。这些计算机程序指令可被提供给通用计算机、专用计算机、或其它可编程数据处理装置的处理器,以产生一种机器,使得经由计算机或其它可编程数据处理装置的处理器执行的这些指令使能对流程图和/或框图的一个或多个方框中指定的功能/动作的实现。这种处理器可以是但不限于是通用处理器、专用处理器、特殊应用处理器或者现场可编程逻辑电路。还可理解,框图和/或流程图中的每个方框以及框图和/或流程图中的方框的组合,也可以由执行指定的功能或动作的专用硬件来实现,或可 由专用硬件和计算机指令的组合来实现。
以上所述,仅为本申请的具体实施方式,所属领域的技术人员可以清楚地了解到,为了描述的方便和简洁,上述描述的***、模块和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。应理解,本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到各种等效的修改或替换,这些修改或替换都应涵盖在本申请的保护范围之内。
Claims (10)
- 一种目标区域的设置方法,应用于双***电子设备的第一目标***,所述双***电子设备设置有第一***和第二***,且所述第一目标***为所述第一***或者所述第二***,所述方法包括:在所述双***电子设备的显示屏显示有第二***的显示界面的情况下,获取所述第二目标***的目标信息,其中,所述目标信息为与第一图层上不可绘制笔迹的第一图层区域关联的信息,所述第一图层为所述第一***下用于显示所述第二目标***的图像的图层,所述第二目标***为所述第一***和所述第二***中除所述第一目标***之外的***;基于所述目标信息,将第二图层上的第二图层区域设置为目标区域,其中,所述第二图层为所述第一***下用于显示所述第一目标***的图像的图层,且所述第二图层区域与所述第一图层区域重叠;所述目标区域为不可绘制笔迹的区域。
- 根据权利要求1所述的方法,其中,所述目标信息为第一图层区域在所述双***电子设备的显示屏中的预设区域坐标信息;所述基于所述目标信息,所述第二目标***将第二图层上的第二图层区域设置为目标区域,包括:将所述第二图层上区域坐标信息为所述预设区域坐标信息的图层区域,确定为第二图层区域;将所述第二图层区域设置为目标区域。
- 根据权利要求1所述的方法,其中,在所述第二目标***为所述第一***的情况下,所述第一图层区域包括与位于所述双***电子设备的显示屏两侧的快捷键所处位置关联的区域;在所述第二目标***为所述第二***的情况下,所述第一图层区域包括所述第二***的工具栏所处的区域。
- 根据权利要求1所述的方法,其中,所述第一目标***为第一***,所述第二目标***为第二***,且所述第二***的显示界面在所述第一***下以视频流形式输出;所述目标信息为所述第二***的第一分辨 率;所述基于所述目标信息,将第二图层上的第二图层区域设置为目标区域,包括:基于所述第一分辨率和第二分辨率,确定所述第二***的显示界面在所述第一***下显示产生的黑边区域,其中,所述第二分辨率为所述第一***的分辨率;将第二图层上位于所述黑边区域的图层区域设置为目标区域。
- 根据权利要求1至4中任一项所述的方法,其中,所述目标信息,包括:在接收到在显示界面中输入书写操作的情况下,所述第二目标***响应于所述书写操作获取到的信息;或者,在检测到所述第一图层上不可绘制笔迹的区域发生更改的情况下,所述第二目标***获取的信息,其中,所述第一图层区域为发生更改后的不可绘制笔迹的区域。
- 一种目标区域的设置装置,应用于双***电子设备的第一目标***,所述双***电子设备设置有第一***和第二***,且所述第一目标***为所述第一***或者所述第二***,所述装置包括:目标信息获取模块,用于在所述双***电子设备的显示屏显示有第二***的显示界面的情况下,获取所述第二目标***的目标信息,其中,所述目标信息为与第一图层上不可绘制笔迹的第一图层区域关联的信息,所述第一图层为所述第一***下用于显示所述第二目标***的图像的图层,所述第二目标***为所述第一***和所述第二***中除所述第一目标***之外的***;目标区域设置模块,用于基于所述目标信息,将第二图层上的第二图层区域设置为目标区域,其中,所述第二图层为所述第一***下用于显示所述第一目标***的图像的图层,且所述第二图层区域与所述第一图层区域重叠;所述目标区域为不可绘制笔迹的区域。
- 根据权利要求6所述的装置,其中,所述目标信息为第一图层区域在所述双***电子设备的显示屏中的预设区域坐标信息;所述目标区域设置模块,包括:第二图层区域确定单元,用于将所述第二图层上区域坐标信息为所述预设区域坐标信息的图层区域,确定为第二图层区域;第一区域设置单元,用于将所述第二图层区域设置为目标区域。
- 根据权利要求6所述的装置,其中,所述第一目标***为第一***,所述第二目标***为第二***,且所述第二***的显示界面在所述第一***下以视频流形式输出;所述目标信息为所述第二***的第一分辨率;所述目标区域模块,包括:黑边区域确定单元,用于黑边区域确定基于所述第一分辨率和第二分辨率,确定所述第二***的显示界面在所述第一***下显示产生的黑边区域,其中,所述第二分辨率为所述第一***的分辨率;第二区域设置单元,用于将第二图层上位于所述黑边区域的图层区域设置为目标区域。
- 一种双***电子设备,包括第一目标***,所述第一目标***包括:处理器;用于存储所述处理器可执行指令的存储器;其中,所述处理器被配置为执行所述指令,以实现如权利要求1至5中任一项所述的目标区域的设置方法。
- 一种计算机存储介质,所述存储介质上存储有计算机程序指令,所述计算机程序指令被处理器执行时实现如权利要求1至5中任意一项所述的目标区域的设置方法。
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011566398 | 2020-12-25 | ||
CN202011566398.7 | 2020-12-25 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2022134179A1 true WO2022134179A1 (zh) | 2022-06-30 |
Family
ID=82158731
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2020/141760 WO2022134179A1 (zh) | 2020-12-25 | 2020-12-30 | 目标区域的设置方法、装置、电子设备及存储介质 |
Country Status (1)
Country | Link |
---|---|
WO (1) | WO2022134179A1 (zh) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2024113630A1 (zh) * | 2022-12-02 | 2024-06-06 | 北京鸿合爱学教育科技有限公司 | 加速书写方法、装置、电子设备及计算机可读存储介质 |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN204129230U (zh) * | 2014-05-22 | 2015-01-28 | 深圳市索菱实业股份有限公司 | 一种基于GNiStar-2芯片的多媒体北斗及GPS导航*** |
CN108279963A (zh) * | 2018-01-05 | 2018-07-13 | 郑州信大捷安信息技术股份有限公司 | 一种单Linux内核多Android***的智能终端显示虚拟化方法 |
US20180225999A1 (en) * | 2017-02-09 | 2018-08-09 | Premier Print & Services Group, Inc. | Double-sided printable label system |
CN108628650A (zh) * | 2018-03-20 | 2018-10-09 | 广州视源电子科技股份有限公司 | 触摸事件的处理方法、装置和智能交互设备 |
CN108958630A (zh) * | 2018-07-06 | 2018-12-07 | 广州视源电子科技股份有限公司 | 书写内容显示方法、装置及电子设备 |
CN110609653A (zh) * | 2018-06-15 | 2019-12-24 | 广州视源电子科技股份有限公司 | 双***设备及其书写方法、装置和交互智能平板 |
-
2020
- 2020-12-30 WO PCT/CN2020/141760 patent/WO2022134179A1/zh active Application Filing
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN204129230U (zh) * | 2014-05-22 | 2015-01-28 | 深圳市索菱实业股份有限公司 | 一种基于GNiStar-2芯片的多媒体北斗及GPS导航*** |
US20180225999A1 (en) * | 2017-02-09 | 2018-08-09 | Premier Print & Services Group, Inc. | Double-sided printable label system |
CN108279963A (zh) * | 2018-01-05 | 2018-07-13 | 郑州信大捷安信息技术股份有限公司 | 一种单Linux内核多Android***的智能终端显示虚拟化方法 |
CN108628650A (zh) * | 2018-03-20 | 2018-10-09 | 广州视源电子科技股份有限公司 | 触摸事件的处理方法、装置和智能交互设备 |
CN110609653A (zh) * | 2018-06-15 | 2019-12-24 | 广州视源电子科技股份有限公司 | 双***设备及其书写方法、装置和交互智能平板 |
CN108958630A (zh) * | 2018-07-06 | 2018-12-07 | 广州视源电子科技股份有限公司 | 书写内容显示方法、装置及电子设备 |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2024113630A1 (zh) * | 2022-12-02 | 2024-06-06 | 北京鸿合爱学教育科技有限公司 | 加速书写方法、装置、电子设备及计算机可读存储介质 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11151712B2 (en) | Method and apparatus for detecting image defects, computing device, and computer readable storage medium | |
US10928547B2 (en) | Terahertz security check method and system comprising a marker identification module and a marker changing module | |
WO2018113665A1 (zh) | 二维码识别方法及装置 | |
US9354701B2 (en) | Information processing apparatus and information processing method | |
CN112887954B (zh) | 用于车辆交互的方法、计算设备和计算机存储介质 | |
CN112631538A (zh) | 显示方法、装置、设备及计算机存储介质 | |
EP3828812A1 (en) | Electronic apparatus and control method thereof | |
WO2022111394A1 (zh) | 信息处理方法、装置和电子设备 | |
WO2022134179A1 (zh) | 目标区域的设置方法、装置、电子设备及存储介质 | |
US11275924B2 (en) | Eye-protection mode processing method, device, terminal and computer-readable storage medium in fingerprint recognition mode | |
US20220392101A1 (en) | Training method, method of detecting target image, electronic device and medium | |
JP2019105910A (ja) | 表示検証装置、表示検証方法および表示検証プログラム | |
US20140033097A1 (en) | Method and apparatus of testing a computer program | |
WO2022095318A1 (zh) | 字符检测方法、装置、电子设备、存储介质及程序 | |
US9940688B2 (en) | Video adapter alignment | |
US10251057B2 (en) | Authentication for device connection using visible patterns | |
WO2022134181A1 (zh) | 笔迹的显示方法、装置、电子设备及存储介质 | |
WO2022134180A1 (zh) | 笔迹的显示方法、装置、电子设备及存储介质 | |
CN111105440A (zh) | 视频中目标物体的跟踪方法、装置、设备及存储介质 | |
CN116225255A (zh) | 显示屏的适配方法、装置、设备、存储介质及程序产品 | |
CN113963000B (zh) | 图像分割方法、装置、电子设备及程序产品 | |
US20240071023A1 (en) | Method and apparatus for detecting near-field object, and medium and electronic device | |
CN113112472B (zh) | 图像处理方法及装置 | |
CN114253450A (zh) | 截屏方法、装置、电子设备、及计算机存储介质 | |
WO2022120952A1 (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: 20966741 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 20966741 Country of ref document: EP Kind code of ref document: A1 |