CN110262732A - A kind of picture moving method and device - Google Patents

A kind of picture moving method and device Download PDF

Info

Publication number
CN110262732A
CN110262732A CN201910465856.9A CN201910465856A CN110262732A CN 110262732 A CN110262732 A CN 110262732A CN 201910465856 A CN201910465856 A CN 201910465856A CN 110262732 A CN110262732 A CN 110262732A
Authority
CN
China
Prior art keywords
picture
mobile
trigger action
moving
scale bar
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
CN201910465856.9A
Other languages
Chinese (zh)
Other versions
CN110262732B (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.)
Advanced New Technologies Co Ltd
Advantageous New Technologies Co Ltd
Original Assignee
Alibaba Group Holding 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 Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201910465856.9A priority Critical patent/CN110262732B/en
Publication of CN110262732A publication Critical patent/CN110262732A/en
Application granted granted Critical
Publication of CN110262732B publication Critical patent/CN110262732B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04845Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range for image manipulation, e.g. dragging, rotation, expansion or change of colour
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04883Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures for inputting data by handwriting, e.g. gesture or text
    • 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/451Execution arrangements for user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2203/00Indexing scheme relating to G06F3/00 - G06F3/048
    • G06F2203/048Indexing scheme relating to G06F3/048
    • G06F2203/04806Zoom, i.e. interaction techniques or interactors for controlling the zooming operation

Abstract

The present invention provides a kind of picture moving method and devices, wherein, picture moving method includes: when detecting the first trigger action of the picture shown for screen, determine whether first trigger action meets preset mobile condition, if so, by the scale compression of the picture to the first scale bar;According to first trigger action, moving parameter is determined;According to the moving parameter, the mobile picture;The scale bar of the picture is amplified to the second scale bar, wherein the size of the picture is greater than the resolution ratio of the screen.

Description

A kind of picture moving method and device
Technical field
The present invention relates to field of computer technology, in particular to a kind of picture moving method and device.
Background technique
When the more user of the content of picture checks picture in the equipment such as mobile terminal, the end PC, it is often necessary to logical A wide range of mobile picture is crossed, to check more contents of picture.
By taking user is consulted a map by mobile terminal as an example, current screen shows the city A, when user need check away from When the city B farther away from the city A, need first to manually adjust map so that the city B is within the scope of the displaying of screen, then manually Map is adjusted to the scale bar being adapted to look at.
But this method needs user's frequent operation during mobile picture, it is relatively complicated.
Summary of the invention
In consideration of it, it is frequent that this method does not need user the embodiment of the invention provides a kind of picture moving method and device Operation, can be improved user experience.
In a first aspect, the embodiment of the invention provides a kind of picture moving methods, comprising:
When detecting the first trigger action of the picture shown for screen, determine whether first trigger action is full The preset mobile condition of foot, if so,
By the scale compression of the picture to the first scale bar;
According to first trigger action, moving parameter is determined;
According to the moving parameter, the mobile picture;
The scale bar of the picture is amplified to the second scale bar, wherein the size of the picture is greater than the screen Resolution ratio.
Second aspect, the embodiment of the invention provides a kind of picture mobile devices, comprising:
Determination unit, for determining described first when detecting the first trigger action of the picture shown for screen Whether trigger action meets preset mobile condition, if so, triggering reducing unit;Wherein, the size of the picture is greater than institute State the resolution ratio of screen;
The reducing unit, for by the scale compression of the picture to the first scale bar;
Mobile unit, for determining moving parameter according to first trigger action;It is mobile according to the moving parameter The picture;
Amplifying unit, for the scale bar of the picture to be amplified to the second scale bar.
At least one above-mentioned technical solution used in the embodiment of the present invention can reach following the utility model has the advantages that this method passes through First trigger action is judged, diminution-movement-amplifying operation to picture can be automatically performed, do not need the frequency of user Numerous operation, can be improved convenience and user experience.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is the present invention Some embodiments for those of ordinary skill in the art without creative efforts, can also basis These attached drawings obtain other attached drawings.
Fig. 1 is a kind of flow chart of picture moving method provided by one embodiment of the present invention;
Fig. 2 is a kind of signal of the first trigger action of map shown for screen provided by one embodiment of the present invention Figure;
Fig. 3 is the map after the diminution that a kind of screen provided by one embodiment of the present invention is shown;
Fig. 4 is the map after the movement that a kind of screen provided by one embodiment of the present invention is shown;
Fig. 5 is the amplified map that a kind of screen provided by one embodiment of the present invention is shown;
Fig. 6 is a kind of flow chart for picture moving method that another embodiment of the present invention provides;
Fig. 7 is a kind of structural schematic diagram of picture mobile device provided by one embodiment of the present invention.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is A part of the embodiment of the present invention, instead of all the embodiments, based on the embodiments of the present invention, those of ordinary skill in the art Every other embodiment obtained without making creative work, shall fall within the protection scope of the present invention.
As shown in Figure 1, this method may comprise steps of the embodiment of the invention provides a kind of picture moving method:
Step 101: when detecting the first trigger action of the picture shown for screen, determining that the first trigger action is It is no to meet preset mobile condition, if so, executing step 102, otherwise, execute step 106.
In practical application scene, since the size (as unit of pixel) of picture is greater than the resolution ratio of screen, figure The content of piece cannot completely show on the screen, in the case, if it is desired to check that the full content of picture needs to move Picture is to adjust the displaying content of picture on the screen.
This method can be applied to the equipment such as mobile terminal, the end PC, according to the difference of screen corresponding device, the first triggering behaviour The form of work can there are many.For example, when the screen that this method is applied to mobile terminal and the mobile terminal has touch function When, the first trigger action can be sliding.When this method is applied to the end PC, the first trigger action can be mouse drag.When So, the form of the first trigger action is not limited to above two, and can also be double-click etc., other are directed to the operation of screen.It is following Second trigger action is similar to the first trigger action, and there is also above-mentioned diversified forms.
In embodiments of the present invention, whether the first trigger action and the co-determination of preset mobile condition execute step 102- The mobile sequence of maneuvers of the picture of step 105.Correspondingly, there is also differences for the different corresponding mobile conditions of the first trigger action.
By taking the first trigger action is sliding as an example, determine whether the first trigger action meets preset mobile condition and at least deposit In following three kinds of situations.
A: determine whether sliding distance is greater than preset sliding distance threshold value.
B: determine whether sliding speed is greater than preset sliding speed threshold value.
C: determine whether that sliding distance is greater than preset sliding distance threshold value and sliding speed is greater than preset sliding speed Threshold value.
It, can be according only to sliding speed, or only through tri- kinds of situations of A, B, C it is found that when the first trigger action is sliding According to sliding distance, or decided whether to carry out mobile relevant operation, i.e. step simultaneously according to sliding distance and sliding speed 102- step 105.
In practical application scene, since there are different forms for the first trigger action, accordingly, it is determined that the first trigger action Whether preset mobile condition is met there are different ways of realization, and details are not described herein again.
Step 102: by the scale compression of picture to the first scale bar.
When the first trigger action meets preset mobile condition, start to execute " diminution-movement-amplification " sequence of maneuvers.
At least there is following two situation in " by the scale compression of picture to the first scale bar ".
Situation 1: by the scale compression of picture to preset first scale bar.
Situation 2: according to the first trigger action, the first scale bar is determined;By the scale compression of picture to the first scale bar.
Wherein, in case 1, no matter what the first trigger action is, the scale bar of picture be all contracted to fixed value (that is, First scale bar), and in case 2, the scale bar of picture is determined by the first trigger action after diminution.
Now by aforementioned first trigger action be sliding for, to " according to the first trigger action, determining the first scale bar " into Row explanation.
According to the first trigger action, determines the first scale bar, may include:
According to sliding distance, the first scale bar is determined.
According to the first trigger action, determines the first scale bar, may include:
According to sliding speed, the first scale bar is determined.
According to the first trigger action, determines the first scale bar, may include:
According to sliding distance and sliding speed, the first scale bar is determined.
By taking sliding speed as an example, sliding speed is bigger, and the first scale bar is smaller.
Step 103: according to the first trigger action, determining moving parameter.
Moving parameter includes but is not limited to: moving distance, moving direction, movement speed etc.;
In practical application scene, moving distance can be determined according to sliding distance, can also be determined according to sliding speed Moving distance.It, can also be according to preset adjusting parameter and sliding it is possible to further which sliding distance is determined as moving distance Distance determines moving distance.Similarly, glide direction can be determined as moving direction, it can also be according to preset direction system Several and glide direction, determines moving direction.
Step 104: according to moving parameter, mobile picture.
Step 105: the scale bar of picture is amplified to the second scale bar, wherein the size of picture is greater than the resolution of screen Rate.
After the completion of movement, needs for the scale bar of picture to be amplified to the scale bar before picture reduces or other are scheduled Scale bar, to improve user experience.
In practical application scene, amplified second scale bar of picture can be equal to the scale bar before picture reduces, also The second scale bar of picture after amplification can be determined according to the first trigger action.
By taking sliding as an example, the second scale bar is determined according to sliding speed, alternatively, determining the second ratio according to sliding distance Ruler, alternatively, determining the second scale bar according to sliding speed and sliding distance.
Step 106: according to the mobile picture of the first trigger action.
When the first trigger action is unsatisfactory for mobile condition, then illustrate that the first trigger action can not trigger " diminution-shifting Dynamic-amplification " sequence of maneuvers, in this case, it is possible to directly move picture according to the first trigger action.Specific implementation procedure and step Rapid 103,104 is similar, and details are not described herein again.
When the first trigger action is unsatisfactory for mobile condition, moving parameter can be determined according to the first trigger action;According to The mobile picture of the moving parameter.That is when meeting mobile condition, the operation that this method executes is " diminution-shifting Dynamic-amplification ", when being unsatisfactory for mobile condition, the operation that this method executes is " movement-amplification ".
This method can be automatically performed diminution-movement-amplification behaviour to picture by judging the first trigger action Make, does not need the frequent operation of user, can be improved convenience and user experience.
It is moved to make user clearly perceive picture, further increases user experience, in one embodiment of the invention, According to moving parameter, mobile picture, comprising:
According to preset movement speed, picture is segmented distance to moving direction mobile first;
According to preset translational acceleration, picture is segmented distance to moving direction mobile second;
Wherein, the first segmentation distance and the second segmentation sum of the distance are equal to moving distance;Translational acceleration is less than 0.
I.e. in the method, moving process is divided into two stages, and the first stage is at the uniform velocity transported according to certain movement speed Dynamic, second stage is to carry out retarded motion according to certain translational acceleration, until stopping.In practical application scene, second The stage corresponding form of expression is that picture is slowly moved to stopping, being able to use family perception picture and is moved, improves user's body It tests.Certainly, moving process is further divided into multiple stages, and details are not described herein again.
In practical application scene, in the moving process of picture, if the user find that the position that shows of current screen with User wants the distance paid close attention to, and there are also biggish gaps, the second trigger action can also be carried out for picture, so that picture continues It is mobile.For example, the position for the map that current screen is shown is Beijing, the position that user wants to check is Hainan, then user can be with Upward sliding screen is mobile to trigger picture, during picture is mobile, when being moved to Hunan, and the mobile speed of picture Degree reduces, it is meant that the movement of picture will stop, and cannot reach destination locations-Hainan, at this point, user can be according to screen exhibition The case where showing carries out the second trigger action to picture, so that picture continues to move to Hainan.
In consideration of it, in one embodiment of the invention, according to moving parameter, after mobile picture, by picture Scale bar is amplified to before the second scale bar, this method can also include: when detecting the second trigger action for picture, According to the mobile picture of the second trigger action.
In practical application scene, the processing for the second trigger action can be identical as the first trigger action, can also be with It is different from the first trigger action.
For example, according to the mobile picture of the second trigger action, comprising: determine whether the second trigger action meets preset movement Condition, if so, by the scale compression of picture to third scale bar;According to the second trigger action, moving parameter is determined;According to Moving parameter, mobile picture.
For another example according to the mobile picture of the second trigger action, comprising: according to the first trigger action, determine moving parameter;Root According to moving parameter, mobile picture.
It should be noted that the corresponding moving parameter of the first trigger action and the corresponding moving parameter of the second trigger action can It can also be different with identical.
The embodiment of the present invention will be described in detail picture moving method by taking Fig. 2-Fig. 5 as an example, as shown in fig. 6, should Method includes:
Step 601: when detecting the slide of the map shown for screen, it is pre- to determine whether sliding distance is greater than If sliding distance threshold value, if so, execute step 602, otherwise, execute step 608.
In embodiments of the present invention, user wants map being moved to Alibaba from the Stadium of Dragon Sports Center of current presentation The garden Xi Xi, glide direction are as shown in Figure 2.
Step 602: determine whether sliding speed is greater than preset sliding speed threshold value, if so, step 603 is executed, it is no Then, step 608 is executed.
Step 603: by the scale compression of map to preset first scale bar.
Map after diminution is as shown in Figure 3.Wherein, position shown in "×" is Stadium of Dragon Sports Center.
Step 604: according to slide, determining moving distance and moving direction.
In embodiments of the present invention, moving direction is glide direction, and moving distance is Stadium of Dragon Sports Center to Arriba Brazilian small stream garden.
Step 605: according to preset movement speed, map being segmented distance to moving direction mobile first.
Step 606: according to preset translational acceleration, map being segmented distance to moving direction mobile second, wherein the One segmentation distance and the second segmentation sum of the distance are equal to moving distance;Translational acceleration is less than 0.
The position stopped after movement is as shown in Figure 4.
Step 607: by the scale bar method of map to the second scale bar.
The map that amplified screen is shown is as shown in Figure 5.Compared to Fig. 4, more details letters can be checked from Fig. 5 Breath.
Step 608: according to slide moving map.
If not up to mobile condition, direct moving map.
As shown in fig. 7, the embodiment of the invention provides a kind of picture mobile devices, comprising:
Determination unit 701, for determining the first touching when detecting the first trigger action of the picture shown for screen Whether hair operation meets preset mobile condition, if so, triggering reducing unit 702;Wherein, the size of picture is greater than screen Resolution ratio;
Reducing unit 702, for by the scale compression of picture to the first scale bar;
Mobile unit 703, for determining moving parameter according to the first trigger action;According to moving parameter, mobile picture;
Amplifying unit 704, for the scale bar of picture to be amplified to the second scale bar.
In one embodiment of the invention, the first trigger action, comprising: sliding;
Determination unit 701, for determining whether sliding distance is greater than preset sliding distance threshold value.
In one embodiment of the invention, the first trigger action, comprising: sliding;
Determination unit 701, for determining whether sliding speed is greater than preset sliding speed threshold value.
In one embodiment of the invention, reducing unit 702, for by the scale compression of picture to preset first Scale bar.
In one embodiment of the invention, reducing unit 702, for determining the first ratio according to the first trigger action Ruler;By the scale compression of picture to the first scale bar.
In one embodiment of the invention, moving parameter, comprising: moving distance and moving direction;Mobile unit 703, For according to preset movement speed, picture to be segmented distance to moving direction mobile first;According to preset translational acceleration, Picture is segmented distance to moving direction mobile second;Wherein, the first segmentation distance and the second segmentation sum of the distance are equal to movement Distance;Translational acceleration is less than 0.
In one embodiment of the invention, mobile unit 703 are further used for working as the second touching detected for picture When hair operation, according to the mobile picture of the second trigger action.
In one embodiment of the invention, mobile unit 703 are further used for being unsatisfactory for moving when the first trigger action When condition, according to the mobile picture of the first trigger action.
The embodiment of the invention provides a kind of picture mobile devices, comprising: processor and memory;
Memory for store execute instruction, processor be used for execute memory storage execute instruction to realize above-mentioned The method of one embodiment.
In the 1990s, the improvement of a technology can be distinguished clearly be on hardware improvement (for example, Improvement to circuit structures such as diode, transistor, switches) or software on improvement (improvement for method flow).So And with the development of technology, the improvement of current many method flows can be considered as directly improving for hardware circuit. Designer nearly all obtains corresponding hardware circuit by the way that improved method flow to be programmed into hardware circuit.Cause This, it cannot be said that the improvement of a method flow cannot be realized with hardware entities module.For example, programmable logic device (Programmable Logic Device, PLD) (such as field programmable gate array (Field Programmable Gate Array, FPGA)) it is exactly such a integrated circuit, logic function determines device programming by user.By designer Voluntarily programming comes a digital display circuit " integrated " on a piece of PLD, designs and makes without asking chip maker Dedicated IC chip.Moreover, nowadays, substitution manually makes IC chip, this programming is also used instead mostly " is patrolled Volume compiler (logic compiler) " software realizes that software compiler used is similar when it writes with program development, And the source code before compiling also write by handy specific programming language, this is referred to as hardware description language (Hardware Description Language, HDL), and HDL is also not only a kind of, but there are many kind, such as ABEL (Advanced Boolean Expression Language)、AHDL(Altera Hardware Description Language)、Confluence、CUPL(Cornell University Programming Language)、HDCal、JHDL (Java Hardware Description Language)、Lava、Lola、MyHDL、PALASM、RHDL(Ruby Hardware Description Language) etc., VHDL (Very-High-Speed is most generally used at present Integrated Circuit Hardware Description Language) and Verilog.Those skilled in the art also answer This understands, it is only necessary to method flow slightly programming in logic and is programmed into integrated circuit with above-mentioned several hardware description languages, The hardware circuit for realizing the logical method process can be readily available.
Controller can be implemented in any suitable manner, for example, controller can take such as microprocessor or processing The computer for the computer readable program code (such as software or firmware) that device and storage can be executed by (micro-) processor can Read medium, logic gate, switch, specific integrated circuit (Application Specific Integrated Circuit, ASIC), the form of programmable logic controller (PLC) and insertion microcontroller, the example of controller includes but is not limited to following microcontroller Device: ARC 625D, Atmel AT91SAM, Microchip PIC18F26K20 and Silicone Labs C8051F320 are deposited Memory controller is also implemented as a part of the control logic of memory.It is also known in the art that in addition to Pure computer readable program code mode is realized other than controller, can be made completely by the way that method and step is carried out programming in logic Controller is obtained to come in fact in the form of logic gate, switch, specific integrated circuit, programmable logic controller (PLC) and insertion microcontroller etc. Existing identical function.Therefore this controller is considered a kind of hardware component, and to including for realizing various in it The device of function can also be considered as the structure in hardware component.Or even, it can will be regarded for realizing the device of various functions For either the software module of implementation method can be the structure in hardware component again.
System, device, module or the unit that above-described embodiment illustrates can specifically realize by computer chip or entity, Or it is realized by the product with certain function.It is a kind of typically to realize that equipment is computer.Specifically, computer for example may be used Think personal computer, laptop computer, cellular phone, camera phone, smart phone, personal digital assistant, media play It is any in device, navigation equipment, electronic mail equipment, game console, tablet computer, wearable device or these equipment The combination of equipment.
For convenience of description, it is divided into various units when description apparatus above with function to describe respectively.Certainly, implementing this The function of each unit can be realized in the same or multiple software and or hardware when application.
It should be understood by those skilled in the art that, the embodiment of the present invention can provide as method, system or computer program Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the present invention Apply the form of example.Moreover, it wherein includes the computer of computer usable program code that the present invention, which can be used in one or more, The computer program implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) produces The form of product.
The present invention be referring to according to the method for the embodiment of the present invention, the process of equipment (system) and computer program product Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates, Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one The step of function of being specified in a box or multiple boxes.
In a typical configuration, calculating equipment includes one or more processors (CPU), input/output interface, net Network interface and memory.
Memory may include the non-volatile memory in computer-readable medium, random access memory (RAM) and/or The forms such as Nonvolatile memory, such as read-only memory (ROM) or flash memory (flash RAM).Memory is computer-readable medium Example.
Computer-readable medium includes permanent and non-permanent, removable and non-removable media can be by any method Or technology come realize information store.Information can be computer readable instructions, data structure, the module of program or other data. The example of the storage medium of computer includes, but are not limited to phase change memory (PRAM), static random access memory (SRAM), moves State random access memory (DRAM), other kinds of random access memory (RAM), read-only memory (ROM), electric erasable Programmable read only memory (EEPROM), flash memory or other memory techniques, read-only disc read only memory (CD-ROM) (CD-ROM), Digital versatile disc (DVD) or other optical storage, magnetic cassettes, tape magnetic disk storage or other magnetic storage devices Or any other non-transmission medium, can be used for storage can be accessed by a computing device information.As defined in this article, it calculates Machine readable medium does not include temporary computer readable media (transitory media), such as the data-signal and carrier wave of modulation.
It should also be noted that, the terms "include", "comprise" or its any other variant are intended to nonexcludability It include so that the process, method, commodity or the equipment that include a series of elements not only include those elements, but also to wrap Include other elements that are not explicitly listed, or further include for this process, method, commodity or equipment intrinsic want Element.In the absence of more restrictions, the element limited by sentence " including one ... ", it is not excluded that including described There is also other identical elements in the process, method of element, commodity or equipment.
The application can describe in the general context of computer-executable instructions executed by a computer, such as program Module.Generally, program module includes routines performing specific tasks or implementing specific abstract data types, programs, objects, group Part, data structure etc..The application can also be practiced in a distributed computing environment, in these distributed computing environments, by Task is executed by the connected remote processing devices of communication network.In a distributed computing environment, program module can be with In the local and remote computer storage media including storage equipment.
All the embodiments in this specification are described in a progressive manner, same and similar portion between each embodiment Dividing may refer to each other, and each embodiment focuses on the differences from other embodiments.Especially for system reality For applying example, since it is substantially similar to the method embodiment, so being described relatively simple, related place is referring to embodiment of the method Part explanation.
The above description is only an example of the present application, is not intended to limit this application.For those skilled in the art For, various changes and changes are possible in this application.All any modifications made within the spirit and principles of the present application are equal Replacement, improvement etc., should be included within the scope of the claims of this application.

Claims (12)

1. a kind of picture moving method, comprising:
When detecting the first trigger action of the picture shown for screen, it is pre- to determine whether first trigger action meets If mobile condition, if so,
By the scale compression of the picture to the first scale bar;
According to first trigger action, moving parameter is determined;
According to the moving parameter, the mobile picture;
The scale bar of the picture is amplified to the second scale bar, wherein the size of the picture is greater than the resolution of the screen Rate.
2. picture moving method as described in claim 1,
First trigger action, comprising: sliding;
Whether determination first trigger action meets preset mobile condition, comprising:
Determine whether sliding distance is greater than preset sliding distance threshold value;
And/or
First trigger action, comprising: sliding;
Whether determination first trigger action meets preset mobile condition, comprising:
Determine whether sliding speed is greater than preset sliding speed threshold value.
3. picture moving method as described in claim 1,
The scale compression by the picture is to the first scale bar, comprising:
By the scale compression of the picture to preset first scale bar;
And/or
The scale compression by the picture is to the first scale bar, comprising:
According to first trigger action, first scale bar is determined;
By the scale compression of the picture to first scale bar.
4. picture moving method as described in claim 1,
The moving parameter, comprising: moving distance and moving direction;
It is described according to the moving parameter, the mobile picture, comprising:
According to preset movement speed, the picture is segmented distance to the moving direction mobile first;
According to preset translational acceleration, the picture is segmented distance to the moving direction mobile second;
Wherein, the first segmentation distance and the second segmentation sum of the distance are equal to the moving distance;The mobile acceleration Degree is less than 0.
5. picture moving method as described in claim 1,
Described according to the moving parameter, after the mobile picture, the is amplified in the scale bar by the picture Before two scale bars, further comprise:
When detecting the second trigger action for the picture, according to the mobile picture of second trigger action.
6. picture moving method a method as claimed in any one of claims 1 to 5, further comprises:
When first trigger action is unsatisfactory for the mobile condition, according to the mobile picture of first trigger action.
7. a kind of picture mobile device, comprising:
Determination unit, for when detecting the first trigger action of the picture shown for screen, determining first triggering Whether operation meets preset mobile condition, if so, triggering reducing unit;Wherein, the size of the picture is greater than the screen The resolution ratio of curtain;
The reducing unit, for by the scale compression of the picture to the first scale bar;
Mobile unit, for determining moving parameter according to first trigger action;According to the moving parameter, it is mobile described in Picture;
Amplifying unit, for the scale bar of the picture to be amplified to the second scale bar.
8. picture mobile device as claimed in claim 7,
First trigger action, comprising: sliding;
The determination unit, for determining whether sliding distance is greater than preset sliding distance threshold value;
And/or
First trigger action, comprising: sliding;
The determination unit, for determining whether sliding speed is greater than preset sliding speed threshold value.
9. picture mobile device as claimed in claim 7,
The reducing unit, for by the scale compression of the picture to preset first scale bar;
And/or
The reducing unit, for determining first scale bar according to first trigger action;By the ratio of the picture Ruler is contracted to first scale bar.
10. picture mobile device as claimed in claim 7,
The moving parameter, comprising: moving distance and moving direction;
The mobile unit, for according to preset movement speed, the picture to be segmented to the moving direction mobile first Distance;According to preset translational acceleration, the picture is segmented distance to the moving direction mobile second;Wherein, described First segmentation distance and the second segmentation sum of the distance are equal to the moving distance;The translational acceleration is less than 0.
11. picture mobile device as claimed in claim 7,
The mobile unit is further used for when detecting the second trigger action for the picture, according to described second The mobile picture of trigger action.
12. the picture mobile device as described in claim 7-11 is any,
The mobile unit is further used for when first trigger action is unsatisfactory for the mobile condition, according to described The mobile picture of one trigger action.
CN201910465856.9A 2019-05-30 2019-05-30 Picture moving method and device Active CN110262732B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910465856.9A CN110262732B (en) 2019-05-30 2019-05-30 Picture moving method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910465856.9A CN110262732B (en) 2019-05-30 2019-05-30 Picture moving method and device

Publications (2)

Publication Number Publication Date
CN110262732A true CN110262732A (en) 2019-09-20
CN110262732B CN110262732B (en) 2022-12-27

Family

ID=67916127

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910465856.9A Active CN110262732B (en) 2019-05-30 2019-05-30 Picture moving method and device

Country Status (1)

Country Link
CN (1) CN110262732B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101042300A (en) * 2006-03-24 2007-09-26 株式会社电装 Display apparatus and method, program of controlling same
JP2013089175A (en) * 2011-10-21 2013-05-13 Furuno Electric Co Ltd Image display device, image display program, and image display method
CN103827782A (en) * 2011-10-05 2014-05-28 索尼公司 Information processing device, information processing method, and program
CN105677187A (en) * 2016-02-16 2016-06-15 小天才科技有限公司 Image display control method and device
CN106357936A (en) * 2016-11-30 2017-01-25 努比亚技术有限公司 Control method of map application and mobile terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101042300A (en) * 2006-03-24 2007-09-26 株式会社电装 Display apparatus and method, program of controlling same
CN103827782A (en) * 2011-10-05 2014-05-28 索尼公司 Information processing device, information processing method, and program
JP2013089175A (en) * 2011-10-21 2013-05-13 Furuno Electric Co Ltd Image display device, image display program, and image display method
CN105677187A (en) * 2016-02-16 2016-06-15 小天才科技有限公司 Image display control method and device
CN106357936A (en) * 2016-11-30 2017-01-25 努比亚技术有限公司 Control method of map application and mobile terminal

Also Published As

Publication number Publication date
CN110262732B (en) 2022-12-27

Similar Documents

Publication Publication Date Title
EP2801020B1 (en) Panning animations of a displayed user interface
CN108345580A (en) A kind of term vector processing method and processing device
CN108228050B (en) Picture scaling method and device and electronic equipment
CN105786417B (en) A kind of dynamic display method of static images, device and equipment
WO2019085580A1 (en) View scrolling method and apparatus, and electronic device
CN110851058B (en) Page virtual scrolling method, device and equipment
CN110389810A (en) A kind of method, device and equipment for quickly putting UI control on virtual canvas
US9792031B2 (en) Scroll speed adjustment
CN104834373A (en) Method for displaying wallpaper element
EP2811391A1 (en) Method for transforming an object based on motion, gestures or breath input and electronic device thereof
CN108304127A (en) A kind of method and device of information input
CN108874765A (en) Term vector processing method and processing device
CN107943383A (en) Page info display methods, device and client
CN107111441B (en) Multi-level user interface
TWI691206B (en) Watermark adding processing method, device and client
CN107071273A (en) A kind of photographing instruction sending method and device
CN114115643A (en) Component display method and device, electronic equipment and readable medium
CN110032328A (en) A kind of size adjustment method and device of operation object
CN112528614A (en) Table editing method and device and electronic equipment
CN110262714A (en) A kind of information cuing method, device and equipment
CN109739403B (en) Method and apparatus for processing information
CN110262732A (en) A kind of picture moving method and device
CN111061978B (en) Page jump method and device
CN108073339A (en) Floating layer methods of exhibiting, client and electronic equipment
CN110008358A (en) A kind of resource information methods of exhibiting and system, client and server-side

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right

Effective date of registration: 20211213

Address after: 27 Hospital Road, George Town, Grand Cayman ky1-9008

Applicant after: Innovative advanced technology Co.,Ltd.

Address before: 27 Hospital Road, George Town, Grand Cayman ky1-9008

Applicant before: Advanced innovation technology Co.,Ltd.

Effective date of registration: 20211213

Address after: 27 Hospital Road, George Town, Grand Cayman ky1-9008

Applicant after: Advanced innovation technology Co.,Ltd.

Address before: Box 847, four, Grand Cayman capital, Cayman Islands, UK

Applicant before: ALIBABA GROUP HOLDING Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant