CN110139143A - Virtual objects display methods, device, computer equipment and storage medium - Google Patents
Virtual objects display methods, device, computer equipment and storage medium Download PDFInfo
- Publication number
- CN110139143A CN110139143A CN201910436553.4A CN201910436553A CN110139143A CN 110139143 A CN110139143 A CN 110139143A CN 201910436553 A CN201910436553 A CN 201910436553A CN 110139143 A CN110139143 A CN 110139143A
- Authority
- CN
- China
- Prior art keywords
- virtual objects
- audio data
- frequency values
- display
- data
- 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
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/70—Information retrieval; Database structures therefor; File system structures therefor of video data
- G06F16/78—Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
- G06F16/783—Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using metadata automatically derived from the content
- G06F16/7834—Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using metadata automatically derived from the content using audio features
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/431—Generation of visual interfaces for content selection or interaction; Content or additional data rendering
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/439—Processing of audio elementary streams
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/47—End-user applications
- H04N21/478—Supplemental services, e.g. displaying phone caller identification, shopping application
- H04N21/4784—Supplemental services, e.g. displaying phone caller identification, shopping application receiving rewards
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/47—End-user applications
- H04N21/478—Supplemental services, e.g. displaying phone caller identification, shopping application
- H04N21/4788—Supplemental services, e.g. displaying phone caller identification, shopping application communicating with other users, e.g. chatting
Abstract
The invention discloses a kind of virtual objects display methods, device, computer equipment and storage mediums, belong to network technique field.The embodiment of the present invention gives instruction by the virtual objects initiated based on terminal, to obtain corresponding virtual objects data, and when obtaining virtual objects data, also the corresponding audio data of the virtual objects data is obtained, so as in playing audio data, it shows with the virtual objects that the frequency that audio plays changes and changes, the display methods of this virtual objects, using the characteristic that can also play sound while broadcasting pictures, a kind of more diversified display effect and more lively interaction mode are provided.
Description
Technical field
The present invention relates to network technique field, in particular to a kind of virtual objects display methods, device, computer equipment with
And storage medium.
Background technique
Live streaming is a kind of sharing form more and more popular at present, and main broadcaster can be straight by carrying out in direct broadcasting room
It broadcasts, wants the presentation content conveyed to propagate oneself to spectators.And in order to draw in the distance between main broadcaster and spectators, it is good to be formed
Property interaction, most of live streaming applications both provide the function of the virtual objects such as gifts, and spectators can choose some present
Main broadcaster is given, once giving success, the present can be shown by being broadcast live on interface, for example, when spectators give piece rose of main broadcaster, then
A rose can be shown on live streaming interface.However, this display effect and interaction mode are more dull, it cannot effective benefit
With the scene of live streaming.
Summary of the invention
The embodiment of the invention provides a kind of virtual objects display methods, device, computer equipment and readable storage mediums
Matter has been capable of providing a kind of more diversified display effect and more lively interaction mode.The technical solution is as follows:
On the one hand, the embodiment of the invention provides a kind of virtual objects display methods, which comprises
It receives virtual objects and gives instruction, the virtual objects give instruction and carry virtual objects mark;
It obtains the virtual objects and identifies corresponding virtual objects data and the corresponding audio of the virtual objects data
Data;
The audio data is analyzed, multiple frequency values of the audio data are obtained;
In playing audio data, according to multiple frequency values of the audio data and the virtual objects data,
Show virtual objects animation, the display forms of the virtual objects in the virtual objects animation occurs with the multiple frequency values
Variation.
In a kind of possible implementation, the corresponding audio data of the virtual objects data that obtains includes:
When detecting target webpage element in live page, by the element category for being stored in the target webpage element
Audio path in property, downloads the audio data.
It is described that the audio data is analyzed in a kind of possible implementation, obtain the more of the audio data
A frequency values include:
According to default sampling duration, the audio data is sampled, obtains multiple frequencies indicated with hashed form
Value;
Array form is stored as by the multiple with the frequency values that hashed form indicates.
In a kind of possible implementation, the multiple frequency values and the virtual objects number according to the audio data
According to display virtual objects animation includes:
For any one animated element of the virtual objects, the animated element is adjusted according to the multiple frequency values
At least one of size and color are drawn based on animated element adjusted, to realize the virtual objects animation
Display.
In a kind of possible implementation, it is described according to the multiple frequency values adjust the animated element size and
At least one of color includes following either steps:
According to the first difference between the multiple frequency values and reference frequency value, by the size of the animated element and
At least one in color adjusts separately as numerical value corresponding with first difference;
According to the second difference between the multiple frequency values and the mean value of multiple frequency values, by the big of the animated element
At least one in small and color adjusts separately as numerical value corresponding with second difference.
On the one hand, the embodiment of the invention provides a kind of virtual objects display device, described device includes:
Receiving module gives instruction for receiving virtual objects, and the virtual objects give instruction and carry virtual objects mark
Know;
Module is obtained, identifies corresponding virtual objects data and the virtual objects number for obtaining the virtual objects
According to corresponding audio data;
Analysis module obtains multiple frequency values of the audio data for analyzing the audio data;
Display module, in playing audio data, according to multiple frequency values of the audio data and described
Virtual objects data show virtual objects animation, and the display form of the virtual objects in the virtual objects animation is with described
Multiple frequency values change.
In a kind of possible implementation, the acquisition module includes: audio data acquiring unit, for when in live streaming page
When detecting target webpage element in face, the audio path in element property by being stored in the target webpage element, under
Carry the audio data.
In a kind of possible implementation, the display module is used for any one animation member for the virtual objects
Element adjusts at least one of size and the color of the animated element according to the multiple frequency values, based on adjusted dynamic
It draws element to be drawn, to realize the display of the virtual objects animation.
On the one hand, a kind of computer equipment is provided, the computer equipment includes processor and memory, the storage
At least one instruction is stored in device, described instruction is loaded by the processor and executed to realize as above-mentioned virtual objects are shown
Show operation performed by method.
On the one hand, provide a kind of computer readable storage medium, be stored in the computer readable storage medium to
A few instruction, described instruction are loaded as the processor and are executed to realize as performed by above-mentioned virtual objects display methods
Operation.
Technical solution bring beneficial effect provided in an embodiment of the present invention includes at least: by what is initiated based on terminal
Virtual objects give instruction, to obtain corresponding virtual objects data, and when obtaining virtual objects data, also obtain institute
The corresponding audio data of virtual objects data is stated, so as in playing audio data, what display was played with audio
The virtual objects of frequency variation and variation, the display methods of this virtual objects can also be broadcast using while broadcasting pictures
The characteristic of sound reproduction sound, provides a kind of more diversified display effect and more lively interaction mode.
Detailed description of the invention
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment
Attached drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for
For those of ordinary skill in the art, without creative efforts, it can also be obtained according to these attached drawings other
Attached drawing.
Fig. 1 shows the structural block diagram of the virtual objects display system 100 of one exemplary embodiment of the application offer;
Fig. 2 is the outline flowchart that virtual objects involved by the embodiment of the present invention show process;
Fig. 3 is a kind of flow chart of virtual objects display methods provided in an embodiment of the present invention;
Fig. 4 is a kind of structural schematic diagram of virtual objects display device provided in an embodiment of the present invention;
Fig. 5 is a kind of structural schematic diagram of terminal provided in an embodiment of the present invention;
Fig. 6 is a kind of structural schematic diagram of computer equipment provided in an embodiment of the present invention.
Specific embodiment
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with attached drawing to embodiment party of the present invention
Formula is described in further detail.
Fig. 1 shows the structural block diagram of the virtual objects display system 100 of one exemplary embodiment of the application offer.It should
Virtual objects display system 100 includes: terminal 110 and virtual objects display platform 140.
Terminal 110 is connected by wireless network or cable network with virtual objects display platform 110.Terminal 110 can be
Smart phone, game host, desktop computer, tablet computer, E-book reader, MP3 player, MP4 player and above-knee
At least one of type portable computer.110 installation and operation of terminal has the application program for supporting virtual objects to show.The application
Program can be appointing in social application program, instant messaging application program, shopping class application program and video application
It anticipates one kind, in a kind of possible implementation, which can be live streaming application program.Schematically, terminal 110 is to appoint
The terminal that one user uses can be logged in user account in the application program run in terminal 110.
Terminal 110 is connected by wireless network or cable network with virtual objects display platform 140.
Virtual objects display platform 140 includes in a server, multiple servers, cloud computing platform and virtualization center
At least one.Virtual objects display platform 140 is used to provide background service for the application program for supporting virtual objects to show.
Optionally, it is illustrated so that the application program is live streaming application program as an example, virtual objects display platform 140 wraps
It includes: access server, direct broadcast server and database.Access server provides access service for providing terminal 110.Live streaming clothes
Device be engaged in for providing live streaming related background service, for example,.Direct broadcast server can be one or more.Work as direct broadcast server
When being more, there are at least two direct broadcast servers for providing different services, and/or, there are at least two direct broadcast services
Device provides same service for providing identical service, such as with load balancing mode, and the embodiment of the present application is not subject to this
It limits.Virtual objects data can be set in direct broadcast server, to provide the display format of virtual objects.
Terminal 110 can refer to one in multiple terminals, and the present embodiment is only illustrated with terminal 110.Terminal 110
Type include: that smart phone, game host, desktop computer, tablet computer, E-book reader, MP3 player, MP4 are broadcast
Put at least one of device and pocket computer on knee.
Those skilled in the art could be aware that the quantity of above-mentioned terminal can be more or less.For example above-mentioned terminal can be with
Only one perhaps above-mentioned terminal be tens or several hundred or greater number, above-mentioned virtual objects display system is also at this time
Including other terminals.The embodiment of the present application is not limited the quantity and device type of terminal.
Fig. 2 shows the flow charts for the virtual objects display methods that one exemplary embodiment of the application provides.Referring to figure
2, this method is applied in any terminal, this method comprises:
200, virtual objects are received and gives instruction, which gives instruction and carry virtual objects mark.
Wherein, virtual objects can be virtual present, virtual item and ideal money etc., which can be
With the virtual objects of audio result of broadcast, which had both had display form, is also configured with corresponding audio and plays
Effect, and, display form is influenced by audio result of broadcast.For example, the display size of the virtual objects can be with audio
Frequency change, frequency it is bigger its show size it is bigger, the color of the virtual objects can become with the frequency of audio
Change, frequency is bigger, and color is brighter.
Wherein, which can correspond to a Duan Yinle, which can be song, absolute music etc..
201, the virtual objects data and the corresponding audio data of virtual objects data of virtual objects mark are obtained.
202, the audio data is analyzed, obtains multiple frequency values of the audio data.
203, it when playing the audio data, according to multiple frequency values of the audio data and the virtual objects data, shows
Show virtual objects animation, the display forms of the virtual objects in the virtual objects animation changes with multiple frequency values.
Method provided in an embodiment of the present invention, by also obtaining the virtual object when obtaining virtual objects data
The corresponding audio data of product data, so as to which in playing audio data, display changes with the frequency that audio plays
And the virtual objects changed, the display methods of this virtual objects, using sound can also be played while broadcasting pictures
Characteristic provides a kind of more diversified display effect and more lively interaction mode.
In a kind of possible implementation, the corresponding audio data of the virtual objects data that obtains includes:
When detecting target webpage element in live page, by the element category for being stored in the target webpage element
Audio path in property, downloads the audio data.
It is described that the audio data is analyzed in a kind of possible implementation, obtain the more of the audio data
A frequency values include:
According to default sampling duration, the audio data is sampled, obtains multiple frequencies indicated with hashed form
Value;
Array form is stored as by the multiple with the frequency values that hashed form indicates.
In a kind of possible implementation, the multiple frequency values and the virtual objects number according to the audio data
According to display virtual objects animation includes:
For any one animated element of the virtual objects, the animated element is adjusted according to the multiple frequency values
At least one of size and color are drawn based on animated element adjusted, to realize the virtual objects animation
Display.
In a kind of possible implementation, it is described according to the multiple frequency values adjust the animated element size and
At least one of color includes following either steps:
According to the first difference between the multiple frequency values and reference frequency value, by the size of the animated element and
At least one in color adjusts separately as numerical value corresponding with first difference;
According to the second difference between the multiple frequency values and the mean value of multiple frequency values, by the big of the animated element
At least one in small and color adjusts separately as numerical value corresponding with second difference.
All the above alternatives can form the alternative embodiment of the disclosure, herein no longer using any combination
It repeats one by one.
Fig. 3 shows the flow chart of the virtual objects display methods of one exemplary embodiment of the application offer.Referring to figure
3, this method is illustrated by taking the interaction between first terminal, server and second terminal as an example, can specifically include following
Step.
300, first terminal receives virtual objects and gives instruction, and the virtual objects give instruction and carry virtual objects mark
Know.
First terminal can give process to the virtual objects by triggering on the live streaming interface of terminal, live streaming circle
It may include at least one virtual objects option on face, it, should be with the virtual of audio result of broadcast for terminal user's selection
The option of article can be different from the option of other common virtual articles, for example, one side can show audio symbol etc..
301, first terminal sends virtual objects Comp Requests to server, which carries virtual object
Product mark.
Wherein, which gives virtual objects mark correspondence to the user of second terminal for requesting
Virtual objects.
302, server creates target webpage element after receiving the virtual objects Comp Requests in live page,
The virtual objects are identified corresponding audio path to be stored in the element property of the target webpage element.
Server extracts the virtual object from the virtual objects Comp Requests after receiving the virtual objects Comp Requests
Product mark then obtains the virtual objects and identifies corresponding audio path, be broadcast live when virtual objects mark corresponds to audio
A target webpage element (such as<audio/>) is created in the page, audio path is arranged by element property, for example, can be
The store path of a mp3 is stored in element property src, so as to which the audio path is supplied to terminal, so that terminal can be with
It is played out based on audio path.
Certainly, for different web page coding modes, which can be other web page elements, and the present invention is real
Example is applied not limit this.
303, the live data comprising the live page is sent to first terminal and second terminal by the server.
The live data of live page can be carried and be sent to each terminal in live video stream by the server, so that
The broadcasting of virtual objects and audio can be carried out by obtaining each terminal.
304, after second terminal receives the live data, second terminal obtains virtual objects number from live data
According to the audio path in element property by being stored in the target webpage element in the live page downloads virtual objects
The corresponding audio data of data.
Above-mentioned steps 304 are that second terminal obtains virtual objects data and the corresponding audio number of the virtual objects data
According to.The embodiment of the present invention is only illustrated for receiving the treatment process after live data by second terminal, is being implemented
Cheng Zhong, the vlewer terminals and main broadcaster's terminal of the live page can receive the live data, thus based on live data come
It obtains audio to play out, this will not be repeated here.
It should be noted that the process of above-mentioned acquisition audio data can be realized by WebAudio technology.
305, the second terminal analyzes the audio data, obtains multiple frequency values of the audio data.
Frequency values can express the information such as the tone height of audio data, rhythm speed, can be by this category information come body
The characteristic of existing audio data, therefore can be by the analysis to audio data, to obtain frequency values.In a kind of possible implementation
In, which can be realized by following processes: according to default sampling duration, frequency sampling is carried out to the audio data,
Obtain multiple frequency values indicated with hashed form;Array shape is stored as by the multiple with the frequency values that hashed form indicates
Formula.Storage based on array form can be convenient reading, and since array form can be stored based on the time sequencing of sampling
Frequency values, therefore, the actual effect that the display effect of successor virtual article and audio can be made to play are corresponding, improve user's
Audiovisual experience.
It should be noted that the process of above-mentioned analysis audio data can be realized by WebAudio technology.
306, the second terminal is when playing the audio data, according to multiple frequency values of the audio data and the virtual object
Product data show virtual objects animation, and the display form of the virtual objects in the virtual objects animation is with multiple frequency values
It changes.
In order to realize the display forms of virtual objects as multiple frequency values change, terminal can first initialize one
Canvas object is belonged to size, length, color of animated element etc. then during being drawn based on the canvas object
Property be associated with array accessed in step 305, to realize that present animation is followed by the effect that audio carries out regular movements.
Some specific implementations of display virtual objects animation are described below:
In a kind of possible implementation, which may include: any one animation member for the virtual objects
Element adjusts at least one of size and the color of the animated element according to multiple frequency values, based on animation member adjusted
Element is drawn, to realize the display of the virtual objects animation.
For animated element corresponding for virtual objects, can there are initial size and color, in order to enable animation is first
The display of element can change with the variation of audio, can pass through the tune at least one of its original size and color
It is whole, to change the display effect of animated element.
In a kind of possible implementation, it should be adjusted in the size and color of the animated element according to multiple frequency values
At least one may include: according to the first difference between the multiple frequency values and reference frequency value, by the animated element
Size and color at least one of adjust separately as numerical value corresponding with first difference.The reference frequency value can be with
It is pre-set frequency values, it can be according to the gap between each frequency values and this reference frequency value, to determine animation
What numerical value at least one of size and color of element adjust to, to embody differential between each virtual objects show
Show effect, some audio frequency values are larger, then its corresponding target value is larger, and final shown size or color will be more
Add obvious.
Wherein, the corresponding relationship between the difference and size and difference and color can be preset, thus adjusting
In the process, the corresponding relationship between difference and size and difference and color can be inquired based on the first difference, obtain target
At least one of size and color of object.For virtual objects itself, animation to be adjusted can be preset
The display items of element, for example, the size for only adjusting animated element to it can be set, then may be used for the first virtual objects
To determine the target sizes of animated element according to above-mentioned first difference.
In a kind of possible implementation, it should be adjusted in the size and color of the animated element according to multiple frequency values
At least one may include: that described will be moved according to the second difference between the multiple frequency values and the mean value of multiple frequency values
Draw element size and in color at least one of adjust separately as numerical value corresponding with second difference.The mean value can be with
It is pre-set frequency values, it can be according to the gap between each frequency values and this mean value, to determine animated element
What numerical value at least one of size and color adjust to, and to reach more unified display effect, target value is based on entire
The variation degree of audio itself changes, the audio little for some frequency fluctuations, can be come in the form of more gentle into
Row display, can more embody the fluctuating of audio itself by the display metamorphosis of virtual objects.
Wherein, the corresponding relationship between the difference and size and difference and color can be preset, thus adjusting
In the process, the corresponding relationship between difference and size and difference and color can be inquired based on the second difference, obtain target
At least one of size and color of object.For virtual objects itself, animation to be adjusted can be preset
The display items of element, for example, the color for only adjusting animated element to it can be set, then may be used for the second virtual objects
To determine the color of object of animated element according to above-mentioned second difference.
It should be noted that it is above-mentioned when determining the target value of adjustment based on some frequency values, it is actually based on some
The frequency values of play time adjust at least one of the size or color of virtual objects in the play time, therefore, can
The actual audio of audio effect is presented when being played to some time point, to allow virtual objects to pass through its metamorphosis
Fruit.
It should be noted that in above-described embodiment only by taking the display of second terminal when first terminal initiates to give process as an example
It being illustrated, but in actual scene, after process is given in first terminal initiation, the above process can also be implemented in first terminal, from
And the audio data for enabling the user of first terminal to watch the frequency variation played with audio and changing.
Method provided in an embodiment of the present invention gives instruction by the virtual objects initiated based on terminal, to obtain pair
The virtual objects data answered, and when obtaining virtual objects data, also obtain the corresponding audio of the virtual objects data
Data, so as in playing audio data, show with the virtual objects that the frequency that audio plays changes and changes,
The display methods of this virtual objects provides one kind more using the characteristic that can also play sound while broadcasting pictures
Add diversified display effect and more lively interaction mode.
Further, above-described embodiment can realize a kind of distinctive sound based on direct broadcasting room by WebAudio technology
Frequency present can be with the corresponding audio data of player, and from view in direct broadcasting room when any user sends out the audio present
It can be observed that the animated actions of the present change with the variation of audio frequency in feel, user's body is substantially increased
It tests.
Fig. 4 is a kind of structural schematic diagram of virtual objects display device provided in an embodiment of the present invention, referring to fig. 4, described
Device includes:
Receiving module 400 gives instruction for receiving virtual objects, and the virtual objects give instruction and carry virtual objects
Mark;
Module 401 is obtained, identifies corresponding virtual objects data and the virtual objects for obtaining the virtual objects
The corresponding audio data of data;
Analysis module 402 obtains multiple frequency values of the audio data for analyzing the audio data;
Display module 403 is used in playing audio data, according to multiple frequency values of the audio data and institute
Virtual objects data are stated, show virtual objects animation, the display form of the virtual objects in the virtual objects animation is with institute
Multiple frequency values are stated to change.
In a kind of possible implementation, the acquisition module includes: audio data acquiring unit, for when in live streaming page
When detecting target webpage element in face, the audio path in element property by being stored in the target webpage element, under
Carry the audio data.
In a kind of possible implementation, the display module is used for any one animation member for the virtual objects
Element adjusts at least one of size and the color of the animated element according to the multiple frequency values, based on adjusted dynamic
It draws element to be drawn, to realize the display of the virtual objects animation.
In a kind of possible implementation, which is used for:
According to default sampling duration, the audio data is sampled, obtains multiple frequencies indicated with hashed form
Value;
Array form is stored as by the multiple with the frequency values that hashed form indicates.
In a kind of possible implementation, the display module is for executing following either steps:
According to the first difference between the multiple frequency values and reference frequency value, by the size of the animated element and
At least one in color adjusts separately as numerical value corresponding with first difference;
According to the second difference between the multiple frequency values and the mean value of multiple frequency values, by the big of the animated element
At least one in small and color adjusts separately as numerical value corresponding with second difference.
It should be understood that virtual objects display device provided by the above embodiment is when application is recommended, only with above-mentioned each
The division progress of functional module can according to need and for example, in practical application by above-mentioned function distribution by different function
Energy module is completed, i.e., the internal structure of device is divided into different functional modules, to complete whole described above or portion
Divide function.In addition, virtual objects display device provided by the above embodiment belong to virtual objects display methods embodiment it is same
Design, specific implementation process are detailed in embodiment of the method, and which is not described herein again.
Method provided by the embodiment of the present invention can be implemented in computer equipment, which may be embodied as taking
Be engaged in device, for example, Fig. 5 is a kind of structural schematic diagram of server provided in an embodiment of the present invention, the server 500 can because of configuration or
Performance is different and generates bigger difference, may include one or more processors (central processing
Units, CPU) 501 and one or more memory 502, wherein at least one finger is stored in the memory 502
It enables, which is loaded by the processor 501 and executed the virtual object to realize above-mentioned each embodiment of the method offer
Product display methods.Certainly, which can also have the portions such as wired or wireless network interface, keyboard and input/output interface
Part, to carry out input and output, which can also include other for realizing the component of functions of the equipments, not do herein superfluous
It states.
Method provided by the embodiment of the present invention can be implemented in computer equipment, which may be embodied as end
End, for example, Fig. 6 is a kind of structural schematic diagram of terminal provided in an embodiment of the present invention.The terminal 600 can be Portable movable
Terminal, such as: smart phone, tablet computer, MP3 player (Moving Picture Experts Group Audio
Layer III, dynamic image expert's compression standard audio level 3), MP4 (Moving Picture Experts Group
Audio Layer IV, dynamic image expert's compression standard audio level 4) it player, laptop, desktop computer, wears
Formula equipment or any other intelligent terminal.Terminal 600 be also possible to referred to as user equipment, portable terminal, laptop terminal,
Other titles such as terminal console.
In general, terminal 600 includes: processor 601 and memory 602.
Processor 601 may include one or more processing cores, such as 4 core processors, 8 core processors etc..Place
Reason device 601 can use DSP (Digital Signal Processing, Digital Signal Processing), FPGA (Field-
Programmable Gate Array, field programmable gate array), PLA (Programmable Logic Array, may be programmed
Logic array) at least one of example, in hardware realize.Processor 601 also may include primary processor and coprocessor, master
Processor is the processor for being handled data in the awake state, also referred to as CPU (Central Processing
Unit, central processing unit);Coprocessor is the low power processor for being handled data in the standby state.?
In some embodiments, processor 601 can be integrated with GPU (Graphics Processing Unit, image processor),
GPU is used to be responsible for the rendering and drafting of content to be shown needed for display screen.In some embodiments, processor 601 can also be wrapped
AI (Artificial Intelligence, artificial intelligence) processor is included, the AI processor is for handling related machine learning
Calculating operation.
Memory 602 may include one or more computer readable storage mediums, which can
To be non-transient.Memory 602 may also include high-speed random access memory and nonvolatile memory, such as one
Or multiple disk storage equipments, flash memory device.In some embodiments, the non-transient computer in memory 602 can
Storage medium is read for storing at least one instruction, at least one instruction by processor 601 for being had to realize this Shen
Please in embodiment of the method provide virtual objects display methods.
In some embodiments, terminal 600 is also optional includes: peripheral device interface 603 and at least one peripheral equipment.
It can be connected by bus or signal wire between processor 601, memory 602 and peripheral device interface 603.Each peripheral equipment
It can be connected by bus, signal wire or circuit board with peripheral device interface 603.Specifically, peripheral equipment includes: radio circuit
604, at least one of touch display screen 605, camera 606, voicefrequency circuit 607, positioning component 608 and power supply 609.
Peripheral device interface 603 can be used for I/O (Input/Output, input/output) is relevant outside at least one
Peripheral equipment is connected to processor 601 and memory 602.In some embodiments, processor 601, memory 602 and peripheral equipment
Interface 603 is integrated on same chip or circuit board;In some other embodiments, processor 601, memory 602 and outer
Any one or two in peripheral equipment interface 603 can realize on individual chip or circuit board, the present embodiment to this not
It is limited.
Radio circuit 604 is for receiving and emitting RF (Radio Frequency, radio frequency) signal, also referred to as electromagnetic signal.It penetrates
Frequency circuit 604 is communicated by electromagnetic signal with communication network and other communication equipments.Radio circuit 604 turns electric signal
It is changed to electromagnetic signal to be sent, alternatively, the electromagnetic signal received is converted to electric signal.Optionally, radio circuit 604 wraps
It includes: antenna system, RF transceiver, one or more amplifiers, tuner, oscillator, digital signal processor, codec chip
Group, user identity module card etc..Radio circuit 604 can be carried out by least one wireless communication protocol with other terminals
Communication.The wireless communication protocol includes but is not limited to: Metropolitan Area Network (MAN), each third generation mobile communication network (2G, 3G, 4G and 8G), wireless office
Domain net and/or WiFi (Wireless Fidelity, Wireless Fidelity) network.In some embodiments, radio circuit 604 may be used also
To include the related circuit of NFC (Near Field Communication, wireless near field communication), the application is not subject to this
It limits.
Display screen 605 is for showing UI (User Interface, user interface).The UI may include figure, text, figure
Mark, video and its their any combination.When display screen 605 is touch display screen, display screen 605 also there is acquisition to show
The ability of the touch signal on the surface or surface of screen 605.The touch signal can be used as control signal and be input to processor
601 are handled.At this point, display screen 605 can be also used for providing virtual push button and/or dummy keyboard, also referred to as soft button and/or
Soft keyboard.In some embodiments, display screen 605 can be one, and the front panel of terminal 600 is arranged;In other embodiments
In, display screen 605 can be at least two, be separately positioned on the different surfaces of terminal 600 or in foldover design;In still other reality
It applies in example, display screen 605 can be flexible display screen, be arranged on the curved surface of terminal 600 or on fold plane.Even, it shows
Display screen 605 can also be arranged to non-rectangle irregular figure, namely abnormity screen.Display screen 605 can use LCD (Liquid
Crystal Display, liquid crystal display), OLED (Organic Light-Emitting Diode, Organic Light Emitting Diode)
Etc. materials preparation.
CCD camera assembly 606 is for acquiring image or video.Optionally, CCD camera assembly 606 include front camera and
Rear camera.In general, the front panel of terminal is arranged in front camera, the back side of terminal is arranged in rear camera.One
In a little embodiments, rear camera at least two is main camera, depth of field camera, wide-angle camera, focal length camera shooting respectively
Any one in head, to realize that main camera and the fusion of depth of field camera realize background blurring function, main camera and wide-angle
Camera fusion realizes that pan-shot and VR (Virtual Reality, virtual reality) shooting function or other fusions are clapped
Camera shooting function.In some embodiments, CCD camera assembly 606 can also include flash lamp.Flash lamp can be monochromatic warm flash lamp,
It is also possible to double-colored temperature flash lamp.Double-colored temperature flash lamp refers to the combination of warm light flash lamp and cold light flash lamp, can be used for not
With the light compensation under colour temperature.
Voicefrequency circuit 607 may include microphone and loudspeaker.Microphone is used to acquire the sound wave of user and environment, and will
Sound wave, which is converted to electric signal and is input to processor 601, to be handled, or is input to radio circuit 604 to realize voice communication.
For stereo acquisition or the purpose of noise reduction, microphone can be separately positioned on the different parts of terminal 600 to be multiple.Mike
Wind can also be array microphone or omnidirectional's acquisition type microphone.Loudspeaker is then used to that processor 601 or radio circuit will to be come from
604 electric signal is converted to sound wave.Loudspeaker can be traditional wafer speaker, be also possible to piezoelectric ceramic loudspeaker.When
When loudspeaker is piezoelectric ceramic loudspeaker, the audible sound wave of the mankind can be not only converted electrical signals to, it can also be by telecommunications
Number the sound wave that the mankind do not hear is converted to carry out the purposes such as ranging.In some embodiments, voicefrequency circuit 607 can also include
Earphone jack.
Positioning component 608 is used for the current geographic position of positioning terminal 600, to realize navigation or LBS (Location
Based Service, location based service).Positioning component 608 can be the GPS (Global based on the U.S.
Positioning System, global positioning system), the dipper system of China, Russia Gray receive this system or European Union
The positioning component of Galileo system.
Power supply 609 is used to be powered for the various components in terminal 600.Power supply 609 can be alternating current, direct current,
Disposable battery or rechargeable battery.When power supply 609 includes rechargeable battery, which can support wired charging
Or wireless charging.The rechargeable battery can be also used for supporting fast charge technology.
In some embodiments, terminal 600 further includes having one or more sensors 610.The one or more sensors
610 include but is not limited to: acceleration transducer 611, gyro sensor 612, pressure sensor 613, fingerprint sensor 614,
Optical sensor 615 and proximity sensor 616.
The acceleration that acceleration transducer 611 can detecte in three reference axis of the coordinate system established with terminal 611 is big
It is small.For example, acceleration transducer 611 can be used for detecting component of the acceleration of gravity in three reference axis.Processor 601 can
With the acceleration of gravity signal acquired according to acceleration transducer 611, touch display screen 605 is controlled with transverse views or longitudinal view
Figure carries out the display of user interface.Acceleration transducer 611 can be also used for the acquisition of game or the exercise data of user.
Gyro sensor 612 can detecte body direction and the rotational angle of terminal 600, and gyro sensor 612 can
To cooperate with acquisition user to act the 3D of terminal 600 with acceleration transducer 611.Processor 601 is according to gyro sensor 612
Following function may be implemented in the data of acquisition: when action induction (for example changing UI according to the tilt operation of user), shooting
Image stabilization, game control and inertial navigation.
The lower layer of side frame and/or touch display screen 605 in terminal 600 can be set in pressure sensor 613.Work as pressure
When the side frame of terminal 600 is arranged in sensor 613, user can detecte to the gripping signal of terminal 600, by processor 601
Right-hand man's identification or prompt operation are carried out according to the gripping signal that pressure sensor 613 acquires.When the setting of pressure sensor 613 exists
When the lower layer of touch display screen 605, the pressure operation of touch display screen 605 is realized to UI circle according to user by processor 601
Operability control on face is controlled.Operability control includes button control, scroll bar control, icon control, menu
At least one of control.
Fingerprint sensor 614 is used to acquire the fingerprint of user, collected according to fingerprint sensor 614 by processor 601
The identity of fingerprint recognition user, alternatively, by fingerprint sensor 614 according to the identity of collected fingerprint recognition user.It is identifying
When the identity of user is trusted identity out, authorize the user that there is relevant sensitive operation, the sensitive operation packet by processor 601
Include solution lock screen, check encryption information, downloading software, payment and change setting etc..Terminal can be set in fingerprint sensor 614
600 front, the back side or side.When being provided with physical button or manufacturer Logo in terminal 600, fingerprint sensor 614 can be with
It is integrated with physical button or manufacturer's mark.
Optical sensor 615 is for acquiring ambient light intensity.In one embodiment, processor 601 can be according to optics
The ambient light intensity that sensor 615 acquires controls the display brightness of touch display screen 605.Specifically, when ambient light intensity is higher
When, the display brightness of touch display screen 605 is turned up;When ambient light intensity is lower, the display for turning down touch display screen 605 is bright
Degree.In another embodiment, the ambient light intensity that processor 601 can also be acquired according to optical sensor 615, dynamic adjust
The acquisition parameters of CCD camera assembly 606.
Proximity sensor 616, also referred to as range sensor are generally arranged at the front panel of terminal 600.Proximity sensor 616
For acquiring the distance between the front of user Yu terminal 600.In one embodiment, when proximity sensor 616 detects use
When family and the distance between the front of terminal 600 gradually become smaller, touch display screen 605 is controlled from bright screen state by processor 601
It is switched to breath screen state;When proximity sensor 616 detects user and the distance between the front of terminal 600 becomes larger,
Touch display screen 605 is controlled by processor 601 and is switched to bright screen state from breath screen state.
It will be understood by those skilled in the art that the restriction of structure shown in Fig. 6 not structure paired terminal 600, can wrap
It includes than illustrating more or fewer components, perhaps combine certain components or is arranged using different components.
In the exemplary embodiment, a kind of computer readable storage medium is additionally provided, the memory for example including instruction,
Above-metioned instruction can be executed by the processor in terminal or server to complete the virtual objects display methods in above-described embodiment.Example
Such as, which can be read-only memory (Read-Only Memory, ROM), random access memory
(Random Access Memory, RAM), CD-ROM (Compact Disc Read-Only Memory, CD-ROM), magnetic
Band, floppy disk and optical data storage devices etc..
Those of ordinary skill in the art will appreciate that realizing that all or part of the steps of above-described embodiment can pass through hardware
It completes, relevant hardware can also be instructed to complete by program, which can store in a kind of computer-readable storage
In medium, storage medium mentioned above can be read-only memory, disk or CD etc..
It above are only presently preferred embodiments of the present invention, be not intended to limit the invention, it is all in the spirit and principles in the present invention
Within, any modification, equivalent replacement, improvement and so on should all be included in the protection scope of the present invention.
Claims (10)
1. a kind of virtual objects display methods, which is characterized in that the described method includes:
It receives virtual objects and gives instruction, the virtual objects give instruction and carry virtual objects mark;
It obtains the virtual objects and identifies corresponding virtual objects data and the corresponding audio data of the virtual objects data;
The audio data is analyzed, multiple frequency values of the audio data are obtained;
In playing audio data, according to multiple frequency values of the audio data and the virtual objects data, display
Virtual objects animation, the display forms of the virtual objects in the virtual objects animation become with the multiple frequency values
Change.
2. the method according to claim 1, wherein described obtain the corresponding audio number of the virtual objects data
According to including:
When detecting target webpage element in live page, by being stored in the element property of the target webpage element
Audio path, download the audio data.
3. being obtained described the method according to claim 1, wherein described analyze the audio data
Multiple frequency values of audio data include:
According to default sampling duration, the audio data is sampled, obtains multiple frequency values indicated with hashed form;
Array form is stored as by the multiple with the frequency values that hashed form indicates.
4. the method according to claim 1, wherein the multiple frequency values and institute according to the audio data
Virtual objects data are stated, display virtual objects animation includes:
For any one animated element of the virtual objects, the size of the animated element is adjusted according to the multiple frequency values
And at least one of color, it is drawn based on animated element adjusted, to realize the display of the virtual objects animation.
5. according to the method described in claim 4, it is characterized in that, described adjust the animation member according to the multiple frequency values
At least one of size and color of element include following either steps:
According to the first difference between the multiple frequency values and reference frequency value, by the size and color of the animated element
In at least one of adjust separately as numerical value corresponding with first difference;
According to the second difference between the multiple frequency values and the mean value of multiple frequency values, by the size of the animated element with
And at least one in color adjusts separately as numerical value corresponding with second difference.
6. a kind of virtual objects display device, which is characterized in that described device includes:
Receiving module gives instruction for receiving virtual objects, and the virtual objects give instruction and carry virtual objects mark;
Module is obtained, identifies corresponding virtual objects data and the virtual objects data pair for obtaining the virtual objects
The audio data answered;
Analysis module obtains multiple frequency values of the audio data for analyzing the audio data;
Display module, in playing audio data, according to multiple frequency values of the audio data and described virtual
Product data shows virtual objects animation, and the display form of the virtual objects in the virtual objects animation is with the multiple
Frequency values change.
7. device according to claim 6, which is characterized in that the acquisition module includes: audio data acquiring unit, is used
In when detecting target webpage element in live page, by being stored in the element property of the target webpage element
Audio path downloads the audio data.
8. device according to claim 6, which is characterized in that the display module is used for appointing for the virtual objects
One animated element adjusts at least one of size and the color of the animated element according to the multiple frequency values, is based on
Animated element adjusted is drawn, to realize the display of the virtual objects animation.
9. a kind of computer equipment, which is characterized in that the computer equipment includes processor and memory, in the memory
It is stored at least one instruction, described instruction is loaded by the processor and executed to realize such as claim 1 to claim 5
Operation performed by described in any item virtual objects display methods.
10. a kind of computer readable storage medium, which is characterized in that be stored at least one in the computer readable storage medium
Item instruction, described instruction are loaded by the processor and are executed to realize as claim 1 is described in any item to claim 5
Operation performed by virtual objects display methods.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910436553.4A CN110139143B (en) | 2019-05-23 | 2019-05-23 | Virtual article display method, device, computer equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910436553.4A CN110139143B (en) | 2019-05-23 | 2019-05-23 | Virtual article display method, device, computer equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110139143A true CN110139143A (en) | 2019-08-16 |
CN110139143B CN110139143B (en) | 2021-11-02 |
Family
ID=67573079
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910436553.4A Active CN110139143B (en) | 2019-05-23 | 2019-05-23 | Virtual article display method, device, computer equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110139143B (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111857931A (en) * | 2020-07-22 | 2020-10-30 | 北京达佳互联信息技术有限公司 | Processing method and device for animation display of virtual article |
CN113613056A (en) * | 2021-08-03 | 2021-11-05 | 广州繁星互娱信息科技有限公司 | Animation special effect display method and device, electronic equipment and medium |
CN114302160A (en) * | 2021-12-29 | 2022-04-08 | 北京达佳互联信息技术有限公司 | Information display method, information display device, computer equipment and medium |
CN114415873A (en) * | 2022-01-14 | 2022-04-29 | 北京字节跳动网络技术有限公司 | Virtual object display method and device, computer equipment and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2007096691A2 (en) * | 2006-02-21 | 2007-08-30 | Nokia Corporation | Generating a representation of a dancer dancing to music |
CN106101736A (en) * | 2016-06-28 | 2016-11-09 | 广州华多网络科技有限公司 | The methods of exhibiting of a kind of virtual present and system |
CN106789562A (en) * | 2016-12-06 | 2017-05-31 | 腾讯科技(深圳)有限公司 | A kind of virtual objects sending method, method of reseptance, device and system |
CN108259925A (en) * | 2017-12-29 | 2018-07-06 | 广州市百果园信息技术有限公司 | Music gifts processing method, storage medium and terminal in net cast |
CN108989706A (en) * | 2017-06-02 | 2018-12-11 | 北京字节跳动网络技术有限公司 | The method and device of special efficacy is generated based on music rhythm |
-
2019
- 2019-05-23 CN CN201910436553.4A patent/CN110139143B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2007096691A2 (en) * | 2006-02-21 | 2007-08-30 | Nokia Corporation | Generating a representation of a dancer dancing to music |
CN106101736A (en) * | 2016-06-28 | 2016-11-09 | 广州华多网络科技有限公司 | The methods of exhibiting of a kind of virtual present and system |
CN106789562A (en) * | 2016-12-06 | 2017-05-31 | 腾讯科技(深圳)有限公司 | A kind of virtual objects sending method, method of reseptance, device and system |
CN108989706A (en) * | 2017-06-02 | 2018-12-11 | 北京字节跳动网络技术有限公司 | The method and device of special efficacy is generated based on music rhythm |
CN108259925A (en) * | 2017-12-29 | 2018-07-06 | 广州市百果园信息技术有限公司 | Music gifts processing method, storage medium and terminal in net cast |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111857931A (en) * | 2020-07-22 | 2020-10-30 | 北京达佳互联信息技术有限公司 | Processing method and device for animation display of virtual article |
CN113613056A (en) * | 2021-08-03 | 2021-11-05 | 广州繁星互娱信息科技有限公司 | Animation special effect display method and device, electronic equipment and medium |
CN114302160A (en) * | 2021-12-29 | 2022-04-08 | 北京达佳互联信息技术有限公司 | Information display method, information display device, computer equipment and medium |
CN114302160B (en) * | 2021-12-29 | 2023-04-28 | 北京达佳互联信息技术有限公司 | Information display method, device, computer equipment and medium |
CN114415873A (en) * | 2022-01-14 | 2022-04-29 | 北京字节跳动网络技术有限公司 | Virtual object display method and device, computer equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN110139143B (en) | 2021-11-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107959860B (en) | The method and apparatus of display live streaming list | |
CN110139143A (en) | Virtual objects display methods, device, computer equipment and storage medium | |
CN110139142A (en) | Virtual objects display methods, device, terminal and storage medium | |
CN108401124A (en) | The method and apparatus of video record | |
CN110267067A (en) | Method, apparatus, equipment and the storage medium that direct broadcasting room is recommended | |
CN110244998A (en) | Page layout background, the setting method of live page background, device and storage medium | |
CN110061900B (en) | Message display method, device, terminal and computer readable storage medium | |
CN109982102A (en) | The interface display method and system and direct broadcast server of direct broadcasting room and main broadcaster end | |
CN108848394A (en) | Net cast method, apparatus, terminal and storage medium | |
CN109348247A (en) | Determine the method, apparatus and storage medium of audio and video playing timestamp | |
CN109285178A (en) | Image partition method, device and storage medium | |
CN109168073A (en) | The method and apparatus that direct broadcasting room cover is shown | |
CN110491358A (en) | Carry out method, apparatus, equipment, system and the storage medium of audio recording | |
CN110149332A (en) | Live broadcasting method, device, equipment and storage medium | |
CN109302385A (en) | Multimedia resource sharing method, device and storage medium | |
CN108965757A (en) | video recording method, device, terminal and storage medium | |
CN111339326A (en) | Multimedia resource display method, multimedia resource providing method and multimedia resource providing device | |
US20220342631A1 (en) | Method and system for playing audios | |
CN109922356A (en) | Video recommendation method, device and computer readable storage medium | |
CN109035180A (en) | Video broadcasting method, device, equipment and storage medium | |
CN109275013A (en) | Method, apparatus, equipment and the storage medium that virtual objects are shown | |
CN110248236A (en) | Video broadcasting method, device, terminal and storage medium | |
CN110418152A (en) | It is broadcast live the method and device of prompt | |
CN109346111A (en) | Data processing method, device, terminal and storage medium | |
CN110149517A (en) | Method, apparatus, electronic equipment and the computer storage medium of video processing |
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 |