CN108986042A - Paster sharing method and device - Google Patents

Paster sharing method and device Download PDF

Info

Publication number
CN108986042A
CN108986042A CN201810623732.4A CN201810623732A CN108986042A CN 108986042 A CN108986042 A CN 108986042A CN 201810623732 A CN201810623732 A CN 201810623732A CN 108986042 A CN108986042 A CN 108986042A
Authority
CN
China
Prior art keywords
paster
target
key message
packet
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.)
Pending
Application number
CN201810623732.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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201810623732.4A priority Critical patent/CN108986042A/en
Publication of CN108986042A publication Critical patent/CN108986042A/en
Pending legal-status Critical Current

Links

Classifications

    • G06T5/77
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T5/00Image enhancement or restoration
    • G06T5/50Image enhancement or restoration by the use of more than one image, e.g. averaging, subtraction
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/10Image acquisition modality
    • G06T2207/10004Still image; Photographic image

Abstract

The embodiment of the present application discloses a kind of paster sharing method and device.Method includes: that the key message of the target paster is obtained by Content Provider provider when detecting the selection operation for target paster;The paster packet of the target paster is obtained according to the key message;It decompresses the paster packet and obtains the graph data of the target paster;The graph data is loaded so that the target paster is rendered into current display interface.The paster that the embodiment of the present application is advantageously implemented between different paster management applications is shared, improves the utilization rate for applying paster.

Description

Paster sharing method and device
Technical field
This application involves technical field of mobile terminals, and in particular to paster sharing method and device.
Background technique
With the fast development of smart phone the relevant technologies, the function of smart phone is more and more abundant and diversified, user When use is taken pictures using shooting photo, Many times can carry out landscaping treatment, example when shooting photo or after shooting photo Such as when currently used application has paster function, it can be added when taking pictures or recording a video using included various types of patches Paper, different application configurations have different paster set, the paster that each application may only use application included.
Summary of the invention
The embodiment of the present application provides paster sharing method and device, and the patch between different paster management applications may be implemented Paper is shared, and the paster that user is applied using multiple paster management simultaneously is improved without carrying out application switching Paster utilization rate.
In a first aspect, the embodiment of the present application provides a kind of paster sharing method, it is applied to mobile terminal, the method packet It includes:
When detecting the selection operation for target paster, the target is obtained by Content Provider provider and is pasted The key message of paper;
The paster packet of the target paster is obtained according to the key message;
It decompresses the paster packet and obtains the graph data of the target paster;
The graph data is loaded so that the target paster is rendered into current display interface.
Second aspect, the embodiment of the present application provide a kind of mobile terminal, including acquiring unit, decompression units and processing list Member,
The acquiring unit, for passing through Content Provider when detecting the selection operation for target paster Provider obtains the key message of the target paster;
The acquiring unit is also used to obtain the paster packet of the target paster according to the key message;
The decompression units obtain the graph data of the target paster for decompressing the paster packet;
The processing unit, for loading the graph data so that the target paster is rendered into current display circle Face.
The third aspect, the embodiment of the present application provide a kind of mobile terminal, including processor, memory and one or more Program, wherein one or more of programs are stored in the memory, and are configured to be executed by the processor, Described program is included the steps that for executing the instruction in the embodiment of the present application first aspect either method.
Fourth aspect, the embodiment of the present application provide a kind of computer readable storage medium, wherein described computer-readable Storage medium storage is used for the computer program of electronic data interchange, wherein the computer program executes computer such as Step some or all of described in the embodiment of the present application first aspect or second aspect either method.
Fourth aspect, the embodiment of the invention provides a kind of computer program products, wherein above-mentioned computer program product Non-transient computer readable storage medium including storing computer program, above-mentioned computer program are operable to make to calculate Machine executes the step some or all of as described in first aspect either method of the embodiment of the present invention.The computer program product It can be a software installation packet.
As can be seen that in the embodiment of the present application, mobile terminal first when detecting the selection operation for target paster, The key message of the target paster is obtained by Content Provider provider, secondly, obtaining institute according to the key message The paster packet of target paster is stated, then, the paster packet is decompressed and obtains the graph data of the target paster, finally, load institute Graph data is stated so that the target paster is rendered into current display interface.Since mobile terminal is being detected for target patch When the selection operation of paper, the key message of target paster can be obtained by Content Provider provider, passes through key message The data packet for further obtaining target paster, obtains the graph data of target paster after decompressing data packet and loads the figure number According to target paster is rendered into current display interface by realization, and realizes being total to for paster between different paster management application It enjoys, so that user does not need to carry out the paster that other paster management can be used to apply for application switching, so that current display interface The paster that can be added is richer.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with It obtains other drawings based on these drawings.
Fig. 1 is a kind of flow diagram of paster sharing method provided by the embodiments of the present application;
Fig. 2 is the flow diagram of another paster sharing method provided by the embodiments of the present application;
Fig. 3 is the flow diagram of another paster sharing method provided by the embodiments of the present application;
Fig. 4 is a kind of structural schematic diagram of mobile terminal provided by the embodiments of the present application;
Fig. 5 is a kind of functional unit composition block diagram of mobile terminal provided by the embodiments of the present application;
Fig. 6 is the structural schematic diagram of a kind of electronic equipment provided by the embodiments of the present application;
Specific embodiment
In order to make those skilled in the art more fully understand application scheme, below in conjunction in the embodiment of the present application Attached drawing, the technical scheme in the embodiment of the application is clearly and completely described, it is clear that described embodiment is only Some embodiments of the present application, instead of all the embodiments.Based on the embodiment in the application, those of ordinary skill in the art Every other embodiment obtained without creative efforts, shall fall in the protection scope of this application.
The description and claims of this application and term " first " in the attached drawing, " second " etc. are for distinguishing Different objects, are not use to describe a particular order.In addition, term " includes " and " having " and their any deformations, it is intended that It is to cover and non-exclusive includes.Such as the process, method, system, product or equipment for containing a series of steps or units do not have It is defined in listed step or unit, but optionally further comprising the step of not listing or unit, or optionally also wrap Include other step or units intrinsic for these process, methods, product or equipment.
Referenced herein " embodiment " is it is meant that a particular feature, structure, or characteristic described can wrap in conjunction with the embodiments It is contained at least one embodiment of the application.Each position in the description occur the phrase might not each mean it is identical Embodiment, nor the independent or alternative embodiment with other embodiments mutual exclusion.Those skilled in the art explicitly and Implicitly understand, embodiment described herein can be combined with other embodiments.
Mobile terminal involved by the embodiment of the present application may include the various handheld devices with wireless communication function, Mobile unit, wearable device calculate equipment or are connected to other processing equipments and various forms of radio modem User equipment (User Equipment, UE), mobile station (Mobile Station, MS), terminal device (terminal Device) etc..For convenience of description, apparatus mentioned above is referred to as mobile terminal.Behaviour involved by the embodiment of the present invention It is the software systems for being managed collectively to hardware resource, and providing a user business interface as system.
The embodiment of the present application is introduced with reference to the accompanying drawing.
Referring to Fig. 1, Fig. 1 is that the embodiment of the present application provides a kind of flow diagram of paster sharing method, it is applied to Mobile terminal, this paster sharing method include:
S101, mobile terminal pass through Content Provider provider when detecting the selection operation for target paster Obtain the key message of the target paster.
Wherein, Content Provider provider is mainly used for realizing the function of data sharing between different applications Can, allow the data in routine access another program, while also ensuring the safety of accessed data, provider It is that Android realizes the standard mode across procedure sharing data.
Wherein, the corresponding application of current display interface has Content Provider provider access ability.For example, current Using can be application of taking pictures, Video Applications, photograph album application etc., when these are applied in front stage operation, in use paster function When, it can be by calling provider to access the data in other application program, and then obtain the paster of other application.It is other to answer With predominantly paster management application, paster management is applied as the application with paster function, and with multiple types paster, patch Paper tube ought to be used can be by mobile terminal automatic identification, or is set by the user.
Wherein, currently running application can check that multiple pasters, the multiple paster can come from different paster pipes It ought to use, when detecting the selection operation to target paster, connecing for corresponding paster management application is accessed by provider Mouthful, to obtain the key message of target paster.
S102, the mobile terminal obtain the paster packet of the target paster according to the key message.
Wherein, the key message of paster mainly include the paster name information of target paster, paster packet storage address information, Paster type information, paster size information and paster version information etc. can further obtain target patch according to key message The paster packet of paper.
Wherein, paster packet mainly includes the graph data of target paster, graph data include color data, shape data, Animation data and configuration mode data etc..
S103, the mobile terminal decompress the paster packet and obtain the graph data of the target paster.
Wherein, paster packet is that the specific storage address in paster managing application data library is stored in the form of compressed package, is led to It crosses and paster packet is decompressed, the graph data of target paster can be obtained.
S104, the mobile terminal load the graph data so that the target paster is rendered into current display circle Face.
Wherein, by loading the graph data of target paster, graphical information, the colouring information, animation of target paster are obtained Target paster is rendered into current display interface by information, shape information etc., is realized different in current display interface addition Paster in paster management application.
For example, some application request target paster of mobile phone, and when target paster is the paster in another application, Content Provider Provider can be called to obtain the key message of the target paster stored in another application database, and according to The key message inquires address base, the storing path of the paster bag data of the target paster is got, then according to the preservation road Diameter downloads to corresponding paster bag data from the private room that paster management is applied, and is rendered into figure after load patch matter bag data Layer, realizes the calling and display of target paster.
As can be seen that in the embodiment of the present application, mobile terminal first when detecting the selection operation for target paster, The key message of the target paster is obtained by Content Provider provider, secondly, obtaining institute according to the key message The paster packet of target paster is stated, then, the paster packet is decompressed and obtains the graph data of the target paster, finally, load institute Graph data is stated so that the target paster is rendered into current display interface.Since mobile terminal is being detected for target patch When the selection operation of paper, the key message of target paster can be obtained by Content Provider provider, passes through key message The data packet for further obtaining target paster, obtains the graph data of target paster after decompressing data packet and loads the figure number According to target paster is rendered into current display interface by realization, and realizes being total to for paster between different paster management application It enjoys, so that user does not need to carry out the paster that other paster management can be used to apply for application switching, so that current display interface The paster that can be added is richer.
In a possible example, the crucial letter that the target paster is obtained by Content Provider provider Breath, comprising: paster information database is called by the provider;The paster information database is inquired, the mesh is obtained The key message of label paster.
Wherein, the key message of target paster is stored in the database of the corresponding paster management application of target paster, when Preceding application accesses the paster information database of paster management application by provider, preserves patch in paster information database Paper tube ought to use in all pasters key message, pass through inquiry paster information database, the key of available target paster Information.
As it can be seen that the key message for all pasters that paster management is applied is stored in paster management application in this example In paster information database, and provider access interface is provided, so that available paster information is applied in other paster management The key message of paster in database realizes and shares without the paster between paster management application, improves paster utilization rate.
In a possible example, the paster packet that the target paster is obtained according to the key message, comprising: The storage address of the paster packet of the target paster is determined according to the key message of the target paster;According to the storage address The paster packet of the target paster is obtained from the memory space of paster management association.
Wherein, key message includes paster packet specific storage address in paster managing application data library, according to key The storage address of the paster packet of acquisition of information target paster manages the memory space of association further according to storage address from paster The middle paster packet for obtaining target paster.
Wherein, the paster packet got is a compressed package, is first decompressed to paster packet after getting paster packet, solution The graph data of paster packet can be got after pressure.
As it can be seen that acquisition target paster is deposited in the paster information database of corresponding paster management application first in this example The paster information of storage, further according to the storage of paster acquisition of information, the address the paster Bao Bingcong of particular address obtains patch in the database Paper bag, to realize the paster data for sharing different paster management application memories.
In a possible example, the method also includes: the face data of user is acquired by camera;Load institute Face data is stated to show the facial image of user;The target paster is adjusted according to facial image adaptation.
Wherein, mobile terminal can also acquire the face data of user's face in current interface, loading surface by camera The facial image that user is obtained after portion's data behind the display position for determining target paster according to the position of user's face image, adds Graph data is carried so that target paster to be rendered into the display position of target paster, when user's face position changes, target The display position correspondence of paster changes, and can make in a manner of three-dimensional on adaptation objective paster to facial image.
As it can be seen that before load graph data is to be rendered into current display interface for target paster, first being adopted in this example The face data for collecting user can be adapted to adjustment target paster after obtaining facial image according to face data according to facial image, Allow target paster mobile with facial image, is conducive to the display effect for improving target paster.
In a possible example, the target paster is that paster manages the patch that stores in the memory space of association Paster in paper set, the paster set include built-in paster and network downloading paster;The method also includes: described in extraction In paster set in multiple pasters each paster key message;By the key message storage of each paster to the storage Space.
Wherein, all pasters of paster management application form paster set, and the paster in paster set includes in application Paster and network downloading paster are set, paster management is answered using all paster persistences in paster set are saved in paster management With in associated memory space, and record the store path of paster information, it is therefore desirable to by the pass of pasters all in paster set Key information is extracted and is stored in the memory space of paster information bank.
As it can be seen that the key message for built-in paster and network the downloading paster that paster management is applied is extracted in this example Come and persistence saves associated memory space in the database, thus the extraction and use of Convenient adhesive paper information, while paster Information can also manage application fetches and use by other pasters.
In a possible example, the key message is comprised at least one of the following: paster name information, paster packet are deposited Store up address information, paster type information, paster size information and paster version information;
The paster packet includes the graph data of the target paster, and the graph data includes color data, shape number According to, animation data and configuration mode data.
Wherein, paster information can be stored in the database of paster management application in the form of structural data, so that Other paster management applications can rapidly access the key message of paster by provider access interface.
Wherein it is possible to which key message is saved in the form of key table, the content in key table includes paster Name information, paster packet storage address information, paster type information, paster size information and paster version information.Paste matter packet Storage address information includes paster packet specific storage address in the database, and paster type may include static paster, dynamic patch The types such as paper, music paster, two-dimentional paster, three-dimensional paster.
Wherein, paster packet obtains after being compressed by the graph data of target paster, and paster packet includes the figure of target paster Graphic data, graph data include color data, shape data, animation data and configuration mode data.Configuration mode can be with It determines the position determination of paster, display size, such as the aobvious of target paster is determined according to the position of display interface face face Show position, paster size is determined according to face face size.
As it can be seen that paster key message includes paster name information, paster packet storage address information, paster class in this example Type information, paster size information and paster version information, patch matter packet include the graph data of target paster, and graph data includes Color data, shape data, animation data and configuration mode data, so as to obtain mesh according to the key message of target paster The paster packet of label paster obtains graph data according to paster packet, is rendered into target paster by load graph data current Display interface.
Referring to Fig. 2, Fig. 2 is a kind of flow diagram of paster sharing method provided by the embodiments of the present application, it is applied to Mobile terminal, as shown, this paster sharing method includes:
S201, mobile terminal are called by the provider and are pasted when detecting the selection operation for target paster Paper information database.
S202, paster information database described in the mobile terminal enquiry, obtains the key message of the target paster.
S203, the mobile terminal obtain the paster packet of the target paster according to the key message.
S204, the mobile terminal decompress the paster packet and obtain the graph data of the target paster.
S205, the mobile terminal load the graph data so that the target paster is rendered into current display circle Face.
As can be seen that in the embodiment of the present application, mobile terminal first when detecting the selection operation for target paster, The key message of the target paster is obtained by Content Provider provider, secondly, obtaining institute according to the key message The paster packet of target paster is stated, then, the paster packet is decompressed and obtains the graph data of the target paster, finally, load institute Graph data is stated so that the target paster is rendered into current display interface.Since mobile terminal is being detected for target patch When the selection operation of paper, the key message of target paster can be obtained by Content Provider provider, passes through key message The data packet for further obtaining target paster, obtains the graph data of target paster after decompressing data packet and loads the figure number According to target paster is rendered into current display interface by realization, and realizes being total to for paster between different paster management application It enjoys, so that user does not need to carry out the paster that other paster management can be used to apply for application switching, so that current display interface The paster that can be added is richer.
In addition, the key message for all pasters that paster management is applied to be stored in the paster Information Number of paster management application According in library, and provider access interface is provided, so that other paster management in available paster information database using pasting The key message of paper realizes and shares without the paster between paster management application, improves paster utilization rate.
Referring to Fig. 3, Fig. 3 is a kind of flow diagram of paster sharing method provided by the embodiments of the present application, it is applied to Mobile terminal, as shown, this paster sharing method includes:
S301, mobile terminal are called by the provider and are pasted when detecting the selection operation for target paster Paper information database.
S302, paster information database described in the mobile terminal enquiry, obtains the key message of the target paster.
S303, the mobile terminal determine the paster packet of the target paster according to the key message of the target paster Storage address.
S304, the mobile terminal obtain institute from the memory space of paster management association according to the storage address State the paster packet of target paster.
S305, the mobile terminal decompress the paster packet and obtain the graph data of the target paster.
S306, the mobile terminal load the graph data so that the target paster is rendered into current display circle Face.
As can be seen that in the embodiment of the present application, mobile terminal first when detecting the selection operation for target paster, The key message of the target paster is obtained by Content Provider provider, secondly, obtaining institute according to the key message The paster packet of target paster is stated, then, the paster packet is decompressed and obtains the graph data of the target paster, finally, load institute Graph data is stated so that the target paster is rendered into current display interface.Since mobile terminal is being detected for target patch When the selection operation of paper, the key message of target paster can be obtained by Content Provider provider, passes through key message The data packet for further obtaining target paster, obtains the graph data of target paster after decompressing data packet and loads the figure number According to target paster is rendered into current display interface by realization, and realizes being total to for paster between different paster management application It enjoys, so that user does not need to carry out the paster that other paster management can be used to apply for application switching, so that current display interface The paster that can be added is richer.
In addition, the key message for all pasters that paster management is applied to be stored in the paster Information Number of paster management application According in library, and provider access interface is provided, so that other paster management in available paster information database using pasting The key message of paper realizes and shares without the paster between paster management application, improves paster utilization rate.
In addition, the paster letter stored in the paster information database of corresponding paster management application by obtaining target paster Breath, further according to the storage of paster acquisition of information, the address the paster Bao Bingcong of particular address obtains paster packet in the database, thus Realize the paster data for sharing different paster management application memories.
It is consistent with described Fig. 1, Fig. 2, embodiment shown in Fig. 3, referring to Fig. 4, Fig. 4 is provided by the embodiments of the present application A kind of structural schematic diagram of mobile terminal 400, the mobile terminal 400 operation have one or more application program and operating system, As shown, the mobile terminal 400 includes processor 410, memory 420, communication interface 430 and one or more programs 421, wherein one or more of programs 421 are stored in the memory 420, and are configured by the processor 410 execute, and one or more of programs 421 include the instruction for executing following steps;
When detecting the selection operation for target paster, the target is obtained by Content Provider provider and is pasted The key message of paper;
The paster packet of the target paster is obtained according to the key message;
It decompresses the paster packet and obtains the graph data of the target paster;
The graph data is loaded so that the target paster is rendered into current display interface.
As can be seen that in the embodiment of the present application, mobile terminal first when detecting the selection operation for target paster, The key message of the target paster is obtained by Content Provider provider, secondly, obtaining institute according to the key message The paster packet of target paster is stated, then, the paster packet is decompressed and obtains the graph data of the target paster, finally, load institute Graph data is stated so that the target paster is rendered into current display interface.Since mobile terminal is being detected for target patch When the selection operation of paper, the key message of target paster can be obtained by Content Provider provider, passes through key message The data packet for further obtaining target paster, obtains the graph data of target paster after decompressing data packet and loads the figure number According to target paster is rendered into current display interface by realization, and realizes being total to for paster between different paster management application It enjoys, so that user does not need to carry out the paster that other paster management can be used to apply for application switching, so that current display interface The paster that can be added is richer.
In a possible example, in the key for obtaining the target paster by Content Provider provider Message context, the instruction in described program are specifically used for executing following operation: passing through the provider and call paster Information Number According to library;The paster information database is inquired, the key message of the target paster is obtained.
In a possible example, in the paster Bao Fang for obtaining the target paster according to the key message Face, the instruction in described program are specifically used for executing following operation: determining the mesh according to the key message of the target paster The storage address of the paster packet of label paster;Institute is obtained from the memory space of paster management association according to the storage address State the paster packet of target paster.
In a possible example, the instruction in described program is also used to execute following operation: being acquired by camera The face data of user;Described facial data is loaded to show the facial image of user;It is adapted to and is adjusted according to the facial image The target paster.
In a possible example, the target paster is that paster manages the patch that stores in the memory space of association Paster in paper set, the paster set include built-in paster and network downloading paster;Instruction in described program is also used to It executes following operation: extracting the key message of each paster in multiple pasters in the paster set;By each paster Key message is stored to the memory space.
In a possible example, the key message is comprised at least one of the following: paster name information, paster packet are deposited Store up address information, paster type information, paster size information and paster version information;
The paster packet includes the graph data of the target paster, and the graph data includes color data, shape number According to, animation data and configuration mode data.
It is described that mainly the scheme of the embodiment of the present application is described from the angle of method side implementation procedure.It is understood that , for mobile terminal in order to realize the function, it comprises execute the corresponding hardware configuration of each function and/or software mould Block.Those skilled in the art should be readily appreciated that, unit described in conjunction with the examples disclosed in the embodiments of the present disclosure And algorithm steps, the application can be realized with the combining form of hardware or hardware and computer software.Some function actually with Hardware or computer software drive the mode of hardware to execute, the specific application and design constraint item depending on technical solution Part.Professional technician can specifically realize described function to each using distinct methods, but this reality Now it is not considered that exceeding scope of the present application.
The embodiment of the present application can carry out the division of functional unit according to the method example to mobile terminal, for example, can With each functional unit of each function division of correspondence, two or more functions can also be integrated in a processing unit In.The integrated unit both can take the form of hardware realization, can also realize in the form of software functional units.It needs It is noted that be schematical, only a kind of logical function partition to the division of unit in the embodiment of the present application, it is practical real It is current that there may be another division manner.
Using integrated unit, Fig. 5 shows one kind of mobile terminal involved in the embodiment Possible functional unit forms block diagram.Mobile terminal 500 is applied to mobile terminal, and operation has operating system on the mobile terminal And one or more application program, the mobile terminal 500 include: including acquiring unit 501, decompression units 502 and processing Unit 503,
The acquiring unit 501, for passing through Content Provider when detecting the selection operation for target paster Provider obtains the key message of the target paster;
The acquiring unit 501 is also used to obtain the paster packet of the target paster according to the key message;
The decompression units 502 obtain the graph data of the target paster for decompressing the paster packet;
The processing unit 503, for loading the graph data so that the target paster is rendered into current display Interface.
In a possible example, in the key for obtaining the target paster by Content Provider provider Message context, the acquiring unit 501 are specifically used for: calling paster information database by the provider;And it is used for The paster information database is inquired, the key message of the target paster is obtained.
In a possible example, in the paster Bao Fang for obtaining the target paster according to the key message Face, the acquiring unit 501 are specifically used for: the paster packet of the target paster is determined according to the key message of the target paster Storage address;And for obtaining the target from the memory space of paster management association according to the storage address The paster packet of paster.
In a possible example, the processing unit 503 is also used to acquire the face data of user by camera; And the facial image of user is shown for loading described facial data;And it is adjusted for being adapted to according to the facial image The target paster.
In a possible example, the target paster is that paster manages the patch that stores in the memory space of association Paster in paper set, the paster set include built-in paster and network downloading paster;The processing unit 503 is also used to mention Take the key message of each paster in multiple pasters in the paster set;And for by the key message of each paster Store the memory space.
In a possible example, the key message is comprised at least one of the following: paster name information, paster packet are deposited Store up address information, paster type information, paster size information and paster version information;The paster packet includes the target patch The graph data of paper, the graph data include color data, shape data, animation data and configuration mode data.
It should be noted that mobile terminal described in apparatus of the present invention embodiment is presented in the form of functional unit. Term " unit " used herein above should be understood as meaning as widest as possible, for realizing function described by each " unit " Object for example can be integrated circuit ASIC, single circuit, for executing the processing of one or more softwares or firmware program Device (shared, dedicated or chipset) and memory, combinational logic circuit, and/or other conjunctions for realizing above-mentioned function are provided Suitable component.
Wherein, acquiring unit 501, decompression units 502 and processing unit 503 can be processor or controller.
As shown in fig. 6, Fig. 6 is that the embodiment of the present application provides the structural schematic diagram of a kind of electronic equipment 100, the electronics Equipment 100 includes: shell 110, the circuit board 120 being set in the shell 110, the display being set on the shell 110 Shield 130 and camera 140, is provided with processor 121, sensor 122 and memory 123, the sensing on the circuit board 120 Device 122 and memory 123 are connect with the processor 121, and the processor 121 connects the display screen 130;Wherein,
The processor 121, for passing through Content Provider when detecting the selection operation for target paster Provider obtains the key message of the target paster;And for obtaining the target paster according to the key message Paster packet;And the graph data of the target paster is obtained for decompressing the paster packet;And for loading the figure Data are to be rendered into current display interface for the target paster.
In a possible example, in the key for obtaining the target paster by Content Provider provider Message context, the processor 121 are specifically used for: calling paster information database by the provider;And for looking into The paster information database is ask, the key message of the target paster is obtained.
In a possible example, in the paster Bao Fang for obtaining the target paster according to the key message Face, the processor 121 are specifically used for: determining the paster packet of the target paster according to the key message of the target paster Storage address;And it is pasted for obtaining the target from the memory space of paster management association according to the storage address The paster packet of paper.
In a possible example, the processor 121 is also used to acquire the face data of user by camera;With And the facial image of user is shown for loading described facial data;And for being adapted to adjustment institute according to the facial image State target paster.
In a possible example, the target paster is that paster manages the patch that stores in the memory space of association Paster in paper set, the paster set include built-in paster and network downloading paster;The processor 121 is also used to extract In the paster set in multiple pasters each paster key message;And for the key message of each paster to be deposited Store up the memory space.
In a possible example, the key message is comprised at least one of the following: paster name information, paster packet are deposited Store up address information, paster type information, paster size information and paster version information;The paster packet includes the target patch The graph data of paper, the graph data include color data, shape data, animation data and configuration mode data.
The embodiment of the present application also provides a kind of computer storage medium, wherein computer storage medium storage is for electricity The computer program of subdata exchange, the computer program make computer execute any as recorded in the method embodiment Some or all of method step, the computer include mobile terminal.
The embodiment of the present application also provides a kind of computer program product, and the computer program product includes storing calculating The non-transient computer readable storage medium of machine program, the computer program are operable to that computer is made to execute such as the side Some or all of either record method step in method embodiment.The computer program product can be a software installation Packet, the computer includes mobile terminal.
It should be noted that for the various method embodiments described above, for simple description, therefore, it is stated as a series of Combination of actions, but those skilled in the art should understand that, the application is not limited by the described action sequence because According to the application, some steps may be performed in other sequences or simultaneously.Secondly, those skilled in the art should also know It knows, the embodiments described in the specification are all preferred embodiments, related actions and modules not necessarily the application It is necessary.
In the described embodiment, it all emphasizes particularly on different fields to the description of each embodiment, there is no the portion being described in detail in some embodiment Point, reference can be made to the related descriptions of other embodiments.
In several embodiments provided herein, it should be understood that disclosed device, it can be by another way It realizes.For example, the apparatus embodiments described above are merely exemplary, such as the division of the unit, it is only a kind of Logical function partition, there may be another division manner in actual implementation, such as multiple units or components can combine or can To be integrated into another system, or some features can be ignored or not executed.Another point, shown or discussed is mutual Coupling, direct-coupling or communication connection can be through some interfaces, the indirect coupling or communication connection of device or unit, It can be electrical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
It, can also be in addition, each functional unit in each embodiment of the application can integrate in one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.The integrated list Member both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent product When, it can store in a computer-readable access to memory.Based on this understanding, the technical solution of the application substantially or Person says that all or part of the part that contributes to existing technology or the technical solution can body in the form of software products Reveal and, which is stored in a memory, including some instructions are used so that a computer equipment (can be personal computer, server or network equipment etc.) executes all or part of each embodiment the method for the application Step.And memory above-mentioned includes: USB flash disk, read-only memory (ROM, Read-Only Memory), random access memory The various media that can store program code such as (RAM, Random Access Memory), mobile hard disk, magnetic or disk.
Those of ordinary skill in the art will appreciate that all or part of the steps in the various methods of the embodiment is can It is completed with instructing relevant hardware by program, which can store in a computer-readable memory, memory May include: flash disk, read-only memory (English: Read-Only Memory, referred to as: ROM), random access device (English: Random Access Memory, referred to as: RAM), disk or CD etc..
The embodiment of the present application is described in detail above, specific case used herein to the principle of the application and Embodiment is expounded, the description of the example is only used to help understand the method for the present application and its core ideas; At the same time, for those skilled in the art can in specific embodiments and applications according to the thought of the application There is change place, in conclusion the contents of this specification should not be construed as limiting the present application.

Claims (12)

1. a kind of paster sharing method, which is characterized in that be applied to mobile terminal, which comprises
When detecting the selection operation for target paster, the target paster is obtained by Content Provider provider Key message;
The paster packet of the target paster is obtained according to the key message;
It decompresses the paster packet and obtains the graph data of the target paster;
The graph data is loaded so that the target paster is rendered into current display interface.
2. the method according to claim 1, wherein described obtain the mesh by Content Provider provider The key message of label paster, comprising:
Paster information database is called by the provider;
The paster information database is inquired, the key message of the target paster is obtained.
3. according to the method described in claim 2, it is characterized in that, described obtain the target paster according to the key message Paster packet, comprising:
The storage address of the paster packet of the target paster is determined according to the key message of the target paster;
The paster packet of the target paster is obtained from the memory space of paster management association according to the storage address.
4. method according to claim 1-3, which is characterized in that the method also includes:
The face data of user is acquired by camera;
Described facial data is loaded to show the facial image of user;
The target paster is adjusted according to facial image adaptation.
5. method according to claim 1-4, which is characterized in that the target paster is that paster management application is closed The paster in paster set stored in the memory space of connection, the paster set include built-in paster and network downloading paster; The method also includes:
Extract the key message of each paster in multiple pasters in the paster set;
By the key message storage of each paster to the memory space.
6. method according to claim 1-5, which is characterized in that the key message includes following at least one Kind: paster name information, paster packet storage address information, paster type information, paster size information and paster version information;
The paster packet includes the graph data of the target paster, and the graph data includes color data, shape data, moves Draw data and configuration mode data.
7. a kind of mobile terminal, which is characterized in that including acquiring unit, decompression units and processing unit,
The acquiring unit, for passing through Content Provider provider when detecting the selection operation for target paster Obtain the key message of the target paster;
The acquiring unit is also used to obtain the paster packet of the target paster according to the key message;
The decompression units obtain the graph data of the target paster for decompressing the paster packet;
The processing unit, for loading the graph data so that the target paster is rendered into current display interface.
8. mobile terminal according to claim 7, which is characterized in that obtained described by Content Provider provider In terms of the key message of the target paster, the acquiring unit is specifically used for: calling paster information by the provider Database;And for inquiring the paster information database, obtain the key message of the target paster.
9. mobile terminal according to claim 8, which is characterized in that obtain the mesh according to the key message described In terms of the paster packet of label paster, the acquiring unit is specifically used for: determining the mesh according to the key message of the target paster The storage address of the paster packet of label paster;And for the memory space according to the storage address from paster management association The middle paster packet for obtaining the target paster.
10. according to the described in any item mobile terminals of claim 7-9, which is characterized in that the processing unit is also used to pass through The face data of camera acquisition user;And the facial image of user is shown for loading described facial data;And it uses According to the facial image adaptation adjustment target paster.
11. a kind of mobile terminal, which is characterized in that including processor, memory, communication interface and one or more program, Wherein, one or more of programs are stored in the memory, and are configured to be executed by the processor, the journey Sequence includes the steps that requiring the instruction in any one of 1-6 method for perform claim.
12. a kind of computer readable storage medium, which is characterized in that the computer-readable recording medium storage is used for electron number According to the computer program of exchange, wherein the computer program executes computer as described in any one of claim 1-6 Method.
CN201810623732.4A 2018-06-15 2018-06-15 Paster sharing method and device Pending CN108986042A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810623732.4A CN108986042A (en) 2018-06-15 2018-06-15 Paster sharing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810623732.4A CN108986042A (en) 2018-06-15 2018-06-15 Paster sharing method and device

Publications (1)

Publication Number Publication Date
CN108986042A true CN108986042A (en) 2018-12-11

Family

ID=64541410

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810623732.4A Pending CN108986042A (en) 2018-06-15 2018-06-15 Paster sharing method and device

Country Status (1)

Country Link
CN (1) CN108986042A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110782510A (en) * 2019-10-25 2020-02-11 北京达佳互联信息技术有限公司 Sticker generation method and device
CN112463268A (en) * 2019-09-06 2021-03-09 北京字节跳动网络技术有限公司 Application data processing method, device, equipment and storage medium

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104348895A (en) * 2013-08-09 2015-02-11 腾讯科技(深圳)有限公司 Method and device for sharing data among programs in mobile terminal
CN104780458A (en) * 2015-04-16 2015-07-15 美国掌赢信息科技有限公司 Method and electronic equipment for loading effects in instant video
CN105957123A (en) * 2016-04-19 2016-09-21 乐视控股(北京)有限公司 Picture editing method, picture editing device and terminal equipment
CN106210545A (en) * 2016-08-22 2016-12-07 北京金山安全软件有限公司 Video shooting method and device and electronic equipment
JP2017017409A (en) * 2015-06-29 2017-01-19 フリュー株式会社 Imaging apparatus and imaging method
CN106817596A (en) * 2015-12-02 2017-06-09 徐文波 Act on the effect processing method and device of acquisition of media device
CN107077661A (en) * 2014-09-17 2017-08-18 微软技术许可有限责任公司 Task across the equipment using shared working space is completed
CN107277642A (en) * 2017-07-24 2017-10-20 硕诺科技(深圳)有限公司 A kind of method that entertaining textures are realized based on video call data stream process
CN107341827A (en) * 2017-07-27 2017-11-10 腾讯科技(深圳)有限公司 A kind of method for processing video frequency, device and storage medium
CN107506732A (en) * 2017-08-25 2017-12-22 奇酷互联网络科技(深圳)有限公司 Method, equipment, mobile terminal and the computer-readable storage medium of textures

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104348895A (en) * 2013-08-09 2015-02-11 腾讯科技(深圳)有限公司 Method and device for sharing data among programs in mobile terminal
CN107077661A (en) * 2014-09-17 2017-08-18 微软技术许可有限责任公司 Task across the equipment using shared working space is completed
CN104780458A (en) * 2015-04-16 2015-07-15 美国掌赢信息科技有限公司 Method and electronic equipment for loading effects in instant video
JP2017017409A (en) * 2015-06-29 2017-01-19 フリュー株式会社 Imaging apparatus and imaging method
CN106817596A (en) * 2015-12-02 2017-06-09 徐文波 Act on the effect processing method and device of acquisition of media device
CN105957123A (en) * 2016-04-19 2016-09-21 乐视控股(北京)有限公司 Picture editing method, picture editing device and terminal equipment
CN106210545A (en) * 2016-08-22 2016-12-07 北京金山安全软件有限公司 Video shooting method and device and electronic equipment
CN107277642A (en) * 2017-07-24 2017-10-20 硕诺科技(深圳)有限公司 A kind of method that entertaining textures are realized based on video call data stream process
CN107341827A (en) * 2017-07-27 2017-11-10 腾讯科技(深圳)有限公司 A kind of method for processing video frequency, device and storage medium
CN107506732A (en) * 2017-08-25 2017-12-22 奇酷互联网络科技(深圳)有限公司 Method, equipment, mobile terminal and the computer-readable storage medium of textures

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112463268A (en) * 2019-09-06 2021-03-09 北京字节跳动网络技术有限公司 Application data processing method, device, equipment and storage medium
CN110782510A (en) * 2019-10-25 2020-02-11 北京达佳互联信息技术有限公司 Sticker generation method and device

Similar Documents

Publication Publication Date Title
CN110019081A (en) Data persistence processing method, device, system and readable storage medium storing program for executing
EP2996023A1 (en) Method and electronic device for providing information
CN109587252A (en) Loading method, device, electronic equipment and the storage medium of operator parameter
CN102779179A (en) Method and terminal for associating information
CN107844728A (en) Identify method and device, computer installation and the computer-readable recording medium of Quick Response Code
CN108259522A (en) A kind of bullet contracting method and device of PaaS platform containerization application
CN107894891A (en) Program packaging method and device and program installation method and device
CN108986042A (en) Paster sharing method and device
CN108898649A (en) Image processing method and device
CN108241515B (en) Application shortcut establishing method and terminal
CN109086401A (en) Paster acquisition methods, device, storage medium and electronic equipment
CN115934076B (en) Cross-platform client micro-service providing device and method and electronic equipment
CN108537149A (en) Image processing method, device, storage medium and electronic equipment
CN108170383A (en) A kind of method and relevant apparatus that printing is realized based on terminal device
CN112866738B (en) Message processing method and live message management system
CN108334317A (en) Graphics engine, graphics engine construction method, update method and device
WO2014183711A1 (en) Multi-media data backup method, user terminal and synchronizer
CN105577904B (en) A kind of file sharing method and mobile terminal
CN109451295A (en) A kind of method and system obtaining virtual information
CN109151557B (en) Video creation method and related device
CN107506386A (en) A kind of data aggregation method based on NAS, device, terminal device and storage medium
CN113051015A (en) Page rendering method and device, electronic equipment and storage medium
CN108924411A (en) Camera control method and device
CN109408254A (en) A kind of information processing method, system and server
CN110134867A (en) Corporation information query method and Related product

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: 20181211

RJ01 Rejection of invention patent application after publication