Movatterモバイル変換


[0]ホーム

URL:


CN107463324A - A kind of image display method, mobile terminal and computer-readable recording medium - Google Patents

A kind of image display method, mobile terminal and computer-readable recording medium
Download PDF

Info

Publication number
CN107463324A
CN107463324ACN201710494510.2ACN201710494510ACN107463324ACN 107463324 ACN107463324 ACN 107463324ACN 201710494510 ACN201710494510 ACN 201710494510ACN 107463324 ACN107463324 ACN 107463324A
Authority
CN
China
Prior art keywords
card
picture
slide
picture control
determined
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
CN201710494510.2A
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.)
Nubia Technology Co Ltd
Original Assignee
Nubia 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 Nubia Technology Co LtdfiledCriticalNubia Technology Co Ltd
Priority to CN201710494510.2ApriorityCriticalpatent/CN107463324A/en
Publication of CN107463324ApublicationCriticalpatent/CN107463324A/en
Pendinglegal-statusCriticalCurrent

Links

Classifications

Landscapes

Abstract

A kind of image display method, mobile terminal and computer-readable recording medium, the image display method include:When detecting slide in current page, slide information is obtained;It is determined that the next card for needing to show corresponding with slide information;Second number of the picture that the card before obtaining the first number of the picture that the next card determined is included and obtaining slide is included;According to the first number and the second number of acquisition, it is determined that being the picture control corresponding to the card before increasing picture control or multiplexing slide newly.The embodiment of the present invention reduces the establishment amount of user's picture control when sliding the page, so as to enhance the fluency of page presentation, improves Consumer's Experience.

Description

A kind of image display method, mobile terminal and computer-readable recording medium
Technical field
The present embodiments relate to but be not limited to intelligent terminal technology, espespecially a kind of image display method, mobile terminal andComputer-readable recording medium.
Background technology
With the development of Internet technology and social network, substantial amounts of picture issue is had daily on the net, and it is clearThe mode of these pictures of looking at also shows multifarious feature.In order to lift picture, the convenience of video tour and Consumer's Experience,At present, (card form waterfall stream herein refers to overall page with card form to the display mode of generally use card form waterfall streamMode shown that the picture in each card is shown in a manner of waterfall stream) show these pictures, video.
But when user is browsing these pictures, if showing new card every time, system can be all re-created with being somebody's turn to do(picture control created by these adjusts the card and wrapped the equal number of picture control of number for the picture that card is includedDisplay location of the picture contained in the waterfall stream of the card simultaneously shows these pictures), it so may result in the page and cunning occurThe problems such as dynamic not smooth, sliding block bounce, interim card, Consumer's Experience is poor.
The content of the invention
It is the general introduction of the theme to being described in detail herein below.It is to limit the protection model of claim that this general introduction, which is not,Enclose.
, can the embodiments of the invention provide a kind of image display method, mobile terminal and computer-readable recording mediumThe establishment amount of user's picture control when sliding the page is reduced, so as to strengthen the fluency of page presentation, lifts Consumer's Experience.
In order to reach the application purpose, the embodiments of the invention provide a kind of image display method, including:
When detecting slide in current page, slide information is obtained;
It is determined that the next card for needing to show corresponding with slide information;
Card before the first number and acquisition slide of the picture that next card that acquisition is determined is includedComprising picture the second number;
According to the first number and the second number of acquisition, it is determined that before being newly-increased picture control or multiplexing slidePicture control corresponding to card.
Alternatively, before the acquisition slide information, this method also includes:
Obtain the picture that the current page needs each card for showing and each card to be included;
It is determined that display location of the picture that each card is included in the waterfall stream of the card;
Second number for the picture that card before determining the slide is included simultaneously creates second numberMesh picture control;
The picture that card before adjusting slide by the second number picture control created is includedDisplay location and display in the waterfall stream of the card.
Alternatively, first number and the second number according to acquisition, it is determined that being that newly-increased picture control or multiplexing are slidedThe picture control corresponding to card before dynamic operation includes:
When first number is more than second number, calculate between first number and second numberDifference;It is multiplexed the second number picture control created, and the newly-built difference picture control;
When first number is less than or equal to second number, the second number picture created is multiplexedThe first number picture control in control.
Alternatively, when first number is less than or equal to second number, this method also includes:
Hide in the second number picture control created except the first number picture control being multiplexedOutside picture control.
Alternatively, before the determination next card for needing to show corresponding with slide information, this method is alsoIncluding:Corresponding relation between the different cards that setting slide information and the same page are included;
The slide information includes:Glide direction and sliding distance.
On the other hand, the embodiment of the present invention additionally provides a mobile terminal, including:Memory, processor and communication bus;
Communication bus is used to realize the connection communication between processor and memory;
Processor is used to perform the picture display program stored in memory, to realize following steps:
When detecting slide in current page, slide information is obtained;
It is determined that the next card for needing to show corresponding with slide information;
Card before the first number and acquisition slide of the picture that next card that acquisition is determined is includedComprising picture the second number;
According to the first number and the second number of acquisition, it is determined that before being newly-increased picture control or multiplexing slidePicture control corresponding to card.
Alternatively, before the acquisition slide information, the processor is additionally operable to perform the picture display journeySequence, to realize following steps:
Obtain the picture that the current page needs each card for showing and each card to be included;
It is determined that display location of the picture that each card is included in the waterfall stream of the card;
Second number for the picture that card before determining the slide is included simultaneously creates second numberMesh picture control;
The picture that card before adjusting slide by the second number picture control created is includedDisplay location and display in the waterfall stream of the card.
Alternatively, the first number and the second number according to acquisition are used in the processor, it is determined that being newly-increased picture controlPart be still multiplexed slide before card corresponding to picture control include:
When first number is more than second number, calculate between first number and second numberDifference;It is multiplexed the second number picture control created, and the newly-built difference picture control;
When first number is less than or equal to second number, the second number picture created is multiplexedThe first number picture control in control.
Alternatively, when first number is less than or equal to second number, the processor is additionally operable to perform instituteState picture and show program, to realize following steps:
Hide in the second number picture control created except the first number picture control being multiplexedOutside picture control.
The embodiment of the present invention additionally provides a kind of computer-readable recording medium, is deposited on the computer-readable recording mediumContain one or more pictures and show program, one or more of pictures show that program can be held by one or more processorsOK, to realize the image display method described in any of the above-described the step of.
Compared with correlation technique, technical scheme includes:When detecting slide in current page, obtain and slideDynamic operation information;It is determined that the next card for needing to show corresponding with slide information;Obtain the next card institute determinedComprising the second number of picture for being included of the first number of picture and the card before obtaining slide;According to acquisitionThe first number and the second number, it is determined that be newly-increased picture control or the card that is multiplexed before slide corresponding to pictureControl.The embodiment of the present invention reduces the establishment amount of user's picture control when sliding the page, so as to enhance page presentationFluency, improve Consumer's Experience.
After reading and understanding accompanying drawing and being described in detail, it can be appreciated that other aspects.
Brief description of the drawings
Accompanying drawing described herein is used for providing a further understanding of the present invention, forms the part of the application, this hairBright schematic description and description is used to explain the present invention, does not form inappropriate limitation of the present invention.In the accompanying drawings:
Fig. 1 is the hardware architecture diagram for realizing each one optional mobile terminal of embodiment of the present invention;
Fig. 2 is a kind of communications network system Organization Chart provided in an embodiment of the present invention;
Fig. 3 is the flow chart of image display method of the embodiment of the present invention;
Fig. 4 (a) is the schematic diagram one of slide of the embodiment of the present invention;
Fig. 4 (b) is the schematic diagram two of slide of the embodiment of the present invention;
Fig. 5 is the interaction schematic diagram that the embodiment of the present invention sets corresponding relation;
Fig. 6 is the flow chart of another embodiment of the present invention image display method.
Embodiment
For the object, technical solutions and advantages of the present invention are more clearly understood, below in conjunction with accompanying drawing to the present inventionEmbodiment be described in detail.It should be noted that in the case where not conflicting, in the embodiment and embodiment in the applicationFeature can mutually be combined.
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
In follow-up description, the suffix using such as " module ", " part " or " unit " for representing element is onlyBe advantageous to the explanation of the present invention, itself there is no a specific meaning.Therefore, " module ", " part " or " unit " can mixGround uses.
Terminal can be implemented in a variety of manners.For example, the terminal described in the present invention can include such as mobile phone, flat boardComputer, notebook computer, palm PC, personal digital assistant (Personal Digital Assistant, PDA), portableMedia player (Portable Media Player, PMP), guider, wearable device, Intelligent bracelet, pedometer etc. moveDynamic terminal, and the fixed terminal such as digital TV, desktop computer.
It will be illustrated in subsequent descriptions by taking mobile terminal as an example, it will be appreciated by those skilled in the art that except specialOutside element for moving purpose, construction according to the embodiment of the present invention can also apply to the terminal of fixed type.
Referring to Fig. 1, its hardware architecture diagram for a kind of mobile terminal of each embodiment of the realization present invention, the shiftingDynamic terminal 100 can include:RF (Radio Frequency, radio frequency) unit 101, WiFi module 102, audio output unit103rd, A/V (audio/video) input block 104, sensor 105, display unit 106, user input unit 107, interface unit108th, the part such as memory 109, processor 110 and power supply 111.It will be understood by those skilled in the art that shown in Fig. 1Mobile terminal structure does not form the restriction to mobile terminal, and mobile terminal can be included than illustrating more or less parts,Either combine some parts or different parts arrangement.
The all parts of mobile terminal are specifically introduced with reference to Fig. 1:
Radio frequency unit 101 can be used for receiving and sending messages or communication process in, the reception and transmission of signal, specifically, by base stationDownlink information receive after, handled to processor 110;In addition, up data are sent to base station.Generally, radio frequency unit 101Including but not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier, duplexer etc..In addition, penetrateFrequency unit 101 can also be communicated by radio communication with network and other equipment.Above-mentioned radio communication can use any communicationStandard or agreement, including but not limited to GSM (Global System of Mobile communication, global system for mobile telecommunicationsSystem), GPRS (General Packet Radio Service, general packet radio service), CDMA2000 (CodeDivision Multiple Access 2000, CDMA 2000), WCDMA (Wideband Code DivisionMultiple Access, WCDMA), TD-SCDMA (Time Division-Synchronous CodeDivision Multiple Access, TD SDMA), FDD-LTE (Frequency DivisionDuplexing-Long Term Evolution, FDD Long Term Evolution) and TDD-LTE (Time DivisionDuplexing-Long Term Evolution, time division duplex Long Term Evolution) etc..
WiFi belongs to short range wireless transmission technology, and mobile terminal can help user to receive and dispatch electricity by WiFi module 102Sub- mail, browse webpage and access streaming video etc., it has provided the user wireless broadband internet and accessed.Although Fig. 1 showsGo out WiFi module 102, but it is understood that, it is simultaneously not belonging to must be configured into for mobile terminal, completely can be according to needTo be omitted in the essential scope for do not change invention.
Audio output unit 103 can be in call signal reception pattern, call mode, record mould in mobile terminal 100When under the isotypes such as formula, speech recognition mode, broadcast reception mode, by radio frequency unit 101 or WiFi module 102 it is receiving orIt is sound that the voice data stored in memory 109, which is converted into audio signal and exported,.Moreover, audio output unit 103The audio output related to the specific function that mobile terminal 100 performs can also be provided (for example, call signal receives sound, disappearedBreath receives sound etc.).Audio output unit 103 can include loudspeaker, buzzer etc..
A/V input blocks 104 are used to receive audio or video signal.A/V input blocks 104 can include graphics processor(Graphics Processing Unit, GPU) 1041 and microphone 1042, graphics processor 1041 is in video acquisition modeOr the static images or the view data of video obtained in image capture mode by image capture apparatus (such as camera) are carried outReason.Picture frame after processing may be displayed on display unit 106.Picture frame after the processing of graphics processor 1041 can be depositedStorage is transmitted in memory 109 (or other storage mediums) or via radio frequency unit 101 or WiFi module 102.MikeWind 1042 can connect in telephone calling model, logging mode, speech recognition mode etc. operational mode via microphone 1042Quiet down sound (voice data), and can be voice data by such acoustic processing.Audio (voice) data after processing canTo be converted to the form output that mobile communication base station can be sent to via radio frequency unit 101 in the case of telephone calling model.Microphone 1042 can implement various types of noises and eliminate (or suppression) algorithm to eliminate (or suppression) in reception and send soundCaused noise or interference during frequency signal.
Mobile terminal 100 also includes at least one sensor 105, such as optical sensor, motion sensor and other biographiesSensor.Specifically, optical sensor includes ambient light sensor and proximity transducer, wherein, ambient light sensor can be according to environmentThe light and shade of light adjusts the brightness of display panel 1061, and proximity transducer can close when mobile terminal 100 is moved in one's earDisplay panel 1061 and/or backlight.As one kind of motion sensor, accelerometer sensor can detect in all directions (generalFor three axles) size of acceleration, size and the direction of gravity are can detect that when static, the application available for identification mobile phone posture(such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, percussion) etc.;The fingerprint sensor that can also configure as mobile phone, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer,The other sensors such as hygrometer, thermometer, infrared ray sensor, will not be repeated here.
Display unit 106 is used for the information for showing the information inputted by user or being supplied to user.Display unit 106 can wrapDisplay panel 1061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be usedForms such as (Organic Light-Emitting Diode, OLED) configures display panel 1061.
User input unit 107 can be used for the numeral or character information for receiving input, and produce the use with mobile terminalThe key signals input that family is set and function control is relevant.Specifically, user input unit 107 may include contact panel 1071 withAnd other input equipments 1072.Contact panel 1071, also referred to as touch-screen, collect touch operation of the user on or near it(for example user uses any suitable objects or annex such as finger, stylus on contact panel 1071 or in contact panel 1071Neighbouring operation), and corresponding attachment means are driven according to formula set in advance.Contact panel 1071 may include touch detectionTwo parts of device and touch controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect touch operation bandThe signal come, transmits a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and by itContact coordinate is converted into, then gives processor 110, and the order sent of reception processing device 110 and can be performed.In addition, canTo realize contact panel 1071 using polytypes such as resistance-type, condenser type, infrared ray and surface acoustic waves.Except contact panel1071, user input unit 107 can also include other input equipments 1072.Specifically, other input equipments 1072 can wrapInclude but be not limited to physical keyboard, in function key (such as volume control button, switch key etc.), trace ball, mouse, action bars etc.One or more, do not limit herein specifically.
Further, contact panel 1071 can cover display panel 1061, detect thereon when contact panel 1071 orAfter neighbouring touch operation, processor 110 is sent to determine the type of touch event, is followed by subsequent processing device 110 according to touch thingThe type of part provides corresponding visual output on display panel 1061.Although in Fig. 1, contact panel 1071 and display panel1061 be the part independent as two to realize the input of mobile terminal and output function, but in certain embodiments, canInput and the output function of mobile terminal are realized so that contact panel 1071 and display panel 1061 is integrated, is not done herein specificallyLimit.
Interface unit 108 is connected the interface that can pass through as at least one external device (ED) with mobile terminal 100.For example,External device (ED) can include wired or wireless head-band earphone port, external power source (or battery charger) port, wired or nothingLine FPDP, memory card port, the port for connecting the device with identification module, audio input/output (I/O) endMouth, video i/o port, ear port etc..Interface unit 108 can be used for receiving the input from external device (ED) (for example, numberIt is believed that breath, electric power etc.) and the input received is transferred to one or more elements in mobile terminal 100 or can be withFor transmitting data between mobile terminal 100 and external device (ED).
Memory 109 can be used for storage software program and various data.Memory 109 can mainly include storing program areaAnd storage data field, wherein, storing program area can storage program area, application program (such as the sound needed at least one functionSound playing function, image player function etc.) etc.;Storage data field can store according to mobile phone use created data (such asVoice data, phone directory etc.) etc..In addition, memory 109 can include high-speed random access memory, can also include non-easyThe property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 110 is the control centre of mobile terminal, utilizes each of various interfaces and the whole mobile terminal of connectionIndividual part, by running or performing the software program and/or module that are stored in memory 109, and call and be stored in storageData in device 109, the various functions and processing data of mobile terminal are performed, so as to carry out integral monitoring to mobile terminal.PlaceReason device 110 may include one or more processing units;Preferably, processor 110 can integrate application processor and modulatedemodulate is mediatedDevice is managed, wherein, application processor mainly handles operating system, user interface and application program etc., and modem processor is mainHandle radio communication.It is understood that above-mentioned modem processor can not also be integrated into processor 110.
Mobile terminal 100 can also include the power supply 111 (such as battery) to all parts power supply, it is preferred that power supply 111Can be logically contiguous by power-supply management system and processor 110, so as to realize management charging by power-supply management system, putThe function such as electricity and power managed.
Although Fig. 1 is not shown, mobile terminal 100 can also will not be repeated here including bluetooth module etc..
For the ease of understanding the embodiment of the present invention, the communications network system being based on below to the mobile terminal of the present invention entersRow description.
Referring to Fig. 2, Fig. 2 is a kind of communications network system Organization Chart provided in an embodiment of the present invention, the communication network systemUnite as the LTE system of universal mobile communications technology, the UE that the LTE system includes communicating connection successively (User Equipment, is usedFamily equipment) 201, E-UTRAN (Evolved UMTS Terrestrial Radio Access Network, evolved UMTS landsGround wireless access network) 202, EPC (Evolved Packet Core, evolved packet-based core networks) 203 and operator IP operation204。
Specifically, UE201 can be above-mentioned terminal 100, and here is omitted.
E-UTRAN202 includes eNodeB2021 and other eNodeB2022 etc..Wherein, eNodeB2021 can be by returningJourney (backhaul) (such as X2 interface) is connected with other eNodeB2022, and eNodeB2021 is connected to EPC203,ENodeB2021 can provide UE201 to EPC203 access.
EPC203 can include MME (Mobility Management Entity, mobility management entity) 2031, HSS(Home Subscriber Server, home subscriber server) 2032, other MME2033, SGW (Serving Gate Way,Gateway) 2034, PGW (PDN Gate Way, grouped data network gateway) 2035 and PCRF (Policy andCharging Rules Function, policy and rate functional entity) 2036 etc..Wherein, MME2031 be processing UE201 andThe control node of signaling between EPC203, there is provided carrying and connection management.HSS2032 is all to manage for providing some registersSuch as the function of attaching position register (not shown) etc, and preserve some and used about service features, data rate etc.The special information in family.All customer data can be transmitted by SGW2034, and PGW2035 can provide UE 201 IPAddress is distributed and other functions, and PCRF2036 is strategy and the charging control strategic decision-making of business data flow and IP bearing resourcesPoint, it selects and provided available strategy and charging control decision-making with charge execution function unit (not shown) for strategy.
IP operation 204 can include internet, Intranet, IMS (IP Multimedia Subsystem, IP multimediaSystem) or other IP operations etc..
Although above-mentioned be described by taking LTE system as an example, those skilled in the art it is to be understood that the present invention not onlySuitable for LTE system, be readily applicable to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA withAnd following new network system etc., do not limit herein.
Based on above-mentioned mobile terminal hardware configuration and communications network system, each embodiment of the inventive method is proposed.
Fig. 3 is the flow chart of image display method of the embodiment of the present invention, as shown in figure 3, including:
Step 301:When detecting slide in current page, slide information is obtained.
Wherein, shown in the schematic diagram of slide such as Fig. 4 (a) and Fig. 4 (b), wherein, be in Fig. 4 (a) user the right hand(including slip from top to bottom or slip from the bottom to top) of the current page of thumb sliding mobile terminal, it is in Fig. 4 (b)(including slip from top to bottom or slip from the bottom to top) of the current page of the forefinger sliding mobile terminal of the right hand of user,Repeated no more with the schematic diagram that the other fingers of user slide.
Alternatively, before slide information is obtained, present invention method also includes:
Acquisition current page needs the picture that each card shown and each card are included;
It is determined that display location of the picture that each card is included in the waterfall stream of the card;
Second number of the picture that the card before determining slide is included simultaneously creates the second number picture control;
The picture that card before adjusting slide by the second number picture control created is included is at thisDisplay location and display in the waterfall stream of card.
Step 302:It is determined that the next card for needing to show corresponding with slide information.
Alternatively, before step 302, present invention method also includes:
Corresponding relation between the different cards that setting slide information and the same page are included;
Slide information includes:Glide direction and sliding distance.
Wherein, above-mentioned corresponding relation can be stored in database, can also be stored in table form.Wherein,The different cards that the same page of the embodiment of the present invention is included can be the card order that the same page is included, such as each pageFace all includes 5 cards, and the first card, the second card, the 3rd card, the 4th are followed successively by according to sequencing in the same pageCard and the 5th card.
In addition, the system that above-mentioned corresponding relation can be mobile terminal is set, can also be by user according to the need of itselfAsk and be configured, as shown in figure 5, setting the interaction schematic diagram of corresponding relation for the embodiment of the present invention.For example, when sliding distance isThe preset length and glide direction of one unit be when sliding from top to bottom, and card now is then adjacent downward of current cardFirst card, when sliding distance is the preset length of a unit and glide direction is to slide from bottom to top, card nowIt is then adjacent upward first card of current card;When sliding distance is the preset length of two units and glide direction is by upperDuring slide downward, card now is then next card (i.e. downward second card) of next card adjacent with current card,When sliding distance is the preset length of two units and glide direction is to slide from bottom to top, card now is then with working asA upper card (upward first card) for the adjacent upper card of preceding card;The rest may be inferred, no longer repeats one by one.
Wherein, the embodiment of the present invention determines that the next card for needing to show corresponding with slide information includes:
Card corresponding with slide information is being searched in above-mentioned corresponding relation;
Using the card found as the next card for needing to show corresponding with slide information.
Step 303:Obtain the first number of the picture that next card for determining is included and obtain slide itSecond number of the picture that preceding card is included.
Step 304:According to the first number and the second number of acquisition, it is determined that being that behaviour is slided in newly-increased picture control or multiplexingThe picture control corresponding to card before work.
Wherein, the embodiment of the present invention is according to the first number and the second number of acquisition, it is determined that be newly-increased picture control orThe picture control corresponding to card before multiplexing slide includes:
When the first number is more than the second number, the difference between the first number and the second number is calculated;Multiplexing has createdThe second number picture control, and newly-built difference picture control;
When the first number is less than or equal to the second number, first in the second number picture control that multiplexing has createdNumber picture control.
If for example, the card before slide includes 5 pictures, then correspond to and create 5 picture controls, byDisplay location and display of 5 picture controls, 5 pictures of corresponding adjustment in the waterfall stream of the card before the slide;After slide, if next card includes 9 pictures, then the card is (i.e. corresponding with slide information to needNext card of display) 5 original picture controls of (multiplexing) are continuing with, and newly create 4 picture controls, i.e., by altogether 9Individual picture control is corresponding adjust 9 pictures for needing the next card shown to be included corresponding with slide information this withThe display location in the waterfall stream of next card that shows and display are needed corresponding to slide information;If slideCard before includes 5 pictures, then corresponds to and create 5 picture controls, is existed by 5 picture controls, 5 pictures of corresponding adjustmentDisplay location and display in the waterfall stream of card before the slide;After slide, if next card includes 3During pictures, then the card (the next card for needing to show i.e. corresponding with slide information) is continuing with (multiplexing) originalAny 3 first 3 either rear corresponding adjustment of three picture controls in 5 picture controls come are believed with slideNeeded corresponding to breath 3 pictures that the next card shown is included this it is corresponding with slide information need to show underDisplay location and display in the waterfall stream of one card.
It should be noted that how to be multiplexed the picture control created belongs to usual skill well-known to those skilled in the artArt means, are no longer repeated one by one herein, are not intended to limit the application.
It should be noted that the picture control corresponding to card before slide of the embodiment of the present invention is grasped slidingPicture control corresponding to the picture that the card for making to show before is included.
Alternatively, when the first number is less than or equal to the second number, this method also includes:
Hide the figure in addition to the first number picture control being multiplexed in the second number picture control createdPiece control.
In the application embodiment, the first number of the picture included by obtaining next card for determining and obtainThe second number of the picture that the card before slide included, and the first number and the second number according to acquisition are taken,It is determined that being the picture control corresponding to the card before increasing picture control or multiplexing slide newly, reduce user and slidingThe establishment amount of picture control, so as to enhance the fluency of page presentation, improves Consumer's Experience during the page.
Fig. 6 is the flow chart of another embodiment of the present invention image display method, as shown in fig. 6, including:
Step 601:Acquisition current page needs the picture that each card shown and each card are included.
Step 602:It is determined that display location of the picture that each card is included in the waterfall stream of the card.
Step 603:Determine the second number of the picture that the current card of current page is included and create the second numberPicture control.
Step 604:Included by the current card of the second number picture control adjustment current page createdDisplay location and display of the picture in the waterfall stream of the card.
Step 605:Corresponding relation between the different cards that setting slide information and the same page are included.
Wherein, slide of embodiment of the present invention information includes:Glide direction and sliding distance.
Wherein, above-mentioned corresponding relation can be stored in database, can also be stored in table form.Wherein,The different cards that the same page of the embodiment of the present invention is included can be the card order that the same page is included, such as each pageFace all includes 5 cards, and the first card, the second card, the 3rd card, the 4th are followed successively by according to sequencing in the same pageCard and the 5th card.
In addition, the system that above-mentioned corresponding relation can be mobile terminal is set, can also be by user according to the need of itselfAsk and be configured, as shown in figure 5, setting the interaction schematic diagram of corresponding relation for the embodiment of the present invention.For example, when sliding distance isThe preset length and glide direction of one unit be when sliding from top to bottom, and card now is then adjacent downward of current cardFirst card, when sliding distance is the preset length of a unit and glide direction is to slide from bottom to top, card nowIt is then adjacent upward first card of current card;When sliding distance is the preset length of two units and glide direction is by upperDuring slide downward, card now is then next card (i.e. downward second card) of next card adjacent with current card,When sliding distance is the preset length of two units and glide direction is to slide from bottom to top, card now is then with working asA upper card (upward first card) for the adjacent upper card of preceding card;The rest may be inferred, no longer repeats one by one.
Step 606:Slide is detected in current page.When detecting slide in current page, step is transferred to607;Otherwise, this flow is terminated.
Wherein, shown in the schematic diagram of slide such as Fig. 4 (a) and Fig. 4 (b), wherein, be in Fig. 4 (a) user the right hand(including slip from top to bottom or slip from the bottom to top) of the current page of thumb sliding mobile terminal, it is in Fig. 4 (b)(including slip from top to bottom or slip from the bottom to top) of the current page of the forefinger sliding mobile terminal of the right hand of user,Repeated no more with the schematic diagram that the other fingers of user slide.
Step 607:Obtain slide information.
It should be noted that step 605 can be performed after step 607 before step 608, or, as long asCan is performed before step 608, is not particularly limited in the application.
Step 608:It is determined that the next card for needing to show corresponding with slide information.
Wherein, step 608 of the embodiment of the present invention includes:
Card corresponding with slide information is being searched in above-mentioned corresponding relation;
Using the card found as the next card for needing to show corresponding with slide information.
Step 609:The download for the picture that the current card that termination obtains current page is included.
Step 610:Obtain the first number of the picture that the next card determined is included.
Step 611:Compare the size of the first number and the second number.When the first number is more than the second number, step is transferred toRapid 612;When the first number is less than or equal to the second number, step 613 is transferred to.
Step 612:Calculate the difference between the first number and the second number;It is multiplexed the second number picture control createdPart, and newly-built difference picture control.
If for example, current card (card before slide) includes 5 pictures, then correspond to and create 5 figuresPiece control, by display location and display of 5 picture controls, 5 pictures of corresponding adjustment in the waterfall stream of current card;After slide, if next card includes 9 pictures, then the card is (i.e. corresponding with slide information to need to showThe next card shown) 5 original picture controls of (multiplexing) are continuing with, and newly create 4 picture controls, i.e., by 9 altogetherPicture control is corresponding to adjust 9 pictures for needing the next card shown to be included corresponding with slide information in this and cunningMove the display location in the waterfall stream for the next card for needing to show corresponding to operation information and display.
It should be noted that how to be multiplexed the picture control created belongs to usual skill well-known to those skilled in the artArt means, are no longer repeated one by one herein, are not intended to limit the application.
Step 613:The first number picture control being multiplexed in the second number picture control created.
If for example, current card (card before slide) includes 5 pictures, then correspond to and create 5 figuresPiece control, by display location and display of 5 picture controls, 5 pictures of corresponding adjustment in the waterfall stream of current card;After slide, if next card includes 3 pictures, then the card is (i.e. corresponding with slide information to need to showThe next card shown) it is continuing with any 3 first 3 either rear three in 5 original picture controls of (multiplexing)Individual picture control is corresponding adjust 3 pictures for needing the next card shown to be included corresponding with slide information this withThe display location in the waterfall stream of next card that shows and display are needed corresponding to slide information.
Alternatively, when the first number is less than or equal to the second number, this method also includes:
Hide the figure in addition to the first number picture control being multiplexed in the second number picture control createdPiece control.
The embodiment of the present invention additionally provides a kind of mobile terminal, including:Memory, processor and communication bus;
Communication bus is used to realize the connection communication between processor and memory;
Processor is used to perform the picture display program stored in memory, to realize following steps:
When detecting slide in current page, slide information is obtained;
It is determined that the next card for needing to show corresponding with slide information;
Card before the first number and acquisition slide of the picture that next card that acquisition is determined is includedComprising picture the second number;
According to the first number and the second number of acquisition, it is determined that before being newly-increased picture control or multiplexing slidePicture control corresponding to card.
Wherein, shown in the schematic diagram of slide of the embodiment of the present invention such as Fig. 4 (a) and Fig. 4 (b), wherein, it is in Fig. 4 (a)The current page of the thumb sliding mobile terminal of the right hand of user (including slip from top to bottom or cunning from the bottom to topIt is dynamic), be in Fig. 4 (b) the forefinger sliding mobile terminal of the right hand of user current page (including slip from top to bottom or byUnder supreme slip), repeated no more with the schematic diagram that the other fingers of user slide.
Alternatively, it is determined that before the next card for needing to show corresponding with slide information, the embodiment of the present inventionProcessor is additionally operable to perform picture display program, to realize following steps:
Corresponding relation between the different cards that setting slide information and the same page are included;
Slide information includes:Glide direction and sliding distance.
Wherein, above-mentioned corresponding relation can be stored in database, can also be stored in table form.Wherein,The different cards that the same page of the embodiment of the present invention is included can be the card order that the same page is included, such as each pageFace all includes 5 cards, and the first card, the second card, the 3rd card, the 4th are followed successively by according to sequencing in the same pageCard and the 5th card.
In addition, the system that above-mentioned corresponding relation can be mobile terminal is set, can also be by user according to the need of itselfAsk and be configured, as shown in figure 5, setting the interaction schematic diagram of corresponding relation for the embodiment of the present invention.For example, when sliding distance isThe preset length and glide direction of one unit be when sliding from top to bottom, and card now is then adjacent downward of current cardFirst card, when sliding distance is the preset length of a unit and glide direction is to slide from bottom to top, card nowIt is then adjacent upward first card of current card;When sliding distance is the preset length of two units and glide direction is by upperDuring slide downward, card now is then next card (i.e. downward second card) of next card adjacent with current card,When sliding distance is the preset length of two units and glide direction is to slide from bottom to top, card now is then with working asA upper card (upward first card) for the adjacent upper card of preceding card;The rest may be inferred, no longer repeats one by one.
Wherein, processor of the embodiment of the present invention is used to determine the next card for needing to show corresponding with slide informationIncluding:
Card corresponding with slide information is being searched in above-mentioned corresponding relation;
Using the card found as the next card for needing to show corresponding with slide information.
Alternatively, before slide information is obtained, processor of the embodiment of the present invention is additionally operable to perform picture display journeySequence, to realize following steps:
Acquisition current page needs the picture that each card shown and each card are included;
It is determined that display location of the picture that each card is included in the waterfall stream of the card;
Second number of the picture that the card before determining slide is included simultaneously creates the second number picture control;
The picture that card before adjusting slide by the second number picture control created is included is at thisDisplay location and display in the waterfall stream of card.
Wherein, the first number and the second number according to acquisition are used in processor of the embodiment of the present invention, it is determined that being newly-increasedPicture control be still multiplexed slide before card corresponding to picture control include:
When the first number is more than the second number, the difference between the first number and the second number is calculated;Multiplexing has createdThe second number picture control, and newly-built difference picture control;
When the first number is less than or equal to the second number, first in the second number picture control that multiplexing has createdNumber picture control.
If for example, the card before slide includes 5 pictures, then correspond to and create 5 picture controls, byDisplay location and display of 5 picture controls, 5 pictures of corresponding adjustment in the waterfall stream of the card before the slide;After slide, if next card includes 9 pictures, then the card is (i.e. corresponding with slide information to needNext card of display) 5 original picture controls of (multiplexing) are continuing with, and newly create 4 picture controls, i.e., by altogether 9Individual picture control is corresponding adjust 9 pictures for needing the next card shown to be included corresponding with slide information this withThe display location in the waterfall stream of next card that shows and display are needed corresponding to slide information;If slideCard before includes 5 pictures, then corresponds to and create 5 picture controls, is existed by 5 picture controls, 5 pictures of corresponding adjustmentDisplay location and display in the waterfall stream of card before the slide;After slide, if next card includes 3During pictures, then the card (the next card for needing to show i.e. corresponding with slide information) is continuing with (multiplexing) originalAny 3 first 3 either rear corresponding adjustment of three picture controls in 5 picture controls come are believed with slideNeeded corresponding to breath 3 pictures that the next card shown is included this it is corresponding with slide information need to show underDisplay location and display in the waterfall stream of one card.
Alternatively, when the first number is less than or equal to the second number, processor of the embodiment of the present invention is additionally operable to execution figurePiece shows program, to realize following steps:
Hide the figure in addition to the first number picture control being multiplexed in the second number picture control createdPiece control.
The embodiment of the present invention additionally provides a kind of computer-readable recording medium, wherein, on computer-readable recording mediumIt is stored with one or more pictures and shows program, one or more pictures show that program can be executed by one or more processors,To realize following steps:
Processor is used to perform the picture display program stored in memory, to realize following steps:
When detecting slide in current page, slide information is obtained;
It is determined that the next card for needing to show corresponding with slide information;
Card before the first number and acquisition slide of the picture that next card that acquisition is determined is includedComprising picture the second number;
According to the first number and the second number of acquisition, it is determined that before being newly-increased picture control or multiplexing slidePicture control corresponding to card.
Wherein, shown in the schematic diagram of slide of the embodiment of the present invention such as Fig. 4 (a) and Fig. 4 (b), wherein, it is in Fig. 4 (a)The current page of the thumb sliding mobile terminal of the right hand of user (including slip from top to bottom or cunning from the bottom to topIt is dynamic), be in Fig. 4 (b) the forefinger sliding mobile terminal of the right hand of user current page (including slip from top to bottom or byUnder supreme slip), repeated no more with the schematic diagram that the other fingers of user slide.
Alternatively, before slide information is obtained, said one or multiple pictures show that program can also be above-mentionedOne or more computing device, to realize following steps:
Acquisition current page needs the picture that each card shown and each card are included;
It is determined that display location of the picture that each card is included in the waterfall stream of the card;
Second number of the picture that the card before determining slide is included simultaneously creates the second number picture control;
The picture that card before adjusting slide by the second number picture control created is included is at thisDisplay location and display in the waterfall stream of card.
Wherein, the embodiment of the present invention is according to the first number and the second number of acquisition, it is determined that be newly-increased picture control orThe picture control corresponding to card before multiplexing slide includes:
When the first number is more than the second number, the difference between the first number and the second number is calculated;Multiplexing has createdThe second number picture control, and newly-built difference picture control;
When the first number is less than or equal to the second number, first in the second number picture control that multiplexing has createdNumber picture control.
Alternatively, when the first number is less than or equal to the second number, said one or multiple pictures show program alsoCan be by said one or multiple computing devices, to realize following steps:
Hide the figure in addition to the first number picture control being multiplexed in the second number picture control createdPiece control.
Alternatively, it is determined that before the next card for needing to show corresponding with slide information, said one orMultiple pictures show that programs can also be by said one or multiple computing devices, to realize following steps:
Corresponding relation between the different cards that setting slide information and the same page are included;
Slide information includes:Glide direction and sliding distance.
Wherein, above-mentioned corresponding relation can be stored in database, can also be stored in table form.Wherein,The different cards that the same page of the embodiment of the present invention is included can be the card order that the same page is included, such as each pageFace all includes 5 cards, and the first card, the second card, the 3rd card, the 4th are followed successively by according to sequencing in the same pageCard and the 5th card.
For example, when sliding distance is the preset length of a unit and glide direction is to slide from top to bottom, nowCard is then the adjacent next card of current card, when sliding distance be the preset length of a unit and glide direction be byDuring lower upward sliding, card now is then the connected upper card of current card;When sliding distance is the pre- of two unitsIf length and glide direction are when sliding from top to bottom, card now is then the next of next card adjacent with current cardCard, when sliding distance is the preset length of two units and glide direction is to slide from bottom to top, card now is thenIt is a upper card for a upper card adjacent with current card;The rest may be inferred, no longer repeats one by one.
Wherein, the embodiment of the present invention determines that the next card for needing to show corresponding with slide information includes:
Card corresponding with slide information is being searched in above-mentioned corresponding relation;
Using the card found as the next card for needing to show corresponding with slide information.
It should be noted that herein, term " comprising ", "comprising" or its any other variant are intended to non-rowHis property includes, so that process, method, article or device including a series of elements not only include those key elements, andAnd also include the other element being not expressly set out, or also include for this process, method, article or device institute inherentlyKey element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that including thisOther identical element also be present in the process of key element, method, article or device.
The embodiments of the present invention are for illustration only, do not represent the quality of embodiment.
One of ordinary skill in the art will appreciate that all or part of step in the above method can be instructed by programRelated hardware (such as processor) is completed, and described program can be stored in computer-readable recording medium, as read-only storage,Disk or CD etc..Alternatively, all or part of step of above-described embodiment can also be come using one or more integrated circuitsRealize.Correspondingly, each module/unit in above-described embodiment can be realized in the form of hardware, such as pass through integrated electricityIts corresponding function is realized on road, can also be realized in the form of software function module, such as be stored in by computing deviceProgram/instruction in memory realizes its corresponding function.The present invention is not restricted to the hardware and software of any particular formWith reference to.
Although disclosed herein embodiment as above, described content be only readily appreciate the present invention and useEmbodiment, it is not limited to the present invention.Technical staff in any art of the present invention, taken off not departing from the present inventionOn the premise of the spirit and scope of dew, any modification and change, but the present invention can be carried out in the form and details of implementationScope of patent protection, still should be subject to the scope of the claims as defined in the appended claims.

Claims (10)

CN201710494510.2A2017-06-262017-06-26A kind of image display method, mobile terminal and computer-readable recording mediumPendingCN107463324A (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201710494510.2ACN107463324A (en)2017-06-262017-06-26A kind of image display method, mobile terminal and computer-readable recording medium

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201710494510.2ACN107463324A (en)2017-06-262017-06-26A kind of image display method, mobile terminal and computer-readable recording medium

Publications (1)

Publication NumberPublication Date
CN107463324Atrue CN107463324A (en)2017-12-12

Family

ID=60543843

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201710494510.2APendingCN107463324A (en)2017-06-262017-06-26A kind of image display method, mobile terminal and computer-readable recording medium

Country Status (1)

CountryLink
CN (1)CN107463324A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN110134486A (en)*2019-05-232019-08-16吉林亿联银行股份有限公司A kind of asynchronous method and device to Load Image of ListView
CN110147283A (en)*2019-05-212019-08-20北京字节跳动网络技术有限公司A kind of display content switching display methods, device, equipment and medium
CN110598026A (en)*2019-08-192019-12-20北京创鑫旅程网络技术有限公司Display method and device of picture list and terminal equipment
CN111054068A (en)*2019-12-252020-04-24北京金山猎豹科技有限公司 A virtual object loading method, device and electronic device
CN111368240A (en)*2019-09-192020-07-03杭州海康威视系统技术有限公司Page display method, device and equipment and storage medium
CN114025218A (en)*2021-09-142022-02-08百果园技术(新加坡)有限公司Card type video interaction method, device, equipment and storage medium
CN116992060A (en)*2023-08-142023-11-03北京有竹居网络技术有限公司Method, apparatus, device and readable storage medium for presenting media items

Citations (5)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US20110061019A1 (en)*2009-09-102011-03-10Motorola, Inc.Portable Electronic Device for Providing a Visual Representation of a Widget
CN104267934A (en)*2014-09-102015-01-07北京金山安全软件有限公司Information display method and device and mobile terminal
CN106502674A (en)*2016-10-212017-03-15武汉斗鱼网络科技有限公司Grid display packing and device in a kind of List View
CN106648356A (en)*2016-11-162017-05-10西安诺瓦电子科技有限公司Trotting horse lamp effect achieving device and method based on Android platform
CN106775634A (en)*2016-11-162017-05-31Tcl集团股份有限公司One kind displaying block display method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US20110061019A1 (en)*2009-09-102011-03-10Motorola, Inc.Portable Electronic Device for Providing a Visual Representation of a Widget
CN104267934A (en)*2014-09-102015-01-07北京金山安全软件有限公司Information display method and device and mobile terminal
CN106502674A (en)*2016-10-212017-03-15武汉斗鱼网络科技有限公司Grid display packing and device in a kind of List View
CN106648356A (en)*2016-11-162017-05-10西安诺瓦电子科技有限公司Trotting horse lamp effect achieving device and method based on Android platform
CN106775634A (en)*2016-11-162017-05-31Tcl集团股份有限公司One kind displaying block display method and device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
韩迪,李建庆: "《Android实例详解基础进阶开发》", 31 May 2015*

Cited By (10)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN110147283A (en)*2019-05-212019-08-20北京字节跳动网络技术有限公司A kind of display content switching display methods, device, equipment and medium
CN110134486A (en)*2019-05-232019-08-16吉林亿联银行股份有限公司A kind of asynchronous method and device to Load Image of ListView
CN110598026A (en)*2019-08-192019-12-20北京创鑫旅程网络技术有限公司Display method and device of picture list and terminal equipment
CN110598026B (en)*2019-08-192022-04-15北京创鑫旅程网络技术有限公司Display method and device of picture list and terminal equipment
CN111368240A (en)*2019-09-192020-07-03杭州海康威视系统技术有限公司Page display method, device and equipment and storage medium
CN111368240B (en)*2019-09-192024-03-22杭州海康威视系统技术有限公司Page display method, device and equipment and storage medium
CN111054068A (en)*2019-12-252020-04-24北京金山猎豹科技有限公司 A virtual object loading method, device and electronic device
CN114025218A (en)*2021-09-142022-02-08百果园技术(新加坡)有限公司Card type video interaction method, device, equipment and storage medium
CN114025218B (en)*2021-09-142024-04-02百果园技术(新加坡)有限公司Card type video interaction method, device, equipment and storage medium
CN116992060A (en)*2023-08-142023-11-03北京有竹居网络技术有限公司Method, apparatus, device and readable storage medium for presenting media items

Similar Documents

PublicationPublication DateTitle
CN107277216A (en)A kind of volume adjusting method, terminal and computer-readable recording medium
CN107613110A (en)Method, terminal and the computer-readable recording medium that adjustment terminal interface is shown
CN107463324A (en)A kind of image display method, mobile terminal and computer-readable recording medium
CN107729298A (en)Screen occlusion area processing method, mobile terminal and computer-readable recording medium
CN107463481A (en)Data interactive method, mobile terminal and storage medium
CN107682627A (en)A kind of acquisition parameters method to set up, mobile terminal and computer-readable recording medium
CN107679156A (en)A kind of video image identification method and terminal, readable storage medium storing program for executing
CN107181700A (en)Control method, mobile terminal and the storage medium of application program for mobile terminal
CN107844231A (en)A kind of interface display method, mobile terminal and computer-readable recording medium
CN107273035A (en)Application program recommends method and mobile terminal
CN107566605A (en)A kind of interactive interface processing method, equipment and computer-readable recording medium
CN107885438A (en)A kind of mobile terminal device and its control method, computer-readable recording medium
CN107463326A (en)A kind of recognition methods of mobile terminal touch control gesture, mobile terminal and storage medium
CN107657583A (en)A kind of screenshot method, terminal and computer-readable recording medium
CN107506039A (en)Mobile terminal, data transmission method and computer-readable storage medium
CN107229410A (en)Interactive operation method, mobile terminal and computer-readable recording medium
CN107844230A (en)A kind of advertisement page method of adjustment, mobile terminal and computer-readable recording medium
CN107688429A (en)Management method, mobile terminal and the computer-readable recording medium of application controls
CN107728921A (en)Interface content intelligent display method, mobile terminal and computer-readable recording medium
CN107566608A (en)A kind of system air navigation aid, equipment and computer-readable recording medium
CN107360311A (en)A kind of interface control method, mobile terminal and computer-readable recording medium
CN107729104A (en)A kind of display methods, mobile terminal and computer-readable storage medium
CN107239218A (en)Control method, mobile terminal and the computer-readable recording medium of mobile terminal
CN107423065A (en)Method, mobile terminal and the computer-readable recording medium that a kind of application is attended to anything else
CN107748680A (en)A kind of kernel setup method, terminal and computer-readable recording medium

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
RJ01Rejection of invention patent application after publication

Application publication date:20171212

RJ01Rejection of invention patent application after publication

[8]ページ先頭

©2009-2025 Movatter.jp