CN105657167B - A kind of method for exhibiting data and device - Google Patents
A kind of method for exhibiting data and device Download PDFInfo
- Publication number
- CN105657167B CN105657167B CN201610007360.3A CN201610007360A CN105657167B CN 105657167 B CN105657167 B CN 105657167B CN 201610007360 A CN201610007360 A CN 201610007360A CN 105657167 B CN105657167 B CN 105657167B
- Authority
- CN
- China
- Prior art keywords
- event
- shaking
- current interface
- downslide
- interface
- 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.)
- Expired - Fee Related
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72448—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
- H04M1/72454—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/20—Services signaling; Auxiliary data signalling, i.e. transmitting data via a non-traffic channel
- H04W4/21—Services signaling; Auxiliary data signalling, i.e. transmitting data via a non-traffic channel for social networking applications
Landscapes
- Engineering & Computer Science (AREA)
- Environmental & Geological Engineering (AREA)
- Human Computer Interaction (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The invention discloses a kind of method for exhibiting data and devices, current interface are blocked with to avoid the corresponding interface of the event of shaking, to promote result of browse.The described method includes: receiving the trigger action for event of shaking;Downslide processing is carried out to current interface according to the trigger action for shaking event;Judge whether the processing of the downslide to the current interface finishes;When the downslide processing to the current interface finishes, the corresponding interface of event is shaken described in pop-up;The lower boundary for shaking the corresponding interface of event with carry out described gliding that treated that the coboundary of current interface is Chong Die.Using method provided by the present invention, since current interface coboundary is Chong Die with gliding that treated for the lower boundary at the corresponding interface of the event of shaking, thus, it avoids the corresponding interface of the event of shaking and blocks current interface, improve result of browse.
Description
Technical field
The present invention relates to Internet technical field, in particular to a kind of method for exhibiting data and device.
Background technique
It shakes function and is initially to provide the function that the application of friend making function provides, concrete principle is, when user opens respectively
When shaking of providing in class social application shakes mobile phone behind interface, the acceleration transducer built in mobile phone detects mobile phone
It shakes, sends request to neighbouring base station, when which receives request, the position of mobile phone is sent to server, server
User corresponding to all requests received in the same time is recommended into other users.On this basis, function is shaken
It has got back new extension, user can realize the acquisition of audio, video data by shaking function, for example, passing through computer broadcasting
It, can be by shaking function for audio-visual synchronization being played in computer to mobile phone when audio-video.
But when requesting audio, video data by shaking function, audio-video signal can be flirted at the top of frequency curtain
Imitation interface, which can cover original interface, cause the browsing obstacle at original interface, and result of browse is bad.
Summary of the invention
The present invention provides a kind method for exhibiting data and device, is worked as with blocking to avoid the corresponding interface of the event of shaking
Front interface, to promote result of browse.
The present invention provides a kind of method for exhibiting data method, comprising:
Receive the trigger action for event of shaking;
Downslide processing is carried out to current interface according to the trigger action for shaking event;
Judge whether the processing of the downslide to the current interface finishes;
When the downslide processing to the current interface finishes, the corresponding interface of event is shaken described in pop-up;Institute
State the lower boundary at the corresponding interface of the event of shaking with described glide that treated the coboundary of current interface is Chong Die.
The beneficial effects of the present invention are: when receiving the trigger action for the event of shaking, current interface is carried out down
Sliding processing, and just the corresponding interface of event is shaken in pop-up when current interface downslide processing is finished, due to shaking thing
The lower boundary at the corresponding interface of part with glide that treated that current interface coboundary is Chong Die, thus, avoid the event of shaking pair
Current interface is blocked at the interface answered, and improves result of browse.
In one embodiment, the trigger action for receiving event of shaking, comprising:
Receive the trigger action of shaking event;
Judge whether the slosh frequency of the shaking event is greater than predeterminated frequency;When the slosh frequency of the shaking event is big
When predeterminated frequency, determine that the shaking event is to shake event;And/or
Judge whether the shaking amplitude of the shaking event is greater than predetermined amplitude;When the shaking amplitude of the shaking event is big
When predetermined amplitude, determine that the shaking event is to shake event.
The beneficial effect of the present embodiment is: by the way that two kinds of judge index of slosh frequency and shaking amplitude are arranged, making to shake one
The judgment mode for shaking event is more diversified, increases the freedom degree for shaking event triggering;Secondly, passing through slosh frequency and rolling
Dynamic two kinds of judge index of amplitude combine judgement, increase the judgement precision for the state of shaking.
In one embodiment, downslide processing is carried out to current interface according to the trigger action, comprising:
It controls current interface according to predetermined period to glide, one preset step-length of each period downslide;
Whether the judgement finishes the downslide processing of the current interface, comprising:
Judge whether the periodicity of the downslide reaches preset number;
When the periodicity of the downslide reaches preset number, determine that the downslide processing to the current interface has carried out
Finish.
The beneficial effect of the present embodiment is: by presetting the step-length and period that current interface glides, thus, pass through control
The periodicity of downslide can just make current interface slip down to any position, and the control mode for handling downslide is simpler.
In one embodiment, before judging whether the processing of the downslide to the current interface finishes, the side
Method further include:
The size at the corresponding interface of event is shaken described in calculating;
According to the size for shaking the corresponding interface of event, the corresponding interface lower boundary of event is shaken described in judgement
Position;
The position for shaking the corresponding interface lower boundary of event is determined as predeterminated position;
Whether the judgement finishes the downslide processing of the current interface, comprising:
Judge whether the coboundary of the current interface slips down to the predeterminated position;
When the coboundary of the current interface slips down to the predeterminated position, determine to the downslide of the current interface
Reason is finished.
The beneficial effect of the present embodiment is: by the size at the corresponding interface of the event of shaking, event is shaken in judgement
The position of corresponding interface lower boundary, when the coboundary of current interface slips down to the position of the corresponding interface lower boundary of the event of shaking
When setting, determines that current interface downslide is disposed, weight occurs so as to avoid the corresponding interface of the event of shaking and current interface
It is folded, and then avoid the corresponding interface of the event of shaking and block current interface.
In one embodiment, when the downslide processing to the current interface finishes, the method also includes:
Shake whether data corresponding to event obtain success described in judgement;When the event request data of shaking are lost
When losing, the current interface upward sliding is controlled;Or
When the display duration for shaking interface corresponding to event reaches preset duration, the current interface is controlled
Upward sliding.
The beneficial effect of the present embodiment is: when the data acquisition corresponding to the event of shaking fails, or shaking
When the display duration at interface corresponding to event reaches preset duration, current interface upward sliding is controlled, thus shaking thing
Part request data failure or after shaking the corresponding interface display certain time length of event, capable of making to glide, treated works as prezone
Face is restored to original position.
The present invention provides a kind of data displaying device, comprising:
Receiving module, for receiving the trigger action for event of shaking;
Processing module, the trigger action for shaking event according to carry out downslide processing to current interface;
First judgment module, for judging whether the processing of the downslide to the current interface finishes;
Pop-up module, for shaking event described in pop-up when the downslide processing to the current interface finishes
Corresponding interface;The lower boundary for shaking the corresponding interface of event with carry out the upper of treated current interface of gliding
Border overlay.
In one embodiment, the receiving module, comprising:
Receiving submodule, for receiving the trigger action of shaking event;
First judging submodule, using with judge whether the slosh frequency of the shaking event is greater than predeterminated frequency;
First determines submodule, for determining the rolling when the slosh frequency of the shaking event is greater than predeterminated frequency
Dynamic event is to shake event;
Second judgment submodule, for judging whether the shaking amplitude of the shaking event is greater than predetermined amplitude;
Second determines submodule, for determining the rolling when the shaking amplitude of the shaking event is greater than predetermined amplitude
Dynamic event is to shake event.
In one embodiment, the processing module, comprising:
Control submodule glides for controlling current interface according to predetermined period, one preset step-length of each period downslide;
The first judgment module, comprising:
Third judging submodule, for judging whether the periodicity of the downslide reaches preset number;
Third determines submodule, for when the periodicity of the downslide reaches preset number, determination to work as prezone to described
The downslide processing in face is finished.
In one embodiment, described device further include:
Computing module, for judge the downslide to the current interface processing whether finish before, described in calculating
Shake the size at the corresponding interface of event;
Second judgment module shakes event pair described in judgement according to the size for shaking the corresponding interface of event
The position for the interface lower boundary answered;
Determining module, for the position for shaking the corresponding interface lower boundary of event to be determined as predeterminated position;
The first judgment module, comprising:
4th judging submodule, for judging whether the coboundary of the current interface slips down to the predeterminated position;
4th determines submodule, for when the coboundary of the current interface slips down to the predeterminated position, determines pair
The downslide processing of the current interface is finished.
In one embodiment, described device further include:
Third judgment module, for being shaken described in judgement when the downslide processing to the current interface finishes
Whether data corresponding to event obtain success;
First control module, for when it is described shake event request data failure when, it is upward to control the current interface
Sliding;
Second control module, for reaching preset duration when the display duration for shaking interface corresponding to event
When, control the current interface upward sliding.
Other features and advantages of the present invention will be illustrated in the following description, also, partly becomes from specification
It obtains it is clear that understand through the implementation of the invention.The objectives and other advantages of the invention can be by written explanation
Specifically noted structure is achieved and obtained in book, claims and attached drawing.
Below by drawings and examples, technical scheme of the present invention will be described in further detail.
Detailed description of the invention
Attached drawing is used to provide further understanding of the present invention, and constitutes part of specification, with reality of the invention
It applies example to be used to explain the present invention together, not be construed as limiting the invention.In the accompanying drawings:
Fig. 1 is the flow chart of method for exhibiting data in one embodiment of the invention;
Fig. 2A is the flow chart of method for exhibiting data in one embodiment of the invention;
Fig. 2 B is the interface schematic diagram after the corresponding interface pop-up of the event of shaking;
Fig. 3 is the flow chart of method for exhibiting data in one embodiment of the invention;
Fig. 4 is the flow chart of method for exhibiting data in one embodiment of the invention;
Fig. 5 is the block diagram that data show device in one embodiment of the invention;
Fig. 6 is the block diagram that data show device in one embodiment of the invention.
Specific embodiment
Hereinafter, preferred embodiments of the present invention will be described with reference to the accompanying drawings, it should be understood that preferred reality described herein
Apply example only for the purpose of illustrating and explaining the present invention and is not intended to limit the present invention.
Fig. 1 is the flow chart of method for exhibiting data in one embodiment of the invention, as shown in Figure 1, the data exhibition in the present invention
Show that method can be used for terminal, this method can be implemented as following steps S11-S14:
In step s 11, the trigger action for event of shaking is received;
In step s 12, downslide processing is carried out to current interface according to the trigger action for the event of shaking;
In step s 13, judge whether the downslide processing to current interface finishes;
In step S14, when the downslide processing to current interface finishes, the corresponding boundary of event is shaken in pop-up
Face.
Shake is by a kind of by shaking mobile phone in the application for providing the functions such as social activity, cloud storage, shopping, live streaming
The extension function of the events such as friend-making, audio-visual synchronization, picture upload, bookmark upload, payment, television program interaction is triggered, thus,
A swing is shaken to be widely used.User is when shaking state, it is necessary to it just can be carried out in corresponding interface, it is same with audio-video
For step, terminal is currently at the corresponding interface of audio-visual synchronization function, when receiving the trigger action for the event of shaking, currently
Interface may have existed audio/video program list, thus, current interface is carried out down according to the trigger action for the event of shaking
Sliding processing judges whether the downslide processing of current interface is finished during downslide, when the downslide of current interface handle into
It when row finishes, pops up and shakes the corresponding interface of event, in the present embodiment, shake the lower boundary at the corresponding interface of event under
The coboundary overlapping at sliding treated interface.
The beneficial effects of the present invention are: when receiving the trigger action for the event of shaking, current interface is carried out down
Sliding processing, and just the corresponding interface of event is shaken in pop-up when current interface downslide processing is finished, due to shaking thing
The lower boundary at the corresponding interface of part with glide that treated that current interface coboundary is Chong Die, thus, avoid the event of shaking pair
Current interface is blocked at the interface answered, and improves result of browse.
In one embodiment, above-mentioned steps S11 can be implemented as following steps A1-A2 and/or A3:
In step A1, the trigger action of shaking event is received;
In step A2, judge whether the slosh frequency of shaking event is greater than predeterminated frequency;When the shaking frequency of the event of shaking
When rate is greater than predeterminated frequency, determine that shaking event is to shake event;And/or
In step A3, judge whether the shaking amplitude of shaking event is greater than predetermined amplitude, when the shaking width of the event of shaking
When degree is greater than predetermined amplitude, determine that shaking event is to shake event.
The beneficial effect of the present embodiment is: by the way that two kinds of judge index of slosh frequency and shaking amplitude are arranged, making to shake one
The judgment mode for shaking event is more diversified, increases the freedom degree for shaking event triggering;Secondly, passing through slosh frequency and rolling
Dynamic two kinds of judge index of amplitude combine judgement, increase the judgement precision for the state of shaking.
In the present embodiment, slosh frequency corresponding to the event of shaking and/or shaking amplitude are preset, for example, when shaking
When dynamic frequency reaches 3 time/second, determine that shaking event is to shake event;Alternatively, determining and shaking when shaking angle reaches 30 °
Event is to shake event;Alternatively, determining that shaking event is when slosh frequency reaches 3 times/second and shaking angle reaches 30 °
Shake event.Specifically, the shaking number of the mobile phone is recorded when the built-in sensors in terminal receive mobile phone and shake,
The every change of mobile phone is primary to shake direction, shakes number and adds 1, when mobile phone shaking number per second is greater than 3 times, determines current phone
Slosh frequency is greater than predeterminated frequency;Secondly, the component of acceleration of three reference axis is recorded, according to this during mobile phone shakes
Component of acceleration calculates the same angle shaken between direction initial position and final position, for example, default angle is 30 °, when
When the same angle shaken between direction initial position and final position is greater than 30 °, it is default to determine that current shaking amplitude is greater than
Amplitude;In addition, shaking amplitude can also be during shaking, it is same shake between direction initial position and final position away from
From, when the distance between same shaking direction initial position and final position be greater than pre-determined distance when, determine current shaking width
Degree is greater than predetermined amplitude.
In one embodiment, as shown in Figure 2 A, above-mentioned steps S12 can be implemented as following steps S21:
In the step s 21, it controls current interface according to predetermined period to glide, one preset step-length of each period downslide;
Above-mentioned steps S13 can be implemented as following steps S22-S23:
In step S22, judge whether the periodicity to glide reaches preset number;
In step S23, when the periodicity of downslide reaches preset number, determines that the downslide to current interface is handled and carry out
It finishes.
For example, in the present embodiment, the downslide step-length of current interface can be preset and glided the period, for example, default current
The period that interface glides is 1 second, and the step-length of downslide is 1 centimetre, and predetermined period number is 6 periods, thus, it is possible to by under setting
The downslide amplitude of sliding periodicity control current interface and final position, for example, in the present embodiment, according to predetermined period and in advance
If step size controlling current interface glides, current interface can at the uniform velocity be glided with the gliding speed of 1 cm/s, can also be every
When a period starts, quickly the distance of one centimetre of downslide determines current interface when the periodicity of downslide reaches 6 periods
Downslide processing is finished, i.e., when the downslide of current interface processing is finished, current interface has glided 6 centimetres.
The beneficial effect of the present embodiment is: by presetting the step-length and period that current interface glides, thus, pass through control
The periodicity of downslide can just make current interface slip down to any position, and the control mode for handling downslide is simpler.
In one embodiment, before above-mentioned steps S12, method can also be implemented as following steps B1-B3:
In step bl is determined, the size for shaking the corresponding interface of event is calculated;
In step B2, according to the size at the corresponding interface of the event of shaking, judgement is shaken under the corresponding interface of event
The position on boundary;
In step B3, the position of the corresponding interface lower boundary of the event of shaking is determined as predeterminated position;
Above-mentioned steps S13 can be implemented as following steps B4-B5:
In step B4, judge whether the coboundary of current interface slips down to predeterminated position;
In step B5, when the coboundary of current interface slips down to predeterminated position, determine to the downslide of current interface
Reason is finished.
Fig. 2 B is the interface schematic diagram after the corresponding interface 21 of the event of shaking is popped up, and as shown in Figure 2 B, calculating is shaken
The size at the corresponding interface 21 of event, according to the size at the corresponding interface 21 of the event of shaking, it is corresponding that event is shaken in judgement
The position of corresponding 21 lower boundary of interface of the event of shaking is determined as predeterminated position 22, works as control by the position of 21 lower boundary of interface
When the coboundary of current interface 23 processed is slipped down at predeterminated position 22, the downslide processing of current interface 22 is finished, at this point, bullet
The corresponding interface 21 of event is shaken out, forms interface as shown in Figure 2 B.
It, can the number according to corresponding to the trigger action when receiving the trigger action for the event of shaking in the present embodiment
The size at the corresponding interface of event is shaken according to this is simulated, the size at the corresponding interface of event is shaken according to this, judgement shakes one
Shake the position of the corresponding interface lower boundary of event;It is mainly calculated in the present embodiment and shakes the high up and down of the corresponding interface of event
Degree, and it is not concerned with the left and right width at the interface, for example, this shakes one when the height at the corresponding interface of the event of shaking is 4 centimetres
The lower boundary position for shaking the corresponding interface of event is exactly away from 4 centimeters of the top of screen, using 4 centimeters of the top of screen as working as prezone
The preset downslide position in face, i.e. current interface need to glide 4 centimetres, when the coboundary of current interface and preset downslide position weight
When conjunction, determine that the downslide processing of current interface is finished.
The beneficial effect of the present embodiment is: by the size at the corresponding interface of the event of shaking, event is shaken in judgement
The position of corresponding interface lower boundary, when the coboundary of current interface slips down to the position of the corresponding interface lower boundary of the event of shaking
When setting, determines that current interface downslide is disposed, weight occurs so as to avoid the corresponding interface of the event of shaking and current interface
It is folded, and then avoid the corresponding interface of the event of shaking and block current interface.
In one embodiment, when S14 through the above steps judges that the downslide processing of current interface is finished, method
Following steps C1 or C2 can be also implemented as:
In step C1, judgement shakes whether data corresponding to event obtain success;When shaking event request number
When according to failure, current interface upward sliding is controlled;Or
In step C2, when the display duration at the interface corresponding to the event of shaking reaches preset duration, control is current
Interface upward sliding.
In the present embodiment, the Restoration Mechanism to treated the current interface of gliding is increased, making to glide, it is current that treated
Interface can be restored to initial position when meeting scheduled condition, specific as follows:
Mode one, judgement shake whether data corresponding to event obtain success, when the corresponding data of the event of shaking
When obtaining failure, current interface upward sliding is controlled.
Mode two, the display duration that the corresponding interface of the event of shaking can be preset, when the corresponding interface of the event of shaking is aobvious
When showing that duration reaches preset duration, current interface upward sliding is controlled.
It should be noted that in the present embodiment, can also independently be closed detecting user in addition to above two mode
When shaking the corresponding interface of event, control is shaken the corresponding interface of event and is closed, and controls current interface upward sliding.
The beneficial effect of the present embodiment is: when the data acquisition corresponding to the event of shaking fails, or shaking
When the display duration at interface corresponding to event reaches preset duration, current interface upward sliding is controlled, thus shaking thing
Part request data failure or after shaking the corresponding interface display certain time length of event, capable of making to glide, treated works as prezone
Face is restored to original position.
Fig. 3 is the flow chart of method for exhibiting data in one embodiment of the invention, as shown in figure 3, the data exhibition in the present invention
Show that method can be used for terminal, this method can be implemented as following steps S31-S38:
In step S31, the trigger action of shaking event is received;
In step s 32, judge whether the slosh frequency of shaking event is greater than predeterminated frequency;
In step S33, when the slosh frequency of the event of shaking is greater than predeterminated frequency, determine that shaking event is to shake thing
Part;
In step S34, current interface is controlled according to predetermined period and is glided, one preset step-length of each period downslide;
In step s 35, judge whether the periodicity to glide reaches preset number;
In step S36, when the periodicity of downslide reaches preset number, determines that the downslide to current interface is handled and carry out
It finishes;
In step S37, when the downslide processing to current interface finishes, number corresponding to event is shaken in judgement
According to whether obtaining success;
In step S38, when shaking the success of event request data, the corresponding interface of event is shaken in pop-up;
In step S39, when shaking the failure of event request data, current interface upward sliding is controlled.
Fig. 4 is the flow chart of method for exhibiting data in one embodiment of the invention, as shown in figure 4, the data exhibition in the present invention
Show that method can be used for terminal, this method can be implemented as following steps S41-S49:
In step S41, the trigger action of shaking event is received;
In step S42, judge whether the shaking amplitude of shaking event is greater than predetermined amplitude;
In step S43, when the shaking amplitude of the event of shaking is greater than predetermined amplitude, determine that shaking event is to shake thing
Part;
In step S44, the size for shaking the corresponding interface of event is calculated;
In step S45, according to the size at the corresponding interface of the event of shaking, judgement is shaken under the corresponding interface of event
The position on boundary;
In step S46, the position of the corresponding interface lower boundary of the event of shaking is determined as predeterminated position;
In step S47, judge whether the coboundary of current interface slips down to predeterminated position;
In step S48, when the coboundary of current interface slips down to predeterminated position, the corresponding boundary of event is shaken in pop-up
Face;
In step S49, when the display duration at the interface corresponding to the event of shaking reaches preset duration, control is current
Interface upward sliding.
Fig. 5 is the block diagram that data show device in one embodiment of the invention, as shown in figure 5, the data in the present invention are shown
Device can be used for terminal, which may include following module:
Receiving module 51, for receiving the trigger action for event of shaking;
Processing module 52, for carrying out downslide processing to current interface according to the trigger action for event of shaking;
First judgment module 53, for judging whether the downslide processing to current interface finishes;
Pop-up module 54, for when the downslide processing to current interface finishes, it is corresponding that event is shaken in pop-up
Interface.
In one embodiment, as shown in fig. 6, receiving module 51, comprising:
Receiving submodule 61, for receiving the trigger action of shaking event;
First judging submodule 62, using with judge whether the slosh frequency of shaking event is greater than predeterminated frequency;
First determines submodule 63, for determining shaking event when the slosh frequency of the event of shaking is greater than predeterminated frequency
For the event of shaking;
Second judgment submodule 64, for judging whether the shaking amplitude of shaking event is greater than predetermined amplitude;
Second determines submodule 65, for determining shaking event when the shaking amplitude of the event of shaking is greater than predetermined amplitude
For the event of shaking.
In one embodiment, processing module 52, comprising:
Control submodule glides for controlling current interface according to predetermined period, one preset step-length of each period downslide;
First judgment module 53, comprising:
Third judging submodule, for judging whether the periodicity to glide reaches preset number;
Third determines submodule, for determining the downslide to current interface when the periodicity of downslide reaches preset number
Processing is finished.
In one embodiment, device further include:
Computing module, for before judging whether the downslide processing to current interface finishes, thing to be shaken in calculating
The size at the corresponding interface of part;
Second judgment module, according to the size at the corresponding interface of the event of shaking, the corresponding interface of event is shaken in judgement
The position of lower boundary;
Determining module, for the position of the corresponding interface lower boundary of the event of shaking to be determined as predeterminated position;
First judgment module 53, comprising:
4th judging submodule, for judging whether the coboundary of current interface slips down to predeterminated position;
4th determines submodule, for determining to current interface when the coboundary of current interface slips down to predeterminated position
Downslide processing finished.
In one embodiment, device further include:
Third judgment module, for when the downslide processing to current interface finishes, it is right that event institute is shaken in judgement
Whether the data answered obtain success;
First control module, for controlling current interface upward sliding when shaking the failure of event request data;
Second control module, when the display duration for the interface corresponding to the event of shaking reaches preset duration, control
Current interface upward sliding processed.
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 shape for the computer program product implemented in usable storage medium (including but not limited to magnetic disk storage and optical memory etc.)
Formula.
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.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art
Mind and range.In this way, if these modifications and changes of the present invention belongs to the range of the claims in the present invention and its equivalent technologies
Within, then the present invention is also intended to include these modifications and variations.
Claims (8)
1. a kind of method for exhibiting data characterized by comprising
Receive the trigger action for event of shaking;
Downslide processing is carried out to current interface according to the trigger action for shaking event;
Judge whether the processing of the downslide to the current interface finishes;
When the downslide processing to the current interface finishes, the corresponding interface of event is shaken described in pop-up;It is described to shake
One shake the lower boundary at the corresponding interface of event with described glide that treated the coboundary of current interface is Chong Die;
Downslide processing is carried out to current interface according to the trigger action, comprising:
It controls current interface according to predetermined period to glide, one preset step-length of each period downslide;
Whether the judgement finishes the downslide processing of the current interface, comprising:
Judge whether the periodicity of the downslide reaches preset number;
When the periodicity of the downslide reaches preset number, determine that the downslide processing to the current interface finishes.
2. the method as described in claim 1, which is characterized in that the trigger action for receiving event of shaking, comprising:
Receive the trigger action of shaking event;
Judge whether the slosh frequency of the shaking event is greater than predeterminated frequency;When the slosh frequency of the shaking event is greater than in advance
If when frequency, determining that the shaking event is to shake event;And/or
Judge whether the shaking amplitude of the shaking event is greater than predetermined amplitude;When the shaking amplitude of the shaking event is greater than in advance
If when amplitude, determining that the shaking event is to shake event.
3. the method as described in claim 1, which is characterized in that judging whether the processing of the downslide to the current interface carries out
Before finishing, the method also includes:
The size at the corresponding interface of event is shaken described in calculating;
According to the size for shaking the corresponding interface of event, the position of the corresponding interface lower boundary of event is shaken described in judgement
It sets;
The position for shaking the corresponding interface lower boundary of event is determined as predeterminated position;
Whether the judgement finishes the downslide processing of the current interface, comprising:
Judge whether the coboundary of the current interface slips down to the predeterminated position;
When the coboundary of the current interface slips down to the predeterminated position, determine to the downslide of the current interface handle into
Row finishes.
4. the method as described in claim 1, which is characterized in that when the downslide processing to the current interface finishes,
The method also includes:
Shake whether data corresponding to event obtain success described in judgement;The failure of event request data is shaken when described
When, control the current interface upward sliding;Or
When the display duration for shaking interface corresponding to event reaches preset duration, it is upward to control the current interface
Sliding.
5. a kind of data show device characterized by comprising
Receiving module, for receiving the trigger action for event of shaking;
Processing module, the trigger action for shaking event according to carry out downslide processing to current interface;
First judgment module, for judging whether the processing of the downslide to the current interface finishes;
Pop-up module, it is corresponding for shaking event when the downslide processing to the current interface finishes, described in pop-up
Interface;
The processing module, comprising: control submodule glided for controlling current interface according to predetermined period, under each period
A sliding preset step-length;
The first judgment module, comprising:
Third judging submodule, for judging whether the periodicity of the downslide reaches preset number;
Third determines submodule, for determining to the current interface when the periodicity of the downslide reaches preset number
Downslide processing is finished.
6. device as claimed in claim 5, which is characterized in that the receiving module, comprising:
Receiving submodule, for receiving the trigger action of shaking event;
First judging submodule, using with judge whether the slosh frequency of the shaking event is greater than predeterminated frequency;
First determines submodule, for determining the shaking thing when the slosh frequency of the shaking event is greater than predeterminated frequency
Part is to shake event;
Second judgment submodule, for judging whether the shaking amplitude of the shaking event is greater than predetermined amplitude;
Second determines submodule, for determining the shaking thing when the shaking amplitude of the shaking event is greater than predetermined amplitude
Part is to shake event.
7. device as claimed in claim 5, which is characterized in that described device further include:
Computing module, for shaking one described in calculating before judging whether the processing of the downslide to the current interface finishes
Shake the size at the corresponding interface of event;
It is corresponding to shake event according to the size for shaking the corresponding interface of event, described in judgement for second judgment module
The position of interface lower boundary;
Determining module, for the position for shaking the corresponding interface lower boundary of event to be determined as predeterminated position;
The first judgment module, comprising:
4th judging submodule, for judging whether the coboundary of the current interface slips down to the predeterminated position;
4th determines submodule, for determining to described when the coboundary of the current interface slips down to the predeterminated position
The downslide processing of current interface is finished.
8. device as claimed in claim 5, which is characterized in that described device further include:
Third judgment module, for shaking event described in judgement when the downslide processing to the current interface finishes
Whether corresponding data obtain success;
First control module, for when it is described shake event request data failure when, control the current interface upward sliding;
Second control module, for controlling when the display duration for shaking interface corresponding to event reaches preset duration
Make the current interface upward sliding.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610007360.3A CN105657167B (en) | 2016-01-06 | 2016-01-06 | A kind of method for exhibiting data and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610007360.3A CN105657167B (en) | 2016-01-06 | 2016-01-06 | A kind of method for exhibiting data and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105657167A CN105657167A (en) | 2016-06-08 |
CN105657167B true CN105657167B (en) | 2019-07-02 |
Family
ID=56491656
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610007360.3A Expired - Fee Related CN105657167B (en) | 2016-01-06 | 2016-01-06 | A kind of method for exhibiting data and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105657167B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107197084B (en) * | 2017-04-24 | 2020-12-08 | 努比亚技术有限公司 | Method for projection between mobile terminals and first mobile terminal |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102779009A (en) * | 2012-06-29 | 2012-11-14 | 华为终端有限公司 | Method and terminal for displaying application program interface |
CN103309618A (en) * | 2013-07-02 | 2013-09-18 | 姜洪明 | Mobile operating system |
CN104049866A (en) * | 2014-06-25 | 2014-09-17 | 深圳市中兴移动通信有限公司 | Mobile terminal and method and device for achieving screen splitting of mobile terminal |
EP2741201A3 (en) * | 2012-12-06 | 2017-05-17 | Samsung Electronics Co., Ltd | Display device and method of controlling the same |
-
2016
- 2016-01-06 CN CN201610007360.3A patent/CN105657167B/en not_active Expired - Fee Related
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102779009A (en) * | 2012-06-29 | 2012-11-14 | 华为终端有限公司 | Method and terminal for displaying application program interface |
EP2741201A3 (en) * | 2012-12-06 | 2017-05-17 | Samsung Electronics Co., Ltd | Display device and method of controlling the same |
CN103309618A (en) * | 2013-07-02 | 2013-09-18 | 姜洪明 | Mobile operating system |
CN104049866A (en) * | 2014-06-25 | 2014-09-17 | 深圳市中兴移动通信有限公司 | Mobile terminal and method and device for achieving screen splitting of mobile terminal |
Also Published As
Publication number | Publication date |
---|---|
CN105657167A (en) | 2016-06-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20230344954A1 (en) | Real time video special effects system and method | |
US11367465B2 (en) | Real time video special effects system and method | |
CN106780674B (en) | Lens moving method and device | |
US20160253837A1 (en) | Parallax bounce | |
EP3097690B1 (en) | Multi-view display control | |
CN104461289B (en) | Terminal and its screen display method and device | |
WO2022062903A1 (en) | On-screen comment playing method, related device, and storage medium | |
CN103957224A (en) | Method and system for moving character in online game | |
CN106412711B (en) | Barrage control method and device | |
CN108377361B (en) | Display control method and device for monitoring video | |
US20190342633A1 (en) | Methods, systems, and media for presenting interactive elements within video content | |
CN108271432B (en) | Video recording method and device and shooting equipment | |
CN112044064A (en) | Game skill display method, device, equipment and storage medium | |
CN106921883A (en) | A kind of method and device of video playback treatment | |
US20180309937A1 (en) | Display device, display method, and display program | |
CN109529330A (en) | Method, apparatus and computer readable storage medium are shared in a kind of game | |
CN106921802B (en) | Audio data playing method and device | |
CN105657167B (en) | A kind of method for exhibiting data and device | |
CN103873759A (en) | Shooting method and electronic equipment | |
US10242479B2 (en) | Information processing device and information processing method | |
US20170192652A1 (en) | Method and electronic device for adjusting display interface | |
CN108846881B (en) | Expression image generation method and device | |
CN106325505A (en) | Control method and device based on viewpoint tracking | |
CN111766989B (en) | Interface switching method and device | |
CN109753199A (en) | A kind of application page methods of exhibiting and mobile terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
PE01 | Entry into force of the registration of the contract for pledge of patent right | ||
PE01 | Entry into force of the registration of the contract for pledge of patent right |
Denomination of invention: A data display method and device Effective date of registration: 20210104 Granted publication date: 20190702 Pledgee: Inner Mongolia Huipu Energy Co.,Ltd. Pledgor: Tvmining (BEIJING) Technology Co., Ltd. Registration number: Y2020990001518 |
|
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20190702 Termination date: 20220106 |