CN113012301A - Visual replacement method and device for battery, storage medium and device - Google Patents

Visual replacement method and device for battery, storage medium and device Download PDF

Info

Publication number
CN113012301A
CN113012301A CN202110469938.8A CN202110469938A CN113012301A CN 113012301 A CN113012301 A CN 113012301A CN 202110469938 A CN202110469938 A CN 202110469938A CN 113012301 A CN113012301 A CN 113012301A
Authority
CN
China
Prior art keywords
battery
image
real
current position
current
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.)
Granted
Application number
CN202110469938.8A
Other languages
Chinese (zh)
Other versions
CN113012301B (en
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.)
Goertek Inc
Original Assignee
Goertek Inc
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 Goertek Inc filed Critical Goertek Inc
Priority to CN202110469938.8A priority Critical patent/CN113012301B/en
Publication of CN113012301A publication Critical patent/CN113012301A/en
Application granted granted Critical
Publication of CN113012301B publication Critical patent/CN113012301B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T19/00Manipulating 3D models or images for computer graphics
    • G06T19/006Mixed reality
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/50Controlling the output signals based on the game progress
    • A63F13/52Controlling the output signals based on the game progress involving aspects of the displayed game scene
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/50Controlling the output signals based on the game progress
    • A63F13/53Controlling the output signals based on the game progress involving additional visual information provided to the game scene, e.g. by overlay to simulate a head-up display [HUD] or displaying a laser sight in a shooting game
    • A63F13/533Controlling the output signals based on the game progress involving additional visual information provided to the game scene, e.g. by overlay to simulate a head-up display [HUD] or displaying a laser sight in a shooting game for prompting the player, e.g. by displaying a game menu
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T5/00Image enhancement or restoration
    • G06T5/73Deblurring; Sharpening

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Optics & Photonics (AREA)
  • Computer Graphics (AREA)
  • Computer Hardware Design (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Power Sources (AREA)
  • Charge And Discharge Circuits For Batteries Or The Like (AREA)

Abstract

The invention discloses a visual battery replacement method, visual battery replacement equipment, a visual battery replacement storage medium and a visual battery replacement device, wherein when a battery to be replaced is detected to be taken out, a real-time image at a battery placement groove is displayed in a current display screen; acquiring the current position of a battery to be installed through a preset sensor module; generating a battery installation prompt according to the real-time image and the current position; and displaying the current position and a battery installation prompt in the real-time image so that a user can install the battery to be installed according to the current position and the battery installation prompt. According to the invention, the real-time image of the battery placing groove is displayed, and the installation prompt is generated according to the current position of the battery to be installed, which is acquired by the sensor module, so that a user can install the battery to be installed according to the current position and the battery installation prompt, and the battery replacement of VR equipment is realized without taking down the VR equipment.

Description

Visual replacement method and device for battery, storage medium and device
Technical Field
The invention relates to the technical field of virtual reality, in particular to a visual battery replacement method, visual battery replacement equipment, a visual battery replacement storage medium and a visual battery replacement device.
Background
VR (Virtual Reality) technology is a computer simulation system that creates and experiences Virtual worlds, which uses computers to create a simulated environment into which users are immersed through systematic simulation of multi-source information-fused, interactive, three-dimensional dynamic views and physical behaviors.
At present, when a VR device plays a large game, power consumption is large, electricity consumption is fast, but the duration of the game is long. More and more VR devices are using a dual battery solution, and both battery 1 and battery 2 can power the device and can be removed and replaced, thus allowing the user to play games continuously. Now, when the user usually wants to replace the battery, the user needs to remove the device from the head to replace the battery for the device because of poor operation, which causes the user to have to pause the game being played, and further causes the user experience to be poor.
The above is only for the purpose of assisting understanding of the technical aspects of the present invention, and does not represent an admission that the above is prior art.
Disclosure of Invention
The invention mainly aims to provide a visual battery replacement method, equipment, a storage medium and a device, and aims to solve the technical problem that the equipment needs to be taken down from a head to replace a battery for the equipment in the prior art.
In order to achieve the above object, the present invention provides a visual battery replacement method, which includes the following steps:
when the battery to be replaced is detected to be taken out, displaying a real-time image at the battery placing groove in the current display screen;
acquiring the current position of a battery to be installed through a preset sensor module;
generating a battery installation prompt according to the real-time image and the current position;
and displaying the current position and the battery installation prompt in the real-time image so that a user can install the battery to be installed according to the current position and the battery installation prompt.
Preferably, the step of acquiring the current position of the battery to be mounted through the preset sensor module includes:
collecting space position information corresponding to a battery to be installed through a sensor module preset at the battery placement groove;
and determining the current position of the battery to be installed according to the spatial position information.
Preferably, the sensors in the preset sensor modules are uniformly arranged at the edge of the battery placing groove;
the step of collecting the spatial position information corresponding to the battery to be installed through the sensor module preset at the battery placing groove comprises the following steps:
acquiring sensor position information of each sensor in a preset sensor module and object shielding information fed back by each sensor;
and acquiring the spatial position information corresponding to the battery to be installed according to the sensor position information and the object shielding information.
Preferably, after the step of obtaining the spatial position information corresponding to the battery to be installed according to the sensor position information and the object shielding information, the method further includes:
updating the spatial position information corresponding to the battery to be installed according to the change of the object shielding information so as to acquire new spatial position information;
correspondingly, the step of determining the current position of the battery to be installed according to the spatial position information includes:
and determining the current position of the battery to be installed according to the new spatial position information.
Preferably, the step of determining the current position of the battery to be mounted according to the spatial position information includes:
extracting image parameters of the battery to be installed from a preset image parameter database according to the spatial position information;
rendering the image parameters to obtain a rendered image of the position of the battery to be installed;
and determining the current position of the battery to be installed according to the position rendering image.
Preferably, the step of determining the current position of the battery to be installed according to the position rendering image comprises:
carrying out image sharpening on the position rendering image to obtain a position sharpened image;
and determining the current position of the battery to be installed according to the position sharpened image.
Preferably, the step of displaying the real-time image at the battery placement slot in the current display screen when the battery to be replaced is detected to be taken out comprises the following steps:
when the battery to be replaced is detected to be taken out, acquiring a real-time image displayed in a current display screen;
performing region division on a current display screen according to the display weight of the real-time image to obtain a battery replacement display region;
and displaying the real-time image of the battery placing groove in the battery replacement display area.
In addition, in order to achieve the above object, the present invention further provides a visual replacing device for a battery, which includes a memory, a processor, and a visual replacing program for a battery stored in the memory and operable on the processor, wherein the visual replacing program for a battery is configured to implement the steps of the visual replacing method for a battery as described above.
In addition, to achieve the above object, the present invention further proposes a storage medium, on which a visual replacement program of a battery is stored, which when executed by a processor implements the steps of the visual replacement method of a battery as described above.
In order to achieve the above object, the present invention further provides a visual replacing device for a battery, including: the device comprises: the system comprises an image display module, a position acquisition module, a prompt generation module and a prompt display module;
the image display module is used for displaying a real-time image at the battery placement groove in the current display screen when the battery to be replaced is detected to be taken out;
the position acquisition module is used for acquiring the current position of the battery to be installed through a preset sensor module;
the prompt generation module is used for generating a battery installation prompt according to the real-time image and the current position;
and the prompt display module is used for displaying the current position and the battery installation prompt in the real-time image so that a user can install the battery to be installed according to the current position and the battery installation prompt.
The invention provides a visual battery replacement method, equipment, a storage medium and a device, wherein when the method detects that a battery to be replaced is taken out, a real-time image at a battery placing groove is displayed in a current display screen; acquiring the current position of a battery to be installed through a preset sensor module; generating a battery installation prompt according to the real-time image and the current position; and displaying the current position and a battery installation prompt in the real-time image so that a user can install the battery to be installed according to the current position and the battery installation prompt. According to the invention, the real-time image of the battery placing groove is displayed, and the installation prompt is generated according to the current position of the battery to be installed, which is acquired by the sensor module, so that a user can install the battery to be installed according to the current position and the battery installation prompt, and the battery replacement of VR equipment is realized without taking down the VR equipment.
Drawings
Fig. 1 is a schematic structural diagram of a visual replacement device for a battery in a hardware operating environment according to an embodiment of the present invention;
FIG. 2 is a schematic flow chart illustrating a first embodiment of a visual battery replacement method according to the present invention;
FIG. 3 is a schematic flow chart of a visual replacement method of a battery according to a second embodiment of the present invention;
FIG. 4 is a schematic flow chart of a visual replacing method for a battery according to a third embodiment of the invention;
fig. 5 is a block diagram showing the configuration of a first embodiment of the visual battery replacement apparatus according to the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Referring to fig. 1, fig. 1 is a schematic structural diagram of a visual replacement device for a battery in a hardware operating environment according to an embodiment of the present invention.
As shown in fig. 1, the visual replacement device for a battery may include: a processor 1001, such as a Central Processing Unit (CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. Wherein a communication bus 1002 is used to enable connective communication between these components. The user interface 1003 may include a Display screen (Display), and the optional user interface 1003 may further include a standard wired interface and a wireless interface, and the wired interface for the user interface 1003 may be a USB interface in the present invention. The network interface 1004 may optionally include a standard wired interface, a WIreless interface (e.g., a WIreless-FIdelity (WI-FI) interface). The Memory 1005 may be a Random Access Memory (RAM) Memory or a Non-volatile Memory (NVM), such as a disk Memory. The memory 1005 may alternatively be a storage device separate from the processor 1001.
It will be appreciated by those skilled in the art that the configuration shown in fig. 1 does not constitute a limitation of the visual exchange device for batteries, and may include more or fewer components than those shown, or some components in combination, or a different arrangement of components.
As shown in FIG. 1, memory 1005, identified as one type of computer storage medium, may include an operating system, a network communication module, a user interface module, and a visual battery replacement program.
In the visual battery replacement device shown in fig. 1, the network interface 1004 is mainly used for connecting to a background server and performing data communication with the background server; the user interface 1003 is mainly used for connecting user equipment; the visual battery replacement device calls a visual battery replacement program stored in the memory 1005 through the processor 1001, and executes the visual battery replacement method provided by the embodiment of the invention.
Based on the hardware structure, the embodiment of the visual replacement method of the battery is provided.
Referring to fig. 2, fig. 2 is a schematic flow chart of a first embodiment of the visual battery replacement method of the present invention, and proposes the first embodiment of the visual battery replacement method of the present invention.
In a first embodiment, the method for visually replacing a battery comprises the following steps:
step S10: and when the battery to be replaced is detected to be taken out, displaying the real-time image at the battery placing groove in the current display screen.
It should be understood that the execution subject of the present embodiment may be a VR device controller, which is composed of an information acquisition module and a picture generation and presentation module. The information acquisition module is used for acquiring the shielding information of the sensor module. The picture generation display module is used for displaying the position of the battery to be installed or the position of the battery placing groove according to the shielding information acquired by the sensor module.
It should be noted that the battery to be replaced refers to a battery currently connected to the VR device. The battery to be replaced can send out a battery replacement prompt when the electric quantity is insufficient. The current display screen is the display screen of VR equipment, the current display screen can render the picture of changing the battery when changing the battery and show, also can show the picture of playing, can also show the picture of the two simultaneously, ensures that the picture of changing the battery can also show when the game normally runs. The battery placement groove refers to a battery groove for placing a battery of the VR device, and the battery placement groove may be a groove. The battery containing groove contains a battery interface for being connected with the battery interface and supplying power to the VR equipment through the battery.
In specific implementation, the VR device controller may detect, through the battery detection sensor, that the battery is to be replaced when detecting that the battery is to be replaced and is taken out of the battery placement slot by a user, render the battery placement slot position graphic through a rendering technique, and display the rendered image on a display screen of the VR device. The rendering technology refers to a process of rendering an image generated from a model by software in computer drawing. A model is a description of a three-dimensional object in a well-defined language or data structure that includes geometric, viewpoint, texture, and lighting information. And (4) the model in the three-dimensional scene is rendered according to the set environment, light, material and rendering parameters.
Step S20: and acquiring the current position of the battery to be installed through a preset sensor module.
It should be noted that the preset sensor module is a module formed by a plurality of preset sensors, and the sensors in the preset sensor module are uniformly installed at the edge of the battery placement groove of the VR device. The sensor may be an infrared sensor, or may be another sensor having the same function, and is not limited in detail here. The battery to be mounted refers to a battery to be mounted to the battery placement groove, and may be understood as a second battery or a backup battery of the VR device. The current position of the battery to be installed refers to the current position of the battery to be installed, and in this embodiment, the current position of the battery to be installed can be determined according to the shielding condition of the battery to be installed on the sensor in the preset sensor module.
In specific implementation, the VR device controller obtains the position parameter of the battery to be mounted in an image rendering library according to the shielding condition of the current position of the infrared sensor on each infrared sensor in the preset sensor module, the shielding information fed back by each infrared sensor in the preset sensor on the shielding condition, and the position information of each infrared sensor in the preset sensor, and determines the current position of the battery to be mounted according to the implementation position parameter. For example, when a certain position is confirmed, the latitude and longitude and the altitude information of the position are often determined, and then the real-time image of the position is simulated through the simulation of the position parameter information. The rendering image library comprises position image parameters corresponding to various combination results of all sensors in the preset sensor module.
Step S30: and generating a battery installation prompt according to the real-time image and the current position.
The battery installation prompt is a route guidance prompt from the current position of the battery to be installed to the position of the battery placement slot. The battery installation prompt may be generated from the characteristic identification information to the installation position corresponding to the position according to the characteristic identification information of the battery to be installed, or may be generated according to the position information of each corner of the battery to be installed and the position information corresponding to each corner of the battery placement groove.
In particular implementations, the VR device controller may generate a battery installation prompt from an interface location in the current location of the battery to be installed to an interface location in the real-time image of the battery placement slot based on the interface location information in the current location of the battery to be installed and the interface location information in the real-time image of the battery placement slot. For example, in the process of setting navigation by a driver, navigation software always generates one or more guide paths according to the current position information and the position information of a destination, and the driver can drive from the current position to the destination according to the guide paths.
Step S40: and displaying the current position and the battery installation prompt in the real-time image so that a user can install the battery to be installed according to the current position and the battery installation prompt.
It should be noted that after the battery installation prompt is generated, the current position of the battery to be installed and the battery installation information need to be displayed in the real-time image of the VR device, so that a user of the VR device can view the position information of the battery to be installed and the battery installation prompt through the real-time image of the VR device.
In specific implementation, the VR device controller sends the generated current position of the battery to be installed and the battery installation prompt to a display screen of the VR device. VR equipment user can treat the removal of installation battery position until successfully installing according to treating the current position and the battery installation suggestion of installation battery on the VR equipment display screen treat the installation battery.
In this embodiment, the VR device controller displays a battery replacement success prompt when it detects that the battery installation is complete.
It should be noted that the prompt for reminding the user of the VR device that the installation of the battery to be installed is completed is generated after the installation of the battery to be installed is completed when the prompt for the successful replacement of the battery is generated. The prompt of successful battery replacement is automatically quitted after being displayed for a period of time, and the user of the VR equipment can quit the prompt through instructions.
In the specific implementation process, the VR device controller can determine whether the battery to be installed is installed or not through the detection of the residual electric quantity of the battery, when the residual electric quantity of the battery is larger than the residual electric quantity before replacement, the battery replacement completion VR device controller is confirmed to generate a prompt for successful battery replacement when the installation of the battery to be installed is completed, and the prompt for completion of battery installation is sent to a display screen of the VR device to prompt a user of the VR device.
The embodiment provides a visual replacing method of a battery, which comprises the steps of displaying a real-time image at a battery placing groove in a current display screen when a battery to be replaced is detected to be taken out; acquiring the current position of a battery to be installed through a preset sensor module; generating a battery installation prompt according to the real-time image and the current position; and displaying the current position and a battery installation prompt in the real-time image so that a user can install the battery to be installed according to the current position and the battery installation prompt. The present embodiment generates the installation prompt through the display of the real-time image of the battery placing groove and the current position of the battery to be installed acquired according to the sensor module, so that the user installs the battery to be installed according to the current position and the battery installation prompt, and the battery of the VR device is replaced under the condition that the VR device does not need to be taken down.
Referring to fig. 3, fig. 3 is a schematic flow chart of a visualized replacement method of a battery according to a second embodiment of the present invention, and the visualized replacement method of a battery according to the second embodiment of the present invention is proposed based on the first embodiment shown in fig. 2.
In the second embodiment, the step S20 includes:
step S21: the spatial position information corresponding to the battery to be installed is collected through the sensor module preset at the battery placing groove.
It should be noted that the spatial position information refers to information of a spatial position where the battery to be mounted is located in the current state. The spatial position information may be information with respect to a center position of the battery placement groove. In the specific implementation process, the spatial position information of the battery to be installed is determined according to shielding information acquired by each sensor in the preset sensor module.
The step S21 includes:
step S211: and acquiring sensor position information of each sensor in the preset sensor module and object shielding information fed back by each sensor.
It should be noted that the sensor position information refers to spatial position information corresponding to each sensor in the preset sensor module. The sensor in the preset sensor module is located at the edge of the battery placing groove. The object shielding information refers to light ray information reflected according to a position irradiated by light rays when the sensor emits the light rays, namely the information that the light rays emitted by the sensor are shielded by the object.
In a specific implementation process, the VR device controller may establish a coordinate system according to a central position of the battery placement slot, and determine spatial position information of each sensor in the preset sensor module in a coordinate point manner. The shielding information of the object fed back by each sensor can be confirmed by the reflection information of the light emitted by the sensor. For example, under the light, the light can reflect when the light irradiates on the glass mirror, and the position of the glass mirror can be determined according to the reflection information of the light.
Step S212: and acquiring the spatial position information corresponding to the battery to be installed according to the sensor position information and the object shielding information.
When the position information of the sensor and the object shielding information are determined, the spatial position information corresponding to the battery to be installed can be determined according to the information that a part of the sensor is shielded by the battery to be installed and the sensor position of the part of the sensor. In the specific implementation process, the VR device controller determines the spatial position information of the battery to be installed according to the position of each sensor in the preset sensor module and the information of whether the sensor at the position is shielded by the object of the battery to be installed.
The step S212 includes:
step S2121: and updating the spatial position information corresponding to the battery to be installed according to the change of the object shielding information so as to acquire new spatial position information.
The new spatial position information is the spatial position information after the battery to be mounted moves according to the battery mounting prompt. In the specific implementation process, after the battery to be installed moves, the VR device controller acquires new spatial position information of the battery to be installed according to object shielding information of each sensor of the sensors in the preset sensor module. For example, in the navigation process, the position information of the vehicle is updated in real time along with the running of the vehicle, and the navigation information can be replaced in real time when special conditions occur.
Accordingly, step S22': and determining the current position of the battery to be installed according to the new spatial position information.
It should be noted that the current position of the battery to be installed is determined according to the new spatial position information and the position corresponding to each sensor in the preset sensor module. In a specific implementation process, the VR device controller obtains the position parameters of the battery to be installed in an image rendering library according to the updated shielding information fed back by each sensor in the preset sensor to the updated shielding condition and the position information of each infrared sensor in the preset sensor according to the object shielding condition updated by each sensor in the preset sensor module at the current position of the sensor, and determines the current position of the battery to be installed according to the implementation position parameters.
The embodiment provides a visual replacing method of a battery, which comprises the steps of displaying a real-time image at a battery placing groove in a current display screen when a battery to be replaced is detected to be taken out; acquiring the current position of a battery to be installed through a preset sensor module; generating a battery installation prompt according to the real-time image and the current position; and displaying the current position and a battery installation prompt in the real-time image so that a user can install the battery to be installed according to the current position and the battery installation prompt. The present embodiment generates the installation prompt through the display of the real-time image of the battery placing groove and the current position of the battery to be installed acquired according to the sensor module, so that the user installs the battery to be installed according to the current position and the battery installation prompt, and the battery of the VR device is replaced under the condition that the VR device does not need to be taken down.
Referring to fig. 4, fig. 4 is a schematic flow chart of a third embodiment of the visual replacing method of the battery according to the present invention, and the third embodiment of the visual replacing method of the battery according to the present invention is proposed based on the second embodiment shown in fig. 3.
In the third embodiment, the step S22 includes:
step S221: and extracting the image parameters of the battery to be installed from a preset image parameter database according to the spatial position information.
It should be noted that the preset image parameter database refers to a database in which image parameters are stored in advance, and the image parameters stored in the real-time preset image parameter database can be rendered into a real-time image of a battery. The image parameters refer to parameters used for restoring the image, and the image parameters can be rendered into a real-time image. For example, the spatial coordinates of a location point, a specific spatial location may be determined according to the spatial coordinate parameters, and only the longitude and latitude and the altitude parameters of the location need to be stored during storage.
In a specific implementation, the VR device controller may preset image parameters of a battery corresponding to shielding information from a region in a preset image parameter library according to identification information in the spatial position information, for example, the shielding information of a part of sensors in the sensor module.
Step S222: rendering the image parameters to obtain a rendered image of the position of the battery to be installed.
It should be noted that the position rendering image is a real-time image obtained by rendering the image parameter and then obtaining a position corresponding to the image parameter. The location rendered image is used to present location information of the battery in the VR device. In a specific implementation process, the VR device controller renders the acquired image parameters through an image rendering technology to the position of the battery to be installed, so as to obtain a position rendering image of the battery to be installed.
Step S223: and determining the current position of the battery to be installed according to the position rendering image.
In specific implementation, in this embodiment, the VR device controller determines the current position of the battery to be mounted according to the rendered image of the position of the battery to be mounted and the preset position information of the sensor in the sensor module.
Wherein the step S223 includes:
step S2231: and carrying out image sharpening on the position rendering image to obtain a position sharpened image.
The image sharpening is to compensate the outline of an image, enhance the edge of the image and the part with gray level jump, and make the image clear, and is divided into two types, namely spatial domain processing and frequency domain processing. Image sharpening is to highlight edges, contours, or features of some linear target elements of a terrain on an image. This filtering method improves the contrast between the feature edges and the surrounding picture elements and is therefore also referred to as edge enhancement. The position sharpened image is a battery position image obtained by sharpening the position rendering image.
In specific implementation, feature information in the position rendering image needs to be extracted, in this embodiment, a battery interface position of a battery to be replaced may be extracted, and the position rendering image of the battery interface position is sharpened to obtain a position sharpened image of the position rendering image.
Step S2232: and determining the current position of the battery to be installed according to the position sharpened image.
In specific implementation, in this embodiment, the VR device controller determines the current position of the battery to be mounted according to the sharpened image of the battery to be mounted and the position information of the sensor in the preset sensor module.
Accordingly, step S10 includes:
step S11: and when the battery to be replaced is detected to be taken out, acquiring the real-time image displayed in the current display screen.
It should be noted that the real-time image refers to a real-time image currently displayed by the VR device. The real-time image comprises a current game image of a user and an image related to battery replacement. In a specific implementation process, when the VR device control device detects that the battery to be replaced is taken out, the picture displayed in the current display screen is acquired, so that a display position is provided for the battery replacement picture in the battery replacement step.
Step S12: and carrying out region division on the current display screen according to the display weight of the real-time image to obtain a battery replacement display region.
The display weight is a specific gravity that needs to be displayed currently on the image screen, and is specific to a different game screen or another screen. When the partial picture is unnecessary, the partial picture can not be displayed when the battery is replaced. For example, a user of the VR device is playing a multiplayer online game, the user cannot quit the game in the middle of the game or the cost required to pay for quitting the game is relatively large, and the display weight of the real-time image of the online game is large at this time; in contrast, if the VR device user is playing a stand-alone game that can be exited at any time, the display weight of the real-time image display screen of the stand-alone game is relatively small. The area division means that the current display screen is divided into areas, and different real-time images are displayed in different areas of a division result. The area division is performed according to the display weight of the real-time image, for example, the online game, the display weight of which is relatively high, and at least the general divided area of the current display screen needs to be displayed on the picture of the online game. Similarly, the stand-alone game may be displayed by dividing only the corner area of the current display screen, or may be turned off temporarily, and may be displayed again after the battery is replaced.
In a specific implementation, the VR device controller may calculate the display weight of the real-time image of the current game according to the network data traffic of the real-time image in the current display screen and the game parameter information of the game currently being experienced by the user. And dividing the current display screen according to the result of the display weight calculation, and displaying the corresponding real-time image in the divided area. For example, the default real-time screen display weight of the current replacement battery is 2. Collecting the network data traffic of the game corresponding to the real-time picture in the current display screen, and when the game is confirmed to be the network game through the network data traffic, setting the display weight of the game picture to be 1, and if the network data traffic of the game is low or no network data traffic exists, setting the display weight of the game picture to be 0; and then, acquiring game parameters of the game, and when the game is determined not to be quitted halfway, setting the display weight of the real-time picture of the game to be 1, and if the game can be quitted halfway, setting the display weight of the game to be 0. The display weight of the game real-time image in the current display screen is 0, 1 or 2. When the display weight of the real-time image displayed in the current display screen is 0, dividing the current display screen into a display area, and displaying the real-time image of battery replacement in the display area; when the display weight of the real-time image displayed in the current display screen is 1, dividing the current display screen into two display areas, namely a main display area and a secondary display area, displaying the real-time image of the battery replacement in the main display area, and displaying the real-time image of the current game in the secondary display area; when the display weight of the real-time image displayed in the current display screen is 2, the current display screen is divided into two display areas, namely a primary display area and a secondary display area, the real-time image of the current game is displayed in the primary display area, and the real-time image of battery replacement is displayed in the secondary display area.
Step S13: and displaying the real-time image of the battery placing groove in the battery replacement display area.
It should be noted that the battery replacement display area is an area for displaying a real-time image of the battery replacement process. In the present embodiment, after the current display screen is divided into the sections, the real-time image at the battery placement slot is displayed in the acquired region where the battery replacement image is displayed. In a specific implementation process, the VR device controller may add the real-time image at the battery placement slot to the battery replacement display area in a manner of instruction extraction.
The embodiment provides a visual replacing method of a battery, which comprises the steps of displaying a real-time image at a battery placing groove in a current display screen when a battery to be replaced is detected to be taken out; acquiring the current position of a battery to be installed through a preset sensor module; generating a battery installation prompt according to the real-time image and the current position; and displaying the current position and a battery installation prompt in the real-time image so that a user can install the battery to be installed according to the current position and the battery installation prompt. The present embodiment generates the installation prompt through the display of the real-time image of the battery placing groove and the current position of the battery to be installed acquired according to the sensor module, so that the user installs the battery to be installed according to the current position and the battery installation prompt, and the battery of the VR device is replaced under the condition that the VR device does not need to be taken down.
Furthermore, an embodiment of the present invention further provides a storage medium, where a visual replacement program of a battery is stored, and when executed by a processor, the visual replacement program of the battery implements the steps of the visual replacement method of the battery as described above.
In addition, referring to fig. 5, an embodiment of the present invention further provides a device for visually replacing a battery, where the device includes: the system comprises an image display module 10, a position acquisition module 20, a prompt generation module 30 and a prompt display module 40;
the image display module 10 is configured to display a real-time image of the battery placement slot on a current display screen when it is detected that the battery to be replaced is taken out;
the position acquisition module 20 is configured to acquire a current position of the battery to be mounted through a preset sensor module;
the prompt generating module 30 is configured to generate a battery installation prompt according to the real-time image and the current position;
the prompt display module 40 is configured to display the current position and the battery installation prompt in the real-time image, so that a user installs the battery to be installed according to the current position and the battery installation prompt.
In the embodiment, a visual replacing device for a battery is provided, and an image display module 10 displays a real-time image at a battery placement groove in a current display screen when detecting that a battery to be replaced is taken out; the position acquisition module 20 acquires the current position of the battery to be installed through a preset sensor module; the prompt generation module 30 generates a battery installation prompt according to the real-time image and the current position; the prompt display module 40 displays the current position and the battery installation prompt in the real-time image, so that the user can install the battery to be installed according to the current position and the battery installation prompt. The present embodiment generates the installation prompt through the display of the real-time image of the battery placing groove and the current position of the battery to be installed acquired according to the sensor module, so that the user installs the battery to be installed according to the current position and the battery installation prompt, and the battery of the VR device is replaced under the condition that the VR device does not need to be taken down.
In an embodiment, the position obtaining module 20 is further configured to collect, by a sensor module preset at the battery placement slot, spatial position information corresponding to a battery to be installed; and determining the current position of the battery to be installed according to the spatial position information.
In an embodiment, the position obtaining module 20 is further configured to obtain sensor position information of each sensor in a preset sensor module and object shielding information fed back by each sensor; and acquiring the spatial position information corresponding to the battery to be installed according to the sensor position information and the object shielding information.
In an embodiment, the position obtaining module 20 is further configured to update the spatial position information corresponding to the battery to be installed according to the change of the object shielding information, so as to obtain new spatial position information; correspondingly, the step of determining the current position of the battery to be installed according to the spatial position information includes: and determining the current position of the battery to be installed according to the new spatial position information.
In an embodiment, the position obtaining module 20 is further configured to extract an image parameter of the battery to be mounted from a preset image parameter database according to the spatial position information; rendering the image parameters to obtain a rendered image of the position of the battery to be installed; and determining the current position of the battery to be installed according to the position rendering image.
In an embodiment, the position obtaining module 20 is further configured to perform image sharpening on the position rendered image to obtain a position sharpened image; and determining the current position of the battery to be installed according to the position sharpened image.
In an embodiment, the image display module 10 is further configured to obtain a real-time image displayed in a current display screen when it is detected that the battery to be replaced is taken out; performing region division on a current display screen according to the display weight of the real-time image to obtain a battery replacement display region; and displaying the real-time image of the battery placing groove in the battery replacement display area.
Other embodiments or specific implementation manners of the visual battery replacement device according to the present invention may refer to the above method embodiments, and are not described herein again.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments. In the unit claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The use of the words first, second, third, etc. do not denote any order, but rather the words first, second, third, etc. are to be interpreted as names.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention or portions thereof that contribute to the prior art may be embodied in the form of a software product, where the computer software product is stored in a storage medium (e.g., a Read Only Memory (ROM)/Random Access Memory (RAM), a magnetic disk, an optical disk), and includes several instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (10)

1. A method for visually replacing a battery, the method comprising:
when the battery to be replaced is detected to be taken out, displaying a real-time image at the battery placing groove in the current display screen;
acquiring the current position of a battery to be installed through a preset sensor module;
generating a battery installation prompt according to the real-time image and the current position;
and displaying the current position and the battery installation prompt in the real-time image so that a user can install the battery to be installed according to the current position and the battery installation prompt.
2. The method of claim 1, wherein the step of acquiring the current position of the battery to be mounted through the preset sensor module comprises:
collecting space position information corresponding to a battery to be installed through a sensor module preset at the battery placement groove;
and determining the current position of the battery to be installed according to the spatial position information.
3. The method according to claim 2, wherein the sensors in the preset sensor module are uniformly arranged at the edge position of the battery placement groove;
the step of collecting the spatial position information corresponding to the battery to be installed through the sensor module preset at the battery placing groove comprises the following steps:
acquiring sensor position information of each sensor in a preset sensor module and object shielding information fed back by each sensor;
and acquiring the spatial position information corresponding to the battery to be installed according to the sensor position information and the object shielding information.
4. The method of claim 3, wherein after the step of obtaining the spatial position information corresponding to the battery to be installed according to the sensor position information and the object shielding information, the method further comprises:
updating the spatial position information corresponding to the battery to be installed according to the change of the object shielding information so as to acquire new spatial position information;
correspondingly, the step of determining the current position of the battery to be installed according to the spatial position information includes:
and determining the current position of the battery to be installed according to the new spatial position information.
5. The method of claim 2, wherein the step of determining the current location of the battery to be installed according to the spatial location information comprises:
extracting image parameters of the battery to be installed from a preset image parameter database according to the spatial position information;
rendering the image parameters to obtain a rendered image of the position of the battery to be installed;
and determining the current position of the battery to be installed according to the position rendering image.
6. The method of claim 5, wherein the step of determining a current location of a battery to be installed from the location-rendered image comprises:
carrying out image sharpening on the position rendering image to obtain a position sharpened image;
and determining the current position of the battery to be installed according to the position sharpened image.
7. The method of claim 6, wherein the step of displaying the real-time image at the battery placement slot through the current display screen upon detecting that the battery to be replaced is removed comprises:
when the battery to be replaced is detected to be taken out, acquiring a real-time image displayed in a current display screen;
performing region division on a current display screen according to the display weight of the real-time image to obtain a battery replacement display region;
and displaying the real-time image of the battery placing groove in the battery replacement display area.
8. A visual battery replacement device, comprising: memory, a processor and a visual replacement program of a battery stored on the memory and executable on the processor, which when executed by the processor implements the steps of the visual replacement method of a battery according to any one of claims 1 to 7.
9. Storage medium, characterized in that it stores thereon a visual replacement program of a battery, which when executed by a processor implements the steps of the visual replacement method of a battery according to any one of claims 1 to 7.
10. A visual battery replacement device, the device comprising: the system comprises an image display module, a position acquisition module, a prompt generation module and a prompt display module;
the image display module is used for displaying a real-time image at the battery placement groove in the current display screen when the battery to be replaced is detected to be taken out;
the position acquisition module is used for acquiring the current position of the battery to be installed through a preset sensor module;
the prompt generation module is used for generating a battery installation prompt according to the real-time image and the current position;
and the prompt display module is used for displaying the current position and the battery installation prompt in the real-time image so that a user can install the battery to be installed according to the current position and the battery installation prompt.
CN202110469938.8A 2021-04-28 2021-04-28 Visual replacement method, equipment, storage medium and device for battery Active CN113012301B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110469938.8A CN113012301B (en) 2021-04-28 2021-04-28 Visual replacement method, equipment, storage medium and device for battery

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110469938.8A CN113012301B (en) 2021-04-28 2021-04-28 Visual replacement method, equipment, storage medium and device for battery

Publications (2)

Publication Number Publication Date
CN113012301A true CN113012301A (en) 2021-06-22
CN113012301B CN113012301B (en) 2023-03-10

Family

ID=76380886

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110469938.8A Active CN113012301B (en) 2021-04-28 2021-04-28 Visual replacement method, equipment, storage medium and device for battery

Country Status (1)

Country Link
CN (1) CN113012301B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110248859A1 (en) * 2010-04-13 2011-10-13 Samsung Electronics Co., Ltd. Method of providing 3d image and 3d display apparatus using the same
CN105009197A (en) * 2013-02-22 2015-10-28 索尼公司 Image display device, image display method, storage medium, and monitoring system
US20160109931A1 (en) * 2014-10-20 2016-04-21 Seiko Epson Corporation Display apparatus, control method for display apparatus, and program
US20160291666A1 (en) * 2015-03-30 2016-10-06 Seiko Epson Corporation Display apparatus and display apparatus control method
CN111566891A (en) * 2018-01-18 2020-08-21 麦克赛尔株式会社 Wearable device and battery and power supply system used by same
US10981060B1 (en) * 2016-05-24 2021-04-20 Out of Sight Vision Systems LLC Collision avoidance system for room scale virtual reality system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110248859A1 (en) * 2010-04-13 2011-10-13 Samsung Electronics Co., Ltd. Method of providing 3d image and 3d display apparatus using the same
CN105009197A (en) * 2013-02-22 2015-10-28 索尼公司 Image display device, image display method, storage medium, and monitoring system
US20160109931A1 (en) * 2014-10-20 2016-04-21 Seiko Epson Corporation Display apparatus, control method for display apparatus, and program
US20160291666A1 (en) * 2015-03-30 2016-10-06 Seiko Epson Corporation Display apparatus and display apparatus control method
US10981060B1 (en) * 2016-05-24 2021-04-20 Out of Sight Vision Systems LLC Collision avoidance system for room scale virtual reality system
CN111566891A (en) * 2018-01-18 2020-08-21 麦克赛尔株式会社 Wearable device and battery and power supply system used by same

Also Published As

Publication number Publication date
CN113012301B (en) 2023-03-10

Similar Documents

Publication Publication Date Title
US8882593B2 (en) Game processing system, game processing method, game processing apparatus, and computer-readable storage medium having game processing program stored therein
CN109656441B (en) Navigation method and system based on virtual reality
CN110478901A (en) Exchange method and system based on augmented reality equipment
WO2013082009A1 (en) Methods and systems for capturing and moving 3d models and true-scale metadata of real world objects
CN102238985A (en) System and method for simulating events in a real environment
CN110909713A (en) Method, system and medium for extracting point cloud data track
CN114225400A (en) Bullet screen processing method and device, storage medium and electronic equipment
CN113722043A (en) Scene display method and device for AVP, electronic equipment and storage medium
CN113012301B (en) Visual replacement method, equipment, storage medium and device for battery
US20230119620A1 (en) Dynamically generating scenery for a virtual reality driving session based on route information
CN113952709A (en) Game interaction method and device, storage medium and electronic equipment
CN113362474A (en) Augmented reality data display method and device, electronic equipment and storage medium
CN107346558B (en) Method for accelerating direct illumination effect drawing of three-dimensional scene by utilizing surface light source visibility space correlation
CN111185005A (en) Parachuting information prompting method, terminal device, electronic device and readable storage medium
CN114917590B (en) Virtual reality game system
CN111872928A (en) Obstacle attribute distinguishing method and system and intelligent robot
CN108833935B (en) A kind of direct broadcasting room recommended method, device, equipment and storage medium
KR101951225B1 (en) Method and system for real-time rendering object representation without physics engine
CN117216302A (en) Method, device, equipment, system and storage medium for displaying text and travel data
US20220270363A1 (en) Image processing apparatus, image processing method, and program
US7980950B2 (en) Game machine and method with changing game field
CN114169129A (en) Visual evaluation method and device for automatic driving
JP6815611B1 (en) Bridge inspection training equipment, bridge inspection training method and bridge inspection training program
CN114515432A (en) Method and information processing apparatus
CN113786623A (en) Navigation grid updating method, device and system

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
GR01 Patent grant
GR01 Patent grant