CN114637392A - Display method and electronic equipment - Google Patents

Display method and electronic equipment Download PDF

Info

Publication number
CN114637392A
CN114637392A CN202011474970.7A CN202011474970A CN114637392A CN 114637392 A CN114637392 A CN 114637392A CN 202011474970 A CN202011474970 A CN 202011474970A CN 114637392 A CN114637392 A CN 114637392A
Authority
CN
China
Prior art keywords
picture
displayed
user
data
target part
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011474970.7A
Other languages
Chinese (zh)
Inventor
王柳
司马经华
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN202011474970.7A priority Critical patent/CN114637392A/en
Publication of CN114637392A publication Critical patent/CN114637392A/en
Pending legal-status Critical Current

Links

Images

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/011Arrangements for interaction with the human body, e.g. for user immersion in virtual reality
    • G06F3/013Eye tracking input arrangements
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/06Physical realisation, i.e. hardware implementation of neural networks, neurons or parts of neurons
    • G06N3/061Physical realisation, i.e. hardware implementation of neural networks, neurons or parts of neurons using biological neurons, e.g. biological neurons connected to an integrated circuit

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Biomedical Technology (AREA)
  • Biophysics (AREA)
  • Molecular Biology (AREA)
  • Neurology (AREA)
  • General Physics & Mathematics (AREA)
  • Microelectronics & Electronic Packaging (AREA)
  • Human Computer Interaction (AREA)
  • Artificial Intelligence (AREA)
  • Computational Linguistics (AREA)
  • Data Mining & Analysis (AREA)
  • Evolutionary Computation (AREA)
  • General Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • Mathematical Physics (AREA)
  • Software Systems (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the application provides a display method and electronic equipment, wherein the method is applied to the electronic equipment comprising a display screen, and comprises the following steps: if the first target part of the user is identified to start rotating, sending a first request to a server, wherein the first request carries the rotating direction of the first target part; receiving data of a picture to be displayed, which is determined by the server according to the rotating direction of the first target part; and displaying the picture to be displayed to the user through the display screen according to the data of the picture to be displayed. In the method, once a first target part of a user is identified to start rotating, a first request is sent to a server, and data of a picture to be displayed, which is determined by the server according to the rotating direction of the first target part carried by the first request, is received, so that the picture to be displayed is displayed; the method can greatly reduce the time delay of the picture display, thereby improving the visual experience of the user.

Description

Display method and electronic equipment
Technical Field
The present application relates to the field of electronic technologies, and in particular, to a display method and an electronic device.
Background
Virtual Reality (VR) technology is a three-dimensional environment of a virtual world generated by a computer simulation system, and is a system simulation of an interactive three-dimensional dynamic view and entity behaviors with multi-source information fusion, so that a user can be immersed in the environment to experience the virtual world in the environment, and the VR technology is widely applied to scenes such as games, sightseeing, remote teaching and the like.
In the traditional technology, after wearing VR equipment, a user can change the display picture of the VR equipment by rotating the head; after the head of the user rotates and is static, the gyroscope and the gravity sensor in the VR device can identify the rotation data of the head of the user and send the rotation data to the server, and the server can determine new display picture data according to the rotation data of the head of the user and then display the new display picture data through the VR device.
However, in the conventional technology, the time delay of the VR device for displaying the picture is long, which may cause the user to feel dizzy and the experience of the user is not high.
Disclosure of Invention
The embodiment of the application provides a display method and electronic equipment, which can greatly reduce the time delay of picture display, thereby improving the visual experience of a user.
In a first aspect, an embodiment of the present application provides a display method, which is applied to an electronic device including a display screen, and the method includes: if the first target part of the user is identified to start rotating, sending a first request to a server, wherein the first request carries the rotating direction of the first target part; receiving data of a picture to be displayed, which is determined by the server according to the rotating direction of the first target part; and displaying the picture to be displayed to the user through the display screen according to the data of the picture to be displayed.
In the implementation manner, once the VR device recognizes that the first target part of the user starts to rotate, the VR device sends a first request to the server, receives data of a to-be-displayed picture determined by a rotation direction of the first target part carried by the server according to the first request, and further displays the to-be-displayed picture; the method can greatly reduce the time delay of the picture display, thereby improving the visual experience of the user.
With reference to the first aspect, in some implementations of the first aspect, the method further includes: acquiring first data, wherein the first data comprises a rotation direction of a second target part of the user; the displaying the picture to be displayed to the user through the display screen according to the data of the picture to be displayed comprises: and if the rotating direction of the first target part is the same as that of the second target part, displaying the picture to be displayed to the user through the display screen according to the data of the picture to be displayed.
In the implementation manner, the VR device displays the to-be-displayed picture to the user through the display screen only when the rotation direction of the first target part of the user is the same as the rotation direction of the second target part of the user, so that the phenomenon of shaking of the displayed picture caused by frequent micro-motion of the first target part of the user can be reduced, and the visual experience of the user is further improved.
With reference to the first aspect and the foregoing implementation, an inertial measurement unit is configured in the electronic device, and the acquiring the first data includes: judging whether the second target part rotates excessively and is in a static state currently according to the measurement data of the inertial measurement unit; and if so, acquiring the first data according to the measurement data.
In the implementation manner, whether the second target part rotates and is in a static state at present is judged to determine that the user normally rotates, and the picture to be displayed is displayed to the user through the display screen after the determination, so that the visual experience of the user is further improved.
With reference to the first aspect and the foregoing implementation manner, the first request further carries a rotation angle of the first target portion, and the first data further includes a rotation angle of the second target portion; if the rotation direction of the first target part is the same as the rotation direction of the second target part, displaying the picture to be displayed to the user through the display screen according to the data of the picture to be displayed, including: and if the rotating direction of the first target part is the same as that of the second target part, and the angle difference between the rotating angle of the first target part and the rotating angle of the second target part is smaller than or equal to a preset threshold value, displaying the picture to be displayed to the user through the display screen according to the data of the picture to be displayed.
In the implementation manner, the VR device sends the first request to the server when recognizing that the eyeballs of the user start to rotate, and then stores the received data of the picture to be displayed into the cache, and when the rotation direction of the eyeballs of the user is the same as the rotation direction of the head and the angle difference between the rotation angle of the eyeballs and the rotation angle of the head is smaller than or equal to the preset threshold, the picture to be displayed is displayed to the user through the display screen, so that the visual experience of the user can be further improved.
With reference to the first aspect and the foregoing implementation manner, the first target portion includes an eyeball or a pupil, and the second target portion includes a head of the user.
Among the above-mentioned implementation, based on the higher physiology phenomenon of human eyeball's rotation efficiency than head, under VR equipment scene, the user mainly draws the action with the vision, and when the user intention rotated the head, the eyeball action can be faster than the head action. Therefore, once the VR equipment recognizes that the eyeballs of the user start to rotate, the first request is sent to the server, so that the time delay of picture display can be greatly reduced, and the visual experience of the user is improved.
With reference to the first aspect and the foregoing implementation manner, before the sending a first request to the server if the first target portion of the user is identified to start rotating, the method further includes: acquiring a first image and a second image, wherein the first image and the second image are two adjacent frames of images, and the first image and the second image both comprise the first target part; identifying a first location of the first target site in the first image and a second location of the first target site in the second image, respectively; and if the second position is different from the first position, determining that the first target part starts to rotate.
In the implementation mode, the VR device determines whether the first target part starts to rotate or not according to the position of the first target part in the two adjacent frames of images, so that the accuracy of the determination result is improved, the first request is sent to the server on the basis, the accuracy of the data of the picture to be displayed, which is determined by the server, can be improved, and the visual experience of a user is further improved.
With reference to the first aspect and the foregoing implementation manner, the foregoing method further includes: and determining the rotation direction of the first target part according to the second position and the first position, and generating the first request according to the rotation direction of the first target part.
In the above implementation manner, the VR device determines the rotation direction of the first target portion according to the position of the first target portion in the two adjacent frames of images, and sends the first request to the server on the basis, so that the accuracy of the data of the to-be-displayed picture determined by the server can be improved.
With reference to the first aspect and the foregoing implementation manner, the receiving data of the to-be-displayed picture determined by the server according to the rotation direction of the first target portion, where the first request further carries a rotation displacement of the first target portion, includes: and receiving data of the picture to be displayed, which is determined by the server according to the rotating direction and the rotating displacement of the first target part.
In the implementation manner, the server determines the data of the picture to be displayed according to the rotation direction and the rotation displacement of the first target part, so that the accuracy of the data of the picture to be displayed determined by the server can be further improved.
With reference to the first aspect and the foregoing implementation manner, both the first image and the second image are eye images of the user.
In the implementation mode, the position of the first target part is determined by identifying the eye image of the user, so that the accuracy of determining whether the first target part starts to rotate is improved, the first request is sent to the server on the basis, the accuracy of the data of the picture to be displayed determined by the server can be improved, and the visual experience of the user is further improved.
In a second aspect, an apparatus is provided in an embodiment of the present application, where the apparatus is included in an electronic device, and the apparatus has a function of implementing a behavior of the electronic device in the first aspect and possible implementations of the first aspect. The functions may be implemented by hardware, or by hardware executing corresponding software. The hardware or software includes one or more modules or units corresponding to the above-described functions. Such as a display module or unit, a detection module or unit, a processing module or unit, etc.
In a third aspect, an embodiment of the present application provides an electronic device, including: a processor, a memory, and an interface; the processor, the memory and the interface cooperate with each other to enable the electronic device to perform any one of the methods according to the first aspect.
In a fourth aspect, an embodiment of the present application provides a chip including a processor. The processor is adapted to read and execute the computer program stored in the memory to perform the method of the first aspect and any possible implementation thereof.
Optionally, the chip further comprises a memory, and the memory is connected with the processor through a circuit or a wire.
Further optionally, the chip further comprises a communication interface.
In a fifth aspect, an embodiment of the present application provides a computer-readable storage medium, where a computer program is stored, and when the computer program is executed by a processor, the processor is caused to execute any one of the methods in the technical solutions of the first aspect.
In a sixth aspect, an embodiment of the present application provides a computer program product, where the computer program product includes: computer program code for causing an electronic device to perform any of the methods of the first aspect when said computer program code is run on the electronic device.
Drawings
Fig. 1 is an application scenario diagram of an example display method provided in the embodiment of the present application;
fig. 2 is a schematic structural diagram of an example of an electronic device according to an embodiment of the present disclosure;
FIG. 3 is a block diagram of a software architecture of an electronic device according to an embodiment of the present disclosure;
FIG. 4 is a flowchart illustrating an example of a display method according to an embodiment of the present disclosure;
FIG. 5 is a schematic diagram of an example of a determined to-be-displayed frame according to an embodiment of the present disclosure;
FIG. 6 is a schematic flow chart diagram illustrating another exemplary display method according to an embodiment of the present disclosure;
FIG. 7 (a) is a schematic diagram of an example of a first position in a first image according to an embodiment of the present application;
FIG. 7 (b) is a schematic diagram of an example of a second position in a second image according to the embodiment of the present application;
FIG. 8 is a schematic flow chart diagram illustrating a further exemplary display method provided in an embodiment of the present application;
FIG. 9 is a schematic flowchart illustrating a further exemplary display method according to an embodiment of the present application;
fig. 10 (a) is a schematic diagram of an example of a first image provided in the embodiment of the present application;
FIG. 10 (b) is a schematic diagram of a second image according to an example of the present application;
fig. 11 is a schematic diagram of another determined to-be-displayed picture provided in an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described below with reference to the drawings in the embodiments of the present application. In the description of the embodiments herein, "/" means "or" unless otherwise specified, for example, a/B may mean a or B; "and/or" herein is merely an association describing an associated object, and means that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, in the description of the embodiments of the present application, "a plurality" means two or more than two.
In the following, the terms "first", "second" and "third" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, features defined as "first", "second", "third" may explicitly or implicitly include one or more of the features.
The display method provided by the embodiment of the application can be applied to the scene shown in fig. 1, and after wearing the VR device 1, a user can view a virtual picture through a display screen (such as a lens) on the VR device 1, and change the displayed picture by rotating the head. However, in the conventional technology, generally, after the head of the user rotates and is stationary, the VR device 1 transmits the rotation data (such as the rotation direction, the rotation angle, etc.) of the head of the user to the server 2, and the server 2 determines new display screen data according to the rotation data and displays the new display screen data through the VR device 1. As can be seen from the above, in the conventional technology, after the head of the user rotates and is still, new display screen data is requested from the server 2, which results in a longer time delay for the VR device 1 to display the screen, which may cause the user to feel dizzy and make the user experience worse.
For example, in a 5G scenario, a large amount of data is sent to the server 2 for calculation, such as real-time rendering of VR content, so that end-to-end delay is calculated, delay caused by network instability must be considered, and according to current model estimation, under a normal network condition, such delay may reach about 100 milliseconds (ms), and a vertigo lower limit much greater than 20ms may bring a very bad experience to a user.
Therefore, the embodiment of the present application provides a display method, which can enable the VR device 1 to request new display screen data from the server 2 before the head of the user is still, and directly display the new display screen when the head of the user is still, thereby greatly reducing the time delay of screen display, and improving the visual experience of the user.
The display method provided in the embodiment of the present application may be applied to an electronic device, such as an Augmented Reality (AR)/Virtual Reality (VR) device, a mobile phone, a tablet computer, a wearable device, a vehicle-mounted device, a notebook computer, an ultra-mobile personal computer (UMPC), a netbook, a Personal Digital Assistant (PDA), and the like, where a display screen may be installed.
For example, fig. 2 is a schematic structural diagram of an example of the electronic device 100 according to the embodiment of the present application. The electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a Universal Serial Bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a key 190, a motor 191, an indicator 192, a camera 193, a display screen 194, a Subscriber Identification Module (SIM) card interface 195, and the like. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, and the like.
It is to be understood that the illustrated structure of the embodiment of the present application does not specifically limit the electronic device 100. In other embodiments of the present application, electronic device 100 may include more or fewer components than shown, or some components may be combined, some components may be split, or a different arrangement of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
Processor 110 may include one or more processing units, such as: the processor 110 may include an Application Processor (AP), a modem processor, a Graphics Processing Unit (GPU), an Image Signal Processor (ISP), a controller, a memory, a video codec, a Digital Signal Processor (DSP), a baseband processor, and/or a neural-Network Processing Unit (NPU), etc. The different processing units may be separate devices or may be integrated into one or more processors.
The controller may be, among other things, a neural center and a command center of the electronic device 100. The controller can generate an operation control signal according to the instruction operation code and the timing signal to complete the control of instruction fetching and instruction execution.
A memory may also be provided in processor 110 for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may hold instructions or data that have just been used or recycled by the processor 110. If the processor 110 needs to reuse the instruction or data, it can be called directly from the memory. Avoiding repeated accesses reduces the latency of the processor 110, thereby increasing the efficiency of the system.
In some embodiments, processor 110 may include one or more interfaces. The interface may include an integrated circuit (I2C) interface, an integrated circuit built-in audio (I2S) interface, a Pulse Code Modulation (PCM) interface, a universal asynchronous receiver/transmitter (UART) interface, a Mobile Industry Processor Interface (MIPI), a general-purpose input/output (GPIO) interface, a Subscriber Identity Module (SIM) interface, and/or a Universal Serial Bus (USB) interface, etc.
The I2C interface is a bi-directional synchronous serial bus that includes a serial data line (SDA) and a Serial Clock Line (SCL). In some embodiments, processor 110 may include multiple sets of I2C buses. The processor 110 may be coupled to the touch sensor 180K, charger, flash, camera 193, etc. through different I2C bus interfaces, respectively. For example: the processor 110 may be coupled to the touch sensor 180K via an I2C interface, such that the processor 110 and the touch sensor 180K communicate via an I2C bus interface to implement the touch functionality of the electronic device 100.
The I2S interface may be used for audio communication. In some embodiments, processor 110 may include multiple sets of I2S buses. The processor 110 may be coupled to the audio module 170 via an I2S bus to enable communication between the processor 110 and the audio module 170. In some embodiments, the audio module 170 can transmit audio signals to the wireless communication module 160 through the I2S interface, so as to receive phone calls through the bluetooth headset.
The PCM interface may also be used for audio communication, sampling, quantizing and encoding analog signals. In some embodiments, the audio module 170 and the wireless communication module 160 may be coupled by a PCM bus interface. In some embodiments, the audio module 170 may also transmit audio signals to the wireless communication module 160 through the PCM interface, so as to implement a function of answering a call through a bluetooth headset. Both the I2S interface and the PCM interface may be used for audio communication.
The UART interface is a universal serial data bus used for asynchronous communications. The bus may be a bidirectional communication bus. It converts the data to be transmitted between serial communication and parallel communication. In some embodiments, a UART interface is generally used to connect the processor 110 with the wireless communication module 160. For example: the processor 110 communicates with a bluetooth module in the wireless communication module 160 through a UART interface to implement a bluetooth function. In some embodiments, the audio module 170 may transmit the audio signal to the wireless communication module 160 through a UART interface, so as to realize the function of playing music through a bluetooth headset.
MIPI interfaces may be used to connect processor 110 with peripheral devices such as display screen 194, camera 193, and the like. The MIPI interface includes a Camera Serial Interface (CSI), a Display Serial Interface (DSI), and the like. In some embodiments, processor 110 and camera 193 communicate through a CSI interface to implement the capture functionality of electronic device 100. The processor 110 and the display screen 194 communicate through the DSI interface to implement the display function of the electronic device 100.
The GPIO interface may be configured by software. The GPIO interface may be configured as a control signal and may also be configured as a data signal. In some embodiments, a GPIO interface may be used to connect the processor 110 with the camera 193, the display 194, the wireless communication module 160, the audio module 170, the sensor module 180, and the like. The GPIO interface may also be configured as an I2C interface, an I2S interface, a UART interface, a MIPI interface, and the like.
The USB interface 130 is an interface conforming to the USB standard specification, and may specifically be a Mini USB interface, a Micro USB interface, a USB Type C interface, or the like. The USB interface 130 may be used to connect a charger to charge the electronic device 100, and may also be used to transmit data between the electronic device 100 and a peripheral device. And the earphone can also be used for connecting an earphone and playing audio through the earphone. The interface may also be used to connect other electronic devices, such as AR devices and the like.
It should be understood that the interface connection relationship between the modules illustrated in the embodiments of the present application is only an illustration, and does not limit the structure of the electronic device 100. In other embodiments of the present application, the electronic device 100 may also adopt different interface connection manners or a combination of multiple interface connection manners in the above embodiments.
The charging management module 140 is configured to receive charging input from a charger. The charger may be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 may receive charging input from a wired charger via the USB interface 130. In some wireless charging embodiments, the charging management module 140 may receive a wireless charging input through a wireless charging coil of the electronic device 100. The charging management module 140 may also supply power to the electronic device through the power management module 141 while charging the battery 142.
The power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110. The power management module 141 receives input from the battery 142 and/or the charge management module 140 and provides power to the processor 110, the internal memory 121, the external memory, the display 194, the camera 193, the wireless communication module 160, and the like. The power management module 141 may also be used to monitor parameters such as battery capacity, battery cycle count, battery state of health (leakage, impedance), etc. In some other embodiments, the power management module 141 may also be disposed in the processor 110. In other embodiments, the power management module 141 and the charging management module 140 may be disposed in the same device.
The wireless communication function of the electronic device 100 may be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, a modem processor, a baseband processor, and the like.
The antennas 1 and 2 are used for transmitting and receiving electromagnetic wave signals. The structure of the antenna 1 and the antenna 2 in fig. 2 is only an example. Each antenna in the electronic device 100 may be used to cover a single or multiple communication bands. Different antennas can also be multiplexed to improve the utilization of the antennas. For example: the antenna 1 may be multiplexed as a diversity antenna of a wireless local area network. In other embodiments, the antenna may be used in conjunction with a tuning switch.
The mobile communication module 150 may provide a solution including 2G/3G/4G/5G wireless communication applied to the electronic device 100. The mobile communication module 150 may include at least one filter, a switch, a power amplifier, a Low Noise Amplifier (LNA), and the like. The mobile communication module 150 may receive the electromagnetic wave from the antenna 1, filter, amplify, etc. the received electromagnetic wave, and transmit the electromagnetic wave to the modem processor for demodulation. The mobile communication module 150 may also amplify the signal modulated by the modem processor, and convert the signal into electromagnetic wave through the antenna 1 to radiate the electromagnetic wave. In some embodiments, at least some of the functional modules of the mobile communication module 150 may be disposed in the processor 110. In some embodiments, at least some of the functional modules of the mobile communication module 150 may be provided in the same device as at least some of the modules of the processor 110.
The modem processor may include a modulator and a demodulator. The modulator is used for modulating a low-frequency baseband signal to be transmitted into a medium-high frequency signal. The demodulator is used for demodulating the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then passes the demodulated low frequency baseband signal to a baseband processor for processing. The low frequency baseband signal is processed by the baseband processor and then transferred to the application processor. The application processor outputs a sound signal through an audio device (not limited to the speaker 170A, the receiver 170B, etc.) or displays an image or video through the display screen 194. In some embodiments, the modem processor may be a stand-alone device. In other embodiments, the modem processor may be provided in the same device as the mobile communication module 150 or other functional modules, independent of the processor 110.
The wireless communication module 160 may provide a solution for wireless communication applied to the electronic device 100, including Wireless Local Area Networks (WLANs) (e.g., wireless fidelity (Wi-Fi) networks), bluetooth (bluetooth, BT), Global Navigation Satellite System (GNSS), Frequency Modulation (FM), Near Field Communication (NFC), Infrared (IR), and the like. The wireless communication module 160 may be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, performs frequency modulation and filtering processing on electromagnetic wave signals, and transmits the processed signals to the processor 110. The wireless communication module 160 may also receive a signal to be transmitted from the processor 110, perform frequency modulation and amplification on the signal, and convert the signal into electromagnetic waves via the antenna 2 to radiate the electromagnetic waves.
In some embodiments, antenna 1 of electronic device 100 is coupled to mobile communication module 150 and antenna 2 is coupled to wireless communication module 160 so that electronic device 100 can communicate with networks and other devices through wireless communication techniques. The wireless communication technology may include global system for mobile communications (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), time-division code division multiple access (TD-SCDMA), long term evolution (long term evolution, LTE), BT, GNSS, WLAN, NFC, FM, and/or IR technologies, etc. The GNSS may include a Global Positioning System (GPS), a global navigation satellite system (GLONASS), a beidou navigation satellite system (BDS), a quasi-zenith satellite system (QZSS), and/or a Satellite Based Augmentation System (SBAS).
The electronic device 100 implements display functions via the GPU, the display screen 194, and the application processor. The GPU is a microprocessor for image processing, and is connected to the display screen 194 and an application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs that execute program instructions to generate or alter display information.
The display screen 194 is used to display images, video, and the like. The display screen 194 includes a display panel. The display panel may adopt a Liquid Crystal Display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (active-matrix organic light-emitting diode, AMOLED), a flexible light-emitting diode (FLED), a miniature, a Micro-oeld, a quantum dot light-emitting diode (QLED), and the like. In some embodiments, the electronic device 100 may include 1 or N display screens 194, with N being a positive integer greater than 1.
The electronic device 100 may implement a shooting function through the ISP, the camera 193, the video codec, the GPU, the display 194, the application processor, and the like.
The ISP is used to process the data fed back by the camera 193. For example, when a photo is taken, the shutter is opened, light is transmitted to the camera photosensitive element through the lens, the optical signal is converted into an electrical signal, and the camera photosensitive element transmits the electrical signal to the ISP for processing and converting into an image visible to naked eyes. The ISP can also carry out algorithm optimization on the noise, brightness and skin color of the image. The ISP can also optimize parameters such as exposure, color temperature and the like of a shooting scene. In some embodiments, the ISP may be provided in camera 193.
The camera 193 is used to capture still images or video. The object generates an optical image through the lens and projects the optical image to the photosensitive element. The photosensitive element may be a Charge Coupled Device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The light sensing element converts the optical signal into an electrical signal, which is then passed to the ISP where it is converted into a digital image signal. And the ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into image signal in standard RGB, YUV and other formats. In some embodiments, the electronic device 100 may include 1 or N cameras 193, N being a positive integer greater than 1.
The digital signal processor is used for processing digital signals, and can process digital image signals and other digital signals. For example, when the electronic device 100 selects a frequency bin, the digital signal processor is used to perform fourier transform or the like on the frequency bin energy.
Video codecs are used to compress or decompress digital video. The electronic device 100 may support one or more video codecs. In this way, the electronic device 100 may play or record video in a variety of encoding formats, such as: moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, MPEG4, and the like.
The NPU is a neural-network (NN) computing processor, which processes input information quickly by referring to a biological neural network structure, for example, by referring to a transfer mode between neurons of a human brain, and can also learn by itself continuously. Applications such as intelligent recognition of the electronic device 100 can be realized through the NPU, for example: image recognition, face recognition, speech recognition, text understanding, and the like.
The external memory interface 120 may be used to connect an external memory card, such as a Micro SD card, to extend the memory capability of the electronic device 100. The external memory card communicates with the processor 110 through the external memory interface 120 to implement a data storage function. For example, files such as music, video, etc. are saved in an external memory card.
The internal memory 121 may be used to store computer-executable program code, which includes instructions. The processor 110 executes various functional applications of the electronic device 100 and data processing by executing instructions stored in the internal memory 121. The internal memory 121 may include a program storage area and a data storage area. The storage program area may store an operating system, an application program (such as a sound playing function, an image playing function, etc.) required by at least one function, and the like. The storage data area may store data (such as audio data, phone book, etc.) created during use of the electronic device 100, and the like. In addition, the internal memory 121 may include a high-speed random access memory, and may further include a nonvolatile memory, such as at least one magnetic disk storage device, a flash memory device, a universal flash memory (UFS), and the like.
The electronic device 100 may implement audio functions via the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone interface 170D, and the application processor. Such as music playing, recording, etc.
The audio module 170 is used to convert digital audio information into an analog audio signal output and also to convert an analog audio input into a digital audio signal. The audio module 170 may also be used to encode and decode audio signals. In some embodiments, the audio module 170 may be disposed in the processor 110, or some functional modules of the audio module 170 may be disposed in the processor 110.
The speaker 170A, also called a "horn", is used to convert the audio electrical signal into an acoustic signal. The electronic apparatus 100 can listen to music through the speaker 170A or listen to a handsfree call.
The receiver 170B, also called "earpiece", is used to convert the electrical audio signal into an acoustic signal. When the electronic apparatus 100 receives a call or voice information, it is possible to receive voice by placing the receiver 170B close to the human ear.
The microphone 170C, also referred to as a "microphone," is used to convert sound signals into electrical signals. When making a call or transmitting voice information, the user can input a voice signal to the microphone 170C by speaking the user's mouth near the microphone 170C. The electronic device 100 may be provided with at least one microphone 170C. In other embodiments, the electronic device 100 may be provided with two microphones 170C to achieve a noise reduction function in addition to collecting sound signals. In other embodiments, the electronic device 100 may further include three, four or more microphones 170C to collect sound signals, reduce noise, identify sound sources, perform directional recording, and so on.
The headphone interface 170D is used to connect a wired headphone. The headset interface 170D may be the USB interface 130, or may be a 3.5mm open mobile electronic device platform (OMTP) standard interface, a cellular telecommunications industry association (cellular telecommunications industry association of the USA, CTIA) standard interface.
The pressure sensor 180A is used for sensing a pressure signal, and converting the pressure signal into an electrical signal. In some embodiments, the pressure sensor 180A may be disposed on the display screen 194. The pressure sensor 180A can be of a wide variety, such as a resistive pressure sensor, an inductive pressure sensor, a capacitive pressure sensor, and the like. The capacitive pressure sensor may be a sensor comprising at least two parallel plates having an electrically conductive material. When a force acts on the pressure sensor 180A, the capacitance between the electrodes changes. The electronic device 100 determines the strength of the pressure from the change in capacitance. When a touch operation is applied to the display screen 194, the electronic apparatus 100 detects the intensity of the touch operation according to the pressure sensor 180A. The electronic apparatus 100 may also calculate the touched position from the detection signal of the pressure sensor 180A. In some embodiments, the touch operations that are applied to the same touch position but different touch operation intensities may correspond to different operation instructions. For example: and when the touch operation with the touch operation intensity smaller than the first pressure threshold value acts on the short message application icon, executing an instruction for viewing the short message. And when the touch operation with the touch operation intensity larger than or equal to the first pressure threshold value acts on the short message application icon, executing an instruction of newly building the short message.
The gyro sensor 180B may be used to determine the motion attitude of the electronic device 100. In some embodiments, the angular velocity of electronic device 100 about three axes (i.e., the x, y, and z axes) may be determined by gyroscope sensor 180B. The gyro sensor 180B may be used for photographing anti-shake. For example, when the shutter is pressed, the gyro sensor 180B detects a shake angle of the electronic device 100, calculates a distance to be compensated for by the lens module according to the shake angle, and allows the lens to counteract the shake of the electronic device 100 through a reverse movement, thereby achieving anti-shake. The gyroscope sensor 180B may also be used for navigation, somatosensory gaming scenes.
The air pressure sensor 180C is used to measure air pressure. In some embodiments, electronic device 100 calculates altitude, aiding in positioning and navigation, from barometric pressure values measured by barometric pressure sensor 180C.
The magnetic sensor 180D includes a hall sensor. The electronic device 100 may detect the opening and closing of the flip holster using the magnetic sensor 180D. In some embodiments, when the electronic device 100 is a flip, the electronic device 100 may detect the opening and closing of the flip according to the magnetic sensor 180D. And then according to the opening and closing state of the leather sheath or the opening and closing state of the flip cover, the automatic unlocking of the flip cover is set.
The acceleration sensor 180E may detect the magnitude of acceleration of the electronic device 100 in various directions (typically three axes). The magnitude and direction of gravity can be detected when the electronic device 100 is stationary. The method can also be used for recognizing the posture of the electronic equipment, and is applied to horizontal and vertical screen switching, pedometers and other applications.
A distance sensor 180F for measuring a distance. The electronic device 100 may measure the distance by infrared or laser. In some embodiments, taking a picture of a scene, electronic device 100 may utilize range sensor 180F to range for fast focus.
The proximity light sensor 180G may include, for example, a Light Emitting Diode (LED) and a light detector, such as a photodiode. The light emitting diode may be an infrared light emitting diode. The electronic device 100 emits infrared light to the outside through the light emitting diode. The electronic device 100 detects infrared reflected light from nearby objects using a photodiode. When sufficient reflected light is detected, it can be determined that there is an object near the electronic device 100. When insufficient reflected light is detected, the electronic device 100 may determine that there are no objects near the electronic device 100. The electronic device 100 can utilize the proximity light sensor 180G to detect that the user holds the electronic device 100 close to the ear for talking, so as to automatically turn off the screen to achieve the purpose of saving power. The proximity light sensor 180G may also be used in a holster mode, a pocket mode automatically unlocks and locks the screen.
The ambient light sensor 180L is used to sense the ambient light level. Electronic device 100 may adaptively adjust the brightness of display screen 194 based on the perceived ambient light level. The ambient light sensor 180L may also be used to automatically adjust the white balance when taking a picture. The ambient light sensor 180L may also cooperate with the proximity light sensor 180G to detect whether the electronic device 100 is in a pocket to prevent accidental touches.
The fingerprint sensor 180H is used to collect a fingerprint. The electronic device 100 can utilize the collected fingerprint characteristics to unlock the fingerprint, access the application lock, photograph the fingerprint, answer an incoming call with the fingerprint, and so on.
The temperature sensor 180J is used to detect temperature. In some embodiments, electronic device 100 implements a temperature processing strategy using the temperature detected by temperature sensor 180J. For example, when the temperature reported by the temperature sensor 180J exceeds a threshold, the electronic device 100 performs a reduction in performance of a processor located near the temperature sensor 180J, so as to reduce power consumption and implement thermal protection. In other embodiments, the electronic device 100 heats the battery 142 when the temperature is below another threshold to avoid the low temperature causing the electronic device 100 to shut down abnormally. In other embodiments, when the temperature is lower than a further threshold, the electronic device 100 performs a boost on the output voltage of the battery 142 to avoid abnormal shutdown due to low temperature.
The touch sensor 180K is also referred to as a "touch panel". The touch sensor 180K may be disposed on the display screen 194, and the touch sensor 180K and the display screen 194 form a touch screen, which is also called a "touch screen". The touch sensor 180K is used to detect a touch operation applied thereto or nearby. The touch sensor can communicate the detected touch operation to the application processor to determine the touch event type. Visual output associated with the touch operation may be provided through the display screen 194. In other embodiments, the touch sensor 180K may be disposed on a surface of the electronic device 100, different from the position of the display screen 194.
The bone conduction sensor 180M may acquire a vibration signal. In some embodiments, the bone conduction sensor 180M may acquire a vibration signal of the human vocal part vibrating the bone mass. The bone conduction sensor 180M may also contact the human pulse to receive the blood pressure pulsation signal. In some embodiments, the bone conduction sensor 180M may also be disposed in a headset, integrated into a bone conduction headset. The audio module 170 may analyze a voice signal based on the vibration signal of the bone mass vibrated by the sound part acquired by the bone conduction sensor 180M, so as to implement a voice function. The application processor can analyze heart rate information based on the blood pressure beating signal acquired by the bone conduction sensor 180M, so as to realize the heart rate detection function.
The keys 190 include a power-on key, a volume key, and the like. The keys 190 may be mechanical keys. Or may be touch keys. The electronic apparatus 100 may receive a key input, and generate a key signal input related to user setting and function control of the electronic apparatus 100.
The motor 191 may generate a vibration cue. The motor 191 may be used for incoming call vibration cues, as well as for touch vibration feedback. For example, touch operations applied to different applications (e.g., photographing, audio playing, etc.) may correspond to different vibration feedback effects. The motor 191 may also respond to different vibration feedback effects in response to touch operations applied to different areas of the display screen 194. Different application scenes (such as time reminding, receiving information, alarm clock, game and the like) can also correspond to different vibration feedback effects. The touch vibration feedback effect may also support customization.
Indicator 192 may be an indicator light that may be used to indicate a state of charge, a change in charge, or a message, missed call, notification, etc.
The SIM card interface 195 is used to connect a SIM card. The SIM card can be brought into and out of contact with the electronic apparatus 100 by being inserted into the SIM card interface 195 or being pulled out of the SIM card interface 195. The electronic device 100 may support 1 or N SIM card interfaces, N being a positive integer greater than 1. The SIM card interface 195 may support a Nano SIM card, a Micro SIM card, a SIM card, etc. The same SIM card interface 195 can be inserted with multiple cards at the same time. The types of the plurality of cards can be the same or different. The SIM card interface 195 may also be compatible with different types of SIM cards. The SIM card interface 195 may also be compatible with external memory cards. The electronic device 100 interacts with the network through the SIM card to implement functions such as communication and data communication. In some embodiments, the electronic device 100 employs esims, namely: an embedded SIM card. The eSIM card can be embedded in the electronic device 100 and cannot be separated from the electronic device 100.
The software system of the electronic device 100 may employ a layered architecture, an event-driven architecture, a micro-core architecture, a micro-service architecture, or a cloud architecture. The embodiment of the present application takes an Android system with a hierarchical architecture as an example, and exemplarily illustrates a software structure of the electronic device 100.
Fig. 3 is a block diagram of a software structure of the electronic device 100 according to the embodiment of the present application. The layered architecture divides the software into several layers, each layer having a clear role and division of labor. The layers communicate with each other through a software interface. In some embodiments, the Android system is divided into four layers, an application layer, an application framework layer, an Android runtime (Android runtime) and system library, and a kernel layer from top to bottom. The application layer may include a series of application packages.
As shown in fig. 3, the application package may include camera, gallery, calendar, phone call, map, navigation, WLAN, bluetooth, music, video, short message, etc. applications.
The application framework layer provides an Application Programming Interface (API) and a programming framework for the application program of the application layer. The application framework layer includes a number of predefined functions.
As shown in fig. 3, the application framework layer may include a window manager, a content provider, a view system, a phone manager, a resource manager, a notification manager, a bluetooth proxy module, and the like.
The window manager is used for managing window programs. The window manager can obtain the size of the display screen, judge whether a status bar exists, lock the screen, intercept the screen and the like.
The content provider is used to store and retrieve data and make it accessible to applications. The data may include video, images, audio, calls made and received, browsing history and bookmarks, phone books, etc.
The view system includes visual controls such as controls to display text, controls to display pictures, and the like. The view system may be used to build applications. The display interface may be composed of one or more views. For example, the display interface including the short message notification icon may include a view for displaying text and a view for displaying pictures.
The phone manager is used to provide communication functions of the electronic device 100. Such as management of call status (including on, off, etc.).
The resource manager provides various resources for the application, such as localized strings, icons, pictures, layout files, video files, and the like.
The notification manager enables the application to display notification information in the status bar, can be used to convey notification-type messages, can disappear automatically after a short dwell, and does not require user interaction. Such as a notification manager used to inform download completion, message alerts, etc. The notification manager may also be a notification that appears in the form of a chart or scrollbar text in a status bar at the top of the system, such as a notification of a running application in the background, or a notification that appears on the screen in the form of a dialog window. For example, prompting text information in the status bar, sounding a prompt tone, vibrating the electronic device, flashing an indicator light, etc.
The Android runtime comprises a core library and a virtual machine. The Android runtime is responsible for scheduling and managing an Android system.
The core library comprises two parts: one part is a function which needs to be called by java language, and the other part is a core library of android.
The application layer and the application framework layer run in a virtual machine. And executing java files of the application program layer and the application program framework layer into a binary file by the virtual machine. The virtual machine is used for performing the functions of object life cycle management, stack management, thread management, safety and exception management, garbage collection and the like.
The system library may include a plurality of functional modules. For example: surface managers (surface managers), media libraries (media libraries), three-dimensional graphics processing libraries (e.g., OpenGL ES), 2D graphics engines (e.g., SGL), and the like.
The surface manager is used to manage the display subsystem and provide fusion of 2D and 3D layers for multiple applications.
The media library supports a variety of commonly used audio, video format playback and recording, and still image files, among others. The media library may support a variety of audio-video encoding formats, such as MPEG4, h.264, MP3, AAC, AMR, JPG, PNG, and the like.
The three-dimensional graphic processing library is used for realizing three-dimensional graphic drawing, image rendering, synthesis, layer processing and the like.
The 2D graphics engine is a drawing engine for 2D drawing.
The kernel layer is a layer between hardware and software. The inner core layer at least comprises a display driver, a camera driver, an audio driver and a sensor driver.
In order to facilitate understanding of the embodiment of the present application, a brief description is first given of a flow of outputting a display screen by a VR device.
When the VR equipment outputs a display picture, resource information corresponding to the display picture is firstly acquired by a GPU (graphics processing Unit) in the VR equipment, the GPU constructs and renders the resource information to form an image digital signal, then the image digital signal is input to a display driver IC (digital driver IC) of the VR equipment, the digital driver IC (digital driver IC) converts the image digital signal into an analog signal, and a display device in a display screen is controlled through the analog signal, so that the VR equipment outputs the display picture. For example, the DDIC outputs a control voltage or current to the cathode and the anode of the OLED light-emitting layer, and the cathode and the anode receive the control voltage or current to complete the driving of each pixel, so that the VR device outputs a corresponding display frame.
In the following embodiments of the present application, a VR device having a structure shown in fig. 2 and fig. 3 is taken as an example, and a display method provided by the embodiments of the present application is specifically described with reference to the accompanying drawings and application scenarios.
Fig. 4 is a schematic flowchart of an example of a display method provided in an embodiment of the present application, where the method includes:
s101, if the first target part of the user starts to rotate is recognized, a first request is sent to a server, and the first request carries the rotating direction of the first target part.
Because human eyeball rotation and head rotation are controlled by different tissues, eyeball rotation efficiency is higher than that of the head, and rotation reaction speed is higher, so that a user mainly takes visual traction action in a VR equipment scene, and when the user intends to rotate the head, eyeball action is faster than head action. When the eyeball rotates, the eyeball is understood to be in a saccadic state, and the saccadic state means that the target of the eye is changed or indicates that the information in the visual field is inconsistent with the expectation of the user; when the eyeball is still, it can be understood that the eyeball is in a fixation state, and the fixation point can show that the eye is looking at a certain target (with cognitive processing), meaning that the eye is locking on the target, and fixation and saccade are often alternated.
Based on the above physiological characteristics of the human body, when the VR device recognizes that the eyeball (i.e., the first target portion) of the user starts to rotate, i.e., the eyeball changes from the fixation state to the saccadic state, the embodiment sends a first request to the server, where the first request carries the rotation direction of the eyeball and is used for requesting the server for data of a new picture to be displayed.
By way of example and not limitation, a camera, such as a camera, may be disposed in the VR device at a position opposite to the user's eyes for capturing an image of the user's eyes, and the camera may operate at a frequency of 60 hertz (hz) to 120hz, with a time delay of 15ms to 8ms per frame; and then, identifying the shot eye images, identifying the positions of the eyeballs in the eye images, and if the positions of the eyeballs in the continuous multi-frame eye images are different, indicating that the eyeballs start to rotate continuously. Optionally, in this embodiment, eye images with different sampling frame numbers may be selected to determine whether the eyeball starts to rotate.
In a possible implementation manner, the first target portion may be a pupil of the user, and a process of determining the rotation of the pupil of the user is similar to a process of determining the rotation of an eyeball of the user, which is not described herein again.
In another possible implementation, the first target portion may be a head of a user, and an Inertial Measurement Unit (IMU) is generally disposed in the VR device, and the IMU is a device for measuring a three-axis attitude angle (or angular rate) and an acceleration of the target. Generally, the IMU includes three single-axis accelerometers and three single-axis gyroscopes, the accelerometers measure acceleration signals of a target in three axes in a coordinate system, the gyroscopes measure angular velocities of the target moving in the coordinate system, and finally the attitude of the target is calculated according to the obtained measurement data. Then, the variation of the head pose of the user can be identified by the measurement data of the IMU, and once it is identified that the head of the user starts to rotate, a first request is sent to the server.
And S102, the server determines the data of the picture to be displayed according to the rotating direction of the first target part.
S103, the server sends the data of the picture to be displayed to VR equipment.
Specifically, after receiving the first request sent by the VR device, the server may determine data of a picture to be displayed according to a rotation direction of an eyeball. Because the picture displayed by the VR device is a three-dimensional picture, the corresponding whole scene corresponds to a sphere, the data of the whole scene is stored in the server (it can be assumed here that the whole scene picture is located in an xyz coordinate system), and the picture displayed by the VR device each time corresponds to a field of view (FOV) picture in the scene; optionally, after receiving the first request, the server may select, according to the rotation direction of the eyeball, an adjacent view angle picture of the current view angle picture as a picture to be displayed, and a direction of the adjacent view angle picture relative to the current view angle picture is consistent with the rotation direction of the eyeball.
For example, as shown in fig. 5, assuming that the rotation direction of the eyeball is rightward rotation, and the current view angle picture displayed by the VR device is a, the server selects a view angle picture W adjacent to the right of a from the whole scene picture as a picture to be displayed, and sends data of the picture to be displayed to the VR device; the view angle of the screen displayable by the VR device is a preset view angle, such as 60 ° or 90 ° screen.
And S104, displaying the picture to be displayed to the user through the display screen according to the data of the picture to be displayed.
Specifically, after the VR device receives the data of the to-be-displayed image, the VR device may perform construction, rendering, signal conversion, and the like according to the above-mentioned flow of outputting the to-be-displayed image, and display the to-be-displayed image to the user through the display screen.
In one possible implementation manner, after the VR device receives data of a to-be-displayed picture, the to-be-displayed picture can be immediately displayed to a user through a display screen.
In another possible implementation manner, when the VR device recognizes that the eyeballs of the user do not rotate any more, for example, recognizes that the positions of the eyeballs in the multi-frame eye images do not change any more, and then displays the to-be-displayed picture to the user through the display screen.
According to the display method, as the eye movement speed of the user is higher than the head movement speed, once the VR equipment recognizes that the eyeballs of the user start to rotate, the VR equipment sends a first request to the server, receives the data of the picture to be displayed, which is determined by the server according to the rotation direction of the eyeballs carried by the first request, and further displays the picture to be displayed; the method can greatly reduce the time delay of the picture display, thereby improving the visual experience of the user.
In an embodiment, before the step S101 recognizes that the first target portion of the user starts to rotate and sends the first request to the server, the VR device further needs to determine whether the first target portion starts to rotate, as shown in fig. 6, the specific process may include:
s201, a first image and a second image are obtained, wherein the first image and the second image are two adjacent frames of images, and the first image and the second image both comprise the first target part.
S202, respectively identifying a first position of the first target portion in the first image and a second position of the first target portion in the second image.
Specifically, the camera device installed inside the VR device may continuously acquire eye images of a user at a fixed frame rate, each eye image includes an eyeball, and after the VR device acquires two adjacent frames of eye images (including a first image and a second image), positions of the eyeballs in the two frames of eye images may be respectively identified. By way of example and not limitation, the VR device may identify the eye image using a neural network-based object detection algorithm, such as a YOLO algorithm, a Fast-RCNN algorithm, and the like, to obtain a first position of the eyeball in the first image and a second position of the eyeball in the second image. Alternatively, the first position may be represented by coordinates of an eyeball center (e.g., pupil) in the first image, and the second position may be represented by coordinates of the eyeball center in the second image, where it should be noted that the first image and the second image need to be in the same reference coordinate system.
In a possible implementation manner, after the camera device collects multiple frames of eye images, the VR device may identify the eye images at intervals, or identify the eye images at intervals of multiple frames, so as to determine the positions of the eyeballs in the eye images.
In another possible implementation manner, the first image and the second image may also be facial images of a user as long as the eyeball part can be included, and the embodiment does not specifically limit the first image and the second image.
S203, if the second position is different from the first position, determining that the first target part starts to rotate.
If the obtained second position is different from the first position, indicating that the eyeball starts to rotate; however, in practical applications, the eyeball of the human body may unintentionally slightly move, so that the present embodiment may further set a threshold value, and when the coordinate difference between the second position and the first position is greater than the threshold value, that is, when the eyeball has a slightly large position change, the eyeball starts to rotate.
Then, the VR device may further determine a rotation direction of the eyeball according to the second position and the first position, assuming that the first image and the second image are in the same XY coordinate system, if the x coordinate of the second position is greater than the x coordinate of the first position, it indicates that the eyeball rotates to the right, and if the x coordinate of the second position is less than the x coordinate of the first position, it indicates that the eyeball rotates to the left; and the VR device can then generate a first request according to the determined rotation direction and send the first request to the server.
In another possible implementation manner, as shown in (a) of fig. 7, the VR device may further use a distance from a center of an eyeball (e.g., a pupil) in the first image to a preset point as the first position; as shown in fig. 7 (b), the distance from the eyeball center to the preset point in the second image is taken as the second position, and the preset point may be an eye corner position point (e.g., point S in fig. 7). If the second position is different from the first position, it can indicate that the eyeball starts to rotate; if the second position is greater than the first position, i.e. the pupil is farther from the point S in the second image than the point S in the first image, the eyeball turns to the left, and if the second position is smaller than the first position, i.e. the pupil is closer to the point S in the second image than the point S in the first image, the eyeball turns to the right.
According to the display method, the VR device determines whether the first target part starts to rotate or not according to the position of the first target part in the two adjacent frames of images, so that the accuracy of the determination result is improved, the first request is sent to the server on the basis, the accuracy of the data of the picture to be displayed determined by the server can be improved, and the visual experience of a user is further improved.
In one embodiment, in order to avoid the situation that the user may have unintentional eyeball rotation but does not actually want to change the display picture, the head rotation data of the user may be further obtained, and the eyeball rotation data and the head rotation data are compared to determine whether the picture to be displayed is displayed. Fig. 8 is a schematic flowchart of another display method provided in an embodiment of the present application, where the method includes:
s301, if the first target part of the user starts to rotate is recognized, a first request is sent to a server, and the first request carries the rotation direction of the first target part.
S302, receiving the data of the picture to be displayed, which is determined by the server according to the rotating direction of the first target part.
The implementation process of steps S301 to S302 is similar to that of steps S101 to S102, and is not described herein again.
S303, obtaining first data, where the first data includes a rotation direction of a second target portion of the user.
The VR device requests the server for the data of the picture to be displayed according to the rotation direction of eyeballs of the user because the eye movement of the user is faster than the head movement of the user, and then the data of the picture to be displayed can be stored in a local cache; then, it is determined that the user really wants to change the display picture of the VR device instead of physiological eye movement, such as unconscious micromotion of eyeballs, and the VR device can further perform judgment according to the rotation data of the head (i.e., the second target portion) of the user, so as to avoid the phenomenon that the display picture of the VR device is trembled due to frequent micromotion of the eyeballs. Alternatively, the rotational direction of the user's head may be obtained from measurement data of an IMU configured in the VR device.
In one possible implementation manner, the process of acquiring the first data by the VR device may be: the VR equipment firstly judges whether the head of a user rotates excessively and is in a static state currently, for example, when the head is static, the acceleration value of the z axis of an accelerometer is gravity acceleration, and changes when the head rotates, so that whether the head rotates and is in the static state currently can be judged through the acceleration value of the z axis; if yes, the rotation direction of the head of the user is determined according to the measurement data.
And S304, if the rotating direction of the first target part is the same as that of the second target part, displaying the picture to be displayed to the user through the display screen according to the data of the picture to be displayed.
Specifically, if the VR device determines that the rotation direction of the eyeballs of the user is the same as the rotation direction of the head, the to-be-displayed picture is displayed through the display screen according to the flow of outputting the display picture; if the rotation direction of the eyeballs of the user is different from the rotation direction of the head, the displayed picture is not changed.
According to the display method, the VR equipment displays the picture to be displayed to the user through the display screen under the condition that the rotation direction of the eyeballs of the user is the same as the rotation direction of the head of the user, so that the phenomenon of shaking of the displayed picture caused by frequent micro-movement of the eyeballs of the user can be reduced, and the visual experience of the user is further improved.
In an embodiment, to further improve the visual experience of the user, the VR device may further determine a condition for displaying a to-be-displayed picture, and fig. 9 is a schematic flow chart of another display method provided in the embodiment of the present application, where the method includes:
s401, if the first target part of the user starts to rotate is recognized, a first request is sent to a server, and the first request carries the rotating direction and the rotating angle of the first target part.
In this embodiment, the first request may carry the rotation angle of the user's eyeball in addition to the rotation direction of the user's eyeball. Wherein, the rotation angle of the eyeball can be determined by the following processes: generally, the eyeball of a human body is approximately spherical, the anteroposterior diameter is 24 millimeters (mm), the vertical diameter is 23.5mm, the circumference of the equatorial part is 75mm, and the eyeball is assumed to be 360-degree spherical, the diameter is 24mm, and the circumference is 75mm in the embodiment. Firstly, the positions of eyeballs in adjacent eye images can be determined by the method of the embodiment, and the rotation displacement of the eyeballs can be determined according to the pupil coordinates by taking the positions of the eyeballs as the pupil coordinates as an example; for example, fig. 10 (a) is a first image, fig. 10 (b) is a second image, and the difference between the horizontal coordinates of the pupil in the two images is recorded as the rotational displacement d, and then the rotational displacement d is passed
Figure BDA0002837170030000151
The rotation angle of the eyeball can be obtained through calculation by the relational expression of (A).
S402, receiving data of the picture to be displayed, which is determined by the server according to the rotating direction of the first target part.
In a possible implementation manner, the implementation process of this step is similar to the implementation process of S102 described above, and is not described here again.
In another possible implementation manner, the server may further determine the data of the picture to be displayed according to the rotation direction and the rotation angle of the first target portion. Assuming that the view angle of a displayable picture of the currently set VR device is 30 ° and the right rotation angle of the eyeball is 45 °, the server may select a view angle picture separated by half the view angle from the current view angle picture as a picture to be displayed, and send data of the picture to be displayed to the VR device.
In another possible implementation manner, the first request may carry a rotation direction and a rotation displacement of the first target portion, and the server may determine data of the frame to be displayed according to the rotation direction and the rotation displacement of the first target portion. Optionally, the server may set a correspondence between the eyeball rotation displacement and the image movement displacement, for example, when the eyeball rotation displacement is 1mm, the image needs to move by 1 centimeter (cm); then, the displacement of the display picture which needs to be moved can be calculated according to the received rotation displacement of the eyeballs, and the picture data which is positioned in the current view angle after the movement is used as the data of the picture to be displayed. For example, as shown in fig. 11, a picture in the current view angle is Q, and if the server receives that the eyeball moves 10mm rightward, the picture needs to move 10cm rightward, the picture in the current view angle after movement is R, and the server may send picture data corresponding to R to the VR device as data of the picture to be displayed.
S403, acquiring first data, where the first data includes a rotation direction and a rotation angle of a second target portion of the user.
S404, if the rotating direction of the first target part is the same as that of the second target part, and the angle difference between the rotating angle of the first target part and the rotating angle of the second target part is smaller than or equal to a preset threshold value, displaying the picture to be displayed to the user through the display screen according to the data of the picture to be displayed.
Wherein the rotation angle of the second target portion (head) of the user may be outputted by the IMU. Then, the VR device judges whether the rotation direction of the eyeball is the same as the rotation direction of the head, the angle difference between the rotation angle of the eyeball and the rotation angle of the head is smaller than or equal to a preset threshold (for example, 5 degrees), and if the two conditions are met simultaneously, the picture to be displayed is displayed to a user through a display screen.
For the method in this embodiment, after the VR device recognizes the eye rotation and sends the first request to the server, it usually takes about 100ms until the IMU recognizes the head rotation and the stillness of the user, so that the time difference is used to request the server for the picture data, and the picture to be displayed can be displayed immediately after the display condition is satisfied, thereby greatly reducing the time delay of picture display.
According to the display method, the VR equipment sends the first request to the server when recognizing that the eyeballs of the user start to rotate, then the received data of the picture to be displayed are stored in the cache, and when the rotation direction of the eyeballs of the user is the same as the rotation direction of the head and the angle difference between the rotation angle of the eyeballs and the rotation angle of the head is smaller than or equal to the preset threshold value, the picture to be displayed is displayed to the user through the display screen, so that the visual experience of the user can be further improved.
Examples of the display methods provided by embodiments of the present application are described above in detail. It will be appreciated that the electronic device, in order to implement the above-described functions, comprises corresponding hardware and/or software modules for performing the respective functions. Those of skill in the art would readily appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as hardware or combinations of hardware and computer software. Whether a function is performed as hardware or computer software drives hardware depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, with the embodiment described in connection with the particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiment of the present application, the electronic device may be divided into function modules according to the method example, for example, the function modules may be divided into function modules corresponding to the functions, such as a detection unit, a processing unit, a display unit, and the like, or two or more functions may be integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. It should be noted that, in the embodiment of the present application, the division of the module is schematic, and is only one logic function division, and there may be another division manner in actual implementation.
It should be noted that all relevant contents of each step related to the above method embodiment may be referred to the functional description of the corresponding functional module, and are not described herein again.
The electronic device provided by the embodiment is used for executing the display method, so that the same effect as the effect of the implementation method can be achieved.
In case of an integrated unit, the electronic device may further comprise a processing module, a storage module and a communication module. The processing module can be used for controlling and managing the action of the electronic equipment. The memory module may be used to support the electronic device in executing stored program codes and data, etc. The communication module can be used for supporting the communication between the electronic equipment and other equipment.
The processing module may be a processor or a controller. Which may implement or perform the various illustrative logical blocks, modules, and circuits described in connection with the disclosure. A processor may also be a combination of computing functions, e.g., a combination comprising one or more microprocessors, Digital Signal Processing (DSP) and microprocessors, or the like. The storage module may be a memory. The communication module may specifically be a radio frequency circuit, a bluetooth chip, a Wi-Fi chip, or other devices that interact with other electronic devices.
In an embodiment, when the processing module is a processor and the storage module is a memory, the electronic device according to this embodiment may be a device having the structure shown in fig. 2.
An embodiment of the present application further provides a computer-readable storage medium, in which a computer program is stored, and when the computer program is executed by a processor, the processor is caused to execute the display method according to any one of the above embodiments.
The embodiment of the present application further provides a computer program product, which when run on a computer, causes the computer to execute the relevant steps described above, so as to implement the display method in the foregoing embodiment.
In addition, embodiments of the present application also provide an apparatus, which may be specifically a chip, a component or a module, and may include a processor and a memory connected to each other; the memory is used for storing computer execution instructions, and when the device runs, the processor can execute the computer execution instructions stored in the memory, so that the chip can execute the display method in the above method embodiments.
The electronic device, the computer-readable storage medium, the computer program product, or the chip provided in this embodiment are all configured to execute the corresponding method provided above, so that the beneficial effects achieved by the electronic device, the computer-readable storage medium, the computer program product, or the chip may refer to the beneficial effects in the corresponding method provided above, and are not described herein again.
Through the description of the above embodiments, those skilled in the art will understand that, for convenience and simplicity of description, only the division of the above functional modules is used as an example, and in practical applications, the above function distribution may be completed by different functional modules as needed, that is, the internal structure of the device may be divided into different functional modules to complete all or part of the above described functions.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described embodiments of the apparatus are merely illustrative, and for example, a module or a unit may be divided into only one logic function, and may be implemented in other ways, for example, a plurality of units or components may be combined or integrated into another apparatus, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
Units described as separate parts may or may not be physically separate, and parts displayed as units may be one physical unit or a plurality of physical units, may be located in one place, or may be distributed to a plurality of different places. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented as a software functional unit and sold or used as a separate product, may be stored in a readable storage medium. Based on such understanding, the technical solutions of the embodiments of the present application may be essentially or partially contributed to by the prior art, or all or part of the technical solutions may be embodied in the form of a software product, where the software product is stored in a storage medium and includes several instructions to enable a device (which may be a single chip, a chip, or the like) or a processor (processor) to execute all or part of the steps of the methods of the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present application, and shall be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (11)

1. A display method is applied to an electronic device comprising a display screen, and the method comprises the following steps:
if the first target part of the user starts to rotate is identified, a first request is sent to a server, and the first request carries the rotating direction of the first target part;
receiving data of a picture to be displayed, which is determined by the server according to the rotating direction of the first target part;
and displaying the picture to be displayed to the user through the display screen according to the data of the picture to be displayed.
2. The method of claim 1, further comprising:
acquiring first data, wherein the first data comprises a rotation direction of a second target part of the user;
the displaying the picture to be displayed to the user through the display screen according to the data of the picture to be displayed comprises the following steps:
and if the rotating direction of the first target part is the same as that of the second target part, displaying the picture to be displayed to the user through the display screen according to the data of the picture to be displayed.
3. The method of claim 2, wherein an inertial measurement unit is configured in the electronic device, and wherein the acquiring first data comprises:
judging whether the second target part rotates excessively and is in a static state currently according to the measurement data of the inertial measurement unit;
and if so, acquiring the first data according to the measurement data.
4. The method of claim 2 or 3, wherein the first request further carries an angle of rotation of the first target site, and the first data further comprises an angle of rotation of the second target site;
if the rotation direction of the first target part is the same as the rotation direction of the second target part, displaying the picture to be displayed to the user through the display screen according to the data of the picture to be displayed, including:
and if the rotating direction of the first target part is the same as that of the second target part, and the angle difference between the rotating angle of the first target part and the rotating angle of the second target part is smaller than or equal to a preset threshold value, displaying the picture to be displayed to the user through the display screen according to the data of the picture to be displayed.
5. The method of claim 4, wherein the first target site comprises an eyeball or a pupil and the second target site comprises a head of the user.
6. The method of claim 1, wherein before sending the first request to the server if the first target portion of the user is identified to begin rotating, the method further comprises:
acquiring a first image and a second image, wherein the first image and the second image are two adjacent frames of images, and the first image and the second image both comprise the first target part;
identifying a first location of the first target site in the first image and a second location of the first target site in the second image, respectively;
and if the second position is different from the first position, determining that the first target part starts to rotate.
7. The method of claim 6, further comprising:
and determining the rotation direction of the first target part according to the second position and the first position, and generating the first request according to the rotation direction of the first target part.
8. The method according to claim 7, wherein the first request further carries a rotational displacement of the first target portion, and the receiving data of the frame to be displayed, which is determined by the server according to the rotational direction of the first target portion, comprises:
and receiving data of the picture to be displayed, which is determined by the server according to the rotating direction and the rotating displacement of the first target part.
9. The method of claim 6, wherein the first image and the second image are both images of the user's eyes.
10. An electronic device, comprising:
a display screen;
one or more processors;
one or more memories;
a module in which a plurality of applications are installed;
the memory stores one or more programs that, when executed by the processor, cause the electronic device to perform the method of any of claims 1-9.
11. A computer-readable storage medium, in which a computer program is stored which, when executed by a processor, causes the processor to carry out the method of any one of claims 1 to 9.
CN202011474970.7A 2020-12-15 2020-12-15 Display method and electronic equipment Pending CN114637392A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011474970.7A CN114637392A (en) 2020-12-15 2020-12-15 Display method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011474970.7A CN114637392A (en) 2020-12-15 2020-12-15 Display method and electronic equipment

Publications (1)

Publication Number Publication Date
CN114637392A true CN114637392A (en) 2022-06-17

Family

ID=81945317

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011474970.7A Pending CN114637392A (en) 2020-12-15 2020-12-15 Display method and electronic equipment

Country Status (1)

Country Link
CN (1) CN114637392A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117278733A (en) * 2023-11-22 2023-12-22 潍坊威龙电子商务科技有限公司 Display method and system of panoramic camera in VR head display

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117278733A (en) * 2023-11-22 2023-12-22 潍坊威龙电子商务科技有限公司 Display method and system of panoramic camera in VR head display
CN117278733B (en) * 2023-11-22 2024-03-19 潍坊威龙电子商务科技有限公司 Display method and system of panoramic camera in VR head display

Similar Documents

Publication Publication Date Title
WO2020259452A1 (en) Full-screen display method for mobile terminal, and apparatus
CN109814766B (en) Application display method and electronic equipment
CN113475057B (en) Video frame rate control method and related device
CN110956939B (en) Method for adjusting screen brightness and electronic equipment
CN113722058B (en) Resource calling method and electronic equipment
CN113704205B (en) Log storage method, chip, electronic device and readable storage medium
WO2022095744A1 (en) Vr display control method, electronic device, and computer readable storage medium
CN115589051B (en) Charging method and terminal equipment
CN114995715B (en) Control method of floating ball and related device
WO2022170856A1 (en) Method for establishing connection, and electronic device
CN113489895B (en) Method for determining recommended scene and electronic equipment
CN112584037B (en) Method for saving image and electronic equipment
CN114548141A (en) Method and device for generating waveform file, electronic equipment and readable storage medium
CN116048831B (en) Target signal processing method and electronic equipment
CN114637392A (en) Display method and electronic equipment
WO2022135195A1 (en) Method and apparatus for displaying virtual reality interface, device, and readable storage medium
CN113380240B (en) Voice interaction method and electronic equipment
CN111982037B (en) Height measuring method and electronic equipment
CN115421619A (en) Window display method and electronic equipment
CN114740986A (en) Handwriting input display method and related equipment
CN114812381A (en) Electronic equipment positioning method and electronic equipment
CN116320880B (en) Audio processing method and device
WO2023197999A1 (en) Display method and electronic device
CN117666824A (en) Method and device for controlling cursor movement
CN113849113A (en) Touch operation processing method, electronic device and computer-readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination