CN108418890A - Face's special efficacy resource generation method, device, system and readable storage medium storing program for executing - Google Patents
Face's special efficacy resource generation method, device, system and readable storage medium storing program for executing Download PDFInfo
- Publication number
- CN108418890A CN108418890A CN201810215426.7A CN201810215426A CN108418890A CN 108418890 A CN108418890 A CN 108418890A CN 201810215426 A CN201810215426 A CN 201810215426A CN 108418890 A CN108418890 A CN 108418890A
- Authority
- CN
- China
- Prior art keywords
- resource
- face
- special efficacy
- server
- type
- 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/06—Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
-
- 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/80—Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
- H04N21/85—Assembly of content; Generation of multimedia applications
- H04N21/858—Linking data to content, e.g. by linking an URL to a video object, by creating a hotspot
- H04N21/8586—Linking data to content, e.g. by linking an URL to a video object, by creating a hotspot by using a URL
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N5/00—Details of television systems
- H04N5/222—Studio circuitry; Studio devices; Studio equipment
- H04N5/262—Studio circuits, e.g. for mixing, switching-over, change of character of image, other special effects ; Cameras specially adapted for the electronic generation of special effects
- H04N5/2621—Cameras specially adapted for the electronic generation of special effects during image pickup, e.g. digital cameras, camcorders, video cameras having integrated special effects capability
Abstract
A kind of face's special efficacy resource generation method of offer of the embodiment of the present invention, device, system and readable storage medium storing program for executing.This method includes:The foundation of user terminal resource response type instructs, and establishes the resource type of face's special efficacy resource;The foundation instruction of response triggering download activity item, establishes the corresponding triggering download activity item of the resource type;The uploading instructions for responding face's special efficacy resource, during corresponding face's special efficacy resource is uploaded onto the server in corresponding file;Server returns to corresponding url field according to face's special efficacy resource of upload to user terminal;User terminal is based on url field, resource type and triggering download activity item and generates static resource file, and static resource file is sent to server.The access that flow can effectively be controlled at flow peak period as a result, provides face's special efficacy resource in a manner of static, can reduce the flowing of access of server and effectively provide face's special efficacy resource used in mobile terminal.
Description
Technical field
The present invention relates to living broadcast interactive fields, in particular to a kind of face's special efficacy resource generation method, device, are
System and readable storage medium storing program for executing.
Background technology
Currently, the present of internet live streaming platform is beaten reward system and generally used, reward system is beaten by the ends Web webcast website
Usually using the special efficacy of barrage area present, but the special efficacy of some special natures is shown, such as common face in video technique
The special efficacy displaying matched, will no longer satisfy using the special efficacy resource at the ends Web, and since face's special efficacy is to be shown in video,
The special efficacy form in barrage area is no longer desirable for face's special efficacy technology.A part of face's special efficacy as special efficacy in present system, because
Its particularity is provided solely for mobile terminal use, and the method for realizing face's special efficacy displaying.The special efficacy money used at present in mobile terminal
Source is provided in a manner of mobilism, and in this way when mobile terminal flow is in peak period, the flowing of access of server increases, and causes
The immense pressure of server.
Invention content
In order to overcome above-mentioned deficiency in the prior art, the purpose of the present invention is to provide a kind of generations of face's special efficacy resource
Method, apparatus, system and readable storage medium storing program for executing can effectively control the access of flow at flow peak period, with static
Mode provides face's special efficacy resource, can reduce the flowing of access of server and effectively provide used in mobile terminal
Face's special efficacy resource.
To achieve the goals above, technical solution used in the embodiment of the present invention is as follows:
With reference to first aspect, the embodiment of the present invention provides a kind of face's special efficacy resource generation method, is applied to mutual
The user terminal and server of communication connection, the method includes:
The foundation of the user terminal resource response type instructs, and establishes the resource type of face's special efficacy resource, the money
Source Type is for identifying face's special efficacy resource;
The foundation instruction of response triggering download activity item, establishes the corresponding triggering download activity item of the resource type, described
Triggering download activity item is used to identify the filename for downloading face's special efficacy resource;
Respond the uploading instructions of face's special efficacy resource, corresponding text during corresponding face's special efficacy resource is uploaded onto the server
In part folder;
The server returns to corresponding url field according to face's special efficacy resource of upload to the user terminal,
The url field is to download the field of face's special efficacy resource;
It is quiet that the user terminal is based on the url field, the resource type and triggering download activity item generation
State resource file, and the static resource file is sent to the server.
In embodiments of the present invention, the server is also connect with communication of mobile terminal, and institute is based in the user terminal
It states url field, the resource type and triggering download activity item and generates static resource file, and by the static resource file
After the step of being sent to the server, the method further includes:
The static resource file is sent to mobile terminal by the server;
The mobile terminal responds user's operation, parse url field in the static resource file, resource type and
Download activity item is triggered, and based on the url field, resource type and triggers download activity item to server transmission pair
The face's special efficacy resource download request answered;
The server responds face's special efficacy resource download request, and it is special to send corresponding face to the mobile terminal
Imitate resource.
In embodiments of the present invention, face's special efficacy resource download request is responded in the server, to the movement
After terminal sends the step of corresponding face's special efficacy resource, the method further includes:
The user terminal responds user's operation, and it is special that the face is generated on the face area in current display picture
Imitate the corresponding face's special efficacy of resource.
In embodiments of the present invention, it is instructed in the foundation of the user terminal resource response type, establishes face's special efficacy money
After the step of resource type in source, the method further includes:
The user terminal judges whether the resource type of face's special efficacy resource creates successfully;
If it is not, user is then prompted to create resource type failure.
In embodiments of the present invention, in the foundation instruction of the response triggering download activity item, the resource type pair is established
After the step of triggering download activity item answered, the method further includes:
The user terminal judges whether the triggering download activity item creates successfully;
If it is not, then prompting the newly-built triggering download activity item failure of user.
In conjunction with second aspect, the embodiment of the present invention also provides a kind of face's special efficacy resource generation method, is applied to and service
The user terminal of device communication connection, the method includes:
The foundation of resource response type instructs, and establishes the resource type of face's special efficacy resource, the resource type is for marking
Know face's special efficacy resource;
The foundation instruction of response triggering download activity item, establishes the corresponding triggering download activity item of the resource type, described
Triggering download activity item is used to identify the filename for downloading face's special efficacy resource;
Respond the uploading instructions of face's special efficacy resource, corresponding text during corresponding face's special efficacy resource is uploaded onto the server
In part folder, so that the server returns to corresponding url field, the url field according to face's special efficacy resource of upload
To download the field of face's special efficacy resource;
Static resource file is generated based on the url field, the resource type and the triggering download activity item, and
The static resource file is sent to the server.
In conjunction with the third aspect, the embodiment of the present invention also provides a kind of face's special efficacy resource generating means, is applied to and service
The user terminal of device communication connection, described device include:
First establishes module, and the foundation for resource response type instructs, and establishes the resource type of face's special efficacy resource, institute
Resource type is stated for identifying face's special efficacy resource;
Second establishes module, and it is corresponding tactile to establish the resource type for the foundation instruction for responding triggering download activity item
Load active entry is given, the triggering download activity item is used to identify the filename for downloading face's special efficacy resource;
Corresponding face's special efficacy resource is uploaded to clothes by uploading module, the uploading instructions for responding face's special efficacy resource
It is engaged in device in corresponding file, so that the server returns to corresponding URL words according to face's special efficacy resource of upload
Section, the url field is to download the field of face's special efficacy resource;
Generation module, it is quiet for being generated based on the url field, the resource type and the triggering download activity item
State resource file, and the static resource file is sent to the server.
In conjunction with fourth aspect, the embodiment of the present invention also provides a kind of readable storage medium storing program for executing, is deposited in the readable storage medium storing program for executing
Computer program is contained, the computer program, which is performed, realizes above-mentioned face's special efficacy resource generation method.
In conjunction with the 5th aspect, the embodiment of the present invention also provides a kind of face's special efficacy resource generation system, face's special efficacy
It includes the user terminal and server communicated to connect between each other that resource, which generates system,.
The user terminal, the foundation for resource response type instruct, and establish the resource type of face's special efficacy resource, institute
Resource type is stated for identifying face's special efficacy resource;
The foundation instruction of response triggering download activity item, establishes the corresponding triggering download activity item of the resource type, described
Triggering download activity item is used to identify the filename for downloading face's special efficacy resource;
Respond the uploading instructions of face's special efficacy resource, corresponding text during corresponding face's special efficacy resource is uploaded onto the server
In part folder;
The server, for returning to corresponding URL to the user terminal according to face's special efficacy resource of upload
Field, the url field are to download the field of face's special efficacy resource;
The user terminal is additionally operable to be based on the url field, the resource type and the triggering download activity item
Static resource file is generated, and the static resource file is sent to the server.
In terms of existing technologies, the invention has the advantages that:
A kind of face's special efficacy resource generation method of offer of the embodiment of the present invention, device, system and readable storage medium storing program for executing, it is first
First, the resource type of face's special efficacy resource, response triggering download activity are established in the foundation instruction of user terminal resource response type
The foundation instruction of item, establishes the corresponding triggering download activity item of the resource type, and then, the upload of response face special efficacy resource refers to
It enables, during corresponding face's special efficacy resource is uploaded onto the server in corresponding file, then, server is according to the face of upload
Special efficacy resource returns to corresponding url field to user terminal, and end user's terminal is based on url field, resource type and triggering
Download activity item generates static resource file, and static resource file is sent to server.The energy at flow peak period as a result,
The access of enough effectively control flows, face's special efficacy resource is provided in a manner of static, can reduce the flowing of access of server,
Face's special efficacy resource used in mobile terminal can be effectively provided again.
Description of the drawings
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below will be to needed in the embodiment attached
Figure is briefly described, it should be understood that the following drawings illustrates only certain embodiments of the present invention, therefore is not construed as pair
The restriction of range for those of ordinary skill in the art without creative efforts, can also be according to this
A little attached drawings obtain other relevant attached drawings.
Fig. 1 is a kind of application scenarios schematic diagram that face's special efficacy resource provided in an embodiment of the present invention generates system;
Fig. 2 is a kind of flow diagram of face's special efficacy resource generation method provided in an embodiment of the present invention;
Fig. 3 is another flow diagram of face's special efficacy resource generation method provided in an embodiment of the present invention;
Fig. 4 is the one of the user terminal provided in an embodiment of the present invention for realizing above-mentioned face's special efficacy resource generation method
Kind structural schematic block diagram.
Icon:100- servers;200- user terminals;210- memories;220- processors;The special efficacy resource life of 230- faces
At device;231- first establishes module;232- second establishes module;233- uploading modules;234- generation modules;300- movements are eventually
End.
Specific implementation mode
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation describes, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Usually herein
The component of the embodiment of the present invention described and illustrated in place's attached drawing can be arranged and be designed with a variety of different configurations.
Therefore, below the detailed description of the embodiment of the present invention to providing in the accompanying drawings be not intended to limit it is claimed
The scope of the present invention, but be merely representative of the present invention selected embodiment.Based on the embodiments of the present invention, this field is common
All other embodiment that technical staff is obtained without creative efforts belongs to the model that the present invention protects
It encloses.
It should be noted that:Similar label and letter indicate similar terms in following attached drawing, therefore, once a certain Xiang Yi
It is defined, then it further need not be defined and explained in subsequent attached drawing in a attached drawing.
Referring to Fig. 1, generating a kind of application scenarios signal of system for face's special efficacy resource provided in an embodiment of the present invention
Figure.In the present embodiment, face's special efficacy resource generates system and may include user terminal 200, communicated with the user terminal 200
The server 100 of connection and the mobile terminal 300 communicated to connect with the server 100.
In the embodiment of the present invention, the user terminal 200, which can be but not limited to PC, laptop etc., to be had
The electronic equipment of data-handling capacity can be used for establishing resource type and triggering download activity item of face's special efficacy resource etc.
Deng.
In the embodiment of the present invention, the mobile terminal 300 can be used for showing face's special efficacy in current live picture.According to
Some embodiments of the present invention, the mobile terminal 300 may include:Including application processing unit and radio frequency/digital signals processing
The processing unit of device;Display screen;The pocket key of membrane keyboard or combination thereof that may include secondary or physical bond, be covered on display screen
Disk;SIM card;Can include ROM, RAM, flash memory or their memory device arbitrarily combined;Wi-
Fi and/or blue tooth interface;Wireless phone interface;Electric power management circuit with relevant battery;USB interface and connector;It carries
The message for being associated with microphone, loud speaker and earphone jack manages system;And various such as cameras, global positioning system, plus
The selectable appurtenances of fast device etc..
In embodiments of the present invention, the server 100 should be understood offer processing, data bank, the industry of communications service
Business point.For example, server 100 can refer at the single physics with related communication and data storage and document library facility
The processor networked or gathered, the aggregate at related network and storing unit can be referred to by managing device or it, and to software and one
Or the application software of service that multiple document library systems and support server 100 are provided is operated.Server 100 can be
It is widely different in configuration or performance, but server 100 generally may include that one or more central processing unit and storage are single
Member.Server 100 can also be wired including one or more large-scale storage area equipment, one or more power supplys, one or more
Or wireless network components, one or more input output assemblies or one or more operating systems, such as, Windows
Server、Mac OS X、Unix、Linux、FreeBSD。
In embodiments of the present invention, the user terminal 200, the foundation for resource response type instruct, and establish face
The resource type of special efficacy resource, the resource type is for identifying face's special efficacy resource.
In embodiments of the present invention, the user terminal 200 is additionally operable to the foundation instruction of response triggering download activity item,
The corresponding triggering download activity item of the resource type is established, the triggering download activity item downloads face's special efficacy resource for identifying
Filename.
In embodiments of the present invention, the user terminal 200 is additionally operable to the uploading instructions of response face special efficacy resource, will
Corresponding face's special efficacy resource is uploaded onto the server in 100 in corresponding file;
In embodiments of the present invention, the server 100, for according to face's special efficacy resource of upload to the use
Family terminal 200 returns to corresponding url field, and the url field is to download the field of face's special efficacy resource.
In embodiments of the present invention, the user terminal 200, be additionally operable to based on the url field, the resource type with
And the triggering download activity item generates static resource file, and the static resource file is sent to the server 100.
Optionally, the server 100 is additionally operable to the static resource file being sent to mobile terminal 300.
The mobile terminal 300 is additionally operable to response user's operation, parses url field, money in the static resource file
Source Type and triggering download activity item, and based on the url field, resource type and download activity item is triggered to the clothes
Business device 100 sends corresponding face's special efficacy resource download request.
The server 100 is additionally operable to respond face's special efficacy resource download request, is sent out to the mobile terminal 300
Send corresponding face's special efficacy resource.
Referring to Fig. 2, for a kind of flow diagram of face's special efficacy resource generation method provided in an embodiment of the present invention, institute
It states method face's special efficacy resource shown in Fig. 1 and generates system execution.It should be noted that face provided in an embodiment of the present invention
Portion's special efficacy resource generation method is not limitation with Fig. 2 and particular order as described below.The detailed process of the method is as follows:
Step S110, the foundation instruction of 200 resource response type of the user terminal, establishes the resource of face's special efficacy resource
Type.
In one embodiment, first against face's special efficacy resource, addType (data) method may be used, create
The resource type of face's special efficacy resource is face_total, and face_total identifies face's special efficacy resource according to this.
In order to ensure the reliability that above-mentioned resource type is established, optionally, the present embodiment can also use isSuccess ()
Method judges whether the resource type of face's special efficacy resource creates successfully, is lost if it is not, user is then prompted to create resource type
It loses, if so, continuing flow.
Step S120, the foundation instruction of response triggering download activity item establish the corresponding triggering of the resource type and download work
Dynamic item.
In one embodiment, according in step S110 create resource type, may be used addActive (data,
Type) method creates the triggering download activity item of face's special efficacy resource, and the triggering download activity item downloads face for identifying
The filename of special efficacy resource, for example, start_live can be added as triggering download activity item, if triggering download activity item is
Start_live, then the face's special efficacy resource file downloaded are start_live.json.
Similarly, in order to ensure the reliability that above-mentioned triggering download activity item is established, optionally, the present embodiment can also be adopted
Judge whether the triggering download activity item of face's special efficacy resource creates successfully with isSuccess () method, if it is not, then carrying
Show the newly-built triggering download activity item failure of user, if so, continuing flow.
After the resource type and triggering download activity item for newly building up face's special efficacy resource, by the resource type and triggering
Download activity item is stored using MySQL.Wherein, MySQL is a kind of associated data library management system, and linked database will count
According to being stored in different tables, rather than all data are placed in one big warehouse, which adds speed and are improved
Flexibility is currently the more common data management system of web administration.
Step S130, the uploading instructions of response face special efficacy resource, corresponding face's special efficacy resource is uploaded onto the server
In 100 in corresponding file.
Entrance is uploaded by newly-increased face special efficacy in the present embodiment, face spy is uploaded to upload entrance by face's special efficacy
Resource is imitated, since face's special efficacy still falls within a part for live streaming present, all presents provided with face's special efficacy all make
It is stored with Redis.Redis (REmoteDIctionaryServer) provides some abundant data structures, including
Lists, sets, orderedsets and hashes also have the strings structures as Memcached certainly.Redis makees
For the data cached function of an efficient network, performance is high, and Redis can support the read-write frequency per second more than 100K.
Step S140, the server 100 are returned according to face's special efficacy resource of upload to the user terminal 200
Corresponding url field.
Optionally, face's special efficacy resource can be .zip compressed packages, may include face's special efficacy needs in the compressed package
Various resources, such as gif figure lamp resources, the compressed package may be used uploadResource (file) method and be uploaded to
Under 100 specific file of the server, and the url field that this method returns is to download the word of face's special efficacy resource
Section.
Step S150, the user terminal 200 are based on the url field, the resource type and the triggering and download
Active entry generates static resource file, and the static resource file is sent to the server 100.
In the present embodiment, after the upload for completing face's special efficacy resource, the user terminal 200 can be used above-mentioned newly-built
Resource type and triggering download activity item, for example, download activity item start_live can be triggered as filename, file
Middle data type is json string datas, using resource type for main key (i.e. face_total is major key), wherein including url words
The resource access path and md5 fields that segment identification uploads, the md5 values of resource file name, to complete static resource file
(.json) is generated.
Based on above-mentioned design, face's special efficacy resource generation method provided in this embodiment can have at flow peak period
The access of effect control flow, face's special efficacy resource is provided in a manner of static, can reduce the flowing of access of server 100,
Face's special efficacy resource used in mobile terminal 300 can be effectively provided again.
Optionally, the static resource file can be sent to mobile terminal 300, the movement by the server 100
Terminal 300 parses the url field in the static resource file, resource type and triggering and downloads by responding user's operation
Active entry, and based on the url field, resource type and triggering download activity item sent to the server 100 it is corresponding
Face's special efficacy resource download request, the server 100 respond face's special efficacy resource download request, to the mobile terminal
300 send corresponding face's special efficacy resource.The start_ for example, mobile terminal 300 can access in starting up
The static voluntary files of live.json, and navigate to static resource in file data and access URL, then under in the server 100
Face's special efficacy resource is carried, to complete the static management of entire face's special efficacy resource.
Optionally, the user terminal 200 has been after having downloaded face's special efficacy resource, can also by responding user's operation,
The corresponding face's special efficacy of face's special efficacy resource is generated on face area in current display picture so far to complete
Face's special efficacy present of mobile terminal is given.
Further, referring to Fig. 3, the embodiment of the present invention also provides a kind of face's special efficacy resource generation method, and above
Unlike embodiment, this face special efficacy resource generation method is executed by user terminal 200, it is to be understood that is next wanted
The step of involved in face's special efficacy resource generation method of description, has been noted above in the examples above, specific each step
Exhaustive can refer to above embodiment description, and only executing step to user terminal 200 below is briefly described.
Step S210, the foundation instruction of resource response type, establishes the resource type of face's special efficacy resource, described resources-type
Type is for identifying face's special efficacy resource.
Step S220, the foundation instruction of response triggering download activity item establish the corresponding triggering of the resource type and download work
Dynamic item, the triggering download activity item are used to identify the filename for downloading face's special efficacy resource.
Step S230, the uploading instructions of response face special efficacy resource, corresponding face's special efficacy resource is uploaded onto the server
In 100 in corresponding file, so that the server 100 returns to corresponding URL according to face's special efficacy resource of upload
Field, the url field are to download the field of face's special efficacy resource.
Step S240 generates static money based on the url field, the resource type and the triggering download activity item
Source file, and the static resource file is sent to the server 100.
Further, referring to Fig. 4, being provided in an embodiment of the present invention for realizing above-mentioned face's special efficacy resource generation side
The schematic diagram of the user terminal 200 of method.In the present embodiment, the user terminal 200 includes face's special efficacy resource generating means
230, memory 210 and processor 220.In present pre-ferred embodiments, face's special efficacy resource generating means 230 include at least
One can be stored in the memory 210 or be solidificated in the user terminal in the form of software or firmware (Firmware)
Software function module in 200 operating system (Operating System, OS).The processor 220 is described for executing
The executable software module stored in memory 210, for example, the software included by face's special efficacy resource generating means 230
Function module and computer program etc..In the present embodiment, face's special efficacy resource generating means 230 can also be integrated in described
In operating system, the part as the operating system.Specifically, face's special efficacy resource generating means 230 can wrap
It includes:
First establishes module 231, and the foundation for resource response type instructs, and establishes the resources-type of face's special efficacy resource
Type, the resource type is for identifying face's special efficacy resource.
Second establishes module 232, and it is corresponding to establish the resource type for the foundation instruction for responding triggering download activity item
Download activity item is triggered, the triggering download activity item is used to identify the filename for downloading face's special efficacy resource.
Uploading module 233, the uploading instructions for responding face's special efficacy resource upload to corresponding face's special efficacy resource
In server 100 in corresponding file, corresponded to so that the server 100 is returned according to face's special efficacy resource of upload
Url field, the url field is to download the field of face's special efficacy resource.
Generation module 234, for being based on the url field, the resource type and the triggering download activity Xiang Sheng
It is sent to the server 100 at static resource file, and by the static resource file.
It is understood that the concrete operation method of each function module in the present embodiment can refer to above method embodiment
The detailed description of middle corresponding steps, it is no longer repeated herein.
Further, present pre-ferred embodiments also provide a kind of readable storage medium storing program for executing, are deposited in the readable storage medium storing program for executing
Computer program is contained, the computer program realizes above-mentioned face's special efficacy resource generation method when running.
In conclusion a kind of face's special efficacy resource generation method of offer of the embodiment of the present invention, device, system and readable storage
Medium, first, the foundation of user terminal resource response type instruct, and establish the resource type of face's special efficacy resource, response triggering
The foundation of download activity item instructs, and establishes the corresponding triggering download activity item of the resource type, then, response face special efficacy resource
Uploading instructions, during corresponding face's special efficacy resource is uploaded onto the server in corresponding file, then, server is according to upper
Face's special efficacy resource of biography returns to corresponding url field to user terminal, and end user's terminal is based on url field, resource type
And triggering download activity item generates static resource file, and static resource file is sent to server.As a result, in flow height
The access that flow can be effectively controlled when the peak phase, face's special efficacy resource is provided in a manner of static, can reduce server
Flowing of access, and face's special efficacy resource used in mobile terminal can be effectively provided.
In embodiment provided by the present invention, it should be understood that disclosed device and method, it can also be by other
Mode realize.Device and method embodiment described above is only schematical, for example, the flow chart in attached drawing and frame
Figure shows the system frame in the cards of the system of multiple embodiments according to the present invention, method and computer program product
Structure, function and operation.In this regard, each box in flowchart or block diagram can represent a module, section or code
A part, the part of the module, section or code includes one or more for implementing the specified logical function
Executable instruction.It should also be noted that at some as in the realization method replaced, the function of being marked in box can also be with not
It is same as the sequence marked in attached drawing generation.For example, two continuous boxes can essentially be basically executed in parallel, they have
When can also execute in the opposite order, this is depended on the functions involved.It is also noted that in block diagram and or flow chart
Each box and the box in block diagram and or flow chart combination, the special of function or action as defined in executing can be used
Hardware based system realize, or can realize using a combination of dedicated hardware and computer instructions.
In addition, each function module in each embodiment of the present invention can integrate to form an independent portion
Point, can also be modules individualism, can also two or more modules be integrated to form an independent part.
It can replace, can be realized wholly or partly by software, hardware, firmware or its arbitrary combination.When
When using software realization, can entirely or partly it realize in the form of a computer program product.The computer program product
Including one or more computer instructions.It is all or part of when loading on computers and executing the computer program instructions
Ground is generated according to the flow or function described in the embodiment of the present invention.The computer can be all-purpose computer, special purpose computer,
Computer network or other programmable devices.The computer instruction can store in a computer-readable storage medium, or
Person is transmitted from a computer readable storage medium to another computer readable storage medium, for example, the computer instruction
Wired (such as coaxial cable, optical fiber, digital subscriber can be passed through from a web-site, computer, server or data center
Line (DSL)) or wireless (such as infrared, wireless, microwave etc.) mode to another web-site, computer, server or data
Center is transmitted.The computer readable storage medium can be that any usable medium that computer can access either is wrapped
The data storage devices such as server, the data center integrated containing one or more usable mediums.The usable medium can be magnetic
Property medium, (for example, floppy disk, hard disk, tape), optical medium (for example, DVD) or semiconductor medium (such as solid state disk
Solid State Disk (SSD)) etc.
It should be noted that herein, term " including ", " including " or its any other variant are intended to non-row
Its property includes, so that the process, method, article or equipment including a series of elements includes not only those elements, and
And further include the other elements being not explicitly listed, or further include for this process, method, article or equipment institute it is intrinsic
Element.In the absence of more restrictions, the element limited by sentence " including one ... ", it is not excluded that including institute
State in the process, method, article or equipment of element that there is also other identical elements.
It is obvious to a person skilled in the art that invention is not limited to the details of the above exemplary embodiments, Er Qie
In the case of without departing substantially from spirit or essential attributes of the invention, the present invention can be realized in other specific forms.Therefore, no matter
From the point of view of which point, the present embodiments are to be considered as illustrative and not restrictive, and the scope of the present invention is by appended power
Profit requires rather than above description limits, it is intended that all by what is fallen within the meaning and scope of the equivalent requirements of the claims
Variation is included within the present invention.Any reference signs in the claims should not be construed as limiting the involved claims.
Claims (10)
1. a kind of face's special efficacy resource generation method, which is characterized in that applied to the user terminal that communicates to connect between each other and
Server, the method includes:
The foundation of the user terminal resource response type instructs, and establishes the resource type of face's special efficacy resource, described resources-type
Type is for identifying face's special efficacy resource;
The foundation instruction of response triggering download activity item, establishes the corresponding triggering download activity item of the resource type, the triggering
Download activity item is used to identify the filename for downloading face's special efficacy resource;
Respond the uploading instructions of face's special efficacy resource, corresponding file during corresponding face's special efficacy resource is uploaded onto the server
In;
The server returns to corresponding url field according to face's special efficacy resource of upload to the user terminal, described
Url field is to download the field of face's special efficacy resource;
The user terminal is based on the url field, the resource type and the triggering download activity item and generates static money
Source file, and the static resource file is sent to the server.
2. face's special efficacy resource generation method according to claim 1, which is characterized in that the server is also whole with movement
It is quiet to be based on the url field, the resource type and triggering download activity item generation in the user terminal for end communication connection
State resource file, and after the step of static resource file is sent to the server, the method further includes:
The static resource file is sent to mobile terminal by the server;
The mobile terminal responds user's operation, parses url field, resource type and the triggering in the static resource file
Download activity item, and it is corresponding to server transmission based on the url field, resource type and triggering download activity item
Face's special efficacy resource download request;
The server responds face's special efficacy resource download request, and corresponding face's special efficacy money is sent to the mobile terminal
Source.
3. face's special efficacy resource generation method according to claim 2, which is characterized in that described in server response
Face's special efficacy resource download request, to after the step of mobile terminal transmission corresponding face's special efficacy resource, the method
Further include:
The user terminal responds user's operation, and face's special efficacy money is generated on the face area in current display picture
The corresponding face's special efficacy in source.
4. face's special efficacy resource generation method according to claim 2, which is characterized in that respond and provide in the user terminal
The foundation of Source Type instructs, and after the step of establishing the resource type of face's special efficacy resource, the method further includes:
The user terminal judges whether the resource type of face's special efficacy resource creates successfully;
If it is not, user is then prompted to create resource type failure.
5. face's special efficacy resource generation method according to claim 1, which is characterized in that trigger to download in the response and live
The foundation instruction of dynamic item, after the step of establishing the resource type corresponding triggering download activity item, the method further includes:
The user terminal judges whether the triggering download activity item creates successfully;
If it is not, then prompting the newly-built triggering download activity item failure of user.
6. a kind of face's special efficacy resource generation method, which is characterized in that be applied to the user terminal being connect with server communication, institute
The method of stating includes:
The foundation of resource response type instructs, and establishes the resource type of face's special efficacy resource, the resource type is for identifying face
Portion's special efficacy resource;
The foundation instruction of response triggering download activity item, establishes the corresponding triggering download activity item of the resource type, the triggering
Download activity item is used to identify the filename for downloading face's special efficacy resource;
Respond the uploading instructions of face's special efficacy resource, corresponding file during corresponding face's special efficacy resource is uploaded onto the server
In, so that the server returns to corresponding url field according to face's special efficacy resource of upload, under the url field is
Carry the field of face's special efficacy resource;
Static resource file is generated based on the url field, the resource type and the triggering download activity item, and by institute
It states static resource file and is sent to the server.
7. a kind of face's special efficacy resource generating means, which is characterized in that be applied to the user terminal being connect with server communication, institute
Stating device includes:
First establishes module, and the foundation for resource response type instructs, and establishes the resource type of face's special efficacy resource, the money
Source Type is for identifying face's special efficacy resource;
Second establishes module, and the foundation instruction for responding triggering download activity item is established under the corresponding triggering of the resource type
Active entry is carried, the triggering download activity item is used to identify the filename for downloading face's special efficacy resource;
Uploading module, the uploading instructions for responding face's special efficacy resource upload onto the server corresponding face's special efficacy resource
In in corresponding file, so that the server returns to corresponding url field, institute according to face's special efficacy resource of upload
It is to download the field of face's special efficacy resource to state url field;
Generation module, for generating static money based on the url field, the resource type and the triggering download activity item
Source file, and the static resource file is sent to the server.
8. a kind of readable storage medium storing program for executing, which is characterized in that be stored with computer program, the calculating in the readable storage medium storing program for executing
Machine program is performed the face's special efficacy resource generation method realized described in claim 6.
9. a kind of face's special efficacy resource generates system, which is characterized in that face's special efficacy resource generate system include mutually it
Between the user terminal and server that communicate to connect;
The user terminal, the foundation for resource response type instruct, and establish the resource type of face's special efficacy resource, the money
Source Type is for identifying face's special efficacy resource;
The foundation instruction of response triggering download activity item, establishes the corresponding triggering download activity item of the resource type, the triggering
Download activity item is used to identify the filename for downloading face's special efficacy resource;
Respond the uploading instructions of face's special efficacy resource, corresponding file during corresponding face's special efficacy resource is uploaded onto the server
In;
The server, for returning to corresponding url field to the user terminal according to face's special efficacy resource of upload,
The url field is to download the field of face's special efficacy resource;
The user terminal is additionally operable to generate based on the url field, the resource type and the triggering download activity item
Static resource file, and the static resource file is sent to the server.
10. face's special efficacy resource according to claim 9 generates system, which is characterized in that face's special efficacy resource life
Further include the mobile terminal being connect with the server communication at system;
The server is additionally operable to the static resource file being sent to mobile terminal;
The mobile terminal is additionally operable to response user's operation, parses url field, the resource type in the static resource file
And triggering download activity item, and sent out to the server based on the url field, resource type and triggering download activity item
Send corresponding face's special efficacy resource download request;
The server is additionally operable to respond face's special efficacy resource download request, and corresponding face is sent to the mobile terminal
Portion's special efficacy resource.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810215426.7A CN108418890B (en) | 2018-03-15 | 2018-03-15 | Face special effect resource generation method, device and system and readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810215426.7A CN108418890B (en) | 2018-03-15 | 2018-03-15 | Face special effect resource generation method, device and system and readable storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108418890A true CN108418890A (en) | 2018-08-17 |
CN108418890B CN108418890B (en) | 2020-09-04 |
Family
ID=63131892
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810215426.7A Active CN108418890B (en) | 2018-03-15 | 2018-03-15 | Face special effect resource generation method, device and system and readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108418890B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110599396A (en) * | 2019-09-19 | 2019-12-20 | 网易(杭州)网络有限公司 | Information processing method and device |
CN111222041A (en) * | 2019-12-30 | 2020-06-02 | 北京达佳互联信息技术有限公司 | Shooting resource data acquisition method and device, electronic equipment and storage medium |
US10999608B2 (en) * | 2019-03-29 | 2021-05-04 | Danxiao Information Technology Ltd. | Interactive online entertainment system and method for adding face effects to live video |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102984244A (en) * | 2012-11-21 | 2013-03-20 | 用友软件股份有限公司 | Uploading system and uploading method of bill data |
US20150120768A1 (en) * | 2013-10-25 | 2015-04-30 | Turner Broadcasting System, Inc. | Concepts for providing an enhanced media presentation |
CN104836820A (en) * | 2014-02-10 | 2015-08-12 | 阿里巴巴集团控股有限公司 | Method and system for client interaction, and client terminals |
CN106231415A (en) * | 2016-08-18 | 2016-12-14 | 北京奇虎科技有限公司 | A kind of interactive method and device adding face's specially good effect in net cast |
CN106846040A (en) * | 2016-12-22 | 2017-06-13 | 武汉斗鱼网络科技有限公司 | Virtual present display methods and system in a kind of direct broadcasting room |
CN107071580A (en) * | 2017-03-20 | 2017-08-18 | 北京潘达互娱科技有限公司 | Data processing method and device |
CN107770602A (en) * | 2016-08-19 | 2018-03-06 | 北京市商汤科技开发有限公司 | Method of video image processing and device |
-
2018
- 2018-03-15 CN CN201810215426.7A patent/CN108418890B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102984244A (en) * | 2012-11-21 | 2013-03-20 | 用友软件股份有限公司 | Uploading system and uploading method of bill data |
US20150120768A1 (en) * | 2013-10-25 | 2015-04-30 | Turner Broadcasting System, Inc. | Concepts for providing an enhanced media presentation |
CN104836820A (en) * | 2014-02-10 | 2015-08-12 | 阿里巴巴集团控股有限公司 | Method and system for client interaction, and client terminals |
CN106231415A (en) * | 2016-08-18 | 2016-12-14 | 北京奇虎科技有限公司 | A kind of interactive method and device adding face's specially good effect in net cast |
CN107770602A (en) * | 2016-08-19 | 2018-03-06 | 北京市商汤科技开发有限公司 | Method of video image processing and device |
CN106846040A (en) * | 2016-12-22 | 2017-06-13 | 武汉斗鱼网络科技有限公司 | Virtual present display methods and system in a kind of direct broadcasting room |
CN107071580A (en) * | 2017-03-20 | 2017-08-18 | 北京潘达互娱科技有限公司 | Data processing method and device |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10999608B2 (en) * | 2019-03-29 | 2021-05-04 | Danxiao Information Technology Ltd. | Interactive online entertainment system and method for adding face effects to live video |
CN110599396A (en) * | 2019-09-19 | 2019-12-20 | 网易(杭州)网络有限公司 | Information processing method and device |
CN110599396B (en) * | 2019-09-19 | 2024-02-02 | 网易(杭州)网络有限公司 | Information processing method and device |
CN111222041A (en) * | 2019-12-30 | 2020-06-02 | 北京达佳互联信息技术有限公司 | Shooting resource data acquisition method and device, electronic equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN108418890B (en) | 2020-09-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20150207864A1 (en) | Technology adapted to enable devices for delivering data in a lockdown mode, methods for operating such devices, and reporting on activity at table devices that provide remote content | |
CN112257135B (en) | Model loading method and device based on multithreading, storage medium and terminal | |
CN108418890A (en) | Face's special efficacy resource generation method, device, system and readable storage medium storing program for executing | |
CN111090423B (en) | Webhook framework system and method for realizing active calling and event triggering | |
CN103269396A (en) | Method and system capable of conducting management on mobile terminal | |
CN108200170A (en) | Message treatment method, device and readable storage medium storing program for executing | |
CN110233742B (en) | Group establishing method, system, terminal and server | |
CN112286529A (en) | Development method, device and equipment of front-end page and storage medium | |
CN109391673A (en) | A kind of method, system and the terminal device of management update file | |
CN104168309A (en) | Data backup and operation method based on cloud service | |
CN104601433A (en) | Method, client, server and system for displaying application information window | |
CN112114849B (en) | Resource updating method and device | |
CN108404416A (en) | Game matching interactive approach, device and readable storage medium storing program for executing | |
CN110096258A (en) | A method of the OpenStack infrastructure architecture management based on Terraform | |
US11882154B2 (en) | Template representation of security resources | |
CN112114939A (en) | Distributed system deployment equipment and method | |
CN108563440A (en) | The automatic adding method of List Controller code, device and readable storage medium storing program for executing | |
CN105704001A (en) | WeChat server message distribution method and WeChat server message distribution system | |
CN105099796A (en) | Detection method and device for multimedia content replacement and resource spreading system | |
CN106209584B (en) | User information processing method, client and server Internet-based | |
CN102929835A (en) | Equipment management method and device | |
CN104750553B (en) | Using operation method and device | |
CN112764746B (en) | Data processing method, device, electronic equipment and storage medium | |
CN103975301A (en) | Event service for local client applications through local server | |
CN104506616A (en) | Method, device and system for sending information by browser client side |
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 |