WO2024060890A1 - Information prompting method and apparatus for virtual terminal device, device, medium, and product - Google Patents

Information prompting method and apparatus for virtual terminal device, device, medium, and product Download PDF

Info

Publication number
WO2024060890A1
WO2024060890A1 PCT/CN2023/113407 CN2023113407W WO2024060890A1 WO 2024060890 A1 WO2024060890 A1 WO 2024060890A1 CN 2023113407 W CN2023113407 W CN 2023113407W WO 2024060890 A1 WO2024060890 A1 WO 2024060890A1
Authority
WO
WIPO (PCT)
Prior art keywords
page
virtual terminal
terminal device
page position
target
Prior art date
Application number
PCT/CN2023/113407
Other languages
French (fr)
Chinese (zh)
Inventor
李江磊
Original Assignee
北京字跳网络技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 北京字跳网络技术有限公司 filed Critical 北京字跳网络技术有限公司
Publication of WO2024060890A1 publication Critical patent/WO2024060890A1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units

Definitions

  • Embodiments of the present disclosure relate to the field of computer technology, and in particular, to an information prompting method, device, electronic device, computer-readable storage medium, computer program product, and computer program for a virtual terminal device.
  • virtual terminal equipment can project the display screen to electronic devices for display.
  • Electronic devices can include televisions, mobile phones, computers and other devices.
  • the virtual terminal device can display the target page. Project the target page to the electronic device for display, and the page displayed by the electronic device may be called the screen projection page.
  • the user corresponding to the electronic device may not be able to operate the target page of the virtual terminal device, causing the electronic device to only have a display function for the screen projection page of the virtual terminal, which is not conducive to the user's operation.
  • Embodiments of the present disclosure provide an information prompting method, device, electronic device, computer-readable storage medium, computer program product, and computer program for a virtual terminal device to overcome the problem that the page projected onto the electronic device by the virtual terminal device only has a display function. Problems that are not conducive to user operation.
  • embodiments of the present disclosure provide an information prompting method for a virtual terminal device, including:
  • the electronic device In response to the screen projection status of the virtual terminal device and the electronic device, obtain the target page of the virtual terminal device and project it to the first page position in the screen projection page of the electronic device; the first page position is the electronic device.
  • the device detects the page position coordinates corresponding to the click operation performed by the first user on the screen projection page;
  • the prompt object is displayed at the second page position of the target page.
  • an embodiment of the present disclosure provides an information prompting method of a virtual terminal device, comprising:
  • the first page position is sent to the virtual terminal device, and the first page position indicates that a prompt object is displayed at a second page position in a target page of the virtual terminal device.
  • an information prompting device for a virtual terminal device including:
  • a first response unit configured to, in response to the screen projection status of the virtual terminal device and the electronic device, determine that the target page of the virtual terminal device is projected to the first page position in the screen projection page of the electronic device;
  • a page position is when the electronic device detects the page position coordinates corresponding to the click operation performed by the first user on the screen projection page;
  • a position determination unit configured to determine the second page position of the prompt object corresponding to the target page based on the first page position
  • An object display unit is configured to display the prompt object at the second page position of the target page.
  • embodiments of the present disclosure provide an information prompting device for a virtual terminal device, including:
  • the second response unit is configured to respond to the projection status of the virtual terminal device and the electronic device and display the projection page after the target page of the virtual terminal device is projected;
  • a position detection unit configured to detect the page position coordinates corresponding to the click operation performed by the first user on the screen projection page, and obtain the first page position
  • a position sending unit configured to send the first page position to the virtual terminal device, where the first page position indicates that a prompt object is displayed at a second page position in a target page of the virtual terminal device.
  • embodiments of the present disclosure provide an electronic device, including: a processor and a memory;
  • the memory stores computer execution instructions
  • the processor executes the computer execution instructions stored in the memory, so that the at least one processor executes the information prompting method of the virtual terminal device described in the first aspect and various possible designs of the first aspect.
  • embodiments of the present disclosure provide a computer-readable storage medium.
  • Computer-executable instructions are stored in the computer-readable storage medium.
  • the processor executes the computer-executable instructions, the above first aspect and the first aspect are implemented.
  • embodiments of the present disclosure provide a computer program product, including a computer program that, when executed by a processor, implements the information of the virtual terminal device described in the first aspect and various possible designs of the first aspect. Tip method.
  • embodiments of the present disclosure provide a computer program that, when executed by a processor, implements the information prompting method of a virtual terminal device as described in the first aspect and various possible designs of the first aspect.
  • the virtual terminal device may obtain the first page position of the target page of the virtual terminal device and project it to the screen projection page of the electronic device in response to the screen projection status between the virtual terminal device and the electronic device.
  • the first page position may be when the electronic device detects a click operation performed by the first user on the displayed screen projection page and obtains the corresponding page position coordinates.
  • the target page can be mapped through the first page position.
  • Figure 1 is an application network architecture diagram of an information prompting method for a virtual terminal device provided by an embodiment of the present disclosure.
  • FIG. 2 is a flow chart of an embodiment of an information prompting method for a virtual terminal device provided by an embodiment of the present disclosure.
  • FIG. 3 is a display example diagram of a virtual finger object provided by an embodiment of the present disclosure.
  • FIG. 4 is a display example diagram of a handle ray object provided by an embodiment of the present disclosure.
  • FIG. 5 is another schematic flowchart of an information prompting method for a virtual terminal device provided by an embodiment of the present disclosure.
  • FIG. 6 is a structural diagram of an information prompting method and apparatus for a virtual terminal device provided by an embodiment of the present disclosure.
  • FIG. 7 is another structural schematic diagram of an information prompting method device for a virtual terminal device provided by an embodiment of the present disclosure.
  • FIG8 is a schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present disclosure.
  • the technical solution of the present disclosure can be applied in a screen projection scenario of a virtual terminal device.
  • object prompting can be implemented for the virtual terminal device. Operation prompts to achieve effective prompts for operations and improve the efficiency of operation prompts.
  • the virtual terminal device can display the target page.
  • the target page of the virtual terminal device can be displayed on the electronic device.
  • the page displayed by the electronic device may be called a screen projection page.
  • the projection page and the target page can be the same page.
  • the target page of the virtual terminal device is only displayed on the screen of the electronic device, and the prompting efficiency is low. The prompting efficiency is low for users who use the virtual terminal device, and it is inconvenient to use the screen.
  • the inventor considered prompting the operating location of the virtual terminal device.
  • the prompt object can be displayed at the same page position in the target page displayed by the virtual terminal device, realizing the transition from the operation of the electronic device to
  • the display interaction of the virtual terminal device allows the user of the virtual terminal device to view the prompt object displayed on the target page, effectively prompt the items or buttons in the target page, and improve the page prompt efficiency.
  • the virtual terminal device may, in response to the screen projection status of the virtual terminal device and the electronic device, obtain the first page position in the screen projection page of the virtual terminal device and project it to the electronic device.
  • the first page position may be when the electronic device detects a click operation performed by the first user on the displayed screen projection page and obtains the corresponding page position coordinates.
  • the target page can be mapped through the first page position.
  • FIG 1 is an application network architecture diagram of an information prompting method for a virtual terminal device according to the present disclosure.
  • the application network architecture according to the embodiment of the present disclosure may include a virtual terminal device 1 and an electronic device 2 connected to the virtual terminal device through a local area network or a wide area network. It is assumed that the electronic device 2 may be a mobile phone, a tablet computer, or a personal computer. , smart home appliances, wearable devices and other terminal devices. This document does not limit the specific types of electronic devices too much.
  • the target page displayed in the virtual terminal device 1 can be projected to the electronic device 2 for display.
  • the screen projection page displayed on the electronic device can be triggered.
  • the electronic device can detect whether the user is targeting the screencasting page.
  • Trigger operation executed anywhere in the page to obtain the first page position.
  • the virtual terminal device can determine its second page position on the target page.
  • the prompt object can be displayed at the second page position of the target page to interactively prompt the first user's trigger point.
  • the first page position clicked by the first user is, the first page position is at the second page position corresponding to the target page, and the highlight object 3 can be displayed at the second page position.
  • the display of the highlight object can accurately prompt the click operation position of the first user corresponding to the electronic device, realize the prompting of the interactive position, and improve the prompting efficiency and accuracy of the target page.
  • the information prompting method may include the following steps 201 to 203.
  • the electronic device In response to the screen projection status of the virtual terminal device and the electronic device, obtain the target page of the virtual terminal device and project it to the first page position in the screen projection page of the electronic device; the first page position is where the electronic device detects the target of the first user.
  • the page position coordinates corresponding to the click operation on the screencasting page.
  • virtual terminal equipment may include VR (Virtual Reality, virtual reality) equipment, AR (Augmented Reality, augmented reality equipment), etc., specifically such as VR all-in-one machines, head-mounted VR equipment, etc.
  • VR Virtual Reality, virtual reality
  • AR Augmented Reality, augmented reality equipment
  • VR all-in-one machines head-mounted VR equipment, etc.
  • the specific details of the virtual terminal equipment Types are not too restrictive.
  • the virtual terminal device and the electronic device can establish a screen projection association, and the target page of the virtual terminal device can be projected onto the screen of the electronic device for display. If it is determined that the target page of the virtual terminal device can be normally projected to the electronic device, it can be determined that the virtual terminal device and the electronic device are in a screen projection state.
  • the display screen of the electronic device may be a touch screen, and the first user may perform a click operation on the touch screen.
  • the electronic device can detect a click operation performed by the first user on the screen projection page displayed on the touch screen, and obtain the screen coordinates of the click operation. Convert the screen coordinates into the coordinate system corresponding to the screen projection page to obtain the first page position.
  • the first page position may be the page position coordinates in the coordinate system of the projected page.
  • the target page may refer to the page currently displayed on the display screen of the virtual terminal device, which may be a two-dimensional or three-dimensional page.
  • the depth information of a two-dimensional target page can be 0.
  • the depth information of the three-dimensional target page can be obtained by reading the page data of the target page.
  • the page data of the target page can be generated when the target page is constructed.
  • the page displayed on the electronic device can be called a screen projection page.
  • the projection page and the target page can be the same page.
  • Different naming methods can be used to distinguish the pages displayed on different devices in terms of names. This does not mean that the two pages are different pages.
  • the coordinate system of the two-dimensional plane page can be the same as the coordinate system of the projected page.
  • the object indicated by the first page position on the projection page can be the same as the object indicated by the second page position on the target page. for the same object.
  • the first page position is at the second page position corresponding to the target page
  • conversion from the page position of the electronic device to the virtual terminal device can be realized, so as to transmit the interactive content between the first user and the electronic device to the virtual terminal device
  • the prompt enables the second user of the virtual terminal device to know the location of the page executed by the first user, thereby achieving accurate prompting of the interactive location.
  • displaying the prompt object at a second page position of the target page may include displaying the target page and modifying a visual indication of the element displayed at the second position of the target page. For example, when a page element is displayed in the second position of the target page, the visual indication of the page element can be modified, such as by highlighting the page element, so that the user can know the corresponding operation position.
  • displaying the prompt object at the second page position of the target page may include: displaying the target page, and displaying the prompt object at the second position of the target page.
  • the prompt object may be a page element that prompts the location of the click operation performed by the first user, and may include objects such as cursor indications and special visual elements such as highlights and (handle) rays.
  • the virtual terminal device may obtain the first page position of the target page of the virtual terminal device and project it to the screen projection page of the electronic device in response to the screen projection state between the virtual terminal device and the electronic device.
  • the first page position may be used by the electronic device to detect the page position coordinates corresponding to the click operation performed by the first user on the screen projection page.
  • the first page position may be used to determine the second page position of the prompt object on the target page.
  • the prompt object can be displayed at the second page position of the target page to realize the display of the prompt object from the interaction between the first user and the electronic device. Through the display of the prompt object, the first user's click operation can be performed on the target page of the virtual terminal device. Carry out corresponding prompts to achieve targeted location prompts and improve the efficiency and accuracy of location prompts.
  • information or signals can be forwarded between the virtual terminal device and the electronic device through a server.
  • the first page position of the electronic device may be forwarded by the server to the virtual terminal device.
  • prompt objects include highlight objects.
  • Display prompt objects at the second page position of the target page including:
  • Highlight objects can include images of dots and/or circles with glowing effects.
  • the highlight object can be displayed in the upper window of the window layer where the target page is located.
  • the second page position may be the display position of the highlight object.
  • the second page position can be transferred as a drawing parameter to the drawing function of the highlight object to realize display of the highlight object at the second page position.
  • the highlight object can be displayed at the second page position of the target page, and the display of the highlight object can prompt the virtual terminal device for the page position triggered by the first user, thereby improving prompt efficiency and accuracy.
  • the prompt object can include a virtual finger object; the prompt object is displayed at the second page position of the target page, including:
  • the second page position of the target page is used as the fingertip key point of the virtual finger object, so that the virtual finger object is displayed correspondingly at the fingertip key point.
  • the virtual finger object may be a hand image drawn by points and lines, and the virtual finger object may include a two-dimensional hand image or a three-dimensional hand image.
  • the second page position can be used as the position of the key point of the fingertip to achieve a more vivid prompt with the finger.
  • the virtual finger object 4 When prompted with a virtual finger object, as shown in FIG. 3 , the virtual finger object 4 may be displayed at the second position of the target page of the virtual terminal device.
  • a more three-dimensional position prompt can be achieved through the prompt of the virtual finger object, and the operating position of the virtual terminal device can be more effectively prompted to improve prompt efficiency.
  • determining the second page location of the prompt object corresponding to the target page based on the first page location may include:
  • the first page position is used as the prompt object in the second page position of the target page.
  • the first page position may be directly used as the second page position of the prompt object on the target page.
  • the size difference between the display screen of the virtual terminal device and the display screen of the electronic device can be considered, and the corresponding position conversion relationship of the two display screens can be determined.
  • the first page can be The position is converted to the second page position.
  • the position conversion relationship can refer to the length ratio and width ratio of the two display screens.
  • the first abscissa of the first page position and the length ratio can be proportionally calculated to obtain the second abscissa; the first ordinate of the first page position and the width ratio can be proportionally calculated to obtain the second ordinate.
  • the second page position corresponding to the second abscissa and the second ordinate can be determined.
  • the first page position when a highlight object or a virtual finger object is used as the prompt target for prompting, the first page position can be directly used as the prompt object at the second page position of the target page, and the first user can be directly mapped through the direct mapping of the page position.
  • the page position corresponding to the executed click operation is effectively prompted to improve the efficiency of page position prompting.
  • the prompt object includes a handle ray prompt object
  • Display prompt objects at the second page position of the target page including:
  • the handle ray object may be a ray established through the handle, and the endpoint of the ray may be the second page position.
  • the handle ray 5 can be displayed on the display page of the virtual terminal device, and the prompt of the handle ray 5 can prompt the page position triggered by the first user.
  • the handle ray object can be used as the prompt object of the target page to implement ray prompts that simulate user operations.
  • the prompts of the ray objects can be more intuitive, thereby improving prompt efficiency.
  • the target page displayed by the virtual terminal device can be a three-dimensional graphics page to achieve three-dimensional display.
  • the display screen of electronic equipment can generally display two-dimensional images. Therefore, it is necessary to add depth information when displaying handle rays.
  • determining the second page position of the prompt object corresponding to the target page according to the first page position includes:
  • the coordinates are combined to obtain the target coordinate point
  • the target coordinate point is determined to be the second page position corresponding to the prompt object on the target page.
  • the depth coordinate corresponding to the first page position of the target page can be determined by determining the first page position in the three-dimensional coordinate system corresponding to the target page.
  • the first page position can be used as a point on the XY axis plane in the three-dimensional coordinate system, and the corresponding value of the point on the Z axis of the three-dimensional coordinate system can be used as the depth coordinate.
  • the abscissa coordinate can be represented by X1
  • the ordinate coordinate can be represented by Y1
  • the depth coordinate can be represented by Z1.
  • the target coordinate point can be represented as (X1, Y1, Z1).
  • the depth coordinate of the first page position in the target page can be obtained, and the abscissa and vertical coordinates of the first page position are combined with the depth coordinate for coordinate combination to obtain the second page Location.
  • the second page position can be used as a prompt object in the second page position of the target page.
  • determining the handle ray object includes:
  • the second page position can be the end point of the handle ray, that is, the end point of the handle ray.
  • the starting point of the handle ray can be determined based on the position point of the preset virtual handle.
  • the virtual handle can be a handle image set in the virtual terminal device, which can be displayed or not displayed.
  • the position point of the virtual handle can be set at any position on the target page. Of course, the position point of the virtual handle can be continuously updated by the movement operation of the second user.
  • the length of the handle ray and the direction of the handle ray can be determined based on the starting point of the handle ray and the end point of the handle ray, so as to obtain an accurate handle ray.
  • FIG. 5 it is a flow chart of an embodiment of an information prompting method for a virtual terminal device provided by an embodiment of the present disclosure.
  • the method may include the following steps:
  • 503 Send the first page position to the virtual terminal device, and the first page position indicates that the prompt object is displayed at the second page position in the target page of the virtual terminal device.
  • the virtual terminal device can project the target page to the electronic device for display.
  • the technical solutions of the present disclosure can be executed by electronic devices.
  • the output device of the electronic device may be a touch screen.
  • the first user can log in to the electronic device using the first user account.
  • the second user can log in to the virtual terminal device using the second user account.
  • the first user account and the second user account may be different.
  • Electronic devices and virtual terminal devices can establish communication connections through the global network.
  • the electronic device may display the projected screen page of the target page of the virtual terminal device when the virtual terminal device is in the screen casting state.
  • the first user can perform a click operation on the screen projection page, and the electronic device can obtain the first page position by detecting the page position coordinates corresponding to the click operation.
  • the first page position can be displayed as a prompt object at a second page position corresponding to the target page of the virtual terminal device. Realize the location prompt of the virtual terminal device through the interaction of the electronic device, improve the interactive prompt between the electronic device and the virtual terminal device, and improve the prompt efficiency.
  • the information prompting device 600 may include the following units:
  • First response unit 601 configured to respond to the projection status of the virtual terminal device and the electronic device and determine that the target page of the virtual terminal device is projected to the first page position in the projection page of the electronic device; the first page position is the electronic device. The device detects the page position coordinates corresponding to the click operation performed by the first user on the screen projection page;
  • Position determining unit 602 used to determine the second page position of the prompt object corresponding to the target page according to the first page position;
  • Object display unit 603 used to display the prompt object at the second page position of the target page.
  • the prompt object includes a highlight object
  • the object display unit includes:
  • the first display module is used to display the highlight object at the second page position of the target page.
  • the prompt object includes a virtual finger object;
  • the object display unit includes:
  • the second display module is configured to use the second page position of the target page as the fingertip key point of the virtual finger object, so as to display the virtual finger object correspondingly at the fingertip key point.
  • the location determination unit includes:
  • the first determination module is configured to use the first page position as the prompt object in the second page position of the target page.
  • the prompt object includes a handle ray prompt object
  • Object display unit comprising:
  • the object determination module is used to determine the handle ray object by taking the second page position as the end point of the handle ray and combining it with the starting point of the handle ray;
  • the third display module is used to display the handle ray object while displaying the target page.
  • the location determination unit includes:
  • Depth acquisition module used for depth coordinates corresponding to the position of the first page in the target page
  • the second determination module is used to perform coordinate combination according to the abscissa and ordinate in the first page position and the depth coordinate.
  • the obtained target coordinate point is the second page position corresponding to the prompt object on the target page.
  • the object determination module may include:
  • An end point determination submodule used to determine the second page position as the end point of the handle ray
  • the ray determination submodule is used to determine the handle ray length and handle ray direction based on the handle ray end point and handle ray starting point;
  • the object generation submodule is used to generate handle ray objects according to the handle ray length and handle ray direction.
  • FIG. 7 it is a schematic structural diagram of another embodiment of an information prompting device for a virtual terminal device provided by an embodiment of the present disclosure.
  • the information prompting device may include the following units:
  • the second response unit 701 is configured to respond to the projection status of the virtual terminal device and the electronic device and display the projection page of the target page of the virtual terminal device after projection;
  • Position detection unit 702 used to detect the page position coordinates corresponding to the first user's click operation on the screen projection page, and obtain the first page position;
  • Position sending unit 703 configured to send the first page position to the virtual terminal device, and the first page position indicates that the prompt object is displayed at the second page position in the target page of the virtual terminal device.
  • the device provided in this embodiment can be used to execute the technical solutions of the above method embodiments. Its implementation principles and technical effects are similar, and will not be described again in this embodiment.
  • embodiments of the present disclosure also provide an electronic device.
  • the electronic device 800 may be a terminal device or a server.
  • Terminal devices may include, but are not limited to, mobile phones, Laptops, digital broadcast receivers, personal digital assistants (PDAs), tablets (Portable Android Devices, PADs), portable media players (PMPs), vehicle-mounted terminals (such as car navigation mobile terminals), etc., as well as fixed terminals such as digital TVs, desktop computers, etc.
  • PDAs personal digital assistants
  • PMPs portable media players
  • vehicle-mounted terminals such as car navigation mobile terminals
  • fixed terminals such as digital TVs, desktop computers, etc.
  • the electronic device shown in FIG. 8 is only an example and should not impose any limitations on the functions and scope of use of the embodiments of the present disclosure.
  • the electronic device 800 may include a processing device (such as a central processing unit, a graphics processor, etc.) 801, which may process data according to a program stored in a read-only memory (Read Only Memory, ROM for short) 802 or from a storage device. 808 loads the program in Random Access Memory (RAM) 803 to perform various appropriate actions and processing. In the RAM 803, various programs and data required for the operation of the electronic device 800 are also stored.
  • the processing device 801, ROM 802 and RAM 803 are connected to each other via a bus 804.
  • An input/output (I/O) interface 805 is also connected to bus 804.
  • the following devices can be connected to the I/O interface 805: input devices 806 including, for example, a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; including, for example, a Liquid Crystal Display (LCD). ), an output device 807 such as a speaker, a vibrator, etc.; a storage device 808 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 809.
  • the communication device 809 may allow the electronic device 800 to communicate wirelessly or wiredly with other devices to exchange data.
  • FIG. 8 illustrates an electronic device 800 having various means, it should be understood that implementation or availability of all illustrated means is not required. More or fewer means may alternatively be implemented or provided.
  • embodiments of the present disclosure include a computer program product including a computer program carried on a computer-readable medium, the computer program containing program code for performing the method illustrated in the flowchart.
  • the computer program may be downloaded and installed from the network via communication device 809, or from storage device 808, or from ROM 802.
  • the processing device 801 the above-mentioned functions defined in the method of the embodiment of the present disclosure are performed.
  • the computer-readable medium mentioned above in the present disclosure 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 is not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus or device, or any combination thereof.
  • Computer readable storage media may include, but are not limited to: an electrical connection having one or more wires, a portable computer disk, a hard drive, random access memory (RAM), read only memory (ROM), removable Programmable read-only memory (Erasable Programmable Read Only Memory, EPROM or flash memory), optical fiber, portable compact disk read-only memory (Compact Disc Read Only Memory, CD-ROM), optical storage device, magnetic storage device, or any of the above The right combination.
  • a computer-readable storage medium may be any computer-readable storage medium containing or a tangible medium storing a program for use by or in connection with an instruction execution system, apparatus, or device.
  • a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, carrying computer-readable program code therein. Such propagated data signals may take many forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above.
  • a computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium that can send, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device .
  • Program code contained on a computer-readable medium can be transmitted using any appropriate medium, including but not limited to: wires, optical cables, radio frequency (Radio Frequency, RF), etc., or any suitable combination of the above.
  • the above-mentioned computer-readable medium may be included in the above-mentioned electronic device; it may also exist independently without being assembled into the electronic device.
  • the computer-readable medium carries one or more programs.
  • the electronic device When the one or more programs are executed by the electronic device, the electronic device performs the method shown in the above embodiment.
  • 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.
  • 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., via the Internet using an Internet service provider).
  • LAN Local Area Network
  • WAN Wide Area Network
  • each block in the flowchart or block diagram may represent a module, segment, or portion of code that contains one or more logic functions that implement the specified executable instructions.
  • the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown one after another may actually execute substantially in parallel, or they may sometimes execute in the reverse order, depending on the functionality involved.
  • each block of the block diagram and/or flowchart illustration, and combinations of blocks in the block diagram and/or flowchart illustration can be implemented by special purpose hardware-based systems that perform the specified functions or operations. , or can be implemented using a combination of specialized hardware and computer instructions.
  • the units involved in the embodiments of the present disclosure can be implemented in software or hardware. Among them, the name of a unit does not constitute a limitation on the unit itself under certain circumstances. For example, the first The acquisition unit may also be described as "a unit that acquires at least two Internet Protocol addresses.”
  • exemplary types of hardware logic components include: Field-Programmable Gate Array (FPGA), Application Specific Integrated Circuit (Application Specific Integrated Circuit, ASIC), Application Specification Standard Product (Application Specification) Specific Standard Part (ASSP), System On Chip (SOC), Complex Programmable Logic Device (CPLD), etc.
  • FPGA Field-Programmable Gate Array
  • ASIC Application Specific Integrated Circuit
  • ASSP Application Specification Standard Product
  • SOC System On Chip
  • CPLD Complex Programmable Logic Device
  • a machine-readable medium may be a tangible medium that may contain or store a program for use by or in connection with an instruction execution system, apparatus, or device.
  • the machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium.
  • Machine-readable media may include, but are not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or devices, or any suitable combination of the foregoing.
  • machine-readable storage media may include an electrical connection based on one or more wires, a portable computer disk, a hard disk, random access memory (RAM), read only memory (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the above.
  • RAM random access memory
  • ROM read only memory
  • EPROM or flash memory erasable programmable read only memory
  • CD-ROM portable compact disk read-only memory
  • magnetic storage device or any suitable combination of the above.
  • an information prompting method for a virtual terminal device including:
  • the electronic device In response to the screen casting status of the virtual terminal device and the electronic device, obtain the target page of the virtual terminal device and cast it to the first page position in the screen casting page of the electronic device; the first page position is where the electronic device detects the first user's target for screen casting The page position coordinates corresponding to the click operation on the page;
  • the prompt object includes a highlight object
  • Display prompt objects at the second page position of the target page including:
  • the prompt object includes a virtual finger object; displaying the prompt object at the second page position of the target page includes:
  • the second page position of the target page is used as the fingertip key point of the virtual finger object, so that the virtual finger object is displayed correspondingly at the fingertip key point.
  • determining the second page position of the prompt object corresponding to the target page according to the first page position includes:
  • the first page position is used as the prompt object in the second page position of the target page.
  • the prompt object includes a handle ray prompt object
  • Display prompt objects at the second page position of the target page including:
  • determining the second page position of the prompt object corresponding to the target page according to the first page position includes:
  • the coordinates are combined to obtain the target coordinate point
  • the target coordinate point is determined to be the second page position of the prompt object corresponding to the target page.
  • determining the handle ray object includes:
  • an information prompting method for a virtual terminal device including:
  • the first page position is sent to the virtual terminal device, and the first page position indicates that the prompt object is displayed at a second page position in the target page of the virtual terminal device.
  • an information prompting device for a virtual terminal device including:
  • the first response unit is configured to respond to the projection status of the virtual terminal device and the electronic device and determine that the target page of the virtual terminal device is projected to the first page position in the projection page of the electronic device; the first page position is the electronic device Detect the page position coordinates corresponding to the click operation performed by the first user on the screen projection page;
  • a position determination unit configured to determine the second page position of the prompt object corresponding to the target page based on the first page position
  • the object display unit is used to display the prompt object at the second page position of the target page.
  • an information prompting method for a virtual terminal device including:
  • the second response unit is configured to respond to the projection status of the virtual terminal device and the electronic device and display the projection page of the target page of the virtual terminal device after projection;
  • a position detection unit used to detect the page position coordinates corresponding to the click operation performed by the first user on the screen projection page, and obtain the first page position
  • the position sending unit is configured to send the first page position to the virtual terminal device, and the first page position indicates that the prompt object is displayed at the second page position in the target page of the virtual terminal device.
  • an electronic device including: at least one processor and a memory;
  • Memory stores instructions for execution by the computer
  • At least one processor executes the computer execution instructions stored in the memory, so that the at least one processor executes the information prompting method of the virtual terminal device of the first aspect and various possible designs of the first aspect.
  • a computer-readable storage medium is provided.
  • Computer-executable instructions are stored in the computer-readable storage medium.
  • the processor executes the computer-executed instructions, the first step above is implemented.
  • aspects and the first aspect include information prompting methods of various possible designs of virtual terminal devices.
  • a computer program product including a computer program.
  • the computer program When the computer program is executed by a processor, the computer program implements the above first aspect and the virtualization of various possible designs of the first aspect.
  • Information prompt method for terminal equipment When the computer program is executed by a processor, the computer program implements the above first aspect and the virtualization of various possible designs of the first aspect.
  • Information prompt method for terminal equipment When the computer program is executed by a processor, the computer program implements the above first aspect and the virtualization of various possible designs of the first aspect.
  • Information prompt method for terminal equipment When the computer program is executed by a processor, the computer program implements the above first aspect and the virtualization of various possible designs of the first aspect.
  • a computer program is provided, which is executed by a processor to implement the information prompting method of a virtual terminal device of the first aspect and various possible designs of the first aspect. .

Abstract

An information prompting method and apparatus (600, 700) for a virtual terminal device (1), a device (800), a medium, and a product. The method comprises: in response to a screen mirroring state of the virtual terminal device (1) and an electronic device (2), acquiring a first page position of a target page of the virtual terminal device (1) in a screen mirroring page of the electronic device (2) during screen mirroring (201), wherein the first page position is page position coordinates, detected by the electronic device (2), corresponding to a click operation executed by a first user on the screen mirroring page; according to the first page position, determining a second page position corresponding to a prompt object in the target page (202); and displaying the prompt object at the second page position in the target page (203). The present disclosure solves the problem that an electronic device (2) only has a display function on a screen mirroring page of a virtual terminal device (1), which is not conducive to the operation and use of a user, realizes interactive prompting between the electronic device (2) and the virtual terminal device (1), and realizes a result of effective operation position prompting.

Description

虚拟终端设备的信息提示方法、装置、设备、介质及产品Information prompting methods, devices, equipment, media and products for virtual terminal equipment
相关申请的交叉引用Cross-references to related applications
本申请要求于2022年09月21日提交至中国国家知识产权局、申请号为202211153973.X、发明名称为“虚拟终端设备的信息提示方法、装置、设备、介质及产品”的中国专利申请的优先权,其全部内容通过引用并入本文。This application is required to be submitted to the State Intellectual Property Office of China on September 21, 2022. The application number is 202211153973. priority, the entire contents of which are incorporated herein by reference.
技术领域Technical field
本公开实施例涉及计算机技术领域,尤其涉及一种虚拟终端设备的信息提示方法、装置、电子设备、计算机可读存储介质、计算机程序产品和计算机程序。Embodiments of the present disclosure relate to the field of computer technology, and in particular, to an information prompting method, device, electronic device, computer-readable storage medium, computer program product, and computer program for a virtual terminal device.
背景技术Background technique
目前,虚拟终端设备可以将显示屏幕投屏到电子设备中显示,电子设备可以包括电视、手机、电脑等设备。其中,虚拟终端设备可以显示目标页面。将目标页面投屏至电子设备显示,电子设备显示的页面可以称为投屏页面。但是,电子设备对应的用户可能并不能对虚拟终端设备的目标页面进行操作,导致电子设备对虚拟终端的投屏页面仅具有显示功能,不利于用户的操作使用。Currently, virtual terminal equipment can project the display screen to electronic devices for display. Electronic devices can include televisions, mobile phones, computers and other devices. Among them, the virtual terminal device can display the target page. Project the target page to the electronic device for display, and the page displayed by the electronic device may be called the screen projection page. However, the user corresponding to the electronic device may not be able to operate the target page of the virtual terminal device, causing the electronic device to only have a display function for the screen projection page of the virtual terminal, which is not conducive to the user's operation.
发明内容Contents of the invention
本公开实施例提供一种虚拟终端设备的信息提示方法、装置、电子设备、计算机可读存储介质、计算机程序产品和计算机程序,以克服虚拟终端设备投屏到电子设备的页面仅具有显示功能,不利于用户操作使用的问题。Embodiments of the present disclosure provide an information prompting method, device, electronic device, computer-readable storage medium, computer program product, and computer program for a virtual terminal device to overcome the problem that the page projected onto the electronic device by the virtual terminal device only has a display function. Problems that are not conducive to user operation.
第一方面,本公开实施例提供一种虚拟终端设备的信息提示方法,包括:In a first aspect, embodiments of the present disclosure provide an information prompting method for a virtual terminal device, including:
响应于虚拟终端设备和电子设备的投屏状态,获取所述虚拟终端设备的目标页面投屏至所述电子设备的投屏页面中的第一页面位置;所述第一页面位置为所述电子设备检测第一用户针对所述投屏页面执行点击操作对应的页面位置坐标;In response to the screen projection status of the virtual terminal device and the electronic device, obtain the target page of the virtual terminal device and project it to the first page position in the screen projection page of the electronic device; the first page position is the electronic device. The device detects the page position coordinates corresponding to the click operation performed by the first user on the screen projection page;
根据所述第一页面位置,确定提示对象在所述目标页面对应的第二页面位置;According to the first page position, determine the second page position of the prompt object corresponding to the target page;
在所述目标页面的所述第二页面位置处显示所述提示对象。The prompt object is displayed at the second page position of the target page.
第二方面,本公开实施例提供一种虚拟终端设备的信息提示方法,包括: In a second aspect, an embodiment of the present disclosure provides an information prompting method of a virtual terminal device, comprising:
响应于虚拟终端设备和电子设备的投屏状态,显示所述虚拟终端设备的目标页面投屏后的投屏页面;In response to the screen projection status of the virtual terminal device and the electronic device, display the screen projection page of the target page of the virtual terminal device;
检测第一用户针对所述投屏页面执行点击操作对应的页面位置坐标,获得第一页面位置;Detect the page position coordinates corresponding to the click operation performed by the first user on the screen projection page, and obtain the first page position;
发送所述第一页面位置至所述虚拟终端设备,所述第一页面位置指示在所述虚拟终端设备的目标页面中的第二页面位置显示提示对象。The first page position is sent to the virtual terminal device, and the first page position indicates that a prompt object is displayed at a second page position in a target page of the virtual terminal device.
第三方面,本公开实施例提供一种虚拟终端设备的信息提示装置,包括:In a third aspect, an embodiment of the present disclosure provides an information prompting device for a virtual terminal device, including:
第一响应单元,用于响应于虚拟终端设备和电子设备的投屏状态,确定所述虚拟终端设备的目标页面投屏至所述电子设备的投屏页面中的第一页面位置;所述第一页面位置为所述电子设备检测第一用户针对所述投屏页面执行点击操作对应的页面位置坐标;A first response unit configured to, in response to the screen projection status of the virtual terminal device and the electronic device, determine that the target page of the virtual terminal device is projected to the first page position in the screen projection page of the electronic device; A page position is when the electronic device detects the page position coordinates corresponding to the click operation performed by the first user on the screen projection page;
位置确定单元,用于根据所述第一页面位置,确定提示对象在所述目标页面对应的第二页面位置;A position determination unit configured to determine the second page position of the prompt object corresponding to the target page based on the first page position;
对象显示单元,用于在所述目标页面的所述第二页面位置处显示所述提示对象。An object display unit is configured to display the prompt object at the second page position of the target page.
第四方面,本公开实施例提供一种虚拟终端设备的信息提示装置,包括:In a fourth aspect, embodiments of the present disclosure provide an information prompting device for a virtual terminal device, including:
第二响应单元,用于响应于虚拟终端设备和电子设备的投屏状态,显示所述虚拟终端设备的目标页面投屏后的投屏页面;The second response unit is configured to respond to the projection status of the virtual terminal device and the electronic device and display the projection page after the target page of the virtual terminal device is projected;
位置检测单元,用于检测第一用户针对所述投屏页面执行点击操作对应的页面位置坐标,获得第一页面位置;a position detection unit, configured to detect the page position coordinates corresponding to the click operation performed by the first user on the screen projection page, and obtain the first page position;
位置发送单元,用于发送所述第一页面位置至所述虚拟终端设备,所述第一页面位置指示在所述虚拟终端设备的目标页面中的第二页面位置显示提示对象。A position sending unit configured to send the first page position to the virtual terminal device, where the first page position indicates that a prompt object is displayed at a second page position in a target page of the virtual terminal device.
第五方面,本公开实施例提供一种电子设备,包括:处理器以及存储器;In a fifth aspect, embodiments of the present disclosure provide an electronic device, including: a processor and a memory;
所述存储器存储计算机执行指令;The memory stores computer execution instructions;
所述处理器执行所述存储器存储的计算机执行指令,使得所述至少一个处理器执行如上第一方面以及第一方面各种可能的设计所述的虚拟终端设备的信息提示方法。The processor executes the computer execution instructions stored in the memory, so that the at least one processor executes the information prompting method of the virtual terminal device described in the first aspect and various possible designs of the first aspect.
第六方面,本公开实施例提供一种计算机可读存储介质,所述计算机可读存储介质中存储有计算机执行指令,当处理器执行所述计算机执行指令时,实现如上第一方面以及第一方面各种可能的设计所述的虚拟终端设备的信息提示方法。In a sixth aspect, embodiments of the present disclosure provide a computer-readable storage medium. Computer-executable instructions are stored in the computer-readable storage medium. When the processor executes the computer-executable instructions, the above first aspect and the first aspect are implemented. There are various possible ways to design the information prompting method of the virtual terminal device.
第七方面,本公开实施例提供一种计算机程序产品,包括计算机程序,所述计算机程序被处理器执行时实现如上第一方面以及第一方面各种可能的设计所述的虚拟终端设备的信息提示方法。 In a seventh aspect, embodiments of the present disclosure provide a computer program product, including a computer program that, when executed by a processor, implements the information of the virtual terminal device described in the first aspect and various possible designs of the first aspect. Tip method.
第八方面,本公开实施例提供一种计算机程序,其被处理器执行时实现如上第一方面以及第一方面各种可能的设计所述的虚拟终端设备的信息提示方法。In an eighth aspect, embodiments of the present disclosure provide a computer program that, when executed by a processor, implements the information prompting method of a virtual terminal device as described in the first aspect and various possible designs of the first aspect.
本实施例中,虚拟终端设备可以响应于其与电子设备的投屏状态,获取虚拟终端设备的目标页面投屏至电子设备的投屏页面中的第一页面位置。第一页面位置可以为电子设备检测到第一用户针对显示的投屏页面执行的点击操作,获得对应的页面位置坐标。通过第一页面位置可以对目标页面进行映射提示。根据第一页面位置,确定提示对象在目标页面对应的第二页面位置,通过在目标页面的第二页面位置处显示提示对象,可以实现从电子设备的用户操作到虚拟终端设备的提示对象交互显示,实现对电子设备的准确提示,提高虚拟终端设备的提示效率和有效性。In this embodiment, the virtual terminal device may obtain the first page position of the target page of the virtual terminal device and project it to the screen projection page of the electronic device in response to the screen projection status between the virtual terminal device and the electronic device. The first page position may be when the electronic device detects a click operation performed by the first user on the displayed screen projection page and obtains the corresponding page position coordinates. The target page can be mapped through the first page position. According to the first page position, determine the second page position of the prompt object corresponding to the target page. By displaying the prompt object at the second page position of the target page, interactive display of the prompt object from the user operation of the electronic device to the virtual terminal device can be realized. , realize accurate prompts for electronic devices, and improve the prompt efficiency and effectiveness of virtual terminal devices.
附图说明Description of drawings
为了更清楚地说明本公开实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作一简单地介绍,显而易见地,下面描述中的附图是本公开的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present disclosure or the technical solutions in the prior art, a brief introduction will be made below to the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the drawings in the following description These are some embodiments of the present disclosure. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without exerting any creative effort.
图1为本公开实施例提供的一种虚拟终端设备的信息提示方法的一个应用网络架构图。Figure 1 is an application network architecture diagram of an information prompting method for a virtual terminal device provided by an embodiment of the present disclosure.
图2为本公开实施例提供的一种虚拟终端设备的信息提示方法的一个实施例的流程图。FIG. 2 is a flow chart of an embodiment of an information prompting method for a virtual terminal device provided by an embodiment of the present disclosure.
图3为本公开实施例提供的一个虚拟手指对象的显示示例图。FIG. 3 is a display example diagram of a virtual finger object provided by an embodiment of the present disclosure.
图4为本公开实施例提供的一个手柄射线对象的显示示例图。FIG. 4 is a display example diagram of a handle ray object provided by an embodiment of the present disclosure.
图5为本公开实施例提供的一种虚拟终端设备的信息提示方法的又一个流程示意图。FIG. 5 is another schematic flowchart of an information prompting method for a virtual terminal device provided by an embodiment of the present disclosure.
图6为本公开实施例提供的一种虚拟终端设备的信息提示方法装置的一个结构示意图。FIG. 6 is a structural diagram of an information prompting method and apparatus for a virtual terminal device provided by an embodiment of the present disclosure.
图7为本公开实施例提供的一种虚拟终端设备的信息提示方法装置的又一个结构示意图。FIG. 7 is another structural schematic diagram of an information prompting method device for a virtual terminal device provided by an embodiment of the present disclosure.
图8为本公开实施例提供的一种电子设备的硬件结构示意图。FIG8 is a schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present disclosure.
具体实施方式Detailed ways
为使本公开实施例的目的、技术方案和优点更加清楚,下面将结合本公开实施例中的附图,对本公开实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本 公开一部分实施例,而不是全部的实施例。基于本公开中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本公开保护的范围。In order to make the purpose, technical solutions and advantages of the embodiments of the present disclosure clearer, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the drawings in the embodiments of the present disclosure. Obviously, the described embodiments It's this Some, but not all, embodiments are disclosed. Based on the embodiments in this disclosure, all other embodiments obtained by those of ordinary skill in the art without making creative efforts fall within the scope of protection of this disclosure.
本公开的技术方案可以应用于虚拟终端设备的投屏场景中,通过将电子设备中的触发的页面位置作为虚拟终端设备的目标页面的位置进行对象提示,通过对象提示可以实现对虚拟终端设备的操作提示,实现操作有效提示,提高操作提示效率。The technical solution of the present disclosure can be applied in a screen projection scenario of a virtual terminal device. By using the triggered page position in the electronic device as the position of the target page of the virtual terminal device for object prompting, object prompting can be implemented for the virtual terminal device. Operation prompts to achieve effective prompts for operations and improve the efficiency of operation prompts.
相关技术中,虚拟终端设备可以显示目标页面。通过建立虚拟终端设备和电子设备的投屏关联,可以将虚拟终端设备的目标页面投放到电子设备显示。为了区别电子设备和虚拟终端设备的显示页面,可以将电子设备的显示的页面称为投屏页面。投屏页面与目标页面可以为同一页面。目前,虚拟终端设备的目标页面仅在电子设备投屏显示,提示效率较低,对使用虚拟终端设备的用户提示效率较低,不便于投屏使用。In related technology, the virtual terminal device can display the target page. By establishing a screencasting association between the virtual terminal device and the electronic device, the target page of the virtual terminal device can be displayed on the electronic device. In order to distinguish the display page of the electronic device and the virtual terminal device, the page displayed by the electronic device may be called a screen projection page. The projection page and the target page can be the same page. Currently, the target page of the virtual terminal device is only displayed on the screen of the electronic device, and the prompting efficiency is low. The prompting efficiency is low for users who use the virtual terminal device, and it is inconvenient to use the screen.
为了解决上述技术问题,发明人考虑到对虚拟终端设备进行操作位置的提示。而在投屏场景中,若电子设备的用户可以执行对显示的投屏页面的点击操作,可以在虚拟终端设备显示的目标页面中同样的页面位置处显示提示对象,实现从电子设备的操作到虚拟终端设备的显示交互,使得虚拟终端设备的用户可以观看显示于目标页面的提示对象,对目标页面中的物品或者按键进行有效提示,提高页面提示效率。In order to solve the above technical problem, the inventor considered prompting the operating location of the virtual terminal device. In the screencasting scenario, if the user of the electronic device can perform a click operation on the displayed screencasting page, the prompt object can be displayed at the same page position in the target page displayed by the virtual terminal device, realizing the transition from the operation of the electronic device to The display interaction of the virtual terminal device allows the user of the virtual terminal device to view the prompt object displayed on the target page, effectively prompt the items or buttons in the target page, and improve the page prompt efficiency.
本公开的实施例中,虚拟终端设备可以响应于其与电子设备的投屏状态,获取虚拟终端设备的目标页面投屏至电子设备的投屏页面中的第一页面位置。第一页面位置可以为电子设备检测到第一用户针对显示的投屏页面执行的点击操作,获得对应的页面位置坐标。通过第一页面位置可以对目标页面进行映射提示。根据第一页面位置,确定提示对象在目标页面对应的第二页面位置,通过在目标页面的第二页面位置处显示提示对象,可以实现从电子设备的用户操作到虚拟终端设备的提示对象交互显示,实现对电子设备的准确提示,提高虚拟终端设备的提示效率和有效性。In an embodiment of the present disclosure, the virtual terminal device may, in response to the screen projection status of the virtual terminal device and the electronic device, obtain the first page position in the screen projection page of the virtual terminal device and project it to the electronic device. The first page position may be when the electronic device detects a click operation performed by the first user on the displayed screen projection page and obtains the corresponding page position coordinates. The target page can be mapped through the first page position. According to the first page position, determine the second page position of the prompt object corresponding to the target page. By displaying the prompt object at the second page position of the target page, interactive display of the prompt object from the user operation of the electronic device to the virtual terminal device can be realized. , realize accurate prompts for electronic devices, and improve the prompt efficiency and effectiveness of virtual terminal devices.
下面将以具体实施例对本公开的技术方案以及本公开的技术方案如何解决上述技术问题进行详细说明。下面几个具体实施例可以相互结合,对于相同或相似的概念或过程可能在某些实施例中不再赘述。下面将结合附图对本公开的实施例进行详细描述。The technical solution of the present invention and how the technical solution of the present invention solves the above-mentioned technical problems will be described in detail below with specific embodiments. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The embodiments of the present invention will be described in detail below with reference to the accompanying drawings.
图1是根据本公开的一种虚拟终端设备的信息提示方法的一个应用网络架构图。根据本公开实施例的应用网络架构中可以包括一个虚拟终端设备1以及一个与该虚拟终端设备通过局域网或者广域网进行网络连接的电子设备2,假设该电子设备2可以为手机、平板电脑、个人计算机、智能家电、可穿戴设备等终端设备,本公中对电子设备的具体类型并不作出过多限定。如图1所示,虚拟终端设备1中显示的目标页面可以被投屏至电子设备2中显示。显示于电子设备的投屏页面可以被触发。电子设备可以检测用户针对投屏页面 中任意位置执行的触发操作,获取第一页面位置。虚拟终端设备获取第一页面位置后可以确定其在目标页面的第二页面位置。可以在目标页面的第二页面位置处显示提示对象,对第一用户的触发点进行交互提示。参考图1,假设第一用户点击的第一页面位置为,该第一页面位置在目标页面对应的第二页面位置,可以在第二页面位置处显示亮点对象3。亮点对象的显示可以对电子设备对应的第一用户的点击操作位置进行准确提示,实现交互位置的提示,提高目标页面的提示效率和准确性。Figure 1 is an application network architecture diagram of an information prompting method for a virtual terminal device according to the present disclosure. The application network architecture according to the embodiment of the present disclosure may include a virtual terminal device 1 and an electronic device 2 connected to the virtual terminal device through a local area network or a wide area network. It is assumed that the electronic device 2 may be a mobile phone, a tablet computer, or a personal computer. , smart home appliances, wearable devices and other terminal devices. This document does not limit the specific types of electronic devices too much. As shown in Figure 1, the target page displayed in the virtual terminal device 1 can be projected to the electronic device 2 for display. The screen projection page displayed on the electronic device can be triggered. The electronic device can detect whether the user is targeting the screencasting page. Trigger operation executed anywhere in the page to obtain the first page position. After obtaining the first page position, the virtual terminal device can determine its second page position on the target page. The prompt object can be displayed at the second page position of the target page to interactively prompt the first user's trigger point. Referring to FIG. 1 , assuming that the first page position clicked by the first user is, the first page position is at the second page position corresponding to the target page, and the highlight object 3 can be displayed at the second page position. The display of the highlight object can accurately prompt the click operation position of the first user corresponding to the electronic device, realize the prompting of the interactive position, and improve the prompting efficiency and accuracy of the target page.
如图2所示,为本公开实施例提供的一种虚拟终端设备的信息提示方法的一个实施例的流程图,该信息提示方法可以包括以下步骤201至203。As shown in Figure 2, it is a flow chart of an embodiment of an information prompting method for a virtual terminal device provided by an embodiment of the present disclosure. The information prompting method may include the following steps 201 to 203.
201:响应于虚拟终端设备和电子设备的投屏状态,获取虚拟终端设备的目标页面投屏至电子设备的投屏页面中的第一页面位置;第一页面位置为电子设备检测第一用户针对投屏页面执行点击操作对应的页面位置坐标。201: In response to the screen projection status of the virtual terminal device and the electronic device, obtain the target page of the virtual terminal device and project it to the first page position in the screen projection page of the electronic device; the first page position is where the electronic device detects the target of the first user. The page position coordinates corresponding to the click operation on the screencasting page.
虚拟终端设备例如可以包括VR(Virtual Reality,虚拟现实)设备,AR(Augmented Reality,增强现实设备)等,具体如VR一体机、头戴式VR设备等,本实施例中对虚拟终端设备的具体类型并不做出过多限定。For example, virtual terminal equipment may include VR (Virtual Reality, virtual reality) equipment, AR (Augmented Reality, augmented reality equipment), etc., specifically such as VR all-in-one machines, head-mounted VR equipment, etc. In this embodiment, the specific details of the virtual terminal equipment Types are not too restrictive.
其中,虚拟终端设备和电子设备可以建立投屏关联,将虚拟终端设备的目标页面投屏至电子设备的屏幕中显示。若确定虚拟终端设备的目标页面可以被正常投屏至电子设备,可以确定虚拟终端设备和电子设备处于投屏状态。Among them, the virtual terminal device and the electronic device can establish a screen projection association, and the target page of the virtual terminal device can be projected onto the screen of the electronic device for display. If it is determined that the target page of the virtual terminal device can be normally projected to the electronic device, it can be determined that the virtual terminal device and the electronic device are in a screen projection state.
可选地,电子设备的显示屏幕可以为触控屏,第一用户可以针对触控屏执行点击操作。电子设备可以检测第一用户针对触控屏中显示的投屏页面执行的点击操作,可以获得该点击操作的屏幕坐标。将屏幕坐标转化为投屏页面对应坐标系中,获得第一页面位置。第一页面位置可以为投影页面的坐标系中的页面位置坐标。Optionally, the display screen of the electronic device may be a touch screen, and the first user may perform a click operation on the touch screen. The electronic device can detect a click operation performed by the first user on the screen projection page displayed on the touch screen, and obtain the screen coordinates of the click operation. Convert the screen coordinates into the coordinate system corresponding to the screen projection page to obtain the first page position. The first page position may be the page position coordinates in the coordinate system of the projected page.
可选地,目标页面可以指虚拟终端设备的显示屏幕当前显示的页面,可以为二维或三维的页面。二维的目标页面的深度信息可以为0。三维的目标页面的深度信息可以根据目标页面的页面数据读取获得。目标页面的页面数据可以为目标页面组建时生成。Optionally, the target page may refer to the page currently displayed on the display screen of the virtual terminal device, which may be a two-dimensional or three-dimensional page. The depth information of a two-dimensional target page can be 0. The depth information of the three-dimensional target page can be obtained by reading the page data of the target page. The page data of the target page can be generated when the target page is constructed.
电子设备中显示的页面可以称为投屏页面。投屏页面和目标页面可以为同一页面,采用不同的命名方式可以对不同设备显示的页面从名称上进行区分,并不指代两个页面是不同页面的含义。The page displayed on the electronic device can be called a screen projection page. The projection page and the target page can be the same page. Different naming methods can be used to distinguish the pages displayed on different devices in terms of names. This does not mean that the two pages are different pages.
将目标页面投屏至电子设备显示时,可以将目标页面对应的二维平面页面投屏至电子设备显示。该二维平面页面的坐标系可以和投影页面的坐标系相同。When projecting the target page to the electronic device for display, you can project the two-dimensional plane page corresponding to the target page to the electronic device for display. The coordinate system of the two-dimensional plane page can be the same as the coordinate system of the projected page.
202:根据第一页面位置,确定提示对象在目标页面对应的第二页面位置。202: Based on the first page position, determine the second page position of the prompt object corresponding to the target page.
第一页面位置在投屏页面所指示的对象可以和第二页面位置在目标页面所指示的对象 为同一对象。The object indicated by the first page position on the projection page can be the same as the object indicated by the second page position on the target page. for the same object.
通过确定第一页面位置在目标页面对应的第二页面位置,可以实现从电子设备的页面位置到虚拟终端设备的页面位置转换,以将第一用户与电子设备的交互内容,透射到虚拟终端设备中提示,使得虚拟终端设备的第二用户能够获知第一用户所执行的页面位置,实现交互位置的准确提示。By determining that the first page position is at the second page position corresponding to the target page, conversion from the page position of the electronic device to the virtual terminal device can be realized, so as to transmit the interactive content between the first user and the electronic device to the virtual terminal device The prompt enables the second user of the virtual terminal device to know the location of the page executed by the first user, thereby achieving accurate prompting of the interactive location.
203:在目标页面的第二页面位置处显示提示对象。203: Display the prompt object at the second page position of the target page.
在一个实施例中,在目标页面的第二页面位置处显示提示对象可以包括:显示目标页面,并修改在目标页面的第二位置处显示的元素的视觉指示。例如,当目标页面的第二处显示有页面元素时,可以通过修改该页面元素的视觉指示,如通过高亮突出显示该页面元素,从而让用户可以知道相应的操作位置。In one embodiment, displaying the prompt object at a second page position of the target page may include displaying the target page and modifying a visual indication of the element displayed at the second position of the target page. For example, when a page element is displayed in the second position of the target page, the visual indication of the page element can be modified, such as by highlighting the page element, so that the user can know the corresponding operation position.
可选地,在目标页面的第二页面位置处显示提示对象可以包括:显示目标页面,并在目标页面的第二位置处显示提示对象。Optionally, displaying the prompt object at the second page position of the target page may include: displaying the target page, and displaying the prompt object at the second position of the target page.
提示对象可以为对第一用户执行的点击操作的位置进行提示的页面元素,可以包括光标指示、特殊视觉元素如亮点、(手柄)射线等对象。The prompt object may be a page element that prompts the location of the click operation performed by the first user, and may include objects such as cursor indications and special visual elements such as highlights and (handle) rays.
本公开实施例中,虚拟终端设备可以响应于其与电子设备的投屏状态,获取虚拟终端设备的目标页面投屏至电子设备的投屏页面中的第一页面位置。第一页面位置可以为电子设备检测第一用户针对投屏页面执行点击操作对应的页面位置坐标。第一页面位置可以用于确定提示对象在目标页面的第二页面位置。在目标页面的第二页面位置处可以显示提示对象,实现从第一用户和电子设备的交互完成提示对象的显示,通过提示对象的显示可以使得第一用户的点击操作虚拟终端设备的目标页面中进行对应提示,实现针对性的位置提示,提高位置提示效率和准确性。In the embodiment of the present disclosure, the virtual terminal device may obtain the first page position of the target page of the virtual terminal device and project it to the screen projection page of the electronic device in response to the screen projection state between the virtual terminal device and the electronic device. The first page position may be used by the electronic device to detect the page position coordinates corresponding to the click operation performed by the first user on the screen projection page. The first page position may be used to determine the second page position of the prompt object on the target page. The prompt object can be displayed at the second page position of the target page to realize the display of the prompt object from the interaction between the first user and the electronic device. Through the display of the prompt object, the first user's click operation can be performed on the target page of the virtual terminal device. Carry out corresponding prompts to achieve targeted location prompts and improve the efficiency and accuracy of location prompts.
在一种可能的设计中,虚拟终端设备和电子设备之间可以通过服务器转发信息或者信号。例如电子设备的第一页面位置可以由服务器转发至虚拟终端设备。In one possible design, information or signals can be forwarded between the virtual terminal device and the electronic device through a server. For example, the first page position of the electronic device may be forwarded by the server to the virtual terminal device.
在实际应用中,为了提高提示效率,提示对象包括亮点对象。In practical applications, in order to improve prompt efficiency, prompt objects include highlight objects.
在目标页面的第二页面位置处显示提示对象,包括:Display prompt objects at the second page position of the target page, including:
在目标页面的第二页面位置处显示亮点对象。Display the highlight object at the second page position of the target page.
亮点对象可以包括含发光特效的点和/或圆圈的图像。亮点对象可以在目标页面的所在窗口层的上一层窗口中显示。第二页面位置可以为亮点对象的显示位置。在绘制亮点对象时,可以将第二页面位置作为绘制参数传输至亮点对象的绘制函数,实现亮点对象在第二页面位置的显示。Highlight objects can include images of dots and/or circles with glowing effects. The highlight object can be displayed in the upper window of the window layer where the target page is located. The second page position may be the display position of the highlight object. When drawing the highlight object, the second page position can be transferred as a drawing parameter to the drawing function of the highlight object to realize display of the highlight object at the second page position.
以亮点对象对目标页面的第二页面位置进行提示时,可以参考图1所示的亮点对象。 When using a highlight object to prompt the second page position of the target page, you can refer to the highlight object shown in Figure 1.
本公开实施例中,可以在目标页面的第二页面位置处显示亮点对象,亮点对象的显示可以对第一用户触发的页面位置在虚拟终端设备进行提示,提高提示效率和准确性。In the embodiment of the present disclosure, the highlight object can be displayed at the second page position of the target page, and the display of the highlight object can prompt the virtual terminal device for the page position triggered by the first user, thereby improving prompt efficiency and accuracy.
在实际应用中,为了进行更生动形象的提示,提示对象可以包括虚拟手指对象;在目标页面的第二页面位置处显示提示对象,包括:In practical applications, in order to provide a more vivid prompt, the prompt object can include a virtual finger object; the prompt object is displayed at the second page position of the target page, including:
在目标页面的第二页面位置作为虚拟手指对象的指尖关键点,以在指尖关键点对应显示虚拟手指对象。The second page position of the target page is used as the fingertip key point of the virtual finger object, so that the virtual finger object is displayed correspondingly at the fingertip key point.
虚拟手指对象可以为通过点和线绘制的手部图像,虚拟手指对象可以包括二维手部图像或者三维的手部图像。对于二维或三维的手部图像均可以将第二页面位置作为其指尖关键点的位置,实现以手指进行更形象的提示。The virtual finger object may be a hand image drawn by points and lines, and the virtual finger object may include a two-dimensional hand image or a three-dimensional hand image. For two-dimensional or three-dimensional hand images, the second page position can be used as the position of the key point of the fingertip to achieve a more vivid prompt with the finger.
以虚拟手指对象提示时,如图3所示,可以在虚拟终端设备的目标页面的第二位置处可以显示虚拟手指对象4。When prompted with a virtual finger object, as shown in FIG. 3 , the virtual finger object 4 may be displayed at the second position of the target page of the virtual terminal device.
本公开实施例中,通过虚拟手指对象的提示可以实现更立体的位置提示,对虚拟终端设备的操作位置进行更有效的提示,达到提高提示效率。In the embodiment of the present disclosure, a more three-dimensional position prompt can be achieved through the prompt of the virtual finger object, and the operating position of the virtual terminal device can be more effectively prompted to improve prompt efficiency.
在直接进行位置提示时,作为一个实施例,根据第一页面位置,确定提示对象在目标页面对应的第二页面位置,可以包括:When directly performing a location prompt, as an example, determining the second page location of the prompt object corresponding to the target page based on the first page location may include:
将第一页面位置作为提示对象在目标页面的第二页面位置。The first page position is used as the prompt object in the second page position of the target page.
可以直接将第一页面位置作为提示对象在目标页面的第二页面位置。The first page position may be directly used as the second page position of the prompt object on the target page.
当然,为了使页面位置的准确度更高,可以考虑虚拟终端设备的显示屏幕和电子设备的显示屏幕的尺寸差异,可以确定两个显示屏幕对应位置转换关系,通过位置转换关系可以将第一页面位置转换为第二页面位置。位置转换关系可以指两个显示屏幕的长度比例和宽度比例。可以将第一页面位置的第一横坐标和长度比例进行比例计算,获得第二横坐标;将第一页面位置的第一纵坐标和宽度比例进行比例计算,获得第二纵坐标。可以确定第二横坐标和第二纵坐标对应的第二页面位置。Of course, in order to make the page position more accurate, the size difference between the display screen of the virtual terminal device and the display screen of the electronic device can be considered, and the corresponding position conversion relationship of the two display screens can be determined. Through the position conversion relationship, the first page can be The position is converted to the second page position. The position conversion relationship can refer to the length ratio and width ratio of the two display screens. The first abscissa of the first page position and the length ratio can be proportionally calculated to obtain the second abscissa; the first ordinate of the first page position and the width ratio can be proportionally calculated to obtain the second ordinate. The second page position corresponding to the second abscissa and the second ordinate can be determined.
本实施例中,在以亮点对象或者虚拟手指对象作为提示目标进行提示时,可以直接将第一页面位置作为提示对象在目标页面的第二页面位置,通过页面位置的直接映射可以对第一用户所执行的点击操作对应的页面位置进行有效提示,提高页面位置的提示效率。In this embodiment, when a highlight object or a virtual finger object is used as the prompt target for prompting, the first page position can be directly used as the prompt object at the second page position of the target page, and the first user can be directly mapped through the direct mapping of the page position. The page position corresponding to the executed click operation is effectively prompted to improve the efficiency of page position prompting.
作为又一个实施例,提示对象包括手柄射线提示对象;As another embodiment, the prompt object includes a handle ray prompt object;
在目标页面的第二页面位置处显示提示对象,包括:Display prompt objects at the second page position of the target page, including:
以第二页面位置为手柄射线终点,结合手柄射线起点,确定手柄射线对象;Taking the second page position as the end point of the handle ray, combined with the starting point of the handle ray, determine the handle ray object;
在显示目标页面的同时显示手柄射线对象。Displays the handle ray object while displaying the target page.
手柄射线对象可以为通过手柄建立的一条射线,射线的端点可以为第二页面位置。 The handle ray object may be a ray established through the handle, and the endpoint of the ray may be the second page position.
参考图4,可以在虚拟终端设备的显示页面中可以显示手柄射线5,通过手柄射线5的提示可以对第一用户触发的页面位置进行提示。Referring to FIG. 4 , the handle ray 5 can be displayed on the display page of the virtual terminal device, and the prompt of the handle ray 5 can prompt the page position triggered by the first user.
本公开实施例中,可以将手柄射线对象作为目标页面的提示对象,实现模拟用户操作的射线提示,通过射线对象的提示可以以更直观的提示对象进行提示,提高提示效率。In the disclosed embodiment, the handle ray object can be used as the prompt object of the target page to implement ray prompts that simulate user operations. The prompts of the ray objects can be more intuitive, thereby improving prompt efficiency.
虚拟终端设备显示的目标页面可以为三维图形页面,实现立体显示。而电子设备的显示屏幕一般可以显示二维的图像。因此,需要在进行手柄射线显示时需要增加深度信息。The target page displayed by the virtual terminal device can be a three-dimensional graphics page to achieve three-dimensional display. The display screen of electronic equipment can generally display two-dimensional images. Therefore, it is necessary to add depth information when displaying handle rays.
作为一个实施例,根据第一页面位置,确定提示对象在目标页面对应的第二页面位置,包括:As an embodiment, determining the second page position of the prompt object corresponding to the target page according to the first page position includes:
根据目标页面中第一页面位置对应的深度坐标;According to the depth coordinate corresponding to the first page position in the target page;
根据第一页面位置中的横坐标和纵坐标,结合深度坐标,进行坐标组合,获得的目标坐标点;According to the abscissa and ordinate in the first page position, combined with the depth coordinate, the coordinates are combined to obtain the target coordinate point;
确定目标坐标点为提示对象在目标页面对应的第二页面位置。The target coordinate point is determined to be the second page position corresponding to the prompt object on the target page.
可选地,目标页面的第一页面位置对应的深度坐标可以通过确定第一页面位置在目标页面对应的三维坐标系确定。第一页面位置可以作为三维坐标系中XY轴平面上的一点,则该点在三维坐标系的Z轴对应取值可以作为深度坐标。横坐标可以使用X1表示,纵坐标可以使用Y1表示,深度坐标可以使用Z1表示,则目标坐标点可以表示为(X1,Y1,Z1)。Optionally, the depth coordinate corresponding to the first page position of the target page can be determined by determining the first page position in the three-dimensional coordinate system corresponding to the target page. The first page position can be used as a point on the XY axis plane in the three-dimensional coordinate system, and the corresponding value of the point on the Z axis of the three-dimensional coordinate system can be used as the depth coordinate. The abscissa coordinate can be represented by X1, the ordinate coordinate can be represented by Y1, and the depth coordinate can be represented by Z1. Then the target coordinate point can be represented as (X1, Y1, Z1).
本公开实施例中,在获取第二页面位置时,可以获得第一页面位置在目标页面中的深度坐标,将第一页面位置的横坐标、纵坐标结合深度坐标进行坐标组合,获得第二页面位置。第二页面位置可以作为提示对象在目标页面的第二页面位置。通过深度坐标的获取可以获得准确的三维位置点,实现从二维的第一页面位置到三维的第二页面位置的确定,提高第二页面位置的准确度。In the embodiment of the present disclosure, when obtaining the second page position, the depth coordinate of the first page position in the target page can be obtained, and the abscissa and vertical coordinates of the first page position are combined with the depth coordinate for coordinate combination to obtain the second page Location. The second page position can be used as a prompt object in the second page position of the target page. By obtaining the depth coordinates, an accurate three-dimensional position point can be obtained, which enables determination of the two-dimensional first page position to the three-dimensional second page position and improves the accuracy of the second page position.
在某些实施例中,以第二页面位置为手柄射线终点,结合手柄射线起点,确定手柄射线对象,包括:In some embodiments, using the second page position as the end point of the handle ray and combining it with the starting point of the handle ray, determining the handle ray object includes:
确定第二页面位置为手柄射线终点;Determine the second page position as the end point of the handle ray;
根据手柄射线终点和手柄射线起点,确定手柄射线长度和手柄射线方向;According to the handle ray end point and handle ray starting point, determine the handle ray length and handle ray direction;
按照手柄射线长度和手柄射线方向,生成手柄射线对象。Generate a handle ray object according to the handle ray length and handle ray direction.
第二页面位置可以为手柄射线终点,也即手柄射线的端点。The second page position can be the end point of the handle ray, that is, the end point of the handle ray.
手柄射线起点可以根据预设虚拟手柄的位置点确定。虚拟手柄可以为虚拟终端设备中设置的手柄图像,可以显示也可以不显示,虚拟手柄的位置点可以设置于目标页面的任意位置。当然,虚拟手柄的位置点可以受第二用户的移动操作不断更新。 The starting point of the handle ray can be determined based on the position point of the preset virtual handle. The virtual handle can be a handle image set in the virtual terminal device, which can be displayed or not displayed. The position point of the virtual handle can be set at any position on the target page. Of course, the position point of the virtual handle can be continuously updated by the movement operation of the second user.
本公开实施例中,可以根据手柄射线的起点和手柄射线的终点,对手柄射线的长度和手柄射线的方向进行确定,获得准确的手柄射线。In the embodiment of the present disclosure, the length of the handle ray and the direction of the handle ray can be determined based on the starting point of the handle ray and the end point of the handle ray, so as to obtain an accurate handle ray.
如图5所示,为本公开实施例提供的一种虚拟终端设备的信息提示方法的一个实施例的流程图,该方法可以包括以下几个步骤:As shown in Figure 5, it is a flow chart of an embodiment of an information prompting method for a virtual terminal device provided by an embodiment of the present disclosure. The method may include the following steps:
501:响应于虚拟终端设备和电子设备的投屏状态,显示虚拟终端设备的目标页面投屏后的投屏页面;501: In response to the projection status of the virtual terminal device and the electronic device, display the projection page of the target page of the virtual terminal device;
502:检测第一用户针对投屏页面执行点击操作对应的页面位置坐标,获得第一页面位置;502: Detect the page position coordinates corresponding to the first user's click operation on the screen projection page, and obtain the first page position;
503:发送第一页面位置至虚拟终端设备,第一页面位置指示在虚拟终端设备的目标页面中的第二页面位置显示提示对象。503: Send the first page position to the virtual terminal device, and the first page position indicates that the prompt object is displayed at the second page position in the target page of the virtual terminal device.
虚拟终端设备可以将目标页面投屏至电子设备显示。本公开的技术方案可以由电子设备执行。电子设备的输出装置可以为触控屏。第一用户可以使用第一用户账号登录电子设备。第二用户可以使用第二用户账号登录虚拟终端设备。第一用户账号和第二用户账号可以不同。电子设备和虚拟终端设备可以通过全局网络建立通信连接。The virtual terminal device can project the target page to the electronic device for display. The technical solutions of the present disclosure can be executed by electronic devices. The output device of the electronic device may be a touch screen. The first user can log in to the electronic device using the first user account. The second user can log in to the virtual terminal device using the second user account. The first user account and the second user account may be different. Electronic devices and virtual terminal devices can establish communication connections through the global network.
本公开实施例中,电子设备可以在于虚拟终端设备处于投屏状态时,显示虚拟终端设备的目标页面投屏后的投屏页面。第一用户可以针对投屏页面执行点击操作,电子设备可以通过检测该点击操作对应的页面位置坐标获得第一页面位置。通过第一页面位置的获取,可以将第一页面位置在虚拟终端设备的目标页面对应的第二页面位置处显示提示对象。实现通过电子设备的交互对虚拟终端设备的位置提示,提高电子设备与虚拟终端设备的交互提示,提高提示效率。In the embodiment of the present disclosure, the electronic device may display the projected screen page of the target page of the virtual terminal device when the virtual terminal device is in the screen casting state. The first user can perform a click operation on the screen projection page, and the electronic device can obtain the first page position by detecting the page position coordinates corresponding to the click operation. By obtaining the first page position, the first page position can be displayed as a prompt object at a second page position corresponding to the target page of the virtual terminal device. Realize the location prompt of the virtual terminal device through the interaction of the electronic device, improve the interactive prompt between the electronic device and the virtual terminal device, and improve the prompt efficiency.
如图6所示,为本公开实施例提供的一种虚拟终端设备的信息提示装置的一个实施例的结构示意图,信息提示装置600可以包括以下几个单元:As shown in Figure 6, it is a structural schematic diagram of an embodiment of an information prompting device for a virtual terminal device provided by an embodiment of the present disclosure. The information prompting device 600 may include the following units:
第一响应单元601:用于响应于虚拟终端设备和电子设备的投屏状态,确定虚拟终端设备的目标页面投屏至电子设备的投屏页面中的第一页面位置;第一页面位置为电子设备检测第一用户针对投屏页面执行点击操作对应的页面位置坐标;First response unit 601: configured to respond to the projection status of the virtual terminal device and the electronic device and determine that the target page of the virtual terminal device is projected to the first page position in the projection page of the electronic device; the first page position is the electronic device. The device detects the page position coordinates corresponding to the click operation performed by the first user on the screen projection page;
位置确定单元602:用于根据第一页面位置,确定提示对象在目标页面对应的第二页面位置;Position determining unit 602: used to determine the second page position of the prompt object corresponding to the target page according to the first page position;
对象显示单元603:用于在目标页面的第二页面位置处显示提示对象。Object display unit 603: used to display the prompt object at the second page position of the target page.
作为一个实施例,提示对象包括亮点对象;对象显示单元,包括:As an embodiment, the prompt object includes a highlight object; the object display unit includes:
第一显示模块,用于在目标页面的第二页面位置处显示亮点对象。The first display module is used to display the highlight object at the second page position of the target page.
作为又一个实施例,提示对象包括虚拟手指对象;对象显示单元,包括: As another embodiment, the prompt object includes a virtual finger object; the object display unit includes:
第二显示模块,用于在目标页面的第二页面位置作为虚拟手指对象的指尖关键点,以在指尖关键点对应显示虚拟手指对象。The second display module is configured to use the second page position of the target page as the fingertip key point of the virtual finger object, so as to display the virtual finger object correspondingly at the fingertip key point.
在某些实施例中,位置确定单元,包括:In some embodiments, the location determination unit includes:
第一确定模块,用于将第一页面位置作为提示对象在目标页面的第二页面位置。The first determination module is configured to use the first page position as the prompt object in the second page position of the target page.
作为又一个实施例,提示对象包括手柄射线提示对象;As another embodiment, the prompt object includes a handle ray prompt object;
对象显示单元,包括:Object display unit, comprising:
对象确定模块,用于以第二页面位置为手柄射线终点,结合手柄射线起点,确定手柄射线对象;The object determination module is used to determine the handle ray object by taking the second page position as the end point of the handle ray and combining it with the starting point of the handle ray;
第三显示模块,用于在显示目标页面的同时显示手柄射线对象。The third display module is used to display the handle ray object while displaying the target page.
在某些实施例中,位置确定单元,包括:In some embodiments, the location determination unit includes:
深度获取模块,用于根据目标页面中第一页面位置对应的深度坐标;Depth acquisition module, used for depth coordinates corresponding to the position of the first page in the target page;
第二确定模块,用于根据第一页面位置中的横坐标和纵坐标,结合深度坐标,进行坐标组合,获得的目标坐标点为提示对象在目标页面对应的第二页面位置。The second determination module is used to perform coordinate combination according to the abscissa and ordinate in the first page position and the depth coordinate. The obtained target coordinate point is the second page position corresponding to the prompt object on the target page.
作为一个实施例,对象确定模块,可以包括:As an example, the object determination module may include:
终点确定子模块,用于确定第二页面位置为手柄射线终点;An end point determination submodule, used to determine the second page position as the end point of the handle ray;
射线确定子模块,用于根据手柄射线终点和手柄射线起点,确定手柄射线长度和手柄射线方向;The ray determination submodule is used to determine the handle ray length and handle ray direction based on the handle ray end point and handle ray starting point;
对象生成子模块,用于按照手柄射线长度和手柄射线方向,生成手柄射线对象。The object generation submodule is used to generate handle ray objects according to the handle ray length and handle ray direction.
如图7所示,为本公开实施例提供的一种虚拟终端设备的信息提示装置的又一个实施例的结构示意图,信息提示装置可以包括以下几个单元:As shown in Figure 7, it is a schematic structural diagram of another embodiment of an information prompting device for a virtual terminal device provided by an embodiment of the present disclosure. The information prompting device may include the following units:
第二响应单元701:用于响应于虚拟终端设备和电子设备的投屏状态,显示虚拟终端设备的目标页面投屏后的投屏页面;The second response unit 701 is configured to respond to the projection status of the virtual terminal device and the electronic device and display the projection page of the target page of the virtual terminal device after projection;
位置检测单元702:用于检测第一用户针对投屏页面执行点击操作对应的页面位置坐标,获得第一页面位置;Position detection unit 702: used to detect the page position coordinates corresponding to the first user's click operation on the screen projection page, and obtain the first page position;
位置发送单元703:用于发送第一页面位置至虚拟终端设备,第一页面位置指示在虚拟终端设备的目标页面中的第二页面位置显示提示对象。Position sending unit 703: configured to send the first page position to the virtual terminal device, and the first page position indicates that the prompt object is displayed at the second page position in the target page of the virtual terminal device.
本实施例提供的装置,可用于执行上述方法实施例的技术方案,其实现原理和技术效果类似,本实施例此处不再赘述。The device provided in this embodiment can be used to execute the technical solutions of the above method embodiments. Its implementation principles and technical effects are similar, and will not be described again in this embodiment.
为了实现上述实施例,本公开实施例还提供了一种电子设备。In order to implement the above embodiments, embodiments of the present disclosure also provide an electronic device.
参考图8,其示出了适于用来实现本公开实施例的电子设备800的结构示意图,该电子设备800可以为终端设备或服务器。其中,终端设备可以包括但不限于诸如移动电话、 笔记本电脑、数字广播接收器、个人数字助理(Personal Digital Assistant,简称PDA)、平板电脑(Portable Android Device,简称PAD)、便携式多媒体播放器(Portable Media Player,简称PMP)、车载终端(例如车载导航终端)等等的移动终端以及诸如数字TV、台式计算机等等的固定终端。图8示出的电子设备仅仅是一个示例,不应对本公开实施例的功能和使用范围带来任何限制。Referring to FIG. 8 , a schematic structural diagram of an electronic device 800 suitable for implementing an embodiment of the present disclosure is shown. The electronic device 800 may be a terminal device or a server. Terminal devices may include, but are not limited to, mobile phones, Laptops, digital broadcast receivers, personal digital assistants (PDAs), tablets (Portable Android Devices, PADs), portable media players (PMPs), vehicle-mounted terminals (such as car navigation mobile terminals), etc., as well as fixed terminals such as digital TVs, desktop computers, etc. The electronic device shown in FIG. 8 is only an example and should not impose any limitations on the functions and scope of use of the embodiments of the present disclosure.
如图8所示,电子设备800可以包括处理装置(例如中央处理器、图形处理器等)801,其可以根据存储在只读存储器(Read Only Memory,简称ROM)802中的程序或者从存储装置808加载到随机访问存储器(Random Access Memory,简称RAM)803中的程序而执行各种适当的动作和处理。在RAM 803中,还存储有电子设备800操作所需的各种程序和数据。处理装置801、ROM 802以及RAM 803通过总线804彼此相连。输入/输出(I/O)接口805也连接至总线804。As shown in Figure 8, the electronic device 800 may include a processing device (such as a central processing unit, a graphics processor, etc.) 801, which may process data according to a program stored in a read-only memory (Read Only Memory, ROM for short) 802 or from a storage device. 808 loads the program in Random Access Memory (RAM) 803 to perform various appropriate actions and processing. In the RAM 803, various programs and data required for the operation of the electronic device 800 are also stored. The processing device 801, ROM 802 and RAM 803 are connected to each other via a bus 804. An input/output (I/O) interface 805 is also connected to bus 804.
通常,以下装置可以连接至I/O接口805:包括例如触摸屏、触摸板、键盘、鼠标、摄像头、麦克风、加速度计、陀螺仪等的输入装置806;包括例如液晶显示器(Liquid Crystal Display,简称LCD)、扬声器、振动器等的输出装置807;包括例如磁带、硬盘等的存储装置808;以及通信装置809。通信装置809可以允许电子设备800与其他设备进行无线或有线通信以交换数据。虽然图8示出了具有各种装置的电子设备800,但是应理解的是,并不要求实施或具备所有示出的装置。可以替代地实施或具备更多或更少的装置。Generally, the following devices can be connected to the I/O interface 805: input devices 806 including, for example, a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; including, for example, a Liquid Crystal Display (LCD). ), an output device 807 such as a speaker, a vibrator, etc.; a storage device 808 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 809. The communication device 809 may allow the electronic device 800 to communicate wirelessly or wiredly with other devices to exchange data. Although FIG. 8 illustrates an electronic device 800 having various means, it should be understood that implementation or availability of all illustrated means is not required. More or fewer means may alternatively be implemented or provided.
特别地,根据本公开的实施例,上文参考流程图描述的过程可以被实现为计算机软件程序。例如,本公开的实施例包括一种计算机程序产品,其包括承载在计算机可读介质上的计算机程序,该计算机程序包含用于执行流程图所示的方法的程序代码。在这样的实施例中,该计算机程序可以通过通信装置809从网络上被下载和安装,或者从存储装置808被安装,或者从ROM 802被安装。在该计算机程序被处理装置801执行时,执行本公开实施例的方法中限定的上述功能。In particular, according to embodiments of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product including a computer program carried on a computer-readable medium, the computer program containing program code for performing the method illustrated in the flowchart. In such embodiments, the computer program may be downloaded and installed from the network via communication device 809, or from storage device 808, or from ROM 802. When the computer program is executed by the processing device 801, the above-mentioned functions defined in the method of the embodiment of the present disclosure are performed.
需要说明的是,本公开上述的计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质或者是上述两者的任意组合。计算机可读存储介质例如可以是——但不限于——电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。计算机可读存储介质的更具体的例子可以包括但不限于:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、随机访问存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器((Erasable Programmable Read Only Memory,EPROM)或闪存)、光纤、便携式紧凑磁盘只读存储器(Compact Disc Read Only Memory,CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。在本公开中,计算机可读存储介质可以是任何包含 或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。而在本公开中,计算机可读信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了计算机可读的程序代码。这种传播的数据信号可以采用多种形式,包括但不限于电磁信号、光信号或上述的任意合适的组合。计算机可读信号介质还可以是计算机可读存储介质以外的任何计算机可读介质,该计算机可读信号介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。计算机可读介质上包含的程序代码可以用任何适当的介质传输,包括但不限于:电线、光缆、射频(Radio Frequency,RF)等等,或者上述的任意合适的组合。It should be noted that the computer-readable medium mentioned above in the present disclosure 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 is not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus or device, or any combination thereof. More specific examples of computer readable storage media may include, but are not limited to: an electrical connection having one or more wires, a portable computer disk, a hard drive, random access memory (RAM), read only memory (ROM), removable Programmable read-only memory (Erasable Programmable Read Only Memory, EPROM or flash memory), optical fiber, portable compact disk read-only memory (Compact Disc Read Only Memory, CD-ROM), optical storage device, magnetic storage device, or any of the above The right combination. In this disclosure, a computer-readable storage medium may be any computer-readable storage medium containing or a tangible medium storing a program for use by or in connection with an instruction execution system, apparatus, or device. In the present disclosure, a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, carrying computer-readable program code therein. Such propagated data signals may take many forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium that can send, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device . Program code contained on a computer-readable medium can be transmitted using any appropriate medium, including but not limited to: wires, optical cables, radio frequency (Radio Frequency, RF), etc., or any suitable combination of the above.
上述计算机可读介质可以是上述电子设备中所包含的;也可以是单独存在,而未装配入该电子设备中。The above-mentioned computer-readable medium may be included in the above-mentioned electronic device; it may also exist independently without being assembled into the electronic device.
上述计算机可读介质承载有一个或者多个程序,当上述一个或者多个程序被该电子设备执行时,使得该电子设备执行上述实施例所示的方法。The computer-readable medium carries one or more programs. When the one or more programs are executed by the electronic device, the electronic device performs the method shown in the above embodiment.
可以以一种或多种程序设计语言或其组合来编写用于执行本公开的操作的计算机程序代码,上述程序设计语言包括面向对象的程序设计语言—诸如Java、Smalltalk、C++,还包括常规的过程式程序设计语言—诸如“C”语言或类似的程序设计语言。程序代码可以完全地在用户计算机上执行、部分地在用户计算机上执行、作为一个独立的软件包执行、部分在用户计算机上部分在远程计算机上执行、或者完全在远程计算机或服务器上执行。在涉及远程计算机的情形中,远程计算机可以通过任意种类的网络——包括局域网(Local Area Network,简称LAN)或广域网(Wide Area Network,简称WAN)—连接到用户计算机,或者,可以连接到外部计算机(例如利用因特网服务提供商来通过因特网连接)。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 remote computers, 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., via the Internet using an Internet service provider).
附图中的流程图和框图,图示了按照本公开各种实施例的系统、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段、或代码的一部分,该模块、程序段、或代码的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。也应当注意,在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个接连地表示的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以用执行规定的功能或操作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operations of possible implementations of systems, methods, and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagram may represent a module, segment, or portion of code that contains one or more logic functions that implement the specified executable instructions. It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown one after another may actually execute substantially in parallel, or they may sometimes execute in the reverse order, depending on the functionality involved. It will also be noted that each block of the block diagram and/or flowchart illustration, and combinations of blocks in the block diagram and/or flowchart illustration, can be implemented by special purpose hardware-based systems that perform the specified functions or operations. , or can be implemented using a combination of specialized hardware and computer instructions.
描述于本公开实施例中所涉及到的单元可以通过软件的方式实现,也可以通过硬件的方式来实现。其中,单元的名称在某种情况下并不构成对该单元本身的限定,例如,第一 获取单元还可以被描述为“获取至少两个网际协议地址的单元”。The units involved in the embodiments of the present disclosure can be implemented in software or hardware. Among them, the name of a unit does not constitute a limitation on the unit itself under certain circumstances. For example, the first The acquisition unit may also be described as "a unit that acquires at least two Internet Protocol addresses."
本文中以上描述的功能可以至少部分地由一个或多个硬件逻辑部件来执行。例如,非限制性地,可以使用的示范类型的硬件逻辑部件包括:现场可编程门阵列(Field-Programmable Gate Array,FPGA)、专用集成电路(Application Specific Integrated Circuit,ASIC)、专用标准产品(Application Specific Standard Part,ASSP)、片上系统(System On Chip,SOC)、复杂可编程逻辑设备(Complex Programmable Logic Device,CPLD)等等。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 can be used include: Field-Programmable Gate Array (FPGA), Application Specific Integrated Circuit (Application Specific Integrated Circuit, ASIC), Application Specification Standard Product (Application Specification) Specific Standard Part (ASSP), System On Chip (SOC), Complex Programmable Logic Device (CPLD), etc.
在本公开的上下文中,机器可读介质可以是有形的介质,其可以包含或存储以供指令执行系统、装置或设备使用或与指令执行系统、装置或设备结合地使用的程序。机器可读介质可以是机器可读信号介质或机器可读储存介质。机器可读介质可以包括但不限于电子的、磁性的、光学的、电磁的、红外的、或半导体系统、装置或设备,或者上述内容的任何合适组合。机器可读存储介质的更具体示例可以包括基于一个或多个线的电气连接、便携式计算机盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦除可编程只读存储器(EPROM或快闪存储器)、光纤、便捷式紧凑盘只读存储器(CD-ROM)、光学储存设备、磁储存设备、或上述内容的任何合适组合。In the context of this disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. Machine-readable media may include, but are not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or devices, or any suitable combination of the foregoing. More specific examples of machine-readable storage media may include an electrical connection based on one or more wires, a portable computer disk, a hard disk, random access memory (RAM), read only memory (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the above.
第一方面,根据本公开的一个或多个实施例,提供了一种虚拟终端设备的信息提示方法,包括:In a first aspect, according to one or more embodiments of the present disclosure, an information prompting method for a virtual terminal device is provided, including:
响应于虚拟终端设备和电子设备的投屏状态,获取虚拟终端设备的目标页面投屏至电子设备的投屏页面中的第一页面位置;第一页面位置为电子设备检测第一用户针对投屏页面执行点击操作对应的页面位置坐标;In response to the screen casting status of the virtual terminal device and the electronic device, obtain the target page of the virtual terminal device and cast it to the first page position in the screen casting page of the electronic device; the first page position is where the electronic device detects the first user's target for screen casting The page position coordinates corresponding to the click operation on the page;
根据第一页面位置,确定提示对象在目标页面对应的第二页面位置;According to the first page position, determine the prompt object's second page position corresponding to the target page;
在目标页面的第二页面位置处显示提示对象。Display the prompt object at the second page position of the target page.
根据本公开的一个或多个实施例,提示对象包括亮点对象;According to one or more embodiments of the present disclosure, the prompt object includes a highlight object;
在目标页面的第二页面位置处显示提示对象,包括:Display prompt objects at the second page position of the target page, including:
在目标页面的第二页面位置处显示亮点对象。Display the highlight object at the second page position of the target page.
根据本公开的一个或多个实施例,提示对象包括虚拟手指对象;在目标页面的第二页面位置处显示提示对象,包括:According to one or more embodiments of the present disclosure, the prompt object includes a virtual finger object; displaying the prompt object at the second page position of the target page includes:
在目标页面的第二页面位置作为虚拟手指对象的指尖关键点,以在指尖关键点对应显示虚拟手指对象。The second page position of the target page is used as the fingertip key point of the virtual finger object, so that the virtual finger object is displayed correspondingly at the fingertip key point.
根据本公开的一个或多个实施例,根据第一页面位置,确定提示对象在目标页面对应的第二页面位置,包括: According to one or more embodiments of the present disclosure, determining the second page position of the prompt object corresponding to the target page according to the first page position includes:
将第一页面位置作为提示对象在目标页面的第二页面位置。The first page position is used as the prompt object in the second page position of the target page.
根据本公开的一个或多个实施例,提示对象包括手柄射线提示对象;According to one or more embodiments of the present disclosure, the prompt object includes a handle ray prompt object;
在目标页面的第二页面位置处显示提示对象,包括:Display prompt objects at the second page position of the target page, including:
以第二页面位置为手柄射线终点,结合手柄射线起点,确定手柄射线对象;Taking the second page position as the end point of the handle ray, combined with the starting point of the handle ray, determine the handle ray object;
在显示目标页面的同时显示手柄射线对象。Displays the handle ray object while displaying the target page.
根据本公开的一个或多个实施例,根据第一页面位置,确定提示对象在目标页面对应的第二页面位置,包括:According to one or more embodiments of the present disclosure, determining the second page position of the prompt object corresponding to the target page according to the first page position includes:
根据目标页面中第一页面位置对应的深度坐标;According to the depth coordinate corresponding to the first page position in the target page;
根据第一页面位置中的横坐标和纵坐标,结合深度坐标,进行坐标组合,获得的目标坐标点;According to the abscissa and ordinate in the first page position, combined with the depth coordinate, the coordinates are combined to obtain the target coordinate point;
确定目标坐标点为提示对象在目标页面对应的第二页面位置。The target coordinate point is determined to be the second page position of the prompt object corresponding to the target page.
根据本公开的一个或多个实施例,以第二页面位置为手柄射线终点,结合手柄射线起点,确定手柄射线对象,包括:According to one or more embodiments of the present disclosure, using the second page position as the end point of the handle ray, combined with the starting point of the handle ray, determining the handle ray object includes:
确定第二页面位置为手柄射线终点;Determine the second page position as the end point of the handle ray;
根据手柄射线终点和手柄射线起点,确定手柄射线长度和手柄射线方向;According to the handle ray end point and handle ray starting point, determine the handle ray length and handle ray direction;
按照手柄射线长度和手柄射线方向,生成手柄射线对象。Generate a handle ray object according to the handle ray length and handle ray direction.
第二方面,根据本公开的一个或多个实施例,提供了一种虚拟终端设备的信息提示方法,包括:In a second aspect, according to one or more embodiments of the present disclosure, an information prompting method for a virtual terminal device is provided, including:
响应于虚拟终端设备和电子设备的投屏状态,显示虚拟终端设备的目标页面投屏后的投屏页面;In response to the screen projection status of the virtual terminal device and the electronic device, display the screen projection page of the target page of the virtual terminal device;
检测第一用户针对投屏页面执行点击操作对应的页面位置坐标,获得第一页面位置;Detecting the page position coordinates corresponding to a click operation performed by the first user on the projection page to obtain the first page position;
发送第一页面位置至虚拟终端设备,第一页面位置指示在虚拟终端设备的目标页面中的第二页面位置显示提示对象。The first page position is sent to the virtual terminal device, and the first page position indicates that the prompt object is displayed at a second page position in the target page of the virtual terminal device.
第三方面,根据本公开的一个或多个实施例,提供了一种虚拟终端设备的信息提示装置,包括:In a third aspect, according to one or more embodiments of the present disclosure, an information prompting device for a virtual terminal device is provided, including:
第一响应单元,用于响应于虚拟终端设备和电子设备的投屏状态,确定虚拟终端设备的目标页面投屏至电子设备的投屏页面中的第一页面位置;第一页面位置为电子设备检测第一用户针对投屏页面执行点击操作对应的页面位置坐标;The first response unit is configured to respond to the projection status of the virtual terminal device and the electronic device and determine that the target page of the virtual terminal device is projected to the first page position in the projection page of the electronic device; the first page position is the electronic device Detect the page position coordinates corresponding to the click operation performed by the first user on the screen projection page;
位置确定单元,用于根据第一页面位置,确定提示对象在目标页面对应的第二页面位置;a position determination unit, configured to determine the second page position of the prompt object corresponding to the target page based on the first page position;
对象显示单元,用于在目标页面的第二页面位置处显示提示对象。 The object display unit is used to display the prompt object at the second page position of the target page.
第四方面,根据本公开的一个或多个实施例,提供了一种虚拟终端设备的信息提示方法,包括:In a fourth aspect, according to one or more embodiments of the present disclosure, an information prompting method for a virtual terminal device is provided, including:
第二响应单元,用于响应于虚拟终端设备和电子设备的投屏状态,显示虚拟终端设备的目标页面投屏后的投屏页面;The second response unit is configured to respond to the projection status of the virtual terminal device and the electronic device and display the projection page of the target page of the virtual terminal device after projection;
位置检测单元,用于检测第一用户针对投屏页面执行点击操作对应的页面位置坐标,获得第一页面位置;A position detection unit, used to detect the page position coordinates corresponding to the click operation performed by the first user on the screen projection page, and obtain the first page position;
位置发送单元,用于发送第一页面位置至虚拟终端设备,第一页面位置指示在虚拟终端设备的目标页面中的第二页面位置显示提示对象。The position sending unit is configured to send the first page position to the virtual terminal device, and the first page position indicates that the prompt object is displayed at the second page position in the target page of the virtual terminal device.
第五方面,根据本公开的一个或多个实施例,提供了一种电子设备,包括:至少一个处理器和存储器;In a fifth aspect, according to one or more embodiments of the present disclosure, an electronic device is provided, including: at least one processor and a memory;
存储器存储计算机执行指令;Memory stores instructions for execution by the computer;
至少一个处理器执行存储器存储的计算机执行指令,使得至少一个处理器执行如上第一方面以及第一方面各种可能的设计的虚拟终端设备的信息提示方法。At least one processor executes the computer execution instructions stored in the memory, so that the at least one processor executes the information prompting method of the virtual terminal device of the first aspect and various possible designs of the first aspect.
第六方面,根据本公开的一个或多个实施例,提供了一种计算机可读存储介质,计算机可读存储介质中存储有计算机执行指令,当处理器执行计算机执行指令时,实现如上第一方面以及第一方面各种可能的设计的虚拟终端设备的信息提示方法。In a sixth aspect, according to one or more embodiments of the present disclosure, a computer-readable storage medium is provided. Computer-executable instructions are stored in the computer-readable storage medium. When the processor executes the computer-executed instructions, the first step above is implemented. Aspects and the first aspect include information prompting methods of various possible designs of virtual terminal devices.
第七方面,根据本公开的一个或多个实施例,提供了一种计算机程序产品,包括计算机程序,计算机程序被处理器执行时实现如上第一方面以及第一方面各种可能的设计的虚拟终端设备的信息提示方法。In a seventh aspect, according to one or more embodiments of the present disclosure, a computer program product is provided, including a computer program. When the computer program is executed by a processor, the computer program implements the above first aspect and the virtualization of various possible designs of the first aspect. Information prompt method for terminal equipment.
第八方面,根据本公开的一个或多个实施例,提供了一种计算机程序,其被处理器执行以实现如上第一方面以及第一方面各种可能的设计的虚拟终端设备的信息提示方法。In an eighth aspect, according to one or more embodiments of the present disclosure, a computer program is provided, which is executed by a processor to implement the information prompting method of a virtual terminal device of the first aspect and various possible designs of the first aspect. .
以上描述仅为本公开的较佳实施例以及对所运用技术原理的说明。本领域技术人员应当理解,本公开中所涉及的公开范围,并不限于上述技术特征的特定组合而成的技术方案,同时也应涵盖在不脱离上述公开构思的情况下,由上述技术特征或其等同特征进行任意组合而形成的其它技术方案。例如上述特征与本公开中公开的(但不限于)具有类似功能的技术特征进行互相替换而形成的技术方案。The above description is only a description of the preferred embodiments of the present disclosure and the technical principles applied. Those skilled in the art should understand that the disclosure scope involved in the present disclosure is not limited to technical solutions composed of specific combinations of the above technical features, but should also cover solutions composed of the above technical features or without departing from the above disclosed concept. Other technical solutions formed by any combination of equivalent features. For example, a technical solution is formed by replacing the above features with technical features with similar functions disclosed in this disclosure (but not limited to).
此外,虽然采用特定次序描绘了各操作,但是这不应当理解为要求这些操作以所示出的特定次序或以顺序次序来执行。在一定环境下,多任务和并行处理可能是有利的。同样地,虽然在上面论述中包含了若干具体实现细节,但是这些不应当被解释为对本公开的范围的限制。在单独的实施例的上下文中描述的某些特征还可以组合地实现在单个实施例中。相反地,在单个实施例的上下文中描述的各种特征也可以单独地或以任何合适的子组合的 方式实现在多个实施例中。Furthermore, although operations are depicted in a specific order, this should not be understood as requiring that the operations be performed in the specific order shown, or in sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Likewise, although several specific implementation details are included in the above discussion, these should not be construed as limiting the scope of the present disclosure. Certain features that are described in the context of separate embodiments can also be implemented in combination in a single embodiment. Conversely, various features that are described in the context of a single embodiment can also be used separately or in any suitable subcombination. The approach is implemented in multiple embodiments.
尽管已经采用特定于结构特征和/或方法逻辑动作的语言描述了本主题,但是应当理解所附权利要求书中所限定的主题未必局限于上面描述的特定特征或动作。相反,上面所描述的特定特征和动作仅仅是实现权利要求书的示例形式。 Although the subject matter has been described in language specific to structural features and/or methodological acts, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are merely example forms of implementing the claims.

Claims (15)

  1. 一种虚拟终端设备的信息提示方法,包括:An information prompting method for a virtual terminal device, including:
    响应于虚拟终端设备和电子设备的投屏状态,获取所述虚拟终端设备的目标页面投屏至所述电子设备的投屏页面中的第一页面位置;所述第一页面位置为所述电子设备检测第一用户针对所述投屏页面执行点击操作对应的页面位置坐标;In response to the screen projection status of the virtual terminal device and the electronic device, obtain the target page of the virtual terminal device and project it to the first page position in the screen projection page of the electronic device; the first page position is the electronic device. The device detects the page position coordinates corresponding to the click operation performed by the first user on the screen projection page;
    根据所述第一页面位置,确定提示对象在所述目标页面对应的第二页面位置;According to the first page position, determine the second page position of the prompt object corresponding to the target page;
    在所述目标页面的所述第二页面位置处显示所述提示对象。The prompt object is displayed at the second page position of the target page.
  2. 根据权利要求1所述的方法,其中,所述提示对象包括亮点对象;The method according to claim 1, wherein the prompt object includes a highlight object;
    所述在所述目标页面的第二页面位置处显示所述提示对象,包括:Displaying the prompt object at the second page position of the target page includes:
    在所述目标页面的第二页面位置处显示所述亮点对象。The highlight object is displayed at a second page position of the target page.
  3. 根据权利要求1所述的方法,其中,所述提示对象包括虚拟手指对象;所述在所述目标页面的第二页面位置处显示所述提示对象,包括:The method according to claim 1, wherein the prompt object includes a virtual finger object; and displaying the prompt object at a second page position of the target page includes:
    在所述目标页面的第二页面位置作为所述虚拟手指对象的指尖关键点,以在所述指尖关键点对应显示所述虚拟手指对象。The second page position of the target page is used as the fingertip key point of the virtual finger object, so that the virtual finger object is displayed correspondingly at the fingertip key point.
  4. 根据权利要求2或3所述的方法,其中,所述根据所述第一页面位置,确定提示对象在所述目标页面对应的第二页面位置,包括:The method according to claim 2 or 3, wherein determining, based on the first page position, the second page position of the prompt object corresponding to the target page comprises:
    将所述第一页面位置作为提示对象在所述目标页面的第二页面位置。The first page position is used as a prompt object at the second page position of the target page.
  5. 根据权利要求1所述的方法,其中,所述提示对象包括手柄射线提示对象;The method according to claim 1, wherein the prompt object includes a handle ray prompt object;
    所述在所述目标页面的第二页面位置处显示所述提示对象,包括:Displaying the prompt object at the second page position of the target page includes:
    以所述第二页面位置为手柄射线终点,结合手柄射线起点,确定手柄射线对象;Taking the second page position as the end point of the handle ray, combined with the starting point of the handle ray, determine the handle ray object;
    在显示所述目标页面的同时显示所述手柄射线对象。The handle ray object is displayed while the target page is displayed.
  6. 根据权利要求5所述的方法,其中,所述根据所述第一页面位置,确定提示对象在所述目标页面对应的第二页面位置,包括:The method according to claim 5, wherein determining the second page position of the prompt object corresponding to the target page according to the first page position comprises:
    根据所述目标页面中所述第一页面位置对应的深度坐标;According to the depth coordinate corresponding to the first page position in the target page;
    根据所述第一页面位置中的横坐标和纵坐标,结合所述深度坐标,进行坐标组合,获得的目标坐标点;According to the abscissa coordinate and ordinate coordinate in the first page position, combined with the depth coordinate, coordinate combination is performed to obtain the target coordinate point;
    确定所述目标坐标点为所述提示对象在所述目标页面对应的第二页面位置。The target coordinate point is determined to be the second page position of the prompt object corresponding to the target page.
  7. 根据权利要求5所述的方法,其中,所述以所述第二页面位置为手柄射线终点,结合手柄射线起点,确定手柄射线对象,包括:The method according to claim 5, wherein determining the handle ray object by taking the second page position as the end point of the handle ray and combining it with the starting point of the handle ray includes:
    确定所述第二页面位置为所述手柄射线终点;Determine the second page position as the end point of the handle ray;
    根据所述手柄射线终点和所述手柄射线起点,确定手柄射线长度和手柄射线方向;Determine the length of the handle ray and the direction of the handle ray according to the end point of the handle ray and the starting point of the handle ray;
    按照所述手柄射线长度和所述手柄射线方向,生成所述手柄射线对象。The handle ray object is generated according to the handle ray length and the handle ray direction.
  8. 根据权利要求1所述的方法,其中,所述在所述目标页面的第二页面位置处显示所述提示对象,包括: The method according to claim 1, wherein displaying the prompt object at a second page position of the target page includes:
    显示目标页面,并修改在目标页面的第二位置处显示的元素的视觉指示。Displays the target page and modifies the visual indication of the element displayed at a second position on the target page.
  9. 一种虚拟终端设备的信息提示方法,包括:An information prompting method for a virtual terminal device, comprising:
    响应于虚拟终端设备和电子设备的投屏状态,显示所述虚拟终端设备的目标页面投屏后的投屏页面;In response to the screen projection status of the virtual terminal device and the electronic device, display the screen projection page of the target page of the virtual terminal device;
    检测第一用户针对所述投屏页面执行点击操作对应的页面位置坐标,获得第一页面位置;Detect the page position coordinates corresponding to the click operation performed by the first user on the screen projection page, and obtain the first page position;
    发送所述第一页面位置至所述虚拟终端设备,所述第一页面位置指示在所述虚拟终端设备的目标页面中的第二页面位置显示提示对象。The first page position is sent to the virtual terminal device, and the first page position indicates that a prompt object is displayed at a second page position in a target page of the virtual terminal device.
  10. 一种虚拟终端设备的信息提示装置,包括:An information prompting device for virtual terminal equipment, including:
    第一响应单元,用于响应于虚拟终端设备和电子设备的投屏状态,确定所述虚拟终端设备的目标页面投屏至所述电子设备的投屏页面中的第一页面位置;所述第一页面位置为所述电子设备检测第一用户针对所述投屏页面执行点击操作对应的页面位置坐标;A first response unit configured to, in response to the screen projection status of the virtual terminal device and the electronic device, determine that the target page of the virtual terminal device is projected to the first page position in the screen projection page of the electronic device; A page position is when the electronic device detects the page position coordinates corresponding to the click operation performed by the first user on the screen projection page;
    位置确定单元,用于根据所述第一页面位置,确定提示对象在所述目标页面对应的第二页面位置;A position determination unit configured to determine the second page position of the prompt object corresponding to the target page based on the first page position;
    对象显示单元,用于在所述目标页面的所述第二页面位置处显示所述提示对象。An object display unit is configured to display the prompt object at the second page position of the target page.
  11. 一种虚拟终端设备的信息提示装置,包括:An information prompting device for virtual terminal equipment, including:
    第二响应单元,用于响应于虚拟终端设备和电子设备的投屏状态,显示所述虚拟终端设备的目标页面投屏后的投屏页面;The second response unit is configured to respond to the projection status of the virtual terminal device and the electronic device and display the projection page after the target page of the virtual terminal device is projected;
    位置检测单元,用于检测第一用户针对所述投屏页面执行点击操作对应的页面位置坐标,获得第一页面位置;a position detection unit, configured to detect the page position coordinates corresponding to the click operation performed by the first user on the screen projection page, and obtain the first page position;
    位置发送单元,用于发送所述第一页面位置至所述虚拟终端设备,所述第一页面位置指示在所述虚拟终端设备的目标页面中的第二页面位置显示提示对象。A position sending unit configured to send the first page position to the virtual terminal device, where the first page position indicates that a prompt object is displayed at a second page position in a target page of the virtual terminal device.
  12. 一种电子设备,包括:处理器、存储器;An electronic device, including: processor, memory;
    所述存储器存储计算机执行指令;The memory stores computer-executable instructions;
    所述处理器执行所述存储器存储的计算机执行指令,使得所述处理器执行如权利要求1-9任一项所述的虚拟终端设备的信息提示方法。The processor executes the computer execution instructions stored in the memory, so that the processor executes the information prompting method of the virtual terminal device according to any one of claims 1 to 9.
  13. 一种计算机可读存储介质,其中,所述计算机可读存储介质中存储有计算机执行指令,当处理器执行所述计算机执行指令时,实现如权利要求1-9任一项所述的虚拟终端设备的信息提示方法。A computer-readable storage medium, wherein the computer-readable storage medium stores computer-executable instructions, and when a processor executes the computer-executable instructions, the information prompt method of a virtual terminal device according to any one of claims 1 to 9 is implemented.
  14. 一种计算机程序产品,包括计算机程序,其中,所述计算机程序被处理器执行,以实现如权利要求1-9任一项所述的虚拟终端设备的信息提示方法。A computer program product includes a computer program, wherein the computer program is executed by a processor to implement the information prompting method of a virtual terminal device according to any one of claims 1 to 9.
  15. 一种计算机程序,其在被处理器执行以实现如权利要求1-9任一项所述的虚拟终端设备的信息提示方法。 A computer program, which is executed by a processor to implement the information prompting method of a virtual terminal device according to any one of claims 1 to 9.
PCT/CN2023/113407 2022-09-21 2023-08-16 Information prompting method and apparatus for virtual terminal device, device, medium, and product WO2024060890A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202211153973.X 2022-09-21
CN202211153973.XA CN117785085A (en) 2022-09-21 2022-09-21 Information prompting method, device, equipment, medium and product of virtual terminal equipment

Publications (1)

Publication Number Publication Date
WO2024060890A1 true WO2024060890A1 (en) 2024-03-28

Family

ID=90394977

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/113407 WO2024060890A1 (en) 2022-09-21 2023-08-16 Information prompting method and apparatus for virtual terminal device, device, medium, and product

Country Status (2)

Country Link
CN (1) CN117785085A (en)
WO (1) WO2024060890A1 (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20010030668A1 (en) * 2000-01-10 2001-10-18 Gamze Erten Method and system for interacting with a display
CN108563391A (en) * 2018-04-04 2018-09-21 广州视源电子科技股份有限公司 Wireless screen transmission touches retransmission method and system
CN111243103A (en) * 2020-01-07 2020-06-05 青岛小鸟看看科技有限公司 Method and device for setting safety area, VR equipment and storage medium
CN111722711A (en) * 2020-06-02 2020-09-29 广东小天才科技有限公司 Augmented reality scene output method, electronic device and computer-readable storage medium
CN112905136A (en) * 2021-03-11 2021-06-04 北京小米移动软件有限公司 Screen projection control method and device and storage medium
CN113325955A (en) * 2021-06-10 2021-08-31 深圳市移卡科技有限公司 Virtual reality scene switching method, virtual reality device and readable storage medium
CN113934390A (en) * 2021-09-22 2022-01-14 青岛海尔科技有限公司 Reverse control method and device for screen projection
CN114115629A (en) * 2020-08-26 2022-03-01 华为技术有限公司 Interface display method and equipment

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20010030668A1 (en) * 2000-01-10 2001-10-18 Gamze Erten Method and system for interacting with a display
CN108563391A (en) * 2018-04-04 2018-09-21 广州视源电子科技股份有限公司 Wireless screen transmission touches retransmission method and system
CN111243103A (en) * 2020-01-07 2020-06-05 青岛小鸟看看科技有限公司 Method and device for setting safety area, VR equipment and storage medium
CN111722711A (en) * 2020-06-02 2020-09-29 广东小天才科技有限公司 Augmented reality scene output method, electronic device and computer-readable storage medium
CN114115629A (en) * 2020-08-26 2022-03-01 华为技术有限公司 Interface display method and equipment
CN112905136A (en) * 2021-03-11 2021-06-04 北京小米移动软件有限公司 Screen projection control method and device and storage medium
CN113325955A (en) * 2021-06-10 2021-08-31 深圳市移卡科技有限公司 Virtual reality scene switching method, virtual reality device and readable storage medium
CN113934390A (en) * 2021-09-22 2022-01-14 青岛海尔科技有限公司 Reverse control method and device for screen projection

Also Published As

Publication number Publication date
CN117785085A (en) 2024-03-29

Similar Documents

Publication Publication Date Title
WO2022111239A1 (en) Screen projection control method and device, and electronic device
WO2021139408A1 (en) Method and apparatus for displaying special effect, and storage medium and electronic device
US9881353B2 (en) Buffers for display acceleration
US9223416B2 (en) Display apparatus, remote controlling apparatus and control method thereof
US11893702B2 (en) Virtual object processing method and apparatus, and storage medium and electronic device
WO2020253453A1 (en) Image switching method and apparatus, and electronic device and storage medium
WO2023279914A1 (en) Control editing method and apparatus, device, readable storage medium, and product
WO2022007565A1 (en) Image processing method and apparatus for augmented reality, electronic device and storage medium
US20230171472A1 (en) Interaction method and apparatus, and electronic device
US20230328330A1 (en) Live streaming interface display method, and device
WO2023284791A1 (en) Virtual interface operation method, head-mounted display device and computer-readable medium
WO2023083085A1 (en) Document sharing method and apparatus, device and medium
WO2019090772A1 (en) Image processing method and apparatus for terminal
WO2023169316A1 (en) User interface framework-based processing method and apparatus, device, and medium
US11328693B2 (en) Image display device, method, medium and electronic device based on mobile terminal
WO2024060890A1 (en) Information prompting method and apparatus for virtual terminal device, device, medium, and product
WO2023138468A1 (en) Virtual object generation method and apparatus, device, and storage medium
WO2023279913A1 (en) Code display method and apparatus, device, computer readable storage medium, and product
CN113391860B (en) Service request processing method and device, electronic equipment and computer storage medium
CN110377192B (en) Method, device, medium and electronic equipment for realizing interactive effect
CN117215730B (en) Data transmission method, device, equipment and storage medium
WO2023035958A1 (en) Interface display method and apparatus, electronic device and storage medium
US20240103625A1 (en) Interaction method and apparatus, electronic device, storage medium, and computer program product
WO2022135018A1 (en) Dynamic fluid display method and apparatus, electronic device, and readable medium
CN116880726B (en) Icon interaction method and device for 3D space, electronic equipment and medium