CN105354051A - Method and device for presenting information flow card and electronic equipment - Google Patents

Method and device for presenting information flow card and electronic equipment Download PDF

Info

Publication number
CN105354051A
CN105354051A CN201510641592.XA CN201510641592A CN105354051A CN 105354051 A CN105354051 A CN 105354051A CN 201510641592 A CN201510641592 A CN 201510641592A CN 105354051 A CN105354051 A CN 105354051A
Authority
CN
China
Prior art keywords
card
animation
information
information flow
flow card
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201510641592.XA
Other languages
Chinese (zh)
Other versions
CN105354051B (en
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.)
Beijing Kingsoft Internet Security Software Co Ltd
Original Assignee
Beijing Kingsoft Internet Security Software 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 Beijing Kingsoft Internet Security Software Co Ltd filed Critical Beijing Kingsoft Internet Security Software Co Ltd
Priority to CN201510641592.XA priority Critical patent/CN105354051B/en
Publication of CN105354051A publication Critical patent/CN105354051A/en
Application granted granted Critical
Publication of CN105354051B publication Critical patent/CN105354051B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44568Immediately runnable code
    • G06F9/44573Execute-in-place [XIP]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44521Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading
    • G06F9/44526Plug-ins; Add-ons

Abstract

The embodiment of the invention discloses a method and a device for presenting an information flow card and electronic equipment. The method comprises the following steps: receiving an application program control loading instruction on a first information flow card of a preset view; acquiring a second information flow card mapped by the application program control loading instruction based on a preset mapping relation set of the application program control and the information flow card; generating a switching animation according to a first information flow card presented by a preset view and the acquired second information flow card; and presenting the switching animation in the preset view. By applying the method and the device, the time required for presenting the information flow can be reduced, and the efficiency of presenting the information flow by the interface can be improved.

Description

A kind of method, device and electronic equipment presenting information flow card
Technical field
The present invention relates to computer network communication technology, particularly relate to a kind of method, device and the electronic equipment that present information flow card.
Background technology
The interface of existing mobile platform, when display application program information stream, application information stream is split as multiple information flow card by general employing, and each information flow card is a basic information unit, and multiple information flow cards of fractionation present in interface in fairshaped mode.
In the interface application design of mobile platform, how to reduce handover delay during changing interface, keep fluency during changing interface to be that interface application design needs top-priority factor.Wherein, when carrying out changing interface, due to the corresponding information flow card interface of each information flow card, thus, switching mode the most frequently used is at present the direct redirect in interface, namely in the current information flow card interface presented, if user performs information flow card blocked operation, then the information flow card interface that blocked operation is corresponding is jumped to.But present the method for information flow card during this switching through redirect process, make time of presenting needed for information flow longer, changing interface is not smooth; Further, redirect process easily causes redirect failure, causes interface to present the efficiency of information flow lower.
Summary of the invention
In view of this, the embodiment of the present invention provides a kind of method, device and the electronic equipment that present information flow card, reduces to present time needed for information flow, promote the efficiency that interface presents information flow.
For achieving the above object, embodiments of the invention adopt following technical scheme:
First aspect, the embodiment of the present invention provides a kind of method presenting information flow card, comprising:
The first information stream card of default view receives application program control load instructions; Based on the mapping relations collection of the application program control pre-set and information flow card, obtain the second information flow card that described application program control load instructions maps;
The first information stream card presented according to default view and the described second information flow card of acquisition, generate and switch animation; And
Described switching animation is presented in described default view.
Optionally, described foundation presets the described second information flow card of first information stream card that view presents and acquisition, generates to switch animation and comprise:
According to the fetch strategy pre-set, partial information in the first information stream card that the default view of extraction presents and the partial information in described second information flow card, generate the first intermediate animation frame between described first information stream card and described second information flow card;
According to described fetch strategy, extract the partial information in described first information stream card and the partial information in described first intermediate animation frame, generate the second intermediate animation frame between described first information stream card and described first intermediate animation frame, and, extract the partial information in described first intermediate animation frame and the partial information in described second information flow card, generate the 3rd intermediate animation frame between described first intermediate animation frame and described second information flow card, until the animation frame quantity generated meets the threshold value pre-set, obtain comprising first information stream card, the animation frame collection of intermediate animation frame and the second information flow card,
For described animation frame collection arranges animation effect.
Optionally, described foundation presets the described second information flow card of first information stream card that view presents and acquisition, generates to switch animation and comprise:
Obtain first information stream card mark and the second information flow card mark;
The animation collection mapping relations being designated mark with first frame information stream card mark and last frame information stream card that inquiry pre-sets, obtain the animation of described first information stream card mark and the second information flow card identity map.
Optionally, described foundation presets the described second information flow card of first information stream card that view presents and acquisition, generates to switch animation and comprise:
The first information stream card presented according to current interface arranges animation;
Data according to described second information flow card draw described second information flow card in advance;
Describedly in described default view, present described switching animation comprise:
Present described animation;
Monitor described second information flow card of whether having completed, if so, stop animation and present, present the described second information flow card of completing.
Optionally, described animation comprises: animation frame and animation effect.
Optionally, the first frame of described animation frame is the first information stream card of current interface, and the last frame of animation frame is the second information flow card, and the frame number between first and last frame is arranged according to actual needs.
Optionally, the zones of different of described animation frame is provided with different animation effects.
Optionally, described animation effect comprises: translation, amplify, reduce, fade out, come out gradually, slide, one in color change or its combination in any.
Optionally, described information flow card is arranged for the design specifications of application program in Android device according to Google.
Second aspect, the embodiment of the present invention provides a kind of device presenting information flow card, comprising: load instructions processing module, cartoon setting module and animation present module, wherein,
Load instructions processing module, for receiving application program control load instructions on the first information stream card of default view; Based on the mapping relations collection of the application program control pre-set and information flow card, obtain the second information flow card that described application program control load instructions maps;
Cartoon setting module, the first information stream card presented for the default view of foundation and the described second information flow card of acquisition, generate and switch animation;
Animation presents module, for presenting described switching animation in described default view.
Optionally, described cartoon setting module comprises: the first cartoon setting unit, the second cartoon setting unit and animation effect setting unit, wherein,
First cartoon setting unit, for the fetch strategy that foundation pre-sets, partial information in the first information stream card that the default view of extraction presents and the partial information in described second information flow card, generate the first intermediate animation frame between described first information stream card and described second information flow card;
Second cartoon setting unit, for according to described fetch strategy, extract the partial information in described first information stream card and the partial information in described first intermediate animation frame, generate the second intermediate animation frame between described first information stream card and described first intermediate animation frame, and, extract the partial information in described first intermediate animation frame and the partial information in described second information flow card, generate the 3rd intermediate animation frame between described first intermediate animation frame and described second information flow card, until the animation frame quantity generated meets the threshold value pre-set, obtain comprising first information stream card, the animation frame collection of intermediate animation frame and the second information flow card,
Animation effect setting unit, for arranging animation effect for described animation frame collection.
Optionally, described cartoon setting module comprises: mark acquiring unit and query unit, wherein,
Mark acquiring unit, for obtaining first information stream card mark and the second information flow card mark;
Query unit, for inquiring about the animation collection mapping relations being designated mark with first frame information stream card mark and last frame information stream card pre-set, obtains the animation of described first information stream card mark and the second information flow card identity map.
Optionally, described cartoon setting module comprises: cartoon setting unit, drawing unit and monitoring means, wherein,
Cartoon setting unit, arranges animation for the first information stream card presented according to current interface;
Drawing unit, for drawing described second information flow card in advance according to the data of described second information flow card;
Monitoring means, for monitoring described second information flow card of whether having completed, if so, indicating animation presents end-of-module animation and presents, and presents the described second information flow card of completing.
Optionally, described animation comprises: animation frame and animation effect.
Optionally, the first frame of described animation frame is the first information stream card of current interface, and the last frame of animation frame is the second information flow card, and the frame number between first and last frame is arranged according to actual needs.
Optionally, the zones of different of described animation frame is provided with different animation effects.
Optionally, described animation effect comprises: translation, amplify, reduce, fade out, come out gradually, slide, one in color change or its combination in any.
Optionally, described information flow card is arranged for the design specifications of application program in Android device according to Google.
The third aspect, the embodiment of the present invention provides a kind of electronic installation, and described electronic installation comprises: housing, processor, storer, circuit board and power circuit, wherein, circuit board is placed in the interior volume that housing surrounds, and processor and storer are arranged on circuit boards; Power circuit, for powering for each circuit of above-mentioned electronic equipment or device; Storer is used for stores executable programs code; Processor runs the program corresponding with executable program code, for performing following steps by reading the executable program code stored in storer:
The first information stream card of default view receives application program control load instructions;
Based on the mapping relations collection of the application program control pre-set and information flow card, obtain the second information flow card that described application program control load instructions maps;
The first information stream card presented according to default view and the described second information flow card of acquisition, generate and switch animation; And
Described switching animation is presented in described default view.
The method of what the embodiment of the present invention provided present information flow card, device and electronic equipment, when needing to present different information flow cards, according to the current information stream card presented and information flow card to be presented, animation is set, and the animation of setting is presented at same interface, without the need to performing changing interface redirect process, decreasing the time of redirect between interface, decreasing the time presented needed for information flow, reduce the probability of interface redirect failure, improve the efficiency that interface presents information flow.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the method flow schematic diagram that the embodiment of the present invention presents information flow card;
The described second information flow card of Fig. 2 first information stream card that to be the embodiment of the present invention one present according to default view and acquisition, generates the schematic flow sheet switching animation;
The described second information flow card of Fig. 3 first information stream card that to be the embodiment of the present invention two present according to default view and acquisition, generates the schematic flow sheet switching animation;
Fig. 4 is the apparatus structure schematic diagram that the embodiment of the present invention presents information flow card;
Fig. 5 is the device concrete structure schematic diagram that the embodiment of the present invention presents information flow card;
Fig. 6 is the structural representation of an electronic equipment of the present invention embodiment.
Embodiment
Below in conjunction with accompanying drawing, the embodiment of the present invention is described in detail.
Should be clear and definite, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making other embodiments all obtained under creative work prerequisite, belong to the scope of protection of the invention.
Fig. 1 is the method flow schematic diagram that the embodiment of the present invention presents information flow card.See Fig. 1, the method comprises:
Step 101, the first information stream card of default view receives application program control load instructions;
Step 102, based on the mapping relations collection of the application program control pre-set and information flow card, obtains the second information flow card that described application program control load instructions maps;
In step 101 and step 102, after startup one application program, if user needs to switch the information flow card that current interface presents, then perform the operation of corresponding control.Such as, for charging screen saver application, after startup charging screen saver application, if user clicks start charging screen protection control, then export and start charging screen protection load instructions, trigger the charging screen protection log-on message stream card changing interface of current presentation to charging screen protection opening information stream card interface.Namely in the charging screen protection log-on message stream card presented in current interface, click and start charging screen protection control, thus start charging screen protection, and trigger charging screen protection log-on message stream card current interface presented and be replaced by charging screen protection opening information stream card.
In the embodiment of the present invention, each application program control maps the information flow card in application information stream, the using state that the corresponding application program of different application program controls is different.
As an embodiment, in application information stream, need the quantity of the information flow card arranged can determine according to the needs of this application program corresponding function.Such as, can according to the Core Feature of application program and expanded function, the information flow number of cards of corresponding Core Feature and the information flow number of cards of corresponding expanded function are set respectively, by arranging corresponding application program control in information flow card, the mutual of the information flow card of difference in functionality can be realized.
Optionally, for Android device, information flow card is arranged for the design specifications of application program in Android device according to Google.
Step 103, the first information stream card presented according to default view and the described second information flow card of acquisition, generate and switch animation;
In this step, click application program control in the first information stream card that current interface presents after, trigger and export application program control load instructions, the switching of information flow card is carried out at notice interface.
As an embodiment, animation comprises: animation frame and animation effect.Wherein,
The first frame of animation frame is the first information stream card of current interface, and the last frame of animation frame is the second information flow card, and the frame number between first and last frame can be arranged according to actual needs.
Animation effect includes but not limited to: translation, amplify, reduce, fade out, come out gradually, slide, the one of color change etc. or its combination in any.Such as, for front and back animation frame, can arrange and a rear animation frame is slid into last animation frame and the animation effect mode covered gradually from right to left.
As an embodiment, the zones of different of animation frame can arrange different animation effects.
In the embodiment of the present invention, as an embodiment, the described second information flow card of Fig. 2 first information stream card that to be the embodiment of the present invention one present according to default view and acquisition, generates the schematic flow sheet switching animation.See Fig. 2, this flow process comprises:
A11, according to the fetch strategy pre-set, extract the partial information in first information stream card and the partial information in described second information flow card, generate the first intermediate animation frame between described first information stream card and described second information flow card;
In this step, about being known technology according to the partial information in fetch strategy information extraction stream card, omit detailed description at this.
A12, according to described fetch strategy, extract the partial information in described first information stream card and the partial information in described first intermediate animation frame, generate the second intermediate animation frame between described first information stream card and described first intermediate animation frame, and, extract the partial information in described first intermediate animation frame and the partial information in described second information flow card, generate the 3rd intermediate animation frame between described first intermediate animation frame and described second information flow card, until the animation frame quantity generated meets the threshold value pre-set, obtain comprising first information stream card, the animation frame collection of intermediate animation frame and the second information flow card,
A13, for described animation frame collection arranges animation effect.
As another embodiment, the described second information flow card of Fig. 3 first information stream card that to be the embodiment of the present invention two present according to default view and acquisition, generates the schematic flow sheet switching animation.See Fig. 3, this flow process comprises:
A21, obtains first information stream card mark and the second information flow card mark;
In this step, in the information flow card that application information stream splits, each information flow card has an information flow card mark.
A22, the animation collection mapping relations being designated mark with first frame information stream card mark and last frame information stream card that inquiry pre-sets, obtain the animation of described first information stream card mark and the second information flow card identity map.
In this step, after pre-setting information flow card mark corresponding when starting with application program control and application program control unlatching, corresponding information flow card is designated the animation collection of identity map, after obtaining mark corresponding to the second information flow card that mark corresponding to the first information stream card of current interface and control load instructions map, concentrated the mark of each animation by coupling animation, the animation of first information stream card mark and the second information flow card identity map can be obtained.
Step 104, presents described switching animation in described default view.
In this step, at same interface, present animation frame according to the animation effect arranged.In the embodiment of the present invention, in the interface application design of mobile platform, when presenting different information flow cards, by presenting animation at same interface, thus avoid performing hand-off process, meanwhile, animation can strengthen the bandwagon effect at interface, by submissiveer the combining of multiple information flow cards, the notice of user can be strengthened.
In the embodiment of the present invention, the data in advance of the second information flow card is plotted in animation, in practical application, interface also can application programs control load instructions map the second information flow card carry out real-time rendering, because browser needs the data to switching rear the second corresponding information flow card to draw, this drawing process needs certain hour, thus, as an embodiment again, the first information stream card presented according to default view and the described second information flow card of acquisition, generate switching animation and comprise:
A31, the first information stream card presented according to current interface arranges animation;
A32, the data according to described second information flow card draw described second information flow card in advance;
Describedly in described default view, present described switching animation comprise:
Present described animation;
Monitor described second information flow card of whether having completed, if so, stop animation and present, present the described second information flow card of completing.
Below lift two specific embodiments, the present invention is described in further detail.
Embodiment one
The presenting of charging screen saver application information flow comprises normal state card and unlatching completes presenting successively of result phase card, namely from charging screen protection log-on message stream card changing interface to charging screen protection opening information stream card interface.For charging screen saver application, after startup charging screen saver application, enter charging screen protection log-on message stream card interface, this interface is normal state card, in this interface, include four partial contents, Part I content is positioned at card top, for the descriptor word " BoostCharge " of function, the second part and Part III content are positioned in the middle part of card, wherein, in the middle part of card, the second part in left side is that icon is opened in a charging screen protection, the Part III content on right side is the descriptor word " Speedupbatterychargingandpreventovercharging " of function, Part IV content is positioned at bottom card, it is startup charging screen protection control (ENABLE).
Click the startup charging screen protection control in card as user, then will trigger the operation of opening charging screen protection.If the animation frame arranged is two frames, be respectively charging screen protection log-on message stream card and charging screen protection opening information stream card.In charging screen protection opening information stream card, the Part I content being positioned at card top is identical with the Part I content at charging screen protection log-on message stream card top, the second part in left side, middle part is that a charging screen protection starts successful icon, and the Part III content on right side is the descriptor word " Enablesuccessfully! of function BatteryChargingwillbefaster ", the Part IV content be positioned at bottom card is sky.
In the animation that current interface presents, the animation effect of middle part by horizontally slipping, the corresponding middle part of the charging screen protection opening information stream card that slides is utilized to replace the middle part of charging screen protection log-on message stream card gradually, the word at charging screen protection log-on message stream card top does not change, and, startup charging screen protection control bottom charging screen protection log-on message stream card fades away along with the animation effect horizontally slipped, thus present charging screen protection opening information stream card interface, namely present unlatching and complete result phase card, redirect process need not be performed.Further, screen saver application of charging is the corresponding open operation performing charging screensaver functions also.
Embodiment two
The acceleration opening information stream card that the presenting of game cartridge application information stream comprises animate, open progress msg stream card and unlatching completes presenting successively of information flow card.After startup charging screen saver application, enter and accelerate opening information stream card interface, in this interface, include three partial contents, Part I content is positioned at card top, is the descriptor word " GameBoostBoostingcanspeedupyourgameby24% " of function, the second part is positioned in the middle part of card, for multiple game cartridge accelerates front icon, Part III content is positioned at bottom card, is that control (BOOST) is opened in an acceleration.The background colour accelerating opening information stream card is white.
Open in progress msg stream card, background colour be blue, comprises the unlatching progress chart be positioned on the left of in the middle part of card and is marked with and the descriptor word " Boosting ... 24% " of function on right side.
Unlatching completes in information flow card, background colour is white, include three partial contents, Part I content is positioned at card top, identical with the Part I content accelerated in opening information stream card, the second part is positioned in the middle part of card, for multiple game cartridge has accelerated rear icon, Part III content is positioned at bottom card, is a detail control (DETAILS).
After user clicks the acceleration unlatching control accelerated in opening information stream card, by sliding left, unlatching progress msg stream card is slid into and accelerates opening information stream card position and cover gradually to accelerate opening information stream card, after covering completes, present and open progress msg stream card, after acceleration unlatching progress reaches 100%, animation effect again by sliding left, unlatching is completed information flow card slide into unlatching progress msg stream card position gradually and cover unlatching progress msg stream card gradually, finally present unlatching and complete information flow card.
From above-mentioned, the embodiment of the present invention presents the method for information flow card, when needing to present different information flow cards, according to the current information stream card presented and information flow card to be presented, animation is set, and present the animation of setting at same interface, thus the state realizing information flow card at same interface switches, without the need to performing changing interface redirect process, decrease time and the complicacy of redirect between interface, reduce the time presented needed for information flow; Meanwhile, adopt animation to present different information flow cards, presenting of interface can be made more smooth, be convenient to allow the notice of user keep being absorbed in; Further, due to without the need to performing redirect process, reducing the mortality that information flow that interface redirect unsuccessfully causes presents, improving the efficiency that interface presents information flow.
Fig. 4 is the apparatus structure schematic diagram that the embodiment of the present invention presents information flow card.See Fig. 4, this device comprises: load instructions processing module 201, cartoon setting module 202 and animation present module 203, wherein,
Load instructions processing module 201, for receiving application program control load instructions on the first information stream card of default view; Based on the mapping relations collection of the application program control pre-set and information flow card, obtain the second information flow card that described application program control load instructions maps;
In the embodiment of the present invention, each application program control maps the information flow card in application information stream, the using state that the corresponding application program of different application program controls is different.
In the embodiment of the present invention, described information flow card can be arranged for the design specifications of application program in Android device according to Google.
Cartoon setting module 202, the first information stream card presented for the default view of foundation and the described second information flow card of acquisition, generate and switch animation;
In the embodiment of the present invention, as an embodiment, described animation comprises: animation frame and animation effect.Wherein,
The first frame of animation frame is the first information stream card of current interface, and the last frame of animation frame is the second information flow card, and the frame number between first and last frame is arranged according to actual needs.
Animation effect comprises: translation, amplify, reduce, fade out, come out gradually, slide, one in color change or its combination in any.
Optionally, the zones of different of animation frame can arrange different animation effects.
Optionally, described information flow card is arranged for the design specifications of application program in Android device according to Google.
Animation presents module 203, for presenting described switching animation in described default view.
In the embodiment of the present invention, at same interface, present animation frame according to the animation effect arranged.
Fig. 5 is the device concrete structure schematic diagram that the embodiment of the present invention presents information flow card.See Fig. 5, this device comprises the load instructions processing module 201 shown in Fig. 4, cartoon setting module 202 and animation and presents module 203, wherein, as an embodiment, cartoon setting module 202 comprises: the first cartoon setting unit 31, second cartoon setting unit 32 and animation effect setting unit 33, wherein
First cartoon setting unit 31, for the fetch strategy that foundation pre-sets, partial information in the first information stream card that the default view of extraction presents and the partial information in described second information flow card, generate the first intermediate animation frame between described first information stream card and described second information flow card;
Second cartoon setting unit 32, for according to described fetch strategy, extract the partial information in described first information stream card and the partial information in described first intermediate animation frame, generate the second intermediate animation frame between described first information stream card and described first intermediate animation frame, and, extract the partial information in described first intermediate animation frame and the partial information in described second information flow card, generate the 3rd intermediate animation frame between described first intermediate animation frame and described second information flow card, until the animation frame quantity generated meets the threshold value pre-set, obtain comprising first information stream card, the animation frame collection of intermediate animation frame and the second information flow card,
Animation effect setting unit 33, for arranging animation effect for described animation frame collection.
As another embodiment, cartoon setting module also can comprise: mark acquiring unit and query unit, wherein,
Mark acquiring unit, for obtaining first information stream card mark and the second information flow card mark;
Query unit, for inquiring about the animation collection mapping relations being designated mark with first frame information stream card mark and last frame information stream card pre-set, obtains the animation of described first information stream card mark and the second information flow card identity map.
As an embodiment again, cartoon setting module also can comprise: cartoon setting unit, drawing unit and monitoring means, wherein,
Cartoon setting unit, arranges animation for the first information stream card presented according to current interface;
Drawing unit, for drawing described second information flow card in advance according to the data of described second information flow card;
Monitoring means, for monitoring described second information flow card of whether having completed, if so, indicating animation presents end-of-module animation and presents, and presents the described second information flow card of completing.
The embodiment of the present invention also provides a kind of electronic equipment, and described electronic equipment comprises the device described in aforementioned any embodiment.
Fig. 6 is the structural representation of an electronic equipment of the present invention embodiment, the flow process of Fig. 1-5 illustrated embodiment of the present invention can be realized, as shown in Figure 6, above-mentioned electronic equipment can comprise: housing 41, processor 42, storer 43, circuit board 44 and power circuit 45, wherein, circuit board 44 is placed in the interior volume that housing 41 surrounds, and processor 42 and storer 43 are arranged on circuit board 44; Power circuit 45, for powering for each circuit of above-mentioned electronic equipment or device; Storer 43 is for stores executable programs code; Processor 42 runs the program corresponding with executable program code, for performing following steps by reading the executable program code stored in storer 43:
The first information stream card of default view receives application program control load instructions;
Based on the mapping relations collection of the application program control pre-set and information flow card, obtain the second information flow card that described application program control load instructions maps;
The first information stream card presented according to default view and the described second information flow card of acquisition, generate and switch animation; And
Described switching animation is presented in described default view.
The step that the concrete implementation of processor 42 pairs of above-mentioned steps and processor 42 perform further by running executable program code, see the description of Fig. 1-3 illustrated embodiment of the present invention, can not repeat them here.
This electronic equipment exists in a variety of forms, includes but not limited to:
(1) mobile communication equipment: the feature of this kind equipment possesses mobile communication function, and to provide speech, data communication for main target.This Terminal Type comprises: smart mobile phone (such as iPhone), multimedia handset, functional mobile phone, and low-end mobile phone etc.
(2) super mobile personal computer equipment: this kind equipment belongs to the category of personal computer, has calculating and processing capacity, generally also possesses mobile Internet access characteristic.This Terminal Type comprises: PDA, MID and UMPC equipment etc., such as iPad.
(3) portable entertainment device: this kind equipment can show and play multimedia content.This kind equipment comprises: audio frequency, video player (such as iPod), handheld device, e-book, and intelligent toy and portable car-mounted navigator.
(4) server: the equipment that calculation services is provided, the formation of server comprises processor, hard disk, internal memory, system bus etc., server and general computer architecture similar, but owing to needing to provide highly reliable service, therefore require higher in processing power, stability, reliability, security, extensibility, manageability etc.
(5) other have the electronic installation of data interaction function.
One of ordinary skill in the art will appreciate that all or part of flow process realized in above-described embodiment method, that the hardware that can carry out instruction relevant by computer program has come, described program can be stored in a computer read/write memory medium, this program, when performing, can comprise the flow process of the embodiment as above-mentioned each side method.Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-OnlyMemory, ROM) or random store-memory body (RandomAccessMemory, RAM) etc.
The above; be only the specific embodiment of the present invention, but protection scope of the present invention is not limited thereto, is anyly familiar with those skilled in the art in the technical scope that the present invention discloses; the change that can expect easily or replacement, all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection domain of claim.

Claims (10)

1. present a method for information flow card, it is characterized in that, the method comprises:
The first information stream card of default view receives application program control load instructions;
Based on the mapping relations collection of the application program control pre-set and information flow card, obtain the second information flow card that described application program control load instructions maps;
The first information stream card presented according to default view and the described second information flow card of acquisition, generate and switch animation; And
Described switching animation is presented in described default view.
2. method according to claim 1, is characterized in that, described foundation presets the described second information flow card of first information stream card that view presents and acquisition, generates to switch animation and comprise:
According to the fetch strategy pre-set, partial information in the first information stream card that the default view of extraction presents and the partial information in described second information flow card, generate the first intermediate animation frame between described first information stream card and described second information flow card;
According to described fetch strategy, extract the partial information in described first information stream card and the partial information in described first intermediate animation frame, generate the second intermediate animation frame between described first information stream card and described first intermediate animation frame, and, extract the partial information in described first intermediate animation frame and the partial information in described second information flow card, generate the 3rd intermediate animation frame between described first intermediate animation frame and described second information flow card, until the animation frame quantity generated meets the threshold value pre-set, obtain comprising first information stream card, the animation frame collection of intermediate animation frame and the second information flow card,
For described animation frame collection arranges animation effect.
3. method according to claim 1, is characterized in that, described foundation presets the described second information flow card of first information stream card that view presents and acquisition, generates to switch animation and comprise:
Obtain first information stream card mark and the second information flow card mark;
The animation collection mapping relations being designated mark with first frame information stream card mark and last frame information stream card that inquiry pre-sets, obtain the animation of described first information stream card mark and the second information flow card identity map.
4. method according to claim 1, is characterized in that, described foundation presets the described second information flow card of first information stream card that view presents and acquisition, generates to switch animation and comprise:
The first information stream card presented according to current interface arranges animation;
Data according to described second information flow card draw described second information flow card in advance;
Describedly in described default view, present described switching animation comprise:
Present described animation;
Monitor described second information flow card of whether having completed, if so, stop animation and present, present the described second information flow card of completing.
5. the method according to any one of Claims 1-4, is characterized in that, described animation comprises: animation frame and animation effect.
6. method according to claim 5, is characterized in that, the first frame of described animation frame is the first information stream card of current interface, and the last frame of animation frame is the second information flow card, and the frame number between first and last frame is arranged according to actual needs.
7. method according to claim 5, is characterized in that, the zones of different of described animation frame is provided with different animation effects.
8. the method according to any one of Claims 1-4, is characterized in that, described information flow card is arranged for the design specifications of application program in Android device according to Google.
9. present a device for information flow card, it is characterized in that, this device comprises: load instructions processing module, cartoon setting module and animation present module, wherein,
Load instructions processing module, for receiving application program control load instructions on the first information stream card of default view; Based on the mapping relations collection of the application program control pre-set and information flow card, obtain the second information flow card that described application program control load instructions maps;
Cartoon setting module, the first information stream card presented for the default view of foundation and the described second information flow card of acquisition, generate and switch animation;
Animation presents module, for presenting described switching animation in described default view.
10. an electronic installation, is characterized in that, described electronic installation comprises: housing, processor, storer, circuit board and power circuit, and wherein, circuit board is placed in the interior volume that housing surrounds, and processor and storer are arranged on circuit boards; Power circuit, for powering for each circuit of above-mentioned electronic equipment or device; Storer is used for stores executable programs code; Processor runs the program corresponding with executable program code, for performing following steps by reading the executable program code stored in storer:
The first information stream card of default view receives application program control load instructions;
Based on the mapping relations collection of the application program control pre-set and information flow card, obtain the second information flow card that described application program control load instructions maps;
The first information stream card presented according to default view and the described second information flow card of acquisition, generate and switch animation; And
Described switching animation is presented in described default view.
CN201510641592.XA 2015-09-30 2015-09-30 Method and device for presenting information flow card and electronic equipment Active CN105354051B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510641592.XA CN105354051B (en) 2015-09-30 2015-09-30 Method and device for presenting information flow card and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510641592.XA CN105354051B (en) 2015-09-30 2015-09-30 Method and device for presenting information flow card and electronic equipment

Publications (2)

Publication Number Publication Date
CN105354051A true CN105354051A (en) 2016-02-24
CN105354051B CN105354051B (en) 2019-06-21

Family

ID=55330025

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510641592.XA Active CN105354051B (en) 2015-09-30 2015-09-30 Method and device for presenting information flow card and electronic equipment

Country Status (1)

Country Link
CN (1) CN105354051B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109582407A (en) * 2017-09-29 2019-04-05 慧与发展有限责任合伙企业 Tabulating equipment frame
CN109643207A (en) * 2017-04-05 2019-04-16 微软技术许可有限责任公司 Desktop starter
CN111432264A (en) * 2020-03-30 2020-07-17 腾讯科技(深圳)有限公司 Content display method, device and equipment based on media information stream and storage medium
CN112527175A (en) * 2020-10-30 2021-03-19 百果园技术(新加坡)有限公司 Animation implementation method, device, equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102426505A (en) * 2010-08-09 2012-04-25 英特尔移动通信技术有限公司 Device, method for displaying a change from a first picture to a second picture on a display, and computer program product
CN102930580A (en) * 2011-09-27 2013-02-13 微软公司 Data frame animation
CN104216752A (en) * 2014-09-30 2014-12-17 珠海市君天电子科技有限公司 Window-based information loading method and device
CN104639725A (en) * 2013-11-08 2015-05-20 腾讯科技(深圳)有限公司 Interface switching method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102426505A (en) * 2010-08-09 2012-04-25 英特尔移动通信技术有限公司 Device, method for displaying a change from a first picture to a second picture on a display, and computer program product
CN102930580A (en) * 2011-09-27 2013-02-13 微软公司 Data frame animation
CN104639725A (en) * 2013-11-08 2015-05-20 腾讯科技(深圳)有限公司 Interface switching method and device
CN104216752A (en) * 2014-09-30 2014-12-17 珠海市君天电子科技有限公司 Window-based information loading method and device

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109643207A (en) * 2017-04-05 2019-04-16 微软技术许可有限责任公司 Desktop starter
CN109582407A (en) * 2017-09-29 2019-04-05 慧与发展有限责任合伙企业 Tabulating equipment frame
CN109582407B (en) * 2017-09-29 2022-03-01 慧与发展有限责任合伙企业 Card system frame
CN111432264A (en) * 2020-03-30 2020-07-17 腾讯科技(深圳)有限公司 Content display method, device and equipment based on media information stream and storage medium
CN111432264B (en) * 2020-03-30 2024-02-09 腾讯科技(深圳)有限公司 Content display method, device, equipment and storage medium based on media information stream
CN112527175A (en) * 2020-10-30 2021-03-19 百果园技术(新加坡)有限公司 Animation implementation method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN105354051B (en) 2019-06-21

Similar Documents

Publication Publication Date Title
US11635873B2 (en) Information display method, graphical user interface, and terminal for displaying media interface information in a floating window
US11517818B2 (en) Processing method, rendering method and device for static component in game scene
CN107657973B (en) Text and audio mixed display method and device, terminal equipment and storage medium
CN105487760A (en) Method and device for displaying message and electronic equipment
US20180241702A1 (en) Method and device for displaying message, and electronic device
CN105354051A (en) Method and device for presenting information flow card and electronic equipment
CN107797868B (en) Resource adjusting method and device
CN104536711A (en) Control method of terminal display
CN103853443B (en) A kind of inputting interface switching method and device, electronic equipment
CN106250182B (en) File processing method and device and electronic equipment
US20170277382A1 (en) Page switching method and device applied to electronic equipment
CN105549847B (en) A kind of image display method and user terminal at playback of songs interface
CN103778211A (en) Method and device for switching language of mobile terminal game software
CN108829423A (en) Method for upgrading system, device, equipment and the storage medium of Android device
CN105045928A (en) To-be-cleaned data display method and device and electronic equipment
CN111901832A (en) Wireless screen projection module and screen projection method of all-in-one machine
CN105468440B (en) Information display method and device and electronic equipment
CN107908452A (en) Multi-page starts method and device
CN109426532B (en) Method and device for linking pages in android system and electronic equipment
US20170192653A1 (en) Display area adjusting method and electronic device
CN104580705A (en) Terminal
RU2679253C1 (en) Method, device and terminal for processing fingerprint event
KR20160001359A (en) Method for managing data and an electronic device thereof
CN106682133A (en) Image processing method and image processing device
CN109219112B (en) Mobile terminal and power saving method and device thereof

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant