CN109766155A - A kind of bullet frame generation method, device and storage medium - Google Patents

A kind of bullet frame generation method, device and storage medium Download PDF

Info

Publication number
CN109766155A
CN109766155A CN201811528649.5A CN201811528649A CN109766155A CN 109766155 A CN109766155 A CN 109766155A CN 201811528649 A CN201811528649 A CN 201811528649A CN 109766155 A CN109766155 A CN 109766155A
Authority
CN
China
Prior art keywords
frame
bullet
view
component
bullet frame
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
CN201811528649.5A
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.)
OneConnect Smart Technology Co Ltd
Original Assignee
OneConnect Smart Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by OneConnect Smart Technology Co Ltd filed Critical OneConnect Smart Technology Co Ltd
Priority to CN201811528649.5A priority Critical patent/CN109766155A/en
Publication of CN109766155A publication Critical patent/CN109766155A/en
Pending legal-status Critical Current

Links

Landscapes

  • Processing Or Creating Images (AREA)

Abstract

The embodiment of the invention discloses a kind of bullet frame generation method and devices, its frame generation method of being hit by a bullet includes: to obtain to play the component that frame view needs, and arrangement and/or effect addition are combined to component, it completes creation and plays frame view, play frame view and be used to determine the function and/or pattern for playing frame;Frame view will be played to come into bullet circle frame, generate and play frame;It is packaged to frame is played, formation can common bullet frame template.Using the present invention, frame view can be played by self-positioning configuration, generate personalized bullet frame, played rectangle style so as to abundant, allow users to the more efficient bullet frame for obtaining and meeting individual requirements.

Description

A kind of bullet frame generation method, device and storage medium
Technical field
The present invention relates to data processing fields, and in particular to a kind of bullet frame generation method, device and storage medium.
Background technique
With the continuous development of terminal technology, such as mobile phone, tablet computer, when user interacts with terminal device, terminal Equipment can complete certain operation rear line feedback-related informations, and user requires also increasingly the usage experience of terminal Height, more and more users want to obtain terminal more accurately interaction feedback.In the prior art, for terminal feedback It plays frame (pop-up box), the primary content for playing frame of system and animation are often all fixed and invariable, and animation can not be modified, and pattern is only One, single effect, plays frame interface and content is also difficult to customized modification, it is difficult to the needs for meeting actual items, to a certain degree On affect user to the usage experience of terminal.Therefore, it urgently needs one kind to be able to solve the prior art in the prior art to be hit by a bullet Rectangle style is dull, user can not oneself definition play the technical solution of rectangle style and pop-up, disappearance animation these technical problems, with Just it enriches and plays rectangle style, allow users to the more efficient bullet frame for obtaining and meeting individual requirements.
Summary of the invention
The embodiment of the present invention provides a kind of bullet frame generation method and device, can pass through self-positioning configuration and play frame view, raw At personalized bullet frame, rectangle style is played so as to abundant, allows users to the more efficient bullet frame for obtaining and meeting individual requirements.
The first aspect of the embodiment of the present invention provides a kind of bullet frame generation method, and the bullet frame generation method includes:
It obtains and plays the component that frame view needs, and arrangement and/or effect addition are combined to the component, complete creation Frame view is played, the frame view that plays is used to determine the function and/or pattern for playing frame;
The bullet frame view is come into and is played in circle frame, generates and plays frame;
The bullet frame is packaged, formation can common bullet frame template.
In an alternative scenario, the component for obtaining bullet frame view needs includes:
The classification of the bullet frame view of user's selection is received, and is provided not according to the classification for playing frame view for user Same component, the component includes button, text box or tabs;
Receive the component that the component that user selects is needed as bullet frame view.
It is described to the component be combined arrangement and/or effect addition include:
According to the assembled arrangement and/or effect addition manner of user's selection, the component needed to the bullet frame view is carried out Assembled arrangement and/or effect addition.
In an alternative scenario, the component for obtaining bullet frame view needs includes:
Existing bullet frame view is received, and the existing bullet frame view is parsed;
The existing component for playing frame view is obtained as the component for playing frame view needs, the component includes button, text box Or tabs.
It is described to the component be combined arrangement and/or effect addition include:
The assembled arrangement mode and/or additive effect of the existing component for playing frame view are obtained, and according to the component With the assembled arrangement mode and/or additive effect of the existing component for playing frame view, creation plays frame view.
In an alternative scenario, described come into the bullet frame view plays in circle frame, generates and plays frame, comprising:
It obtains and plays circle frame and the attribute value for playing circle frame required for being shown to the bullet frame view, it is described Attribute value includes playing outer frame shape, playing frame size and play frame animation, and the bullet frame size is adaptively adjusted according to the component It is whole;
The bullet frame view is come into and is played in circle frame, generates and plays frame.
In an alternative case, described to be packaged to the bullet frame, formation can common bullet frame template, comprising:
It obtains and realizes the method and data for playing frame assembly function;
The method and data are packaged with the bullet frame, so that the bullet frame can be realized the bullet frame component function Energy;
Template bullet frame is formed according to the bullet frame, retains the interface of the template bullet frame, the interface is for receiving to institute State the modification of template bullet frame.
In an alternative scenario, described to be packaged to the bullet frame, formation can be after common bullet frame template further include:
Multiple optional bullet frame animations are added for the template bullet frame;
When the starting for receiving the template bullet frame is requested, the request that selection plays frame animation is initiated;
The bullet frame animation of selection is received, and using the selected bullet frame animation as the attribute value of the template bullet frame.
In an alternative scenario, before coming into the bullet frame view in bullet circle frame, the method also includes creations Circle frame is played, is specifically included:
Multiple system bullet frames are obtained, the system bullet frame is used under specific transactions scene, and system issues the user with pop-up Frame prompt;
The multiple system bullet frame is parsed, and it is corresponding to obtain each system bullet frame in the multiple system bullet frame Bullet box properties;
According to the bullet box properties, multiple bullet circle framves are established.
The second aspect of the embodiment of the present invention provides a kind of bullet frame generating means, and the bullet frame generating means include:
Creating unit for obtaining the component for playing frame view and needing, and is combined arrangement and/or effect to the component Addition completes creation and plays frame view, and the frame view that plays is used to determine the function and/or pattern for playing frame;
Generation unit plays in circle frame for coming into the bullet frame view, generates and plays frame;
Encapsulation unit, for being packaged to the bullet frame, formation can common bullet frame template.
The third aspect of the embodiment of the present invention provides a kind of electronic device, including processor, memory, communication interface, with And one or more programs, one or more of programs are stored in the memory, and are configured by the processing Device executes, and described program is included the steps that for executing the instruction in first aspect either method.
Fourth aspect of the embodiment of the present invention provides a kind of computer readable storage medium, and storage is used for electronic data interchange Computer program, wherein the computer program make computer execute first aspect either method described in step finger It enables.
The bullet frame generation method and device provided in the embodiment of the present application, first creation play frame view, play frame view and are used for Determine the function and/or pattern for playing frame;Then frame view will be played to come into bullet circle frame, generate and play frame;Frame will be finally played to carry out The instantiation for playing frame is realized in encapsulation.In this process, frame view is played by creation, bullet rectangle style can be enriched, solve to play frame Then the problem of style sheet one, single effect, will play frame and be packaged, open interface modifies to bullet frame so as to subsequent, into One step, which improves, obtains the personalized efficiency for playing frame.
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.
Figure 1A is a kind of bullet frame generation method flow diagram provided in an embodiment of the present invention;
Figure 1B is a kind of specific bullet frame schematic diagram provided by the embodiments of the present application;
Fig. 1 C for it is provided by the embodiments of the present application it is a kind of classification provide play frame component schematic diagram;
Fig. 2 is another flow diagram for playing frame generation method provided in an embodiment of the present invention;
Fig. 3 is another flow diagram for playing frame generation method provided in an embodiment of the present invention;
Fig. 4 is another flow diagram for playing frame generation method provided in an embodiment of the present invention;
Fig. 5 is a kind of structural schematic diagram of electronic device provided in an embodiment of the present invention;
Fig. 6 is a kind of structural block diagram for playing frame generating means provided in an embodiment of the present invention.
Specific embodiment
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 description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall within the protection scope of the present invention.
Referenced herein " embodiment " is it is meant that a particular feature, structure, or characteristic described can wrap in conjunction with the embodiments Containing at least one embodiment of the present invention.It is identical that each position in the description shows that the phrase might not be each meant 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.
It describes in detail below to the embodiment of the present invention.
Figure 1A is please referred to, Figure 1A is a kind of bullet frame generation method flow diagram in the embodiment of the present invention, as shown in Figure 1A, The bullet frame generation method includes:
101, it obtains and plays the component that frame view needs, and arrangement and/or effect addition are combined to the component, complete Creation plays frame view, and the frame view that plays is used to determine the function and/or pattern for playing frame.
Frame is played to be called and does pop-up box or message pop-up box, be in order to tell user information, such as operate successfully, operate mistake It loses or some verification tips, is an important embodiment of program friendliness, cannot be too much to cause user to dislike, it can not Cause the prompt to user insufficient very little, to be rationally arranged.Playing frame includes alarm class bullet frame, operation class bullet frame, selection class bullet frame With input class bullet frame etc..As shown in Figure 1B, Figure 1B is a kind of specific bullet frame schematic diagram provided by the embodiments of the present application, wherein scheming Figure (1) in 1B is an alarm class bullet frame, and figure (2) is an input class bullet frame, and figure (3) is a selection class bullet frame, is schemed (4) For an operation class bullet frame.
Playing frame view is functional area, functional module or field color, the font size, font interval for playing frame and showing Deng.Creation plays frame view, needs that the region for showing its function in bullet frame is configured or is selected, to determine the purposes of the bullet frame And pattern.
Optionally, obtaining and playing the component that frame view needs includes: the classification for receiving the bullet frame view of user's selection, and according to The classification for playing frame view provides different components for user, and component includes button, text box or tabs;Receive user's selection Component is as the component for playing frame view needs.Being combined arrangement and/or effect addition to component includes: to be selected according to user Assembled arrangement and/or effect addition manner are combined arrangement to the component that the bullet frame view needs and/or effect are added.
Specifically, multiple classifications for playing frame view are provided for its selection, such as alarm class bullet frame, operation class bullet for user Frame, selection class bullet frame and input class bullet frame etc., the bullet frame of each type provide corresponding component and select for user, to give birth to Frame is played at such.As shown in Figure 1 C, Fig. 1 C for it is provided by the embodiments of the present application it is a kind of classification provide play frame component schematic diagram, such as Shown in Fig. 1 C, for input class bullet frame, the alternative component provided be input frame, button and text box, meanwhile, for this A little components, moreover it is possible to size, position and color be carried out according to user demand and adjusted, so that the personalization of further satisfaction user needs It asks.
In an optional example, providing different components according to the classification for playing frame view for user can also include root According to the classification setting default component for playing frame view, for example, input class bullet frame setting input frame is default component, to select class bullet Frame setting options card be default component, be alarm class bullet frame setting text box be default component, for operation class bullet frame setting button For default component etc..User can be reduced in this way and creates the step of playing frame view, promote creation efficiency.
Optionally, obtain play the component that frame view needs include: receive existing bullet frame view, and to existing bullet frame view into Row parsing;The existing component for playing frame view is obtained as the component for playing frame view needs, component includes button, text box or option Card.The assembled arrangement mode and/or additive effect of securing component, and arranged according to the combination of component and the existing component for playing frame view Column mode and/or additive effect, creation play frame view.
Specifically, it when creation plays frame view, can also be created according to existing bullet frame view, such as existing System bullet frame, component type, number of components and arrangements of components therein are user's needs, but play frame animation effect The layouts such as fruit and bullet frame font color do not meet the demand of user, then existing system bullet frame can be inputted in program, so After parse its play frame view, component therein, including button, text box or tabs etc. are extracted, to create new personalization Play frame.It is this play frame view creation method can more efficiently securing component and component permutation and combination method, promoted and met The efficiency of view creation.
102, the bullet frame view is come into and is played in circle frame, generated and play frame.
After creation plays frame view, need to play frame view and come into and play in circle frame, formed it is complete play frame, be used for Family carries out message notifying.
Optionally, frame view will be played to come into bullet circle frame, and will generate and plays frame, comprising: acquisition is shown to frame view is played The required attribute value for playing circle frame and playing circle frame, attribute value include playing outer frame shape, play frame size and playing frame animation, bullet Frame size is adaptively adjusted according to component;Frame view will be played to come into bullet circle frame, generate and play frame.
Specifically, bullet frame view is come into the process for playing circle frame, is exactly to bullet frame view addition structure and effect.Play frame View is the arrangement mode of scattered component and component, plays circle frame and integrates these components, and add frame for it, makes Frame view must be played and form the pattern that can be shown.Playing box type includes that frame includes alarm class bullet frame, operation class bullet frame, selects class bullet Frame and input class bullet frame, the corresponding bullet circle frame of each type bullet frame have its fixed character and attribute.Such as scheme in Figure 1B (1) alarm class bullet frame, the title bar for playing frame is gray background, and indicates " prompt " two words, and lower section has one to indicate " really Button calmly " can use this bullet circle frame no matter alarm class bullet frame is which kind of situation to carry out alarm to.It is new in creation Alarm class bullet frame when, it is only necessary to by the content of text for carrying out alarm be passed to this kind play circle frame in, new bullet frame can be formed.
Optionally, before it will play frame view and come into bullet circle frame, this method further includes that creation plays circle frame, specific to wrap It includes: obtaining multiple system bullet frames, system bullet frame is used under specific transactions scene, and system issues the user with pop-up box prompt;It is right Multiple system bullet frames are parsed, and obtain each corresponding bullet box properties of system bullet frame in multiple system bullet frames;According to bullet Box properties establish multiple bullet circle framves.
Specifically, the bullet circle frame in the embodiment of the present application can be obtained according to system bullet frame.Such as it is answered at one Message notifying is carried out to user in program, can choose " permission " or " refusal " system bullet frame, user needs to receive message and mentions Show, but system bullet frame can not be able to satisfy user demand the characteristics of personal settings.So application program can be according to being System plays the bullet circle frame that frame creation is specific to application, personal settings of the bullet circle bridge joint by user.
It is created according to system bullet frame during playing circle frame, multiple system bullet frames is obtained first, then to multiple systems It plays frame to be parsed, obtains each corresponding bullet box properties of system bullet frame, including playing the frame size of frame, background color, consolidating Determine structure, fixed text, font, font color, font size and font interval etc..Then the bullet box properties that basis is got, Establish multiple bullet circle framves.Optionally, multiple bullet circle framves are established according to bullet box properties, can be each system bullet frame pair The bullet box properties answered are combined, and form bullet circle frame identical with system bullet frame, can also be corresponding by different system bullet frames Bullet box properties be combined, form the bullet circle frame different from system bullet frame.
As it can be seen that in the embodiment of the present application, by obtaining the bullet box properties of system bullet frame, foundation plays circle frame, it can be fast Speed, which obtains, plays circle frame, meanwhile, because the bullet circle frame established is similar with system bullet circle frame, it is new that user's identification can be promoted Generate the efficiency for playing frame;In addition, will play, frame view is incoming to be played in circle frame, be generated and is played frame, solve and play rectangle style and effect list One the problem of, further improves the efficiency for generating and playing frame, meets user for the personalized demand for playing frame.
103, the bullet frame is packaged, formation can common bullet frame template.
According to bullet frame view and after playing circle frame generation bullet frame, need to be packaged bullet frame, so that playing frame can be realized Play the function of all components in frame view.
Optionally, it is packaged to playing frame, formation can common bullet frame template, comprising: obtain and realize and play frame assembly function Method and data;Method and data are packaged with frame is played, play frame assembly function so that playing frame and can be realized;According to bullet frame Template bullet frame is formed, the interface of template bullet frame is retained, interface is used to receive the modification to template bullet frame.
Encapsulation is one of Object-Oriented Programming method, and the source code of data and operation data is organically combined, It is formed " class ", and this " class " conceals the attribute of object and realize details, only external disclosure interface, controls attribute in a program Reading and modification access level.After being packaged to method and data and bullet frame, playing frame can call the resource of needs to realize The wherein function of various components, while playing frame and forming template bullet frame, it can be re-used, convenient for modifying to template next time.
Optionally, it is packaged to playing frame, formation can be after common bullets frame template further include: more for the addition of template bullet frame A optional bullet frame animation;When the starting for receiving template bullet frame is requested, the request that selection plays frame animation is initiated;Receive selection Bullet frame animation, and using the bullet frame animation selected as the attribute value of template bullet frame.
If realizing the encapsulation for playing frame using Object-Oriented Programming, after being packaged to bullet frame, one is formed for example It is called the subclass of YZTBasePopView, this subclass can be public.After to frame encapsulation completion is played, it can be carried out to frame is played Switch animation, user can choose alert and sheet animation.User if it is desired to plus some common animations, can directly exist Type is added in animation enumeration type above YZTBasePopView and in YZTBasePopView by specific animation code It realizes.Then it can increase animation parameters use in YZTPopViewFactory.If user needs to add other kinds of Animation, it is only necessary to add a parameter animationType;By the type type of YZTSheetView from silent in functional based method The MMPopupTypeSheet animation types recognized are revised as being determined by the incoming animation types in outside.Programming is completed Afterwards, in the starting request for receiving template bullet frame, the request that selection plays frame animation is initiated;Then system program automatically switches dynamic The bullet frame animation in enumeration type, or the existing all kinds of bullet frame animations selected according to user are drawn, and the bullet frame of selection is moved Paintings are the attribute value of template bullet frame, form new bullet frame and carry out message notifying.
As it can be seen that in the embodiment of the present application, creation plays frame view first, play frame view for determine play frame function and/ Or pattern;Then frame view will be played to come into bullet circle frame, generate and play frame;Frame will finally be played to be packaged, realize the reality for playing frame Exampleization.In this process, frame view is played by creation, bullet rectangle style can be enriched, solution bullet rectangle style is single, single effect The problem of, it then will play frame and be packaged, open interface modifies to bullet frame so as to subsequent, further improves acquisition individual character Change the efficiency for playing frame.
Referring to Fig. 2, Fig. 2 is another flow diagram for playing frame generation method provided in an embodiment of the present invention, such as Fig. 2 Shown, the bullet frame generation method in the present embodiment includes:
201, the classification of the bullet frame view of user's selection is received, and is mentioned according to the classification for playing frame view for user For different components, the component includes button, text box or tabs;
202, the component that the component that user selects is needed as bullet frame view, and the combination selected according to user are received Arrangement and/or effect addition manner are combined arrangement to the component that the bullet frame view needs and/or effect are added;
203, it obtains and plays circle frame and the attribute value for playing circle frame required for being shown to the bullet frame view, The attribute value includes playing outer frame shape, play frame size and playing frame animation, and the bullet frame size carries out adaptive according to the component It should adjust;
204, the bullet frame view is come into and is played in circle frame, generated and play frame;
205, it obtains and realizes the method and data for playing frame assembly function;
206, the method and data are packaged with the bullet frame, so that the bullet frame can be realized the bullet frame group Part function;
207, template bullet frame is formed according to the bullet frame, retains the interface of the template bullet frame, the interface is for receiving Modification to the template bullet frame.
Wherein, the specific descriptions of above-mentioned steps 201- step 207 are referred to the described bullet frame generation method of Figure 1A Corresponding description, details are not described herein.
In the embodiment of the present application, frame view is played according to the component creation of user's selection first, plays frame view for determining Play the function and/or pattern of frame;Then frame view will be played to come into bullet circle frame, generate and play frame;Frame will be finally played to be packaged, Realize the instantiation for playing frame.In this process, frame view is played by creation, bullet rectangle style can be enriched, solve to play rectangle style It is single, the problem of single effect, it then will play frame and be packaged, open interface is modified so as to subsequent to playing frame, further It improves and obtains the personalized efficiency for playing frame.
Referring to Fig. 3, Fig. 3 is another flow diagram for playing frame generation method provided in an embodiment of the present invention, such as Fig. 3 Shown, the bullet frame generation method in the present embodiment includes:
301, existing bullet frame view is received, and the existing bullet frame view is parsed;
302, the existing component for playing frame view is obtained as the component for playing frame view needs, and the component includes button, text This frame or tabs;
303, the existing assembled arrangement mode and/or additive effect for playing frame view is obtained, and according to the component With the assembled arrangement mode and/or additive effect of the existing component for playing frame view, creation plays frame view;
304, it obtains and plays circle frame and the attribute value for playing circle frame required for being shown to the bullet frame view, The attribute value includes playing outer frame shape, play frame size and playing frame animation, and the bullet frame size carries out adaptive according to the component It should adjust;
305, the bullet frame view is come into and is played in circle frame, generated and play frame;
306, it obtains and realizes the method and data for playing frame assembly function;
307, the method and data are packaged with the bullet frame, so that the bullet frame can be realized the bullet frame group Part function;
308, template bullet frame is formed according to the bullet frame, retains the interface of the template bullet frame, the interface is for receiving Modification to the template bullet frame;
309, multiple optional bullet frame animations are added for the template bullet frame;
310, when the starting for receiving the template bullet frame is requested, the request that selection plays frame animation is initiated;
311, the bullet frame animation of selection is received, and using the selected bullet frame animation as the attribute of the template bullet frame Value.
Wherein, the specific descriptions of above-mentioned steps 301- step 311 are referred to the described bullet frame generation method of Figure 1A Corresponding description, details are not described herein.
In the embodiment of the present application, the component of needs is parsed according to existing bullet frame view first, creation plays frame view, bullet Frame view plays the function and/or pattern of frame for determining;Then frame view will be played to come into bullet circle frame, generate and play frame;Finally Frame will be played to be packaged, realize the instantiation for playing frame, and add multiple selectable animations to play frame, to play frame in starting When, according to the new bullet frame of the animation producing of user's selection.In this process, frame view is played by creation, bullet frame can be enriched Pattern solves the problem of to play the single single effect of rectangle style, then will play frame and be packaged, open interface is so as to subsequent to bullet Frame is modified, and is further improved and is obtained the personalized efficiency for playing frame.
Referring to Fig. 4, Fig. 4 is another flow diagram for playing frame generation method provided in an embodiment of the present invention, such as Fig. 4 Shown, the bullet frame generation method in the present embodiment includes:
401, it obtains and plays the component that frame view needs, and arrangement and/or effect addition are combined to the component, complete Creation plays frame view, and the frame view that plays is used to determine the function and/or pattern for playing frame;
402, multiple system bullet frames are obtained, the system bullet frame is used under specific transactions scene, and system issues the user with Pop-up box prompt;
403, the multiple system bullet frame is parsed, and obtains each system bullet frame in the multiple system bullet frame Corresponding bullet box properties;
404, according to the bullet box properties, multiple bullet circle framves are established;
405, the bullet frame view is come into and is played in circle frame, generated and play frame;
406, the bullet frame is packaged, formation can common bullet frame template.
Wherein, the specific descriptions of above-mentioned steps 401- step 406 are referred to the described bullet frame generation method of Figure 1A Corresponding description, details are not described herein.
In the embodiment of the present application, creation plays frame view first, plays frame view for determining the function and/or sample that play frame Formula;Then it is established according to system bullet frame and plays circle frame, then frame view will be played and come into bullet circle frame, generated and play frame;Finally by bullet Frame is packaged, and realizes the instantiation for playing frame, and add multiple selectable animations to play frame, so as to when starting plays frame, According to the new bullet frame of the animation producing of user's selection.In this process, frame view is played by creation, can enriches and plays frame sample Formula solves the problem of to play the single single effect of rectangle style, is then packaged bullet frame that open interface is so as to subsequent to bullet frame It modifies, further improves and obtain the personalized efficiency for playing frame.
Fig. 5 is a kind of structural schematic diagram of electronic device provided in an embodiment of the present invention, as shown in figure 5, the electronic device Including processor, memory, communication interface and one or more programs, wherein said one or multiple programs are stored in In above-mentioned memory, and it is configured to be executed by above-mentioned processor, above procedure includes the instruction for executing following steps:
It obtains and plays the component that frame view needs, and arrangement and/or effect addition are combined to the component, complete creation Frame view is played, the frame view that plays is used to determine the function and/or pattern for playing frame;
The bullet frame view is come into and is played in circle frame, generates and plays frame;
The bullet frame is packaged, formation can common bullet frame template.
As can be seen that in the embodiment of the present application, creation plays frame view first, frame view is played for determining the function of playing frame And/or pattern;Then frame view will be played to come into bullet circle frame, generate and play frame;Frame will finally be played to be packaged, realize and play frame Instantiation, and multiple selectable animations are added to play frame, so as to the animation producing when starting plays frame, selected according to user New bullet frame.In this process, frame view is played by creation, bullet rectangle style can be enriched, solution bullet rectangle style is single, effect Then single problem will play frame and be packaged, open interface modifies to bullet frame so as to subsequent, further improves acquisition Personalization plays the efficiency of frame.
In a possible example, in terms of the creation plays frame view, described program includes for executing following step Rapid instruction:
The classification of the bullet frame view of user's selection is received, and is provided not according to the classification for playing frame view for user Same component, the component includes button, text box or tabs;
Receive the component of user's selection;
Arrangement and/or effect addition are combined to the component.
In a possible example, in terms of the creation plays frame view, described program includes for executing following step Rapid instruction:
Existing bullet frame view is received, and the existing bullet frame view is parsed;
The existing component for playing frame view is obtained, the component includes button, text box or tabs;
The assembled arrangement mode and/or additive effect of the component are obtained, and according to the group of the component and the component Arrangement mode and/or additive effect are closed, creation plays frame view.
In a possible example, plays in circle frame, generate in terms of playing frame, institute in described come into the bullet frame view Stating program includes the instruction for executing following steps:
It obtains and plays circle frame and the attribute value for playing circle frame required for being shown to the bullet frame view, it is described Attribute value includes playing outer frame shape, playing frame size and play frame animation, and the bullet frame size is adaptively adjusted according to the component It is whole;
The bullet frame view is come into and is played in circle frame, generates and plays frame.
In a possible example, the bullet frame is packaged described, formation can in terms of common bullet frame template, Described program includes the instruction for executing following steps:
It obtains and realizes the method and data for playing frame assembly function;
The method and data are packaged with the bullet frame, so that the bullet frame can be realized the bullet frame component function Energy;
Template bullet frame is formed according to the bullet frame, retains the interface of the template bullet frame, the interface is for receiving to institute State the modification of template bullet frame.
In a possible example, the bullet frame is packaged described, formation can in terms of common bullet frame template, Described program further includes the instruction for executing following steps:
Multiple optional bullet frame animations are added for the template bullet frame;
When the starting for receiving the template bullet frame is requested, the request that selection plays frame animation is initiated;
The bullet frame animation of selection is received, and using the selected bullet frame animation as the attribute value of the template bullet frame.
In a possible example, before coming into the bullet frame view in bullet circle frame, described program packet is also included The instruction that circle frame is played for executing creation, specifically comprises the following steps:
Multiple system bullet frames are obtained, the system bullet frame is used under specific transactions scene, and system issues the user with pop-up Frame prompt;
The multiple system bullet frame is parsed, and it is corresponding to obtain each system bullet frame in the multiple system bullet frame Bullet box properties;
According to the bullet box properties, multiple bullet circle framves are established.
Fig. 6 is the functional unit composition block diagram that frame generating means 600 are played involved in the embodiment of the present invention.The bullet frame is raw It is applied to electronic device at device 600, the bullet frame generating means include:
Creating unit 601, for obtain play frame view need component, and to the component be combined arrangement and/or Effect addition completes creation and plays frame view, and the frame view that plays is used to determine the function and/or pattern for playing frame;
Generation unit 602 plays in circle frame for coming into the bullet frame view, generates and plays frame;
Encapsulation unit 603, for being packaged to the bullet frame, formation can common bullet frame template.
It should be noted that the specific works mistake of above-mentioned creating unit 601, generation unit 602 and encapsulation unit 603 Journey referring to above-mentioned steps 101-103 associated description.Details are not described herein.
As can be seen that electronic equipment creates first plays frame view in the embodiment of the present application, frame view is played for determining and plays frame Function and/or pattern;Then frame view will be played to come into bullet circle frame, generate and play frame;Frame will finally be played to be packaged, realized The instantiation of frame is played, and is to play frame to add multiple selectable animations, to be selected according to user dynamic when starting plays frame It draws and generates new bullet frame.In this process, frame view is played by creation, bullet rectangle style can be enriched, solve to play rectangle style list One, the problem of single effect, it then will play frame and be packaged, open interface is modified so as to subsequent to playing frame, is further mentioned It has risen and has obtained the personalized efficiency for playing frame.
In an alternative case, in terms of creation plays frame view, the creating unit 601 is specifically used for:
The classification of the bullet frame view of user's selection is received, and is provided not according to the classification for playing frame view for user Same component, the component includes button, text box or tabs;
Receive the component of user's selection;
Arrangement and/or effect addition are combined to the component.
In an alternative case, in terms of creation plays frame view, the creating unit 601 is specifically used for:
Existing bullet frame view is received, and the existing bullet frame view is parsed;
The existing component for playing frame view is obtained, the component includes button, text box or tabs;
The assembled arrangement mode and/or additive effect of the component are obtained, and according to the group of the component and the component Arrangement mode and/or additive effect are closed, creation plays frame view.
In an alternative case, the bullet frame view is come into described and is played in circle frame, generate the generation in terms of playing frame Unit 602 is specifically used for:
It obtains and plays circle frame and the attribute value for playing circle frame required for being shown to the bullet frame view, it is described Attribute value includes playing outer frame shape, playing frame size and play frame animation, and the bullet frame size is adaptively adjusted according to the component It is whole;
The bullet frame view is come into and is played in circle frame, generates and plays frame.
In an alternative case, the bullet frame is packaged described, formation can be in terms of common bullet frame template, the envelope Dress unit 603 is specifically used for:
It obtains and realizes the method and data for playing frame assembly function;
The method and data are packaged with the bullet frame, so that the bullet frame can be realized the bullet frame component function Energy;
Template bullet frame is formed according to the bullet frame, retains the interface of the template bullet frame, the interface is for receiving to institute State the modification of template bullet frame.
In an alternative case, the bullet frame is packaged described, formation can be in terms of common bullet frame template, the envelope Fill unit 603 also particularly useful for:
Multiple optional bullet frame animations are added for the template bullet frame;
When the starting for receiving the template bullet frame is requested, the request that selection plays frame animation is initiated;
The bullet frame animation of selection is received, and using the selected bullet frame animation as the attribute value of the template bullet frame.
In an alternative case, before before coming into the bullet frame view in bullet circle frame, the creating unit 601 is also Circle frame is played for creating, is specifically used for:
Multiple system bullet frames are obtained, the system bullet frame is used under specific transactions scene, and system issues the user with pop-up Frame prompt;
The multiple system bullet frame is parsed, and it is corresponding to obtain each system bullet frame in the multiple system bullet frame Bullet box properties;
According to the bullet box properties, multiple bullet circle framves are established.
The embodiment of the present invention 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 above method embodiment Some or all of method step, above-mentioned computer include mobile terminal.
The embodiment of the present invention also provides a kind of computer program product, and above-mentioned computer program product includes storing calculating The non-transient computer readable storage medium of machine program, above-mentioned computer program are operable to that computer is made to execute such as above-mentioned side Some or all of either record method step in method embodiment.The computer program product can be a software installation Packet, above-mentioned computer includes mobile terminal.
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 said units, 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.
Above-mentioned 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.Above-mentioned integrated list Member both can take the form of hardware realization, can also realize in the form of software functional units.
If above-mentioned integrated unit is realized in the form of SFU software functional unit and when sold or used as an independent product, It can store in a computer-readable access to memory.Based on this understanding, the technical solution of the application substantially or Say that all or part of the part that contributes to existing technology or the technical solution can embody in the form of software products Out, which is stored in a memory, including some instructions are used so that a computer equipment (can For personal computer, server or network equipment etc.) execute all or part of step of each embodiment above method of the application Suddenly.And memory above-mentioned includes: USB flash disk, read-only memory (Read-Only Memory, ROM), random access memory The various media that can store program code such as (Random Access Memory, RAM), 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 above-described embodiment is can It is completed with instructing relevant hardware by program, which can store in a computer-readable memory, memory It may include: flash disk, ROM, RAM, disk or CD etc..
The embodiment of the present invention has been 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 (10)

1. a kind of bullet frame generation method, which is characterized in that the described method includes:
It obtains and plays the component that frame view needs, and arrangement and/or effect addition are combined to the component, complete creation and play frame View, the frame view that plays are used to determine the function and/or pattern for playing frame;
The bullet frame view is come into and is played in circle frame, generates and plays frame;
The bullet frame is packaged, formation can common bullet frame template.
2. the method according to claim 1, wherein the component for obtaining bullet frame view needs includes:
The classification of the bullet frame view of user's selection is received, and is provided for user according to the classification for playing frame view different Component, the component include button, text box or tabs;
Receive the component that the component that user selects is needed as bullet frame view;
It is described to the component be combined arrangement and/or effect addition include:
According to the assembled arrangement and/or effect addition manner of user's selection, the component needed to the bullet frame view is combined Arrangement and/or effect addition.
3. the method according to claim 1, wherein the component for obtaining bullet frame view needs includes:
Existing bullet frame view is received, and the existing bullet frame view is parsed;
The existing component for playing frame view is obtained as the component for playing frame view needs, the component includes button, text box or choosing Xiang Ka;
It is described to the component be combined arrangement and/or effect addition include:
The assembled arrangement mode and/or additive effect of the existing component for playing frame view are obtained, and according to the component and institute The assembled arrangement mode and/or additive effect of the existing component for playing frame view are stated, creation plays frame view.
4. according to the method in claim 2 or 3, which is characterized in that described come into the bullet frame view plays in circle frame, It generates and plays frame, comprising:
It obtains and plays circle frame and the attribute value for playing circle frame, the attribute required for being shown to the bullet frame view Value includes playing outer frame shape, playing frame size and play frame animation, and the bullet frame size is adaptively adjusted according to the component;
The bullet frame view is come into and is played in circle frame, generates and plays frame.
5. according to the method described in claim 4, formation can be common it is characterized in that, described be packaged the bullet frame Play frame template, comprising:
It obtains and realizes the method and data for playing frame assembly function;
The method and data are packaged with the bullet frame, so that the bullet frame can be realized the bullet frame assembly function;
Template bullet frame is formed according to the bullet frame, retains the interface of the template bullet frame, the interface is for receiving to the mould The modification of plate bullet frame.
6. according to the method described in claim 5, formation can be common it is characterized in that, described be packaged the bullet frame After bullet frame template further include:
Multiple optional bullet frame animations are added for the template bullet frame;
When the starting for receiving the template bullet frame is requested, the request that selection plays frame animation is initiated;
The bullet frame animation of selection is received, and using the selected bullet frame animation as the attribute value of the template bullet frame.
7. method described in -6 according to claim 1, which is characterized in that the bullet frame view is come into play circle frame in it Before, the method also includes creations to play circle frame, it specifically includes:
Multiple system bullet frames are obtained, the system bullet frame is used under specific transactions scene, and system issues the user with pop-up box and mentions Show;
The multiple system bullet frame is parsed, and obtains each corresponding bullet of system bullet frame in the multiple system bullet frame Box properties;
According to the bullet box properties, multiple bullet circle framves are established.
8. a kind of bullet frame generating means, which is characterized in that the bullet frame generating means include:
Creating unit for obtaining the component for playing frame view and needing, and is combined arrangement to the component and/or effect adds Add, completes creation and play frame view, the frame view that plays is used to determine the function and/or pattern for playing frame;
Generation unit plays in circle frame for coming into the bullet frame view, generates and plays frame;
Encapsulation unit, for being packaged to the bullet frame, formation can common bullet frame template.
9. a kind of electronic device, including processor, memory, communication interface, and one or more programs, one or more A program is stored in the memory, and is configured to be executed by the processor, and described program includes being used for right of execution Benefit requires the instruction of the step in 1-7 any means.
10. a kind of computer readable storage medium, storage is used for the computer program of electronic data interchange, wherein the calculating Machine program makes the instruction of step described in any one of computer perform claim requirement 1-7.
CN201811528649.5A 2018-12-13 2018-12-13 A kind of bullet frame generation method, device and storage medium Pending CN109766155A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811528649.5A CN109766155A (en) 2018-12-13 2018-12-13 A kind of bullet frame generation method, device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811528649.5A CN109766155A (en) 2018-12-13 2018-12-13 A kind of bullet frame generation method, device and storage medium

Publications (1)

Publication Number Publication Date
CN109766155A true CN109766155A (en) 2019-05-17

Family

ID=66450573

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811528649.5A Pending CN109766155A (en) 2018-12-13 2018-12-13 A kind of bullet frame generation method, device and storage medium

Country Status (1)

Country Link
CN (1) CN109766155A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111223167A (en) * 2019-12-30 2020-06-02 北京明略软件***有限公司 Method and device for managing electronic map
CN111580899A (en) * 2020-03-31 2020-08-25 深圳市麦谷科技有限公司 Message popup window system based on hierarchical structure and electronic equipment
CN112395035A (en) * 2020-11-30 2021-02-23 杭州安恒信息安全技术有限公司 Animation playing method, device, equipment and medium based on 3D large screen

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111223167A (en) * 2019-12-30 2020-06-02 北京明略软件***有限公司 Method and device for managing electronic map
CN111580899A (en) * 2020-03-31 2020-08-25 深圳市麦谷科技有限公司 Message popup window system based on hierarchical structure and electronic equipment
CN111580899B (en) * 2020-03-31 2024-04-30 深圳市麦谷科技有限公司 Layered structure-based message popup window system and electronic equipment
CN112395035A (en) * 2020-11-30 2021-02-23 杭州安恒信息安全技术有限公司 Animation playing method, device, equipment and medium based on 3D large screen

Similar Documents

Publication Publication Date Title
EP3407549B1 (en) Resource sharing method, terminal and storage medium
CN111079047B (en) Web-oriented page construction system
CN109766155A (en) A kind of bullet frame generation method, device and storage medium
CN103092612B (en) Realize method and the electronic installation of Android operation system 3D desktop pinup picture
CN111814089A (en) Page rendering method and device, rendering server and storage medium
EP2711846A1 (en) Method and device for processing template file
CN107526751A (en) Loading method, client, web page server and the programmable device of webpage
CN107122175B (en) Interface creating method and device
CN109842818A (en) A kind of video broadcasting method, device, computer equipment and storage medium
CN106648666A (en) User interface generating method and user interface generating system
US11989814B2 (en) Image processing method and apparatus, electronic device, and storage medium
US20180143741A1 (en) Intelligent graphical feature generation for user content
CN109542878B (en) List creation method and device
WO2021157595A1 (en) Content creation assistance system
CN108924030A (en) Electronic device, the method for dynamically configuration message exhibition method and storage medium
CN112685025A (en) Method and system for quickly building front-end page
CN115510347A (en) Presentation file conversion method and device, electronic equipment and storage medium
CN106293658B (en) Interface component generation method and equipment
CN109656638A (en) A kind of user based on Purley platform customizes the implementation method of function
CN107133030B (en) Dynamic event execution method and device
CN104793837B (en) Image generation method and device
CN117520490A (en) Man-machine conversation method, system and related device
CN114422468A (en) Message processing method, device, terminal and storage medium
CN104156209B (en) Cross-platform interface modeling method and device
CN109558405A (en) Object publishing method and device, system

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