CN111913583A - Visualization effect display method and server - Google Patents
Visualization effect display method and server Download PDFInfo
- Publication number
- CN111913583A CN111913583A CN202010831255.8A CN202010831255A CN111913583A CN 111913583 A CN111913583 A CN 111913583A CN 202010831255 A CN202010831255 A CN 202010831255A CN 111913583 A CN111913583 A CN 111913583A
- Authority
- CN
- China
- Prior art keywords
- virtual
- parameters
- model
- setting
- virtual device
- 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
Links
- 230000000694 effects Effects 0.000 title claims abstract description 99
- 238000000034 method Methods 0.000 title claims abstract description 54
- 238000012800 visualization Methods 0.000 title description 16
- 230000000007 visual effect Effects 0.000 claims abstract description 12
- 238000004590 computer program Methods 0.000 description 9
- 238000010586 diagram Methods 0.000 description 7
- 238000004891 communication Methods 0.000 description 5
- 238000011156 evaluation Methods 0.000 description 4
- 238000013507 mapping Methods 0.000 description 4
- 230000002349 favourable effect Effects 0.000 description 3
- 230000004044 response Effects 0.000 description 2
- 238000010187 selection method Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000007613 environmental effect Effects 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 230000008447 perception Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 230000005855 radiation Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/011—Arrangements for interaction with the human body, e.g. for user immersion in virtual reality
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2203/00—Indexing scheme relating to G06F3/00 - G06F3/048
- G06F2203/01—Indexing scheme relating to G06F3/01
- G06F2203/012—Walk-in-place systems for allowing a user to walk in a virtual environment while constraining him to a given position in the physical environment
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
- Controls And Circuits For Display Device (AREA)
Abstract
The embodiment of the application discloses a visual effect display method and a server, wherein the method comprises the following steps: acquiring a setting parameter and a working parameter of at least one device in a target scene; the setting parameters comprise equipment models, setting positions and setting angles, and the working parameters comprise preset parameters of different working cycles; obtaining virtual setting parameters and virtual working parameters of at least one virtual device according to the setting parameters and the working parameters of the at least one device and the virtual model of the target scene; setting at least one virtual device in the virtual model according to the virtual setting parameters to obtain a virtual device layout model; and in the virtual equipment layout model, controlling the at least one piece of virtual equipment to display according to the virtual working parameters to obtain an effect display picture. By implementing the method, the experience of the user is improved.
Description
Technical Field
The application relates to the technical field of visualization, in particular to a visualization effect display method and a server.
Background
In a traditional mode, a user usually only perceives the display effect of a target scene through a simple effect graph or a video, and based on the perception, the user mostly cannot visually know the layout of equipment in the whole scene, and in addition, the simple effect graph or the video often cannot provide real-time effect display and immersive experience for the user, so that the experience of the user is poor.
Disclosure of Invention
The embodiment of the application discloses a visual effect display method and a server, which can improve the experience of a user.
The first aspect of the embodiment of the application discloses a visual effect display method, which comprises the following steps:
acquiring a setting parameter and a working parameter of at least one device in a target scene; the setting parameters comprise equipment models, setting positions and setting angles, and the working parameters comprise preset parameters of different working cycles;
obtaining virtual setting parameters and virtual working parameters of at least one virtual device according to the setting parameters and the working parameters of the at least one device and the virtual model of the target scene;
setting the at least one virtual device in the virtual model according to the virtual setting parameters to obtain a virtual device layout model;
and in the virtual equipment layout model, controlling the at least one piece of virtual equipment to display according to the virtual working parameters to obtain an effect display picture.
As an alternative implementation, in the first aspect of the embodiments of the present application,
in the virtual device layout model, controlling the at least one virtual device to display according to the virtual working parameters to obtain an effect display picture, including:
detecting whether the ambient brightness of the current area is smaller than a preset brightness;
if so, controlling the at least one virtual device to display according to the virtual working parameters in the virtual device layout model to obtain an effect display picture;
if not, detecting whether brightness adjusting equipment is connected or not, and if so, sending request information for indicating to reduce the ambient brightness to the brightness adjusting equipment so that the brightness adjusting equipment reduces the ambient brightness to be below the preset brightness by controlling a curtain or lighting equipment in the current area; and controlling the at least one virtual device to display according to the virtual working parameters in the virtual device layout model to obtain an effect display picture.
As an alternative implementation, in the first aspect of the embodiments of the present application,
in the virtual device layout model, controlling the at least one virtual device to display according to the virtual working parameters to obtain an effect display picture, including:
acquiring a plurality of preset viewing angles;
sequentially displaying an effect picture of the at least one virtual device in the virtual device layout model when the at least one virtual device is displayed according to the virtual working parameters under the plurality of preset viewing angles;
or,
acquiring a target viewing angle;
and displaying an effect picture of the at least one virtual device when the at least one virtual device is displayed according to the virtual working parameters under the target viewing angle in the virtual device layout model.
As an optional implementation manner, in the first aspect of the embodiment of the present application, before the obtaining the setting parameter and the working parameter of at least one device in the target scene, the method further includes:
acquiring an identifier of a target scene;
and determining a virtual model of the target scene according to the identification.
As an optional implementation manner, in the first aspect of the embodiment of the present application, the determining a virtual model of the target scene according to the identifier includes:
if the corresponding virtual model is found in a preset virtual model library according to the identification, the virtual model is obtained;
and if the corresponding virtual model is not found in a preset virtual model library according to the identification, acquiring the current parameters of the target scene, and constructing the virtual model according to the current parameters.
A second aspect of an embodiment of the present application discloses a server, including:
the device comprises a first acquisition unit, a second acquisition unit and a control unit, wherein the first acquisition unit is used for acquiring setting parameters and working parameters of at least one device in a target scene; the setting parameters comprise equipment models, setting positions and setting angles, and the working parameters comprise preset parameters of different working cycles; obtaining a virtual setting parameter and a virtual working parameter of at least one virtual device according to the setting parameter and the working parameter of the at least one device and the virtual model of the target scene;
the modeling unit is used for setting the at least one virtual device in the virtual model according to the virtual setting parameters to obtain a virtual device layout model;
and the display unit is used for controlling the at least one virtual device to display according to the virtual working parameters in the virtual device layout model to obtain an effect display picture.
As an optional implementation manner, in the second aspect of the embodiment of the present application, the manner in which the displaying unit is configured to control the at least one virtual device to display according to the virtual operating parameter in the virtual device layout model to obtain the effect display picture specifically is:
the display unit is used for detecting whether the ambient brightness of the current area is smaller than the preset brightness; when the brightness is smaller than the preset brightness, the at least one virtual device is controlled to be displayed according to the virtual working parameters in the virtual device layout model, and an effect display picture is obtained; when the current area is larger than or equal to the preset brightness, detecting whether brightness adjusting equipment is connected or not, and if the brightness adjusting equipment is connected, sending request information for indicating to reduce the environment brightness to the brightness adjusting equipment so that the brightness adjusting equipment reduces the environment brightness to be lower than the preset brightness by controlling curtains or lighting equipment in the current area; and controlling the at least one virtual device to display according to the virtual working parameters in the virtual device layout model to obtain an effect display picture.
As an optional implementation manner, in the second aspect of the embodiment of the present application, the manner in which the displaying unit is configured to control the at least one virtual device to display according to the virtual operating parameter in the virtual device layout model to obtain the effect display picture specifically is:
the display unit is used for acquiring a plurality of preset viewing angles; sequentially displaying an effect picture of the at least one virtual device in the virtual device layout model when the at least one virtual device is displayed according to the virtual working parameters under the plurality of preset viewing angles;
or,
the display unit is used for acquiring a target viewing angle; and displaying an effect picture of the at least one virtual device when the at least one virtual device is displayed according to the virtual working parameters under the target viewing angle in the virtual device layout model.
As an optional implementation manner, in the second aspect of this embodiment of the present application, the server further includes:
the second acquisition unit is used for acquiring the identifier of the target scene before the first acquisition unit acquires the setting parameter and the working parameter of at least one device in the target scene;
and the determining unit is used for determining the virtual model of the target scene according to the identification.
As an optional implementation manner, in a second aspect of embodiments of the present application, the determining unit includes:
the first obtaining subunit is configured to obtain the virtual model if the corresponding virtual model is found in a preset virtual model library according to the identifier;
and the second obtaining subunit is configured to obtain a current parameter of the target scene and construct the virtual model according to the current parameter if the corresponding virtual model is not found in a preset virtual model library according to the identifier.
A third aspect of the embodiments of the present application discloses a server, including:
a memory storing executable program code;
a processor coupled with the memory;
the processor calls the executable program code stored in the memory to perform some or all of the steps described in the first aspect of the application.
A fourth aspect of embodiments of the present application discloses a computer-readable storage medium storing a computer program comprising instructions for performing some or all of the steps described in the first aspect of the present application.
A fifth aspect of embodiments of the present application discloses a computer program product, which when run on a computer, causes the computer to perform some or all of the steps described in the first aspect.
A sixth aspect of embodiments of the present application discloses an application distribution system, configured to distribute a computer program product, where the computer program product, when running on a computer, causes the computer to perform some or all of the steps in the first aspect.
Compared with the prior art, the embodiment of the application has the following beneficial effects:
in the embodiment of the application, setting parameters and working parameters of at least one device in a target scene are obtained; the setting parameters comprise equipment models, setting positions and setting angles, and the working parameters comprise preset parameters of different working cycles; obtaining virtual setting parameters and virtual working parameters of at least one virtual device according to the setting parameters and the working parameters of the at least one device and the virtual model of the target scene; setting at least one virtual device in the virtual model according to the virtual setting parameters to obtain a virtual device layout model; and in the virtual equipment layout model, controlling the at least one piece of virtual equipment to display according to the virtual working parameters to obtain an effect display picture. By implementing the method, the user can not only visually see the layout of the equipment, but also obtain immersive experience based on the effect display picture in the virtual equipment layout model, and the experience sense of the user is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without making a creative effort.
Fig. 1 is a schematic flowchart of a visualization effect displaying method disclosed in an embodiment of the present application;
fig. 2 is a schematic flow chart of another visualization effect displaying method disclosed in the embodiment of the present application;
FIG. 3 is a schematic structural diagram of a server disclosed in an embodiment of the present application;
fig. 4 is a schematic structural diagram of another server disclosed in the embodiment of the present application;
FIG. 5 is a schematic structural diagram of another server disclosed in the embodiments of the present application;
fig. 6 is a diagram of a lighting effect display screen disclosed in an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
It should be noted that the terms "comprises," "comprising," and any variations thereof in the embodiments and drawings of the present application are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus.
An execution main body of the visualization effect display method disclosed in the embodiment of the present application may be a server, the server may be a computer, and an operating system of the computer may include, but is not limited to, an Android operating system, an IOS operating system, a Symbian operating system, a Black Berry operating system, a Windows Phone8 operating system, and the like.
The embodiment of the application discloses a visual effect display method and a server, which can improve the experience of a user and are explained in detail below.
Example one
Referring to fig. 1, fig. 1 is a schematic flowchart of a visualization effect displaying method disclosed in an embodiment of the present application, and the visualization effect displaying method shown in fig. 1 may specifically include the following steps:
101. acquiring a setting parameter and a working parameter of at least one device in a target scene; the setting parameters comprise equipment models, setting positions and setting angles, and the working parameters comprise preset parameters of different working cycles. The device may be a light, a laser, or a fountain, and the embodiment of the present application is not limited. Taking the lamp as an example, the preset parameters of the lamp may be color temperature and brightness, and may further include a start time and an end time of each duty cycle, or include a start time and a duration of each duty cycle.
In the embodiment of the present application, obtaining the setting parameter and the working parameter of at least one device in the target scene includes, but is not limited to, the following implementation manners:
mode 1: outputting a setting interface of the equipment on a display screen of the server, wherein the setting interface at least comprises a setting parameter area and a working parameter area; and taking the input information of the user in the parameter setting area as a setting parameter, and taking the input information of the user in the working parameter area as a working parameter. The setting interface of the equipment at least comprises an operation guide, and the method can standardize the operation of the user and avoid the misoperation of the user.
Mode 2: sending the setting interface of the equipment to a mobile terminal in communication connection with a server so that a user can complete information filling of the setting interface by operating the mobile terminal; and receiving a filled setting interface fed back by the mobile terminal, taking the input information of the user in the parameter setting area as a setting parameter, and taking the input information of the user in the working parameter area as a working parameter. The method can realize the remote input of the setting parameters and the working parameters, and is convenient for the user to operate. The mobile terminal may be a smart phone, a tablet computer, or a smart watch, and the embodiment of the application is not limited. The operating systems of various mobile terminals may include, but are not limited to, an Android operating system, an IOS operating system, a Symbian operating system, a Black Berry operating system, a Windows Phone8 operating system, and the like, which is not limited in the embodiments of the present application; the communication connection mode of the server and the mobile terminal can be Bluetooth connection, WIFI connection or hotspot connection, and the embodiment of the application is not limited.
Mode 3: sending a parameter acquisition request to the at least one device, so that the at least one device responds to the parameter acquisition request and sends corresponding setting parameters and working parameters to a server; by implementing the method, the set parameters and the working parameters can be acquired based on the interaction between the server and the equipment, manual input by a user is not needed, and the acquisition efficiency is improved.
Mode 4: and acquiring the setting parameters and the working parameters of each device in a device parameter library according to the identification information of the at least one device, wherein the setting parameters and the working parameters of each device in the device parameter library can be packaged and input by a user in advance. By implementing the method, the acquisition of the setting parameters and the working parameters of the equipment is realized based on the equipment parameter library, and the acquisition efficiency can be further improved.
It is noted that the operating parameter of at least one device may be related to a preset audio of the server. Further, the obtaining mode of the working parameter of at least one device may also be: and acquiring the signal level of the preset audio, and setting the working parameters of at least one device according to the signal level. By implementing the method, the display effect picture of the equipment can be completely matched with the preset audio.
102. And obtaining the virtual setting parameters and the virtual working parameters of the at least one virtual device according to the setting parameters and the working parameters of the at least one device and the virtual model of the target scene.
Specifically, obtaining the virtual setting parameter and the virtual operating parameter of the at least one virtual device according to the setting parameter and the operating parameter of the at least one device and the virtual model of the target scene, which are obtained in advance, may include:
obtaining the size relation between a target scene and a virtual model;
determining a setting parameter mapping table according to the size relation;
determining virtual setting parameters of at least one virtual device according to the setting parameter mapping table and the setting parameters of at least one device;
and determining the virtual working parameters of the at least one virtual device according to the working parameters of the at least one device.
Optionally, determining a virtual operating parameter of at least one virtual device according to an operating parameter of at least one device, includes:
determining a display multiple, wherein the display multiple is used for indicating a multiple relation between working time lengths of the virtual equipment and the corresponding equipment in the same working period;
and determining the virtual working parameters of the at least one virtual device according to the display multiple and the working parameters of the at least one device.
The display fold is explained below by way of example: assuming that the working time of the device a in a certain working cycle is 10s, if the determined exhibition multiple is 1/2, the working time of the virtual device a corresponding to the device a in the working cycle is 5 s. By implementing the method, the flexible control of the display progress can be realized through the display multiple.
103. And setting the at least one virtual device in a virtual model of the target scene according to the virtual setting parameters to obtain a virtual device layout model.
It should be noted that, in the virtual device layout model, at least one virtual device may be marked for display, where the marking may be displayed in a color marking manner or in a special character display manner, and the embodiment of the present application is not limited. By implementing the method, the user can intuitively know the layout details of the equipment in the target scene conveniently.
104. And in the virtual equipment layout model, controlling the at least one piece of virtual equipment to display according to the virtual working parameters to obtain an effect display picture.
In this embodiment of the present application, in the virtual device layout model, the implementation manner of controlling the at least one virtual device to display according to the virtual operating parameters includes but is not limited to the following manners:
detecting whether the at least one virtual device receives a display instruction;
if a display instruction is received, controlling the at least one virtual device to display according to the virtual working parameters to obtain an effect display picture; the display instruction may be generated by the server when the server detects the specified operation of the user, or may be generated by another terminal in communication connection with the server when the server detects the specified operation of the user, which is not limited in the embodiment of the present application.
If the display instruction is generated by the server, outputting prompt information for prompting a user to execute specified operation when the display instruction is not received;
if the display instruction is generated by other terminals, when the display instruction is not received, the prompt information for prompting the user to execute the specified operation is sent to other terminals.
As an optional implementation manner, after step 104, evaluation information input by the user may be further detected, and when the evaluation information indicates that the user is unsatisfied with the effect display screen, a parameter adjustment interface for the virtual device is output, and in response to an input operation of the user on the parameter adjustment interface, the virtual setting parameter is updated according to the current setting parameter input by the user, the virtual working parameter is updated according to the current working parameter input by the user, and according to the updated virtual setting parameter, at least one virtual device is set in the virtual model to obtain an updated virtual device layout model, and in the updated virtual device layout model, the at least one virtual device is controlled to be displayed according to the updated virtual working parameter to obtain an updated effect display screen. By implementing the method, the user can conveniently adjust the display effect in real time.
Optionally, in this embodiment of the application, in the virtual device layout model, controlling at least one virtual device to display according to the virtual working parameter to obtain an effect display picture, where the method includes:
detecting whether the ambient brightness of the current area is smaller than a preset brightness;
if so, controlling at least one virtual device to display according to the virtual working parameters in a virtual device layout model to obtain an effect display picture;
if not, detecting whether the brightness adjusting device is connected, if so, sending request information for indicating to reduce the environment brightness to the brightness adjusting device so that the brightness adjusting device reduces the environment brightness to be below a preset brightness by controlling a curtain or lighting device in the current area; and controlling at least one virtual device to display according to the virtual working parameters in the virtual device layout model to obtain an effect display picture.
The current area is the area where the server is located, the connection mode of the brightness adjusting device and the server can be Bluetooth or a local area network, and the brightness adjusting device is located in the preset radiation range of the Bluetooth or the local area network of the server. By implementing the method, the brightness of the display environment of the effect display picture can be ensured to be lower than the preset brightness, and the display effect can be improved.
Further, in the virtual device layout model, at least one virtual device is controlled to display according to the virtual working parameters, and the effect display picture includes, but is not limited to, the following implementation modes:
mode 1: acquiring a plurality of preset viewing angles; sequentially displaying effect pictures of at least one piece of virtual equipment at a plurality of preset viewing angles when the virtual equipment is displayed according to the virtual working parameters in a virtual equipment layout model;
mode 2: acquiring a target viewing angle; and in the virtual equipment layout model, displaying an effect picture when at least one piece of virtual equipment under the target viewing visual angle is displayed according to the virtual working parameters.
By implementing the method, various display modes can be provided for the user to select, and the use experience of the user is further improved.
Furthermore, when the virtual device layout model sequentially displays an effect picture when at least one virtual device at a plurality of preset viewing angles is displayed according to the virtual working parameters, a marking instruction of the user for the effect picture corresponding to a certain viewing angle can be detected, a virtual viewing area corresponding to the viewing angle can be obtained, a real viewing area of a target scene can be obtained according to the virtual viewing area, seat information corresponding to the real viewing area can be output for the user to select, wherein the seat information at least comprises a seat number and a ticket price. By implementing the method, the user can be provided with an immersive vote method.
In this embodiment of the application, the user may also view the effect picture through a mobile terminal connected to the server, specifically: the server may be connected to a preset number of mobile terminals at the same time, and specifically, the server receives a display request sent by each mobile terminal, where the display request at least includes a viewing angle of a person to which the mobile terminal belongs, and sends an effect picture corresponding to the viewing angle of the person to which the mobile terminal belongs to the mobile terminal, so that the effect picture corresponding to the viewing angle of the person to which the mobile terminal belongs is output on a display screen of the mobile terminal. By implementing the mode, multiple users can simultaneously watch the effect pictures matched with the respective visual angles.
By implementing the method, the user operation can be standardized, the misoperation of a user is avoided, the remote input of the setting parameters and the working parameters can be realized, the user operation is convenient, the display picture of the equipment can be completely matched with the preset audio, the flexible control of the display progress can be realized, the user can visually know the layout details of the equipment in the target scene conveniently, the display effect can be improved, multiple users can watch the display effect matched with respective visual angles simultaneously, the acquisition efficiency of the setting parameters and the working parameters can be improved, the user can adjust the display effect in real time conveniently, and an immersive ticket selection method can be provided for the user.
Example two
Referring to fig. 2, fig. 2 is a schematic flowchart illustrating another visualization effect displaying method disclosed in the embodiment of the present application. The visualization effect display method shown in fig. 2 may specifically include the following steps:
201. and acquiring the identifier of the target scene.
202. And determining a virtual model of the target scene according to the identification of the target scene.
For detailed description of steps 203 to 206, please refer to the description of steps 101 to 104 in the first embodiment, which is not described again in this embodiment.
Optionally, in this embodiment of the present application, determining a virtual model of a target scene according to an identifier of the target scene may include:
if the corresponding virtual model is found in a preset virtual model library according to the identification of the target scene, acquiring the virtual model;
and if the corresponding virtual model is not found in the preset virtual model library according to the identifier of the target scene, acquiring the current parameters of the target scene, and constructing the virtual model of the target scene according to the current parameters.
In the embodiment of the present application, a preset virtual model library may be stored in a local space of a server, which is an optional implementation manner, in the embodiment of the present application, current parameters of a target scene are obtained, after a virtual model of the target scene is constructed according to the current parameters, the constructed virtual model of the target scene may be recorded in the preset virtual model library, in addition, a latest use time point of the virtual model recorded in the virtual model library may be periodically obtained, and a virtual model whose latest use time point is earlier than a preset time point is removed from the virtual model library.
By implementing the method, the user operation can be standardized, the misoperation of a user is avoided, the remote input of the setting parameters and the working parameters can be realized, the user operation is convenient, the display picture of the equipment can be completely matched with the preset audio, the flexible control of the display progress can be realized, the user can visually know the layout details of the equipment in the target scene conveniently, the display effect can be improved, multiple users can watch the display effect matched with respective visual angles simultaneously, the acquisition efficiency of the setting parameters and the working parameters can be improved, the user can adjust the display effect in real time conveniently, an immersive ticket selection method can be provided for the user, the real-time update of a virtual model library can be realized, and the storage pressure of a server can be reduced.
EXAMPLE III
Referring to fig. 3, fig. 3 is a schematic structural diagram of a server disclosed in the embodiment of the present application, and as shown in fig. 3, the server may include:
a first obtaining unit 301, configured to obtain a setting parameter and a working parameter of at least one device in a target scene; the setting parameters comprise equipment models, setting positions and setting angles, and the working parameters comprise preset parameters of different working cycles; and obtaining the virtual setting parameters and the virtual working parameters of the at least one virtual device according to the setting parameters and the working parameters of the at least one device and the virtual model of the target scene.
In the embodiment of the present application, please refer to the following description of step 101 in the first embodiment for the introduction of the operating parameters. The manner of the first obtaining unit 301 for obtaining the setting parameters and the working parameters of the device may specifically be:
a first obtaining unit 301, configured to output a setting interface of a device on a display screen of a server, where the setting interface at least includes a setting parameter area and a working parameter area; and taking the input information of the user in the parameter setting area as a setting parameter, and taking the input information of the user in the working parameter area as a working parameter.
Or,
a first obtaining unit 301, configured to send a setting interface of a device to a mobile terminal in communication with a server, so that a user completes information filling of the setting interface by operating the mobile terminal; and receiving a filled setting interface fed back by the mobile terminal, taking the input information of the user in the parameter setting area as a setting parameter, and taking the input information of the user in the working parameter area as a working parameter.
Or,
the first obtaining unit 301 sends a parameter obtaining request to the at least one device, so that the at least one device responds to the parameter obtaining request and sends the corresponding setting parameters and working parameters to the server.
Or,
a first obtaining unit 301, configured to obtain the setting parameter and the working parameter of each device in a device parameter library according to the identifier information of the at least one device, where the setting parameter and the working parameter of each device in the device parameter library may be input by a user in a pre-packaged manner.
Specifically, the manner of obtaining the virtual setting parameter and the virtual operating parameter of the at least one virtual device according to the setting parameter and the operating parameter of the at least one device and the pre-obtained virtual model of the target scene by the first obtaining unit 301 may specifically be that
A first obtaining unit 301, configured to obtain a size relationship between a target scene and a virtual model; determining a setting parameter mapping table according to the size relation; determining virtual setting parameters of at least one virtual device according to the setting parameter mapping table and the setting parameters of at least one device; and determining the virtual working parameters of the at least one virtual device according to the working parameters of the at least one device.
Optionally, the manner that the first obtaining unit 301 is configured to determine the virtual operating parameter of the at least one virtual device according to the operating parameter of the at least one device may specifically be:
the first obtaining unit 301 is configured to determine a display multiple, where the display multiple is used to indicate a multiple relationship between working durations of the virtual device and the corresponding device in the same working cycle; and determining the virtual working parameters of the at least one virtual device according to the display multiple and the working parameters of the at least one device.
For the introduction of the display multiples, please refer to the description in the first embodiment, and the embodiments of the present application are not described again.
The modeling unit 302 is configured to set at least one virtual device in the virtual model of the target scene according to the virtual setting parameter, so as to obtain a virtual device layout model.
It should be noted that, in the virtual device layout model, at least one virtual device may be displayed in a mark, where the mark may be displayed in a color mark manner, or may be displayed in a special character manner, and the embodiment of the present application is not limited.
The display unit 303 is configured to control at least one virtual device to display according to the virtual working parameters in the virtual device layout model, so as to obtain an effect display picture.
In this embodiment of the application, the manner in which the showing unit 303 is configured to control the at least one virtual device to show according to the virtual working parameter in the virtual device layout model to obtain the effect showing picture may specifically be:
a presentation unit 303, configured to detect whether the at least one virtual device receives a presentation instruction; if a display instruction is received, controlling the at least one virtual device to display according to the virtual working parameters to obtain an effect display picture; the display instruction may be generated by the server when the server detects the specified operation of the user, or may be generated by another terminal in communication connection with the server when the server detects the specified operation of the user, which is not limited in the embodiment of the present application.
If the display instruction is generated by the server, the display unit 303 is further configured to output a prompt message for prompting the user to execute a specified operation when the display instruction is not received;
if the display instruction is generated by another terminal, the display unit 303 is further configured to send, to the another terminal, a prompt message for prompting the user to execute a specified operation when the display instruction is not received.
As an optional implementation manner, the modeling unit 302 is further configured to detect evaluation information input by a user, and when the evaluation information indicates that the user is unsatisfied with the effect display screen, output a parameter adjustment interface for the virtual device, and in response to an input operation of the user on the parameter adjustment interface, update a virtual setting parameter according to a current setting parameter input by the user, update a virtual working parameter according to a current working parameter input by the user, and set at least one virtual device in the virtual model according to the updated virtual setting parameter, so as to obtain an updated virtual device layout model;
the displaying unit 303 is further configured to control at least one virtual device to display according to the updated virtual working parameter in the updated virtual device layout model, so as to obtain an updated effect display picture.
Optionally, in this embodiment of the application, the manner in which the displaying unit 303 is configured to control at least one virtual device to display according to the virtual working parameters in the virtual device layout model, and the effect displaying picture is obtained may specifically be:
a display unit 303, configured to detect whether an ambient brightness of a current area is less than a preset brightness; when the environmental brightness is smaller than the preset brightness, controlling at least one virtual device to display according to the virtual working parameters in the virtual device layout model to obtain an effect display picture; and when the ambient brightness is greater than or equal to the preset brightness, detecting whether a brightness adjusting device is connected, if so, sending request information for indicating to reduce the ambient brightness to the brightness adjusting device so that the brightness adjusting device reduces the ambient brightness to be below the preset brightness by controlling a curtain or lighting device in the current area, and controlling at least one virtual device to display according to the virtual working parameters in a virtual device layout model to obtain an effect display picture.
Further, the mode that the showing unit 303 is configured to control at least one virtual device to show according to the virtual operating parameter in the virtual device layout model, and obtain the effect showing picture may specifically be:
a display unit 303, configured to obtain a plurality of preset viewing angles; sequentially displaying effect pictures of at least one piece of virtual equipment at a plurality of preset viewing angles when the virtual equipment is displayed according to the virtual working parameters in a virtual equipment layout model;
or,
a presentation unit 303, configured to obtain a target viewing angle; and in the virtual equipment layout model, displaying an effect picture when at least one piece of virtual equipment under the target viewing visual angle is displayed according to the virtual working parameters.
Further, when the displaying unit 303 sequentially displays, in the virtual device layout model, an effect picture when at least one virtual device under a plurality of preset viewing angles is displayed according to the virtual working parameters, a marking instruction of the user for the effect picture corresponding to a certain viewing angle may also be detected, a virtual viewing area corresponding to the viewing angle may be obtained, a real viewing area of a target scene may be obtained according to the virtual viewing area, and seat information corresponding to the real viewing area may be output for the user to select, where the seat information at least includes a seat number and a fare.
As an optional implementation manner, in this embodiment of the application, a user may also view a display effect picture through a mobile terminal connected to a server, and the server may be simultaneously connected to a preset number of mobile terminals, specifically, the display unit 303 is further configured to receive a display request sent by each mobile terminal, where the display request at least includes a viewing angle of a person to which the mobile terminal belongs, and send an effect picture corresponding to the viewing angle of the person to which the mobile terminal belongs to the mobile terminal, so that the effect picture corresponding to the viewing angle of the person to which the mobile terminal belongs is output on a display screen of the mobile terminal.
Through implementing the above-mentioned server, user operation can be standardized, avoid user's maloperation, can also realize the remote input of setting parameter and working parameter, the user operation of being convenient for, can also make the show picture of equipment agree with the preset audio frequency completely, can also realize the nimble control of show progress, can also be convenient for the user directly perceivedly to know the overall arrangement details of equipment in the target scene, can also be favorable to improving the bandwagon effect, can also make the multiuser watch the bandwagon effect of matching each visual angle simultaneously, can also improve the efficiency of acquireing of setting parameter and working parameter, still can be convenient for the user to adjust the bandwagon effect in real time, can also provide a user's immersive vote.
Example four
Referring to fig. 4, fig. 4 is a schematic structural diagram of another server disclosed in the embodiment of the present application, where the server shown in fig. 4 is obtained by optimizing the server shown in fig. 3, and as shown in fig. 4, the server may further include:
a second obtaining unit 304, configured to obtain an identifier of the target scene before the first obtaining unit 301 obtains the setting parameter and the operating parameter of the at least one device in the target scene.
A determining unit 305, configured to determine a virtual model of the target scene according to the identifier of the target scene.
Optionally, in this embodiment of the application, the determining unit 305 may include:
the first obtaining subunit 3051, configured to obtain the virtual model if the corresponding virtual model is found in the preset virtual model library according to the identifier of the target scene;
the second obtaining subunit 3052, configured to, if the corresponding virtual model is not found in the preset virtual model library according to the identifier of the target scene, obtain a current parameter of the target scene, and construct a virtual model of the target scene according to the current parameter.
In this embodiment, after the current parameters of the target scene are acquired, and the virtual model of the target scene is constructed according to the current parameters, the second acquiring subunit 3052 may further include the virtual model of the constructed target scene into the preset virtual model library, and may further periodically acquire the latest usage time point of the virtual model included in the virtual model library, and remove the virtual model whose latest usage time point is earlier than the preset time point from the virtual model library.
Through implementing the above-mentioned server, user operation can be standardized, avoid user's maloperation, can also realize the remote input of setting parameter and working parameter, the user operation of being convenient for, can also make the show picture of equipment agree with the preset audio frequency completely, can also realize the nimble control of show progress, can also be convenient for the user directly perceivedly to know the overall arrangement details of equipment in the target scene, can also be favorable to improving the bandwagon effect, can also make multi-user watch the bandwagon effect of matching each visual angle simultaneously, can also improve the efficiency of acquireing of setting parameter and working parameter, still can be convenient for the user to adjust the bandwagon effect in real time, can also provide the user an immersive vote method, can also realize the real-time renewal of virtual model storehouse, be favorable to.
Referring to fig. 5, fig. 5 is a schematic structural diagram of a server disclosed in the embodiment of the present application. As shown in fig. 5, the server may include:
a memory 501 in which executable program code is stored;
a processor 502 coupled to a memory 501;
the processor 502 calls the executable program code stored in the memory 501 to execute part or all of the steps of any one of the visualization effect displaying methods in fig. 1 to fig. 2.
An embodiment of the application discloses a computer-readable storage medium, which stores a computer program, wherein the computer program enables a computer to execute part or all of the steps of any one of the visualization effect displaying methods in fig. 1 to fig. 2.
The embodiment of the application discloses a computer program product, which when running on a computer, causes the computer to execute part or all of the steps of any one of the visualization effect display methods in fig. 1-2.
The embodiment of the application publishing system is used for publishing a computer program product, wherein when the computer program product runs on a computer, the computer is enabled to execute part or all of the steps of any one of the visualization effect displaying methods in fig. 1-2.
It will be understood by those skilled in the art that all or part of the steps in the methods of the embodiments described above may be implemented by hardware instructions of a program, and the program may be stored in a computer-readable storage medium, where the storage medium includes Read-Only Memory (ROM), Random Access Memory (RAM), Programmable Read-Only Memory (PROM), Erasable Programmable Read-Only Memory (EPROM), One-time Programmable Read-Only Memory (OTPROM), Electrically Erasable Programmable Read-Only Memory (EEPROM), Compact Disc Read-Only Memory (CD-ROM), or other Memory, such as a magnetic disk, or a combination thereof, A tape memory, or any other medium readable by a computer that can be used to carry or store data.
The visualization effect display method and the server disclosed in the embodiments of the present application are described in detail above, and specific examples are applied in this document to explain the principles and implementations of the present application, and the size of the step number in the specific examples does not mean the necessary order of execution, and the execution order of each process should be determined by its function and internal logic, but should not form any limitation on the implementation process of the embodiments of the present application. The units described as separate parts may or may not be physically separate, and some or all of the units may be selected according to actual needs to achieve the purpose of the embodiment.
The word "or" herein generally means that the pre-and post-associated objects are in an "or" relationship. In the embodiments provided herein, it should be understood that "B corresponding to a" means that B is associated with a from which B can be determined. It should also be understood that determining B from a does not mean determining B from a alone, but may also be determined from a and or other information. 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. If the integrated unit is implemented as a software functional unit and sold or used as a stand-alone product, it may be stored in a memory accessible to a computer. Based on such understanding, the technical solution of the present application, which is a part of or contributes to the prior art in essence, or all or part of the technical solution, may be embodied in the form of a software product, stored in a memory, including several requests for causing a computer device (which may be a personal computer, a server, a network device, or the like, and may specifically be a processor in the computer device) to execute part or all of the steps of the above-described method of the embodiments of the present application.
The above description of the embodiments is only for the purpose of helping to understand the method of the present application and its core ideas; meanwhile, for a person skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.
Claims (10)
1. A visual effect display method is characterized by comprising the following steps:
acquiring a setting parameter and a working parameter of at least one device in a target scene; the setting parameters comprise equipment models, setting positions and setting angles, and the working parameters comprise preset parameters of different working cycles;
obtaining virtual setting parameters and virtual working parameters of at least one virtual device according to the setting parameters and the working parameters of the at least one device and the virtual model of the target scene;
setting the at least one virtual device in the virtual model according to the virtual setting parameters to obtain a virtual device layout model;
and in the virtual equipment layout model, controlling the at least one piece of virtual equipment to display according to the virtual working parameters to obtain an effect display picture.
2. The method according to claim 1, wherein the controlling the at least one virtual device to display according to the virtual operating parameters in the virtual device layout model to obtain an effect display screen comprises:
detecting whether the ambient brightness of the current area is smaller than a preset brightness;
if so, controlling the at least one virtual device to display according to the virtual working parameters in the virtual device layout model to obtain an effect display picture;
if not, detecting whether brightness adjusting equipment is connected or not, and if so, sending request information for indicating to reduce the ambient brightness to the brightness adjusting equipment so that the brightness adjusting equipment reduces the ambient brightness to be below the preset brightness by controlling a curtain or lighting equipment in the current area; and controlling the at least one virtual device to display according to the virtual working parameters in the virtual device layout model to obtain an effect display picture.
3. The method according to claim 2, wherein the controlling the at least one virtual device to display according to the virtual operating parameters in the virtual device layout model to obtain an effect display screen comprises:
acquiring a plurality of preset viewing angles;
sequentially displaying an effect picture of the at least one virtual device in the virtual device layout model when the at least one virtual device is displayed according to the virtual working parameters under the plurality of preset viewing angles;
or,
acquiring a target viewing angle;
and displaying an effect picture of the at least one virtual device when the at least one virtual device is displayed according to the virtual working parameters under the target viewing angle in the virtual device layout model.
4. The method according to any one of claims 1 to 3, wherein before the obtaining of the setting parameters and the working parameters of at least one device in the target scene, the method further comprises:
acquiring an identifier of a target scene;
and determining a virtual model of the target scene according to the identification.
5. The method of claim 4, wherein determining the virtual model of the target scene from the identification comprises:
if the corresponding virtual model is found in a preset virtual model library according to the identification, the virtual model is obtained;
and if the corresponding virtual model is not found in a preset virtual model library according to the identification, acquiring the current parameters of the target scene, and constructing the virtual model according to the current parameters.
6. A server, comprising:
the device comprises a first acquisition unit, a second acquisition unit and a control unit, wherein the first acquisition unit is used for acquiring setting parameters and working parameters of at least one device in a target scene; the setting parameters comprise equipment models, setting positions and setting angles, and the working parameters comprise preset parameters of different working cycles; obtaining a virtual setting parameter and a virtual working parameter of at least one virtual device according to the setting parameter and the working parameter of the at least one device and the virtual model of the target scene;
the modeling unit is used for setting the at least one virtual device in the virtual model according to the virtual setting parameters to obtain a virtual device layout model;
and the display unit is used for controlling the at least one virtual device to display according to the virtual working parameters in the virtual device layout model to obtain an effect display picture.
7. The server according to claim 6, wherein the presentation unit is configured to control, in the virtual device layout model, the at least one virtual device to be presented according to the virtual operating parameter, and a manner of obtaining an effect presentation picture specifically is:
the display unit is used for detecting whether the ambient brightness of the current area is smaller than the preset brightness; when the brightness is smaller than the preset brightness, the at least one virtual device is controlled to be displayed according to the virtual working parameters in the virtual device layout model, and an effect display picture is obtained; when the current area is larger than or equal to the preset brightness, detecting whether brightness adjusting equipment is connected or not, and if the brightness adjusting equipment is connected, sending request information for indicating to reduce the environment brightness to the brightness adjusting equipment so that the brightness adjusting equipment reduces the environment brightness to be lower than the preset brightness by controlling curtains or lighting equipment in the current area; and controlling the at least one virtual device to display according to the virtual working parameters in the virtual device layout model to obtain an effect display picture.
8. The server according to claim 7, wherein the presentation unit is configured to control, in the virtual device layout model, the at least one virtual device to be presented according to the virtual operating parameter, and a manner of obtaining an effect presentation picture specifically is:
the display unit is used for acquiring a plurality of preset viewing angles; sequentially displaying an effect picture of the at least one virtual device in the virtual device layout model when the at least one virtual device is displayed according to the virtual working parameters under the plurality of preset viewing angles;
or,
the display unit is used for acquiring a target viewing angle; and displaying an effect picture of the at least one virtual device when the at least one virtual device is displayed according to the virtual working parameters under the target viewing angle in the virtual device layout model.
9. A server according to any one of claims 6 to 8, further comprising:
the second acquisition unit is used for acquiring the identifier of the target scene before the first acquisition unit acquires the setting parameter and the working parameter of at least one device in the target scene;
and the determining unit is used for determining the virtual model of the target scene according to the identification.
10. The server according to claim 9, wherein the determining unit includes:
the first obtaining subunit is configured to obtain the virtual model if the corresponding virtual model is found in a preset virtual model library according to the identifier;
and the second obtaining subunit is configured to obtain a current parameter of the target scene and construct the virtual model according to the current parameter if the corresponding virtual model is not found in a preset virtual model library according to the identifier.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010831255.8A CN111913583B (en) | 2020-08-18 | 2020-08-18 | Visual effect display method and server |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010831255.8A CN111913583B (en) | 2020-08-18 | 2020-08-18 | Visual effect display method and server |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111913583A true CN111913583A (en) | 2020-11-10 |
CN111913583B CN111913583B (en) | 2024-10-11 |
Family
ID=73279903
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010831255.8A Active CN111913583B (en) | 2020-08-18 | 2020-08-18 | Visual effect display method and server |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111913583B (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2004086824A1 (en) * | 2003-03-26 | 2004-10-07 | Matsushita Electric Works Ltd. | Simulation method, program, and system for creating a virtual three-dimensional illuminated scene |
CN101082901A (en) * | 2006-06-01 | 2007-12-05 | 上海戏剧学院 | Virtual rehearsing system |
CN107175675A (en) * | 2017-03-17 | 2017-09-19 | 肇庆市小凡人科技有限公司 | The ambient brightness adjusting method and device of sensitive touch controllable function based on robot |
CN108335343A (en) * | 2018-03-15 | 2018-07-27 | 北京中科水景科技有限公司 | Fountain previews emulation mode, system and server |
CN108665523A (en) * | 2017-03-31 | 2018-10-16 | 深圳市掌网科技股份有限公司 | A kind of drilling method and system of traffic accident |
-
2020
- 2020-08-18 CN CN202010831255.8A patent/CN111913583B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2004086824A1 (en) * | 2003-03-26 | 2004-10-07 | Matsushita Electric Works Ltd. | Simulation method, program, and system for creating a virtual three-dimensional illuminated scene |
CN101082901A (en) * | 2006-06-01 | 2007-12-05 | 上海戏剧学院 | Virtual rehearsing system |
CN107175675A (en) * | 2017-03-17 | 2017-09-19 | 肇庆市小凡人科技有限公司 | The ambient brightness adjusting method and device of sensitive touch controllable function based on robot |
CN108665523A (en) * | 2017-03-31 | 2018-10-16 | 深圳市掌网科技股份有限公司 | A kind of drilling method and system of traffic accident |
CN108335343A (en) * | 2018-03-15 | 2018-07-27 | 北京中科水景科技有限公司 | Fountain previews emulation mode, system and server |
Also Published As
Publication number | Publication date |
---|---|
CN111913583B (en) | 2024-10-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111506282A (en) | Display parameter adjusting method and device, connecting equipment and storage medium | |
CN108897468B (en) | Method and system for entering into virtual three-dimensional space panorama of house source | |
EP3174251B1 (en) | Method and apparatus for identifying type of electronic device on smart socket | |
CN108919663B (en) | Management method of intelligent household equipment and electronic equipment | |
CN113885345B (en) | Interaction method, device and equipment based on intelligent home simulation control system | |
US10573082B2 (en) | Target object display method, device and system | |
US10796488B2 (en) | Electronic device determining setting value of device based on at least one of device information or environment information and controlling method thereof | |
CN103927350A (en) | Smart glasses based prompting method and device | |
CN105812694B (en) | Projection system and projection method thereof | |
CN109685872B (en) | Animation generation method, device, equipment and computer readable storage medium | |
CN103500232A (en) | Multimedia data sharing method and electronic equipment | |
CN108846900B (en) | Method and system for improving spatial sense of user in room source virtual three-dimensional space diagram | |
CN108037904B (en) | Visual data pushing method and system | |
CN110021062B (en) | Product characteristic acquisition method, terminal and storage medium | |
CN112448832B (en) | Household appliance network distribution method, device and equipment | |
CN103873943B (en) | A kind of OSD interactive interface display methods, terminal and system | |
CN111913583A (en) | Visualization effect display method and server | |
CN117518957A (en) | Digital twinning-based central control system control method, device, equipment and medium | |
CN111617475B (en) | Interactive object construction method, device, equipment and storage medium | |
CN108600296B (en) | Merchant information processing method and device, electronic equipment and storage medium | |
CN109448132B (en) | Display control method and device, electronic equipment and computer readable storage medium | |
CN108833830B (en) | Method and device for displaying monitoring picture in monitoring system | |
CN115756676A (en) | Display terminal and configuration method, device and system thereof | |
CN110891200B (en) | Bullet screen based interaction method, device, equipment and storage medium | |
CN111882648B (en) | Furniture display method and device |
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 |