CN108322766A - Vivid update method, terminal device and the medium of virtual pendant - Google Patents

Vivid update method, terminal device and the medium of virtual pendant Download PDF

Info

Publication number
CN108322766A
CN108322766A CN201711354252.4A CN201711354252A CN108322766A CN 108322766 A CN108322766 A CN 108322766A CN 201711354252 A CN201711354252 A CN 201711354252A CN 108322766 A CN108322766 A CN 108322766A
Authority
CN
China
Prior art keywords
skin
data
action
virtual
virtual pendant
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201711354252.4A
Other languages
Chinese (zh)
Inventor
钱达
谭颖
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Cafe Interactive Technology Co Ltd
Original Assignee
Shenzhen Cafe Interactive Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Cafe Interactive Technology Co Ltd filed Critical Shenzhen Cafe Interactive Technology Co Ltd
Priority to CN201711354252.4A priority Critical patent/CN108322766A/en
Publication of CN108322766A publication Critical patent/CN108322766A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/21Server components or server architectures
    • H04N21/218Source of audio or video content, e.g. local disk arrays
    • H04N21/2187Live feed
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing 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/4302Content synchronisation processes, e.g. decoder synchronisation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing 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/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • H04N21/4312Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing 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/435Processing of additional data, e.g. decrypting of additional data, reconstructing software from modules extracted from the transport stream

Abstract

The invention discloses a kind of vivid update method, terminal device and the storage medium of virtual pendant, which includes:It receives corresponding to the skin instruction of virtual pendant and action command;Target resource file is obtained according to skin instruction and action command, the target resource file includes the skin data to match with skin instruction and action command and action data;The virtual pendant is updated according to the target resource file, and the updated virtual pendant is stored in its memory.The present invention can allow the virtual pendant in main broadcaster that can carry out real-time interactive with user, and user can allow virtual pendant to change the outfit, virtual pendant can also be allowed to do special action, meet the demand for experience of user by object of giving a present.

Description

Vivid update method, terminal device and the medium of virtual pendant
Technical field
The present invention relates to virtual pendant technical fields, more particularly to a kind of vivid update method, the terminal of virtual pendant Equipment and medium.
Background technology
Live scene carries out in direct broadcasting room, and each user carries the client of oneself and enters in direct broadcasting room, the visitor Family end is equipped with display screen, and virtual pendant is shown on a display screen.After user brings client into direct broadcasting room, start client from clothes It is engaged in downloading interactive data and the progress interaction of virtual pendant on device.After user takes away client between main broadcaster, only retain in client Virtual vivid data of the pendant when user leaves.Wherein, interactive data is pre-set on the server.
Recreational to obtain the approval of people with the convenience of application program, live streaming industry is becoming increasingly popular, people couple The new playing method demand of live scene is higher and higher.In the design of the prior art, the communicative channel of virtual pendant and user are more single One, it is basically that user carries out text reviews to virtual pendant and gives virtual present two kinds of interactive modes, virtual present base All it is to show the virtual pendant of main broadcaster and user, effect relatively simple by way of playing one section of present animation effect in sheet. In addition, virtual pendant in the prior art can only be arranged by terminal user oneself, the users to share in direct broadcasting room cannot be allowed to set It sets, also can not generate interaction effect with the other users in direct broadcasting room, virtual pendant technology does not also obtain in live scene Using.
Invention content
The embodiment of the present invention mainly provides a kind of vivid update method, client and the medium of virtual pendant, existing to solve Have in technology, the communicative channel of virtual pendant and user are relatively simple, the problem of cannot be satisfied the demand for experience of user.
In order to solve the above technical problems, a technical solution used in the embodiment of the present invention is as follows:
A kind of vivid update method of virtual pendant, the image update method include:
It receives corresponding to the skin instruction of virtual pendant and action command;
According to the skin instruction and action command obtain target resource file, the target resource file include with it is described The skin data and action data that skin instructs and action command matches;
The virtual pendant is updated according to the skin data to match and action data, and is shown updated described Virtual pendant.
In order to solve the above technical problems, another technical solution used in the embodiment of the present invention is as follows:
A kind of terminal device comprising processor, memory and be stored on the memory and can be in the processor The computer program of upper operation, the processor realize the image of such as above-mentioned virtual pendant more when executing the computer program New method.
In order to solve the above technical problems, another technical solution used in the embodiment of the present invention is as follows:
A kind of storage medium is stored thereon with computer program, and it is such as above-mentioned that the computer program is performed realization The vivid update method of virtual pendant.
The advantageous effect of the embodiment of the present invention is:The case where being different from the prior art, the embodiment of the present invention pass through reception pair Target resource text should be obtained in the instruction of the skin of virtual pendant and action command, and according to skin instruction and action command Part, the last skin data to match according to and action data update the virtual pendant, and show updated described Virtual pendant so that in main broadcaster, increase virtual pendant and the communicative channel of user, meet the demand for experience of user.
Description of the drawings
Fig. 1 is the implementing procedure figure of the vivid update method of the virtual pendant of the embodiment of the present invention;
Fig. 2 is a kind of part frame schematic diagram of one embodiment of client of the embodiment of the present invention;
Fig. 3 is a kind of part frame schematic diagram of one embodiment of storage medium of the embodiment of the present invention.
Specific implementation mode
Embodiment one
Referring to Fig. 1, Fig. 1 is the implementing procedure figure of the vivid update method of the virtual pendant of the embodiment of the present invention, in conjunction with Fig. 1 can show that a kind of vivid update method of virtual pendant of the invention, optionally, the image update method are applied to peace Client equipped with live streaming application, from the angle of a client, which includes:
Step S101:It receives corresponding to the skin instruction of virtual pendant and action command.
Step S102:Target resource file, the target resource file are obtained according to skin instruction and action command Include the skin data to match with skin instruction and action command and action data.
Step S103:The virtual pendant is updated according to the skin data to match and action data, and is shown more The virtual pendant after new.
In the present embodiment, optionally, the virtual extension is updated according to the skin data to match and action data After part, further include:
Preserve the updated virtual pendant, the skin data to match and action data, i.e., it will be updated The virtual pendant, the skin data to match and action data are stored in its memory.
In the present embodiment, optionally, target resource file is obtained according to skin instruction and action command, specifically Including:
Obtain the command keyword of the skin instruction and action command.
The resource file path of the target resource file is obtained according to described instruction keyword.
The target resource file is obtained according to the resource file path.
In the present embodiment, optionally, it when the number at least two of the client, is then receiving corresponding to virtual After the skin instruction of pendant and action command, further include:
The skin instruction and action command are sent to server, and the skin is instructed and acted by the server Instruction is stored and is forwarded to the other client, to allow the other client to instruct and move according to the skin Make instruction and obtain the target resource file, and the skin data and action data that match according in turn update the void Quasi- pendant.
In the present embodiment, optionally, it before receiving corresponding to the skin instruction of virtual pendant and action command, also wraps It includes:
Acquisition is pre-stored within interactive data whole on the server, and the interactive data includes the skin data And action data.
In the present embodiment, optionally, it obtains and is pre-stored within after interactive data whole on the server, also wrap It includes:
The interactive data associated with the virtual pendant is preserved, as the spare of the update virtual pendant The interactive data associated with the virtual pendant is stored in its memory, as update institute by interactive data State the spare interactive data of virtual pendant.
In the present embodiment, optionally, after obtaining the target resource file, further include:
Judge in the target resource file with the presence or absence of the skin number to match with skin instruction and action command According to and action data.
If it is not, the corresponding skin data and action data then are obtained from the server again, and will be corresponding In the skin data and action data storage to memory.
In the present embodiment, optionally, if the target resource file exists and skin instruction and action command phase Matched skin data and action data further include then:
Judge whether the skin data and action data have damage.
If so, removing the skin data and action data of damage, complete institute is obtained from the server again Skin data and action data are stated, and will completely the skin data and action data be stored onto memory.
Technical scheme of the present invention is illustrated below by concrete application.
It is that receive the correspondence that is sent out by human-machine interface unit of user virtual for the receiving unit of one of client first The skin of pendant instructs and action command.The content of skin instruction is specially that the part in virtual pendant body needs to be substituted for The instruction of certain part in certain set skin in certain role file, such as the beixin skin datas of beixin (vest) role Including glasses, headwear, jacket, lower clothing and accessories etc., and skin command content is role, skin and body part.
Followed by the transmission unit of client stores skin instruction and action command to server, and passes through server Other clients are called, skin instruction and action command are issued to the receiving unit of all clients between main broadcaster.Other clients The receiving unit at end determines the command keyword of skin instruction and action command, such as above-mentioned beixin from described instruction, together When pass through logic unit determine instruction keyword match to the respective file in target resource file, such as beixin keywords correspond to To beixin files, while some or certain several nodenames under the skin nodes by beixin files being needed (to represent certain Certain several part in set figure skin) it parses, replace virtual pendant till now will subsequently to find target person skin On do data preparation.
When the vest instruction of the virtual pendant of terminal unit input replacement of a user, after receiving unit receives vest instruction Vest is instructed and is transferred in server by transmission unit, vest instruction can be forwarded by server, and others are used The terminal unit at family can receive vest instruction by receiving unit, and then logic unit can obtain it by vest instruction and refer to Keyword beixin is enabled, relevant beixin file paths, i.e. beixin texts can be matched to by command keyword beixin Part presss from both sides.At this point, resource loading unit can load json files, atlas files and the png files in beixin files Into the memory of client, the json files in beixin files, atlas files and png files are client at this time Local file, then client json files, atlas files and png files can be loaded by loading unit existing Virtual pendant on, json files original to virtual pendant, atlas files and png files are replaced, you can complete pair The virtual original jacket of pendant is changed to user (spectators) required vest.Similarly, virtual pendant action interaction and voice Interactive realization principle is identical as the principle that above-mentioned vest is replaced.
In the present embodiment, when the interactive data error in client's end memory, updating unit, the updating unit is added The interactive data that corresponding virtual pendant is obtained for controlling the resource loading unit again through resource file path, at this In embodiment, such as user accidentally deletes the interactive data of the virtual pendant in memory, will result in virtual pendant Interactive data is lost, that is, mistake occurs, and at this moment updating unit will control the acquisition pair from server again of resource loading unit The interactive data for the virtual pendant answered, and be loaded into memory, thus it is possible to prevente effectively from user is because accidentally delete in client The data deposited cause virtual pendant interaction to synchronize to go wrong.
The embodiment of the present invention is on the one hand instructed corresponding to the skin of virtual pendant by reception and action command, and according to institute It states skin instruction and action command obtains target resource file, the last skin data to match according to and action data are more The new virtual pendant, and show the updated virtual pendant so that in main broadcaster, increase virtual pendant and user Communicative channel, meet the demand for experience of user.Another aspect of the present invention by server send skin instruction and Action command, and instructed the skin by the server and action command is stored and be forwarded to the other client End, to allow the other client to be instructed according to the skin and the action command acquisition target resource file, and in turn The virtual pendant is updated according to the skin data to match and action data, multiple users in direct broadcasting room can be allowed same Step experiences the virtual updated effect of pendant of viewing, that is, generates interaction effect.
Embodiment two
Referring to Fig. 2, can see with reference to figure 2, a kind of terminal device 20 of the embodiment of the present invention comprising processor 21, memory 22 and it is stored in the computer program 221 that can be run on the memory 22 and on the processor 21, it is described Processor 21 realizes the vivid update method of the virtual pendant as described in embodiment one when executing the computer program 221.By It has been described in detail in embodiment one in this, this will not be repeated here.
On the one hand the vivid update method for the virtual pendant that the embodiment of the present invention is realized corresponds to virtual pendant by reception Skin instruction and action command, and according to the skin instruction and action command obtain target resource file, finally according to institute It states the skin data to match and action data updates the virtual pendant, and show the updated virtual pendant so that In main broadcaster, virtual pendant and the communicative channel of user are increased, the demand for experience of user is met.Another aspect of the present invention The skin is instructed and action command by sending skin instruction and action command to server, and by the server The other client is stored and be forwarded to, is referred to allowing the other client to instruct and act according to the skin It enables and obtains the target resource file, and the skin data and action data that match according in turn update the virtual extension Part can allow multiple users in direct broadcasting room to synchronize and experience the virtual updated effect of pendant of viewing, that is, generate interaction effect.
Embodiment three
Referring to Fig. 3, can see with reference to figure 3, a kind of storage medium 30 of the embodiment of the present invention, the storage medium 30, such as:ROM/RAM, magnetic disc, CD etc., are stored thereon with computer program 31, and the computer program 31 is performed realization The vivid update method of virtual pendant as described in embodiment one.Due to being described in detail in embodiment one, This will not be repeated here.
On the one hand the vivid update method for the virtual pendant that the embodiment of the present invention is realized corresponds to virtual pendant by reception Skin instruction and action command, and according to the skin instruction and action command obtain target resource file, finally according to institute It states the skin data to match and action data updates the virtual pendant, and show the updated virtual pendant so that In main broadcaster, virtual pendant and the communicative channel of user are increased, the demand for experience of user is met.Another aspect of the present invention The skin is instructed and action command by sending skin instruction and action command to server, and by the server The other client is stored and be forwarded to, is referred to allowing the other client to instruct and act according to the skin It enables and obtains the target resource file, and the skin data and action data that match according in turn update the virtual extension Part can allow multiple users in direct broadcasting room to synchronize and experience the virtual updated effect of pendant of viewing, that is, generate interaction effect.
Mode the above is only the implementation of the present invention is not intended to limit the scope of the invention, every to utilize this Equivalent structure or equivalent flow shift made by description of the invention and accompanying drawing content, it is relevant to be applied directly or indirectly in other Technical field is included within the scope of the present invention.

Claims (10)

1. a kind of vivid update method of virtual pendant, which is characterized in that the image update method includes:
It receives corresponding to the skin instruction of virtual pendant and action command;
Target resource file is obtained according to skin instruction and action command, the target resource file includes and the skin The skin data and action data that instruction and action command match;
The virtual pendant is updated according to the skin data to match and action data, and is shown updated described virtual Pendant.
2. the vivid update method of virtual pendant according to claim 1, which is characterized in that according to the skin to match After skin data and action data update the virtual pendant, further include:
Preserve the updated virtual pendant, the skin data to match and action data.
3. the vivid update method of virtual pendant according to claim 1, which is characterized in that according to the skin instruction and Action command obtains target resource file, specifically includes:
Obtain the command keyword of the skin instruction and action command;
The resource file path of the target resource file is obtained according to described instruction keyword;
The target resource file is obtained according to the resource file path.
4. the vivid update method of virtual pendant according to claim 1, which is characterized in that when the number of the client When at least two, after receiving corresponding to the skin instruction of virtual pendant and action command, further include then:
Skin instruction and action command are sent to server, and are instructed the skin and action command by the server The other client is stored and be forwarded to, is referred to allowing the other client to instruct and act according to the skin It enables and obtains the target resource file, and the skin data and action data that match according in turn update the virtual extension Part.
5. the vivid update method of virtual pendant according to claim 1, which is characterized in that correspond to virtual hang receiving Before the skin instruction of part and action command, further include:
Acquisition is pre-stored within interactive data whole on the server, and the interactive data includes the skin data and moves Make data.
6. the vivid update method of virtual pendant according to claim 5, which is characterized in that acquisition is pre-stored within described On server after whole interactive datas, further include:
The interactive data associated with the virtual pendant is preserved, as the spare interaction of the update virtual pendant Data.
7. the vivid update method of virtual pendant according to claim 6, which is characterized in that obtaining the target resource After file, further include:
Judge in the target resource file with the presence or absence of the skin data to match with skin instruction and action command and Action data;
If it is not, then obtaining the corresponding skin data and action data from the server again, and preserve corresponding institute State skin data and action data.
8. the vivid update method of virtual pendant according to claim 7, which is characterized in that if the target resource file In the presence of the skin data and action data to match with skin instruction and action command, further include then:
Judge whether the skin data and action data have damage;
If so, removing the skin data and action data of damage, the complete skin is obtained from the server again Skin data and action data, and will completely the skin data and action data store onto memory.
9. a kind of terminal device, which is characterized in that it includes processor, memory and is stored on the memory and can be in institute The computer program run on processor is stated, the processor is realized when executing the computer program such as claim 1~8 institute The vivid update method for the virtual pendant stated.
10. a kind of storage medium, which is characterized in that be stored thereon with computer program, the computer program is performed reality The now vivid update method of the virtual pendant as described in claim 1~8.
CN201711354252.4A 2017-12-15 2017-12-15 Vivid update method, terminal device and the medium of virtual pendant Pending CN108322766A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711354252.4A CN108322766A (en) 2017-12-15 2017-12-15 Vivid update method, terminal device and the medium of virtual pendant

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711354252.4A CN108322766A (en) 2017-12-15 2017-12-15 Vivid update method, terminal device and the medium of virtual pendant

Publications (1)

Publication Number Publication Date
CN108322766A true CN108322766A (en) 2018-07-24

Family

ID=62891909

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711354252.4A Pending CN108322766A (en) 2017-12-15 2017-12-15 Vivid update method, terminal device and the medium of virtual pendant

Country Status (1)

Country Link
CN (1) CN108322766A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109618217A (en) * 2019-01-28 2019-04-12 广州酷狗计算机科技有限公司 Direct broadcasting room interface display method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100250661A1 (en) * 2009-03-31 2010-09-30 International Business Machines Corporation Managing a Virtual Object
CN102571633A (en) * 2012-01-09 2012-07-11 华为技术有限公司 Method for demonstrating user state, demonstration terminal and server
CN103218844A (en) * 2013-04-03 2013-07-24 腾讯科技(深圳)有限公司 Collocation method, implementation method, client side, server and system of virtual image
CN103797761A (en) * 2013-08-22 2014-05-14 华为技术有限公司 Communication method, client, and terminal
CN106355629A (en) * 2016-08-19 2017-01-25 腾讯科技(深圳)有限公司 Virtual image configuration method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100250661A1 (en) * 2009-03-31 2010-09-30 International Business Machines Corporation Managing a Virtual Object
CN102571633A (en) * 2012-01-09 2012-07-11 华为技术有限公司 Method for demonstrating user state, demonstration terminal and server
CN103218844A (en) * 2013-04-03 2013-07-24 腾讯科技(深圳)有限公司 Collocation method, implementation method, client side, server and system of virtual image
CN103797761A (en) * 2013-08-22 2014-05-14 华为技术有限公司 Communication method, client, and terminal
CN106355629A (en) * 2016-08-19 2017-01-25 腾讯科技(深圳)有限公司 Virtual image configuration method and device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109618217A (en) * 2019-01-28 2019-04-12 广州酷狗计算机科技有限公司 Direct broadcasting room interface display method and device
CN109618217B (en) * 2019-01-28 2021-01-08 广州酷狗计算机科技有限公司 Method and device for displaying interface of live broadcast room

Similar Documents

Publication Publication Date Title
US10762105B2 (en) Extensible application state preservation architecture
JP6310073B2 (en) Drawing system, control method, and storage medium
CN110784752A (en) Video interaction method and device, computer equipment and storage medium
US9819985B2 (en) System and method to manage switching between devices
US11284160B2 (en) Start-up performance improvement for remote application
CN113055255A (en) Scene configuration method and device of intelligent household appliance, storage medium and electronic equipment
CN112999653A (en) Cloud game processing method, device, equipment and medium
CN112190932B (en) Virtual key setting method and device, storage medium and electronic device
CN109683839B (en) Method, equipment and system for split screen display and multi-terminal interaction
CN110134476A (en) A kind of method and apparatus that application is shown
KR20180086239A (en) Synchronization of client-side and server-side keyboard layouts in a virtual session
CN108432256A (en) Interactive application server on second screen apparatus
WO2014001862A2 (en) Methods and systems for bandwidth-efficient remote procedure calls
US10721281B2 (en) Method, system and non-transitory computer-readable recording medium for providing a multilateral communication service
CN108322766A (en) Vivid update method, terminal device and the medium of virtual pendant
CN104794632B (en) A kind of advertisement loading method and device
US20210236934A1 (en) Information processing system, computer-readable non-transitory storage medium having information processing program stored therein, information processing apparatus, and information processing method
KR20230006518A (en) Skill selection method and apparatus for virtual objects, and devices, media and program products
CN111195432B (en) Object display method and device, storage medium and electronic device
US9477663B2 (en) Undoing an action in a media player
CN104587669B (en) A kind of method for customizing of virtual peripheral
CN104486664A (en) Method for switching television theme with mobile phone, achieving system, mobile phone and television
CN111701232B (en) Game picture processing method and device and electronic device
CN110134894A (en) Multiple terminals type variable exchange method and system based on browser d engine and Websocket
EP2861313B1 (en) Processing system, information processing apparatus, control method, program and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20180724

RJ01 Rejection of invention patent application after publication