Head-mounted device control method and device, terminal and storage medium
By receiving the operation events of the input device in the head-mounted device, judging the interaction of the pointer with multiple electronic devices, and sending the position coordinates to the corresponding device, the inefficiency problem of operating multiple electronic devices in the prior art is solved, and the function of efficiently operating multiple electronic devices in the head-mounted device is realized.
Patent Information
- Application Number
- CN202311568780.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-11-22
- Publication Date
- 2025-05-23
AI Technical Summary
Existing head-mounted devices cannot directly operate multiple electronic devices, and the operation method is inefficient and cumbersome, so you need to use a mouse connected to each electronic device separately.
By receiving an operation event reported by the input device, the spatial position of the pointer in the head-mounted device screen is determined, and based on the position, whether the pointer intersects the display screen of the multiple electronic devices displayed is determined. Send position coordinates to intersecting electronic devices and receive a display screen with corresponding pointers to display on the headset screen.
It is realized that multiple electronic devices are operated through a set of input devices connected to the head-mounted device, so that the pointer displayed in the head-mounted device is kept synchronized with the pointer in the electronic device, allowing switching back and forth between multiple electronic devices through one input device in the head-mounted device, improving operational convenience and efficiency.
Smart Images

Figure CN120029441A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of information technology, and in particular to a control method and device, a terminal and a storage medium for a head-mounted device. Background Art
[0002] When using a head-mounted device, the content displayed in the head-mounted device and the real world are two separate parts. Electronic devices such as desktops, laptops, TVs, tablets, and mobile phones in the real world cannot be directly displayed in the virtual world of the head-mounted device. The content on electronic devices can be displayed to the head-mounted device through streaming, but if you want to operate the content in the electronic devices, you still need to use a mouse connected to these electronic devices. If you want to operate multiple electronic devices, you need to operate the mouse corresponding to each electronic device separately, which is inefficient and cumbersome. Summary of the invention
[0003] In order to solve the existing problems, the present disclosure provides a control method and device for a head mounted device, a terminal and a storage medium.
[0004] The present disclosure adopts the following technical solutions.
[0005] An embodiment of the present disclosure provides a control method for a head-mounted device, the control method for the head-mounted device comprising: receiving an operation event reported by an input device, wherein the input device is communicatively connected to the head-mounted device, and the head-mounted device is also communicatively connected to multiple electronic devices, and display images of the display panels of the multiple electronic devices are displayed on the screen of the head-mounted device; determining a spatial position of a pointer corresponding to the input device on the screen of the head-mounted device; determining whether the pointer intersects with the display images of the multiple electronic devices displayed on the screen of the head-mounted device based on the spatial position; when it is determined that the pointer intersects with the display image of one of the multiple electronic devices displayed on the screen of the head-mounted device, determining the position coordinates in the display panel of the one electronic device where the pointer is located; sending the position coordinates to the one electronic device; receiving a display image with another pointer corresponding to the position coordinates from the one electronic device, and displaying it on the screen of the head-mounted device.
[0006] Another embodiment of the present disclosure provides a control device for a head-mounted device, the control device comprising: an event receiving module, configured to receive an operation event reported by an input device, wherein the input device is communicatively connected to the head-mounted device, and the head-mounted device is also communicatively connected to a plurality of electronic devices, and display images of the display panels of the plurality of electronic devices are displayed on the screen of the head-mounted device; a position determination module, configured to determine a spatial position of a pointer corresponding to the input device on the screen of the head-mounted device; an intersection determination module, configured to determine whether the pointer intersects with the display images of the plurality of electronic devices displayed on the screen of the head-mounted device based on the spatial position; a coordinate determination module, configured to determine the position coordinates of the display panel of the electronic device where the pointer is located when it is determined that the pointer intersects with the display image of one of the plurality of electronic devices displayed on the screen of the head-mounted device; a sending module, configured to send the position coordinates to the one electronic device; and a picture receiving module, configured to receive a display image with another pointer corresponding to the position coordinates from the one electronic device, and display it on the screen of the head-mounted device.
[0007] In some embodiments, the present disclosure provides a terminal, comprising: at least one memory and at least one processor; wherein the memory is used to store program codes, and the processor is used to call the program codes stored in the memory to execute the above-mentioned control method of the head-mounted device.
[0008] In some embodiments, the present disclosure provides a storage medium, wherein the storage medium is used to store program code, and the program code is used to execute the control method of the head-mounted device described above.
[0009] By adopting the method disclosed in the present invention, a set of input devices connected to a head-mounted device can be used to operate multiple electronic devices, and the control pointer displayed in the head-mounted device can be synchronized with the control pointer in the electronic device. Therefore, it is possible to switch back and forth between multiple electronic devices through one input device in the head-mounted device. BRIEF DESCRIPTION OF THE DRAWINGS
[0010] The above and other features, advantages and aspects of the embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. Throughout the accompanying drawings, the same or similar reference numerals represent the same or similar elements. It should be understood that the drawings are schematic and that components and elements are not necessarily drawn to scale.
[0011] Figure 1 It is a flowchart of a method for controlling a head mounted device according to an embodiment of the present disclosure.
[0012] Figure 2A schematic flowchart of displaying screen contents of multiple electronic devices in a head-mounted device according to an embodiment of the present disclosure is shown.
[0013] Figure 3 A schematic flow chart of a method for controlling a head mounted device according to an embodiment of the present disclosure is shown.
[0014] Figure 4 A schematic diagram showing a display mode of a pointer in different areas according to an embodiment of the present disclosure.
[0015] Figure 5 It is a partial module of a control device for a head mounted device according to another embodiment of the present disclosure.
[0016] Figure 6 It is a schematic diagram of the structure of an electronic device according to an embodiment of the present disclosure. DETAILED DESCRIPTION
[0017] Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as being limited to the embodiments described herein, which are instead provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes and are not intended to limit the scope of protection of the present disclosure.
[0018] It should be understood that the various steps described in the method embodiments of the present disclosure can be performed in sequence and / or in parallel. In addition, the method embodiments may include additional steps and / or omit the steps shown. The scope of the present disclosure is not limited in this respect.
[0019] The term "including" and its variations used herein are open inclusions, i.e., "including but not limited to". The term "based on" means "based at least in part on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". The relevant definitions of other terms will be given in the following description.
[0020] It should be noted that the concepts such as "first" and "second" mentioned in the present disclosure are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.
[0021] It should be noted that the modification of “one” mentioned in the present disclosure is illustrative rather than restrictive, and those skilled in the art should understand that it should be understood as “one or more” unless otherwise clearly indicated in the context.
[0022] The names of the messages or information exchanged between multiple devices in the embodiments of the present disclosure are only used for illustrative purposes and are not used to limit the scope of these messages or information.
[0023] Figure 1 A flowchart of a control method for a head-mounted device of an embodiment of the present disclosure is provided. The control method for a head-mounted device of the present disclosure may include step S101, receiving an operation event reported by an input device. In some embodiments, the head-mounted device includes virtual reality glasses, mixed reality glasses, augmented reality glasses, extended reality glasses, etc. In some embodiments, the input device includes at least one of a mouse, a keyboard, and a handle. In some embodiments, the input device is communicatively connected to the head-mounted device, for example, via a wired (e.g., USB, Type C, etc.) or wireless (e.g., Wi-Fi, etc.) connection. Thus, the head-mounted device can be operated through the input device. In some embodiments, the operation event may include any time an instruction is issued to the head-mounted device, such as movement of the position of the input device or input instruction information.
[0024] In some embodiments, the head mounted device is also connected to multiple electronic devices in communication, and the display images of the display panels of the multiple electronic devices are all displayed on the screen of the head mounted device. In some embodiments, the multiple electronic devices may include at least one of a mobile phone, a television, and a computer. In some embodiments, the multiple electronic devices may include two or more electronic devices.
[0025] In some embodiments, the method of the present disclosure may further include step S102, determining the spatial position of a pointer corresponding to the input device in the screen of the head mounted device. In some embodiments, when the head mounted device is operated through the input device, a corresponding control pointer may exist, for example, a pointer corresponding to a mouse. After receiving the operation event reported by the input device, the spatial position of the corresponding pointer is determined.
[0026] In some embodiments, the method of the present disclosure may further include step S103, determining whether the pointer intersects with the display screens of multiple electronic devices displayed on the screen of the head-mounted device based on the spatial position. In some embodiments, after determining the spatial position of the pointer, determine whether the pointer intersects with the display screens of multiple electronic devices displayed on the screen of the head-mounted device. In some embodiments, the determination can be made by comparing whether the spatial position overlaps with the coordinate position of the display screen.
[0027] In some embodiments, the method of the present disclosure may further include step S104, when it is determined that the pointer intersects with a display screen of one of the multiple electronic devices displayed on the screen of the head mounted device, determining the position coordinates of the pointer in the display panel of the electronic device. In some embodiments, when it is determined that the pointer intersects or overlaps with the display screen of a certain electronic device, the specific position of the display panel corresponding to the pointer is determined.
[0028] In some embodiments, the method disclosed herein may further include step S105, sending the determined position coordinates to the electronic device. In some embodiments, after receiving the position coordinates, the virtual mouse module of the electronic device may simulate the input device reporting to the operating system of the electronic device, so that the input device pointer (e.g., mouse pointer) of the electronic device is displayed and moves, and the stream of the electronic device transmits the display screen with another pointer corresponding to the above position coordinates back to the head mounted device.
[0029] In some embodiments, the method of the present disclosure may further include step S106, receiving a display screen with another pointer corresponding to the position coordinates from the one electronic device, and displaying it on the screen of the head-mounted device. In this way, the display screen of the one electronic device displayed on the screen of the head-mounted device includes another pointer, and the coordinate position of the other pointer is consistent with the pointer position of the input device, thereby achieving the effect of operating other electronic devices through the input device connected to the head-mounted device.
[0030] Therefore, by adopting the method disclosed in the present invention, a set of input devices connected to the head-mounted device can be used to operate multiple electronic devices, and the pointer displayed in the head-mounted device can be synchronized with another pointer in the electronic device. Therefore, it is possible to switch back and forth between multiple electronic devices through one input device in the head-mounted device, without having to operate these electronic devices separately through the input devices connected to the multiple electronic devices, which greatly improves the convenience and efficiency of operation.
[0031] In some embodiments, displaying the display images of the display panels of multiple electronic devices on the screen of the head-mounted device includes: displaying the display images of the display panels of multiple electronic devices on the screen of the head-mounted device by streaming or casting. In some embodiments, the content in the electronic device (for example, a PC) can be displayed on the head-mounted device by streaming or casting technology, such as Figure 2As shown in the figure, the screen manager in the remote screen agent creates a panel for the electronic device and draws the streaming / screen projection content onto the panel. The space manager assigns a spatial position to the panel, and the composer draws the content in multiple panels together and submits it to the hardware composer (HWC). At this time, the display screen or screen content of the electronic device is displayed in the head-mounted device.
[0032] In some embodiments, the control method of the head-mounted device disclosed in the present invention further includes: when it is determined that the pointer does not intersect with the display screens of multiple electronic devices displayed on the screen of the head-mounted device, the input device will not operate the electronic device. At this time, it is determined whether another pointer displayed in the display panel of the electronic device that intersected with the pointer last time is hidden; if it is hidden, the pointer is displayed in the screen of the head-mounted device, that is, the pointer is displayed in the head-mounted device; if it is not hidden, an instruction message to hide the other pointer is sent to the electronic device that intersected with the pointer last time, because the input device at this time does not operate any electronic device, and the display screen of the electronic device should not have the existence of the control pointer, so if the control pointer generated by the previous operation is still displayed, the corresponding electronic device is notified to hide its control pointer, and the pointer is displayed on the screen of the head-mounted device. In this way, the pointer displayed in the head-mounted device and the pointer on the display screen of the electronic device can exist or display mutually exclusive.
[0033] In some embodiments, after determining that the pointer intersects with the display screen of one of the multiple electronic devices displayed on the screen of the head-mounted device, and before sending the position coordinates to the one electronic device, the control method of the head-mounted device of the present disclosure further includes: hiding the display pointer. Since the pointer intersects with the display screen of one of the multiple electronic devices displayed on the screen of the head-mounted device, it indicates that the input device operates the electronic device, and the corresponding display screen of the one electronic device will have a control pointer, so the display pointer is hidden in the display space of the head-mounted device at this time. In this way, it is possible to achieve mutual exclusive existence or mutual exclusive display of the pointer displayed in the head-mounted device and the pointer on the display screen of the electronic device. Figure 4 As shown, if the pointer of the input device intersects with the display screen of an electronic device, a pointer ( Figure 4 If the pointer of the input device does not intersect with the display screen of the electronic device, the pointer is displayed in the head mounted device ( Figure 4 pointer in the space in ).
[0034] Combine the following Figure 3The embodiment of the present disclosure is further described to better understand the present disclosure. In this embodiment, the electronic device is a personal computer (PC), and the input device is a mouse. First, the mouse device reports an operation event (for example, a move event) to the space manager in the head-mounted device; then the space manager calculates the spatial position of the mouse pointer; then, a collision detection is performed through the collision manager to find the PC display panel to which the current mouse pointer is pointing (i.e., the display screen of which PC); if there is no intersection with the PC panel, determine whether the mouse in the PC panel that collided last time is hidden; if it is hidden, update the mouse pointer displayed in the space; if it is not hidden, notify the corresponding PC to hide; if there is an intersection with the PC panel, record the PC panel currently pointed to, and calculate the position coordinates (panel coordinates) of the spatial pointer in the PC panel; then, hide the mouse pointer displayed in the space; send the panel coordinates to the PC through the event dispatcher; at this time, after the virtual mouse module in the PC receives the data, it simulates the mouse device on the PC and reports it to the PC operating system; the PC mouse is displayed and moves, and the PC stream transmits the picture with the mouse back to the head-mounted device.
[0035] In some embodiments, when the space mouse moves outside the PC panel, the event scheduler notifies the PC end to hide the mouse pointer, the mouse pointer in the space resumes display, and the PC panel currently intersecting with the mouse pointer is set to empty. As described above, when the mouse device moves, it reports data to the space manager, and at this time, a mouse pointer in the space will move with the mouse device. When the mouse pointer in the space intersects with the PC display panel (the collision manager determines which panel the mouse collides with), the PC end corresponding to the PC panel is notified to display the mouse on the PC panel.
[0036] Therefore, by adopting the control method disclosed in the present invention, a head-mounted device can be used to switch back and forth between multiple electronic devices through one input device (e.g., a mouse), and the pointer displayed in the space of the head-mounted device and the pointer on the electronic device can be displayed mutually exclusive. For example, a set of mouse / keyboard devices can be used to operate multiple PC / TV / tablet devices displayed in the head-mounted device, and the mouse in the head-mounted device and the mouse on the controlled electronic device are synchronized.
[0037] The embodiment of the present disclosure also provides a control device 400 for a head mounted device. Figure 5A control device 400 of a head-mounted device according to some embodiments is shown. The control device 400 of the head-mounted device includes an event receiving module 401, a position determination module 402, an intersection determination module 403, a coordinate determination module 404, a sending module 405, and a screen receiving module 406. In some embodiments, the event receiving module 401 is configured to receive an operation event reported by an input device, wherein the input device is connected to the head-mounted device in communication, and the head-mounted device is also connected to multiple electronic devices in communication, and the display screens of the display panels of the multiple electronic devices are displayed on the screen of the head-mounted device. In some embodiments, the position determination module 402 is configured to determine the spatial position of a pointer corresponding to the input device in the screen of the head-mounted device. In some embodiments, the intersection determination module 403 is configured to determine whether the pointer intersects with the display screens of multiple electronic devices displayed on the screen of the head-mounted device based on the spatial position. In some embodiments, the coordinate determination module 404 is configured to determine the position coordinates in the display panel of one of the multiple electronic devices displayed on the screen of the head-mounted device when it is determined that the pointer intersects with the display screen of one of the multiple electronic devices displayed on the screen of the head-mounted device. In some embodiments, the sending module 405 is configured to send the position coordinates to an electronic device. In some embodiments, the screen receiving module 406 is configured to receive a display screen with another pointer corresponding to the position coordinates from an electronic device, and display it on the screen of the head mounted device.
[0038] It should be understood that the contents described about the control method of the head mounted device are also applicable to the control device 400 for the head mounted device herein, and for the sake of simplicity, a detailed description is not given here.
[0039] In some embodiments, the head-mounted device includes virtual reality glasses, mixed reality glasses, augmented reality glasses, or extended reality glasses. In some embodiments, the input device includes at least one of a mouse, a keyboard, and a handle. In some embodiments, the plurality of electronic devices include at least one of a mobile phone, a television, and a computer. In some embodiments, the display screens of the display panels of the plurality of electronic devices are displayed on the screen of the head-mounted device, including: the display screens of the display panels of the plurality of electronic devices are displayed on the screen of the head-mounted device by streaming or casting. In some embodiments, the control device of the head-mounted device further includes: a hidden determination module, configured to determine whether another pointer displayed in the display panel of the electronic device that intersected with the pointer last time is hidden when it is determined that the pointer does not intersect with the display screens of the plurality of electronic devices displayed on the screen of the head-mounted device; a display module, configured to display the pointer on the screen of the head-mounted device if it is hidden; and a sending module, configured to send an indication message of hiding another pointer to the electronic device that intersected with the pointer last time if it is not hidden, and display the pointer on the screen of the head-mounted device. In some embodiments, the control device of the head-mounted device also includes: a hiding module, configured to hide the displayed pointer after determining that the pointer intersects with a display screen of one of multiple electronic devices displayed on the screen of the head-mounted device, and before sending the position coordinates to an electronic device.
[0040] In addition, the present disclosure also provides a terminal, including: at least one memory and at least one processor; wherein the memory is used to store program codes, and the processor is used to call the program codes stored in the memory to execute the above-mentioned head-mounted device control method.
[0041] In addition, the present disclosure also provides a computer storage medium, which stores program code, and the program code is used to execute the control method of the above-mentioned head-mounted device.
[0042] The control method and device of the head mounted device of the present disclosure are described above based on the embodiments and application examples. In addition, the present disclosure also provides a terminal and a storage medium, which are described below.
[0043] Reference below Figure 6 , which shows a schematic diagram of the structure of an electronic device (such as a terminal device or a server) 500 suitable for implementing the embodiment of the present disclosure. The terminal device in the embodiment of the present disclosure may include but is not limited to mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Figure 6The electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.
[0044] like Figure 6 As shown, the electronic device 500 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 501, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 502 or a program loaded from a storage device 508 into a random access memory (RAM) 503. In the RAM 503, various programs and data required for the operation of the electronic device 500 are also stored. The processing device 501, the ROM 502, and the RAM 503 are connected to each other via a bus 504. An input / output (I / O) interface 505 is also connected to the bus 504.
[0045] Typically, the following devices may be connected to the I / O interface 505: an input device 506 including, for example, a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; an output device 507 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage device 508 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 509. The communication device 509 may allow the electronic device 500 to communicate with other devices wirelessly or by wire to exchange data. Although Figure 6 The electronic device 500 is shown with various devices, but it should be understood that it is not required to implement or possess all the devices shown. More or fewer devices may be implemented or possessed instead.
[0046] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program contains program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device 509, or installed from a storage device 508, or installed from a ROM 502. When the computer program is executed by the processing device 501, the above-mentioned functions defined in the method of the embodiment of the present disclosure are executed.
[0047] It should be noted that the computer-readable medium disclosed above may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that may be used by or in combination with an instruction execution system, device or device. In the present disclosure, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, in which a computer-readable program code is carried. This propagated data signal may take a variety of forms, including but not limited to an electromagnetic signal, an optical signal, or any suitable combination of the above. The computer readable signal medium may also be any computer readable medium other than a computer readable storage medium, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer readable medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.
[0048] In some embodiments, the client and the server may communicate using any currently known or future developed network protocol such as HTTP (HyperText Transfer Protocol), and may be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), an internet (e.g., the Internet), and a peer-to-peer network (e.g., an ad hoc peer-to-peer network), as well as any currently known or future developed network.
[0049] The computer-readable medium may be included in the electronic device, or may exist independently without being incorporated into the electronic device.
[0050] The computer-readable medium carries one or more programs. When the one or more programs are executed by the electronic device, the electronic device executes the method of the present disclosure.
[0051] Computer program code for performing the operations of the present disclosure may be written in one or more programming languages, or a combination thereof, including object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., through the Internet using an Internet service provider).
[0052] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some implementations as replacements, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0053] The units involved in the embodiments described in the present disclosure may be implemented by software or hardware, wherein the name of a unit does not, in some cases, limit the unit itself.
[0054] The functions described above herein may be performed at least in part by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), and the like.
[0055] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0056] According to one or more embodiments of the present disclosure, a control method for a head-mounted device is provided, the control method for the head-mounted device comprising: receiving an operation event reported by an input device, wherein the input device is communicatively connected to the head-mounted device, and the head-mounted device is also communicatively connected to a plurality of electronic devices, and display images of the display panels of the plurality of electronic devices are displayed on the screen of the head-mounted device; determining a spatial position of a pointer corresponding to the input device in the screen of the head-mounted device; determining whether the pointer intersects with the display images of the plurality of electronic devices displayed on the screen of the head-mounted device based on the spatial position; when it is determined that the pointer intersects with the display image of one of the plurality of electronic devices displayed on the screen of the head-mounted device, determining the position coordinates in the display panel of the one electronic device where the pointer is located; sending the position coordinates to the one electronic device; receiving a display image with another pointer corresponding to the position coordinates from the one electronic device, and displaying it on the screen of the head-mounted device.
[0057] According to one or more embodiments of the present disclosure, the head-mounted device includes virtual reality glasses, mixed reality glasses, augmented reality glasses, or extended reality glasses.
[0058] According to one or more embodiments of the present disclosure, the input device includes at least one of a mouse, a keyboard, and a handle.
[0059] According to one or more embodiments of the present disclosure, the plurality of electronic devices include at least one of a mobile phone, a television, and a computer.
[0060] According to one or more embodiments of the present disclosure, the display images of the display panels of the multiple electronic devices are displayed on the screen of the head-mounted device, including: the display images of the display panels of the multiple electronic devices are displayed on the screen of the head-mounted device by streaming or projection.
[0061] According to one or more embodiments of the present disclosure, the control method of a head-mounted device also includes: when it is determined that the pointer does not intersect with the display screens of the multiple electronic devices displayed on the screen of the head-mounted device, determining whether another pointer displayed in the display panel of the electronic device that last intersected with the pointer is hidden; if hidden, displaying the pointer on the screen of the head-mounted device; if not hidden, sending an indication message to hide the another pointer to the electronic device that last intersected with the pointer, and displaying the pointer on the screen of the head-mounted device.
[0062] According to one or more embodiments of the present disclosure, after determining that the pointer intersects with the display screen of the one electronic device among the multiple electronic devices displayed on the screen of the head-mounted device, and before sending the position coordinates to the one electronic device, it also includes: hiding the display of the pointer.
[0063] According to one or more embodiments of the present disclosure, a control device for a head-mounted device is provided, the control device for the head-mounted device comprising: an event receiving module, configured to receive an operation event reported by an input device, wherein the input device is communicatively connected to the head-mounted device, and the head-mounted device is also communicatively connected to a plurality of electronic devices, and display images of the display panels of the plurality of electronic devices are displayed on the screen of the head-mounted device; a position determining module, configured to determine a spatial position of a pointer corresponding to the input device on the screen of the head-mounted device; an intersection determining module, configured to determine whether the pointer intersects with the display images of the plurality of electronic devices displayed on the screen of the head-mounted device based on the spatial position; a coordinate determining module, configured to determine the position coordinates in the display panel of the electronic device where the pointer is located when it is determined that the pointer intersects with the display image of one of the plurality of electronic devices displayed on the screen of the head-mounted device; a sending module, configured to send the position coordinates to the one electronic device; and a picture receiving module, configured to receive a display image with another pointer corresponding to the position coordinates from the one electronic device, and display it on the screen of the head-mounted device.
[0064] According to one or more embodiments of the present disclosure, a terminal is provided, comprising: at least one memory and at least one processor; wherein the at least one memory is used to store program code, and the at least one processor is used to call the program code stored in the at least one memory to execute any one of the methods described above.
[0065] According to one or more embodiments of the present disclosure, a storage medium is provided, wherein the storage medium is used to store program code, and the program code is used to execute the above method.
[0066] The above description is only a preferred embodiment of the present disclosure and an explanation of the technical principles used. Those skilled in the art should understand that the scope of disclosure involved in the present disclosure is not limited to the technical solutions formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the above disclosed concept. For example, the above features are replaced with the technical features with similar functions disclosed in the present disclosure (but not limited to) by each other to form a technical solution.
[0067] In addition, although each operation is described in a specific order, this should not be understood as requiring these operations to be performed in the specific order shown or in a sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Similarly, although some specific implementation details are included in the above discussion, these should not be interpreted as limiting the scope of the present disclosure. Some features described in the context of a separate embodiment can also be implemented in a single embodiment in combination. On the contrary, the various features described in the context of a single embodiment can also be implemented in multiple embodiments individually or in any suitable sub-combination mode.
[0068] Although the subject matter has been described in language specific to structural features and / or methodological logical actions, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or actions described above. On the contrary, the specific features and actions described above are merely example forms of implementing the claims.
Claims
1. A method for controlling a head mounted device, It is characterized in that The control method of the head mounted device comprises: Receiving an operation event reported by an input device, wherein the input device is communicatively connected to the head-mounted device, the head-mounted device is also communicatively connected to a plurality of electronic devices, and display images of display panels of the plurality of electronic devices are displayed on a screen of the head-mounted device; Determining a spatial position of a pointer corresponding to the input device on a screen of the head mounted device; Determining whether the pointer intersects with display images of the plurality of electronic devices displayed on the screen of the head mounted device based on the spatial position; When it is determined that the pointer intersects with a display screen of one of the multiple electronic devices displayed on the screen of the head mounted device, determining the position coordinates of the pointer in the display panel of the one electronic device; sending the location coordinates to the one electronic device; A display screen with another pointer corresponding to the position coordinates is received from the one electronic device and displayed on the screen of the head mounted device.
2. The method for controlling a head mounted device according to claim 1, It is characterized in that The head-mounted device includes virtual reality glasses, mixed reality glasses, augmented reality glasses or extended reality glasses.
3. The method for controlling a head mounted device according to claim 1, It is characterized in that The input device includes at least one of a mouse, a keyboard and a handle.
4. The method for controlling a head mounted device according to claim 1, It is characterized in that The multiple electronic devices include at least one of a mobile phone, a television and a computer.
5. The method for controlling a head mounted device according to claim 1, It is characterized in that Displaying the display images of the display panels of the plurality of electronic devices on the screen of the head mounted device includes: The display images of the display panels of the multiple electronic devices are displayed on the screen of the head-mounted device through streaming or projection.
6. The method for controlling a head mounted device according to claim 1, It is characterized in that Also includes: When it is determined that the pointer does not intersect with the display screens of the multiple electronic devices displayed on the screen of the head mounted device, determining whether another pointer displayed in the display panel of the electronic device that intersected with the pointer last time is hidden; If hidden, displaying the pointer on the screen of the head mounted device; If it is not hidden, an instruction message for hiding the other pointer is sent to the electronic device that intersected with the pointer last time, and the pointer is displayed on the screen of the head mounted device.
7. The method for controlling a head mounted device according to claim 1, It is characterized in that After determining that the pointer intersects with the display screen of the one electronic device among the multiple electronic devices displayed on the screen of the head mounted device, and before sending the position coordinates to the one electronic device, it also includes: hiding the display of the pointer.
8. A control device for a head mounted device, It is characterized in that The control device of the head mounted device comprises: an event receiving module, configured to receive an operation event reported by an input device, wherein the input device is communicatively connected to the head mounted device, the head mounted device is also communicatively connected to a plurality of electronic devices, and display images of display panels of the plurality of electronic devices are displayed on a screen of the head mounted device; a position determination module, configured to determine a spatial position of a pointer corresponding to the input device on a screen of the head mounted device; an intersection determination module, configured to determine, based on the spatial position, whether the pointer intersects with display images of the plurality of electronic devices displayed on the screen of the head mounted device; a coordinate determination module configured to determine the position coordinates of the pointer in the display panel of the electronic device when it is determined that the pointer intersects with a display screen of one of the multiple electronic devices displayed on the screen of the head mounted device; a sending module, configured to send the location coordinates to the one electronic device; The screen receiving module is configured to receive a display screen with another pointer corresponding to the position coordinates from the one electronic device and display it on the screen of the head mounted device.
9. A terminal, include: at least one memory and at least one processor; The at least one memory is used to store program codes, and the at least one processor is used to call the program codes stored in the at least one memory to execute the control method of the head mounted device according to any one of claims 1 to 7.
10. A storage medium, the storage medium being used to store a program code, the program code being used to execute the control method of the head mounted device according to any one of claims 1 to 7.