Summary of the invention
It is an object of the invention in view of the above drawbacks of the prior art, provide a kind of method for controlling mobile terminal, movementTerminal and storage medium.
The purpose of the present invention can be realized by technical measures below:
The present invention provides a kind of method for controlling mobile terminal, which includes:
When user browses sharing contents in social application, the slide that user inputs on touching display screen is detectedSliding speed;
When the sliding speed is greater than or equal to the first pre-set velocity, according to the corresponding sharing contents of the slideObtain corresponding contact information;
In the browser interface of sharing contents, shielding or gathering are shown in the sharing of the corresponding contact person of the contact informationHold.
Preferably, the corresponding sharing contents of the slide include:
The corresponding sharing contents of the slide start position;
And/or the corresponding sharing contents in the slide final position;
And/or the sharing contents between the slide start position and final position;
Or, the sharing contents shown during the slide sliding in browser interface;
Or, the sharing contents shown during the screen scroll of the slide triggering in browser interface.
Preferably, the slide is the slide to the top orientation of the touching display screen.
It is preferably, described that " in the browser interface of sharing contents, shielding or gathering show that the contact information is correspondingBe the sharing contents of people " the step of include:
The pop-up window of the list including the contact information is shown in current interface;
Receive the selection operation that user selects contact information in the list;
In response to the selection operation, in the browser interface of sharing contents, shielding or the connection for collapsing display user's selectionThe sharing contents of the corresponding contact person of people's information.
Preferably, described " sharing contents for shielding the corresponding contact person of the contact information " include:
Any information of the contact person is not shown;
Or, only showing the head image information of the contact person.
Preferably, described " when the sliding speed be greater than or equal to the first pre-set velocity when, according to the slide pairThe sharing contents answered obtain corresponding contact information " the step of include:
When the sliding speed is greater than or equal to the first pre-set velocity, the corresponding sharing contents of the slide are judgedWhether it is the sharing contents browsed, obtains the first judging result;
When the first judging result is no, corresponding contact person is obtained according to the corresponding sharing contents of the slide and is believedBreath.
Preferably, the control method further include:
When user browses sharing contents in social application, the sharing contents that had browsed of record user and describedThe corresponding contact information of the sharing contents browsed, to generate historical viewings record;
It is described that " in the browser interface of sharing contents, shielding or gathering show the corresponding contact person's of the contact informationThe step of sharing contents " includes:
Judge that the contact information whether there is to record in the historical viewings, obtains the second judging result;
When the first judging result is no, in the browser interface of sharing contents, shielding or gathering show contact person's letterCease the sharing contents of corresponding contact person.
Preferably, the control method further include:
Receive the speed adjustment instruction that user inputs on touching display screen;
According to the corresponding adjustable strategies of the speed adjustment instruction, first pre-set velocity is adjusted.
The present invention also provides a kind of mobile terminal, which includes processor, memory and touching display screen,The processor, the memory and the touching display screen realize above-mentioned method for controlling mobile terminal at work.
The present invention also provides a kind of storage medium, program is stored in the storage medium, described program is when executedRealize above-mentioned method for controlling mobile terminal.
Method for controlling mobile terminal of the invention, detection user input slide in the browser interface of sharing contents, obtainSliding speed is taken to be greater than or equal to the contact person of the corresponding sharing contents of slide of the first pre-set velocity, in sharing contentsThe sharing information for showing contact person publication is collapsed in browser interface shielding, successively carries out clicking operation without user, improvesUser's operation efficiency and user experience.
Specific embodiment
In order to make the objectives, technical solutions, and advantages of the present invention clearer, with reference to the accompanying drawing and specific implementationInvention is further described in detail for example.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention,It is not intended to limit the present invention.
In order to keep the narration of this disclosure more detailed with it is complete, below for embodiments of the present invention and specific realIt applies example and proposes illustrative description;But this not implements or uses the unique forms of the specific embodiment of the invention.EmbodimentIn cover multiple specific embodiments feature and to construction with operate these specific embodiments method and step it is suitable with itSequence.However, can also reach identical or impartial function and sequence of steps using other specific embodiments.
Fig. 1 is the flow chart according to a kind of method for controlling mobile terminal shown in first embodiment, refering to Figure 1,The method for controlling mobile terminal includes:
S101 detects the cunning that user inputs on touching display screen when user browses sharing contents in social applicationThe sliding speed of dynamic operation.
S102, when the sliding speed is greater than or equal to the first pre-set velocity, according in the corresponding sharing of the slideHold and obtains corresponding contact information.
S103, in the browser interface of sharing contents, shielding or gathering show dividing for the corresponding contact person of the contact informationEnjoy content.
In step s101, social application is the APP of any social type of installation on mobile terminals, such as:Wechat, QQ, microblogging etc., sharing contents can be text, picture, link or the forwarding to other users sharing contents, such as:Text or picture in circle of friends sharing, the text or picture in QQ space publication forward the micro- of other users in microbloggingIt wins.User constantly inputs slide with finger on touching display screen, realizes screen scroll to check subsequent sharingContent, when current sharing contents are junk information, in order to quickly climb over, the speed of finger sliding can become faster user, that is, slideThe sliding speed of operation becomes faster.
In step s101, slide can be a slide to the top orientation of the touching display screen,It can be the continuously slipping operation to the top orientation of the touching display screen.When user input slide when, can according toFamily change in location of touch point on touching display screen calculates sliding speed with the time for generating above-mentioned change in location.Sliding behaviourMake triggering screen scroll, the speed of screen scroll can be consistent with the sliding speed of slide;It is further possible to be arrangedThe threshold speed of screen scroll, when sliding speed is greater than the rolling speed threshold value, the speed of screen scroll is the threshold speed;The time span of screen scroll and the time span of slide are consistent;The beginning and stopping of screen scroll can respectively with slidingThe beginning of operation is synchronous with stopping, can also be different step, opens for example, screen scroll can postpone a time threshold than slideBegin, or terminates to start screen scroll again when finger leaves touching display screen in the slide of user.
In step s 102, when the sliding speed of the slide is greater than or equal to the first pre-set velocity, i.e., mobile wholeEnd judge the slide for hypervelocity slide, it is indirect judge the corresponding sharing contents of hypervelocity slide for junk information,Carry out shielding or other processing.When slide be to the top orientation of the touching display screen a slide when,The corresponding sharing contents of the slide can be with are as follows: the corresponding sharing contents of slide start position, and/or sliding behaviourMake the sharing contents between the corresponding sharing contents in final position, and/or the slide start position and final position;Work as cunningDynamic operation for the continuously slipping operation of the top orientation of the touching display screen and the beginning of screen scroll and the slide andWhen stopping synchronous, the corresponding sharing contents of the slide can be with are as follows: the slide is shown during sliding in browser interfaceAll sharing contents within the scope of the screen scroll of the sharing contents crossed, the i.e. slide triggering;When slide is to thisWhen the continuously slipping operation of the top orientation of touching display screen and the beginning of screen scroll and the slide and asynchronous stopping,The corresponding sharing contents of the slide can be with are as follows: showed during the screen scroll of slide triggering in browser interfaceSharing contents.The contact information (distributor information) for obtaining sharing contents corresponding with the slide, by the connectionPeople shields or other processing.
In step s 103, when user continues to browse sharing contents or reenter the browser interface of sharing contents,It shields the sharing contents of the corresponding contact person's publication of the contact information or collapses the sharing contents for showing contact person publication.ItsIn, when being shielded, it can not show any information of the contact person, or only show the head image information of the contact person;It is receivedWhen holding together to show, expansion button can be shown simultaneously, and user can check sharing contents by clicking the expansion button.
Fig. 2 is the flow chart according to a kind of method for controlling mobile terminal shown in second embodiment, is please referred to shown in Fig. 2,The method for controlling mobile terminal includes:
S201 detects the cunning that user inputs on touching display screen when user browses sharing contents in social applicationThe sliding speed of dynamic operation.
S202, when the sliding speed is greater than or equal to the first pre-set velocity, according in the corresponding sharing of the slideHold and obtains corresponding contact information.
S203 shows the pop-up window of the list including the contact information in current interface.
S204 receives the selection operation that user selects contact information in the list.
S205, in response to the selection operation, in the browser interface of sharing contents, shielding or the connection for collapsing display user's selectionIt is the sharing contents of the corresponding contact person of people's information.
In the present embodiment, it after the contact information for obtaining the corresponding sharing contents of hypervelocity slide, does not carry out directlyDisplay operation is collapsed in shielding, firstly generates the list including the contact information, and the list display is used in pop-up windowFamily can select the contact information for needing to shield on the list, and after confirmation, selected contact person is shielded, subsequentThe browser interface of sharing contents or when reentering browser interface, the sharing contents of selected contact's publication are shielded.
Fig. 3 is the flow chart according to a kind of method for controlling mobile terminal shown in 3rd embodiment, is please referred to shown in Fig. 3,The method for controlling mobile terminal includes:
S301 detects the cunning that user inputs on touching display screen when user browses sharing contents in social applicationThe sliding speed of dynamic operation.
S302 judges in the corresponding sharing of the slide when the sliding speed is greater than or equal to the first pre-set velocityWhether be the sharing contents that had browsed, obtain the first judging result if holding.
S303 obtains corresponding connection according to the corresponding sharing contents of the slide when the first judging result is noPeople's information.
S304, in the browser interface of sharing contents, shielding or gathering show dividing for the corresponding contact person of the contact informationEnjoy content.
In the present embodiment, when the current sharing contents of browser interface are the sharing contents browsed, user also canQuick sliding is contacted with quickly browsing the sharing contents browsed to the corresponding sharing contents of hypervelocity slideBefore people's information extraction, first judge whether it is the sharing contents browsed, judging result be it is yes, then without subsequent contactPeople's information extraction and shielding processing;Judging result be it is no, just to the sharing contents carry out contact information extraction, to shield or receiveHold together to show the sharing contents of the contact person.In the present embodiment, when browsing sharing contents in social application as user, record is usedThe sharing contents that family had browsed, the sharing contents of will the exceed the speed limit corresponding sharing contents of slide and record browsedIt compares.
Fig. 4 is the flow chart according to a kind of method for controlling mobile terminal shown in fourth embodiment, is please referred to shown in Fig. 4,The method for controlling mobile terminal includes:
S401, when user browses sharing contents in social application, the sharing contents that had browsed of record user andThe corresponding contact information of the sharing contents browsed, to generate historical viewings record.
S402 detects the cunning that user inputs on touching display screen when user browses sharing contents in social applicationThe sliding speed of dynamic operation.
S403, when the sliding speed is greater than or equal to the first pre-set velocity, according in the corresponding sharing of the slideHold and obtains corresponding contact information.
S404 judges that the contact information whether there is and records in the historical viewings, obtains the second judging result.
S405, when the first judging result is no, in the browser interface of sharing contents, shielding or gathering show the contact personThe sharing contents of the corresponding contact person of information.
In the present embodiment, user's sharing contents browsed are recorded and the sharing contents browsed is correspondingContact information compared after being extracted hypervelocity slide corresponding contact information with historical viewings record,If the contact information is present in historical viewings record, just represents user and once browsed in the sharing of contact person publicationHold, does not shield or collapse display to the sharing contents of contact person publication.
Fig. 5 is the flow chart for implementing a kind of method for controlling mobile terminal exemplified according to the 5th, is please referred to shown in Fig. 5,The method for controlling mobile terminal includes:
S501 receives the speed adjustment instruction that user inputs on touching display screen.
S502 is adjusted first pre-set velocity according to the corresponding adjustable strategies of speed adjustment instruction.
S503 detects the cunning that user inputs on touching display screen when user browses sharing contents in social applicationThe sliding speed of dynamic operation.
S504, when the sliding speed is greater than or equal to the first pre-set velocity, according in the corresponding sharing of the slideHold and obtains corresponding contact information.
S505, in the browser interface of sharing contents, shielding or gathering show dividing for the corresponding contact person of the contact informationEnjoy content.
In the present embodiment, it is possible to be adjusted by speed adjustment instruction to the first pre-set velocity, wherein speed adjustmentInstruction can be the regulating command of similar screen intensity, for example, by inputting touch operation in the specific region of touching display screenOr gesture operation is to show that the first pre-set velocity adjusts progress bar.Speed adjustment instruction can also be the amplitude tune pre-setSection instruction, for example, being inputted primary by inputting the first touch operation or first gesture operation in the specific region of touching display screenFirst pre-set velocity is then increased by 5% by operation;By inputting the second touch operation or second in the specific region of touching display screenGesture operation inputs once-through operation, then the first pre-set velocity is reduced by 5%.Or, defeated by the specific region in touching display screenEnter the first slide, using the sliding speed of first slide as the first pre-set velocity.
Based on the same inventive concept, a kind of mobile terminal, such as the following examples are additionally provided in the embodiment of the present invention.ByIt is similar to above-mentioned method for controlling mobile terminal in the principle that mobile terminal solves the problems, such as, therefore the implementation of mobile terminal can be joinedSee the implementation of above-mentioned method for controlling mobile terminal, overlaps will not be repeated.It is used below, term " unit " orThe combination of the software and/or hardware of predetermined function may be implemented in " submodule " or " module ".Although described by following embodimentThe functional module of mobile terminal preferably realized with software, but the combined realization of hardware or software and hardwareIt may and be contemplated.
Fig. 6 is the functional block diagram of the mobile terminal of one embodiment provided by the invention.The mobile terminal packetInclude: velocity measuring module 10, contact person obtain module 20 and sharing contents processing module 30, wherein velocity measuring module 10 is usedIn when user browses sharing contents in social application, the sliding for the slide that user inputs on touching display screen is detectedSpeed.Contact person obtains module 20 and is used for when the sliding speed is greater than or equal to the first pre-set velocity, according to the slideCorresponding sharing contents obtain corresponding contact information.Sharing contents processing module 30 is used for browsing circle in sharing contentsFace, shielding or gathering show the sharing contents of the corresponding contact person of the contact information.
Fig. 7 is the functional block diagram of the mobile terminal of second embodiment provided by the invention.The present embodiment is in Fig. 6On the basis of illustrated embodiment, sharing contents processing module 30 further comprises: list cell 301, selecting unit 302 and processingUnit 303, wherein list cell 301 is used to show the pop-up window of the list including the contact information in current interface;ChoosingUnit 302 is selected for receiving the selection operation that user selects contact information in the list;First processing units 303 are for ringingShould be in the selection operation, in the browser interface of sharing contents, shielding or the contact information for collapsing display user's selection are correspondingThe sharing contents of contact person.
Fig. 8 is the functional block diagram of the mobile terminal of third embodiment provided by the invention.The present embodiment is in Fig. 6On the basis of illustrated embodiment, contact person obtains module 20 and further comprises: the first judging unit 201 and acquiring unit 202,In, the first judging unit 201 is used to judge that the slide is corresponding when the sliding speed is greater than or equal to the first pre-set velocitySharing contents whether be the sharing contents browsed, obtain the first judging result;Acquiring unit 202 is used for when the first judgementWhen being as a result no, corresponding contact information is obtained according to the corresponding sharing contents of the slide.
Fig. 9 is the functional block diagram of the mobile terminal of the 4th embodiment provided by the invention.The present embodiment is in Fig. 6On the basis of illustrated embodiment, which further includes logging modle 40, for browsing sharing in social application as userWhen content, the sharing contents and the corresponding contact information of the sharing contents browsed that record user had browsed,To generate historical viewings record;And sharing contents processing module 30 further comprises: second judgment unit 304 and second processing listMember 305, wherein second judgment unit 304 is recorded for judging that the contact information whether there is in the historical viewings, obtains theTwo judging results;The second processing unit 305 is used for when the first judging result is no, in the browser interface of sharing contents, shieldingOr collapse the sharing contents for showing the corresponding contact person of the contact information.
Figure 10 is the functional block diagram of the mobile terminal of the 5th embodiment provided by the invention.The present embodiment is being schemedOn the basis of 6 illustrated embodiments, which further includes command reception module 50 and adjustment module 60, wherein command receptionModule 50 is for receiving the speed adjustment instruction that user inputs on touching display screen;Adjustment module 60 is used for according to the speed tuneIt is whole to instruct corresponding adjustable strategies, which is adjusted.
Those skilled in the art can be understood that, for convenience of description and succinctly, only with above-mentioned each function listThe division progress of member, module for example, in practical application, can according to need and by above-mentioned function distribution by different functionsUnit, module are completed, i.e., the internal structure of mobile terminal are divided into different functional unit or module, to complete above descriptionAll or part of function.Each functional unit in embodiment, module can integrate in one processing unit, be also possible toEach unit physically exists alone, and can also be integrated in one unit with two or more units, above-mentioned integrated unitBoth it can take the form of hardware realization, can also realize in the form of software functional units.In addition, each functional unit, mouldThe specific name of block is also only for convenience of distinguishing each other, the protection scope being not intended to limit this application.It is single in above-mentioned apparatusMember, the specific work process of module, can refer to corresponding processes in the foregoing method embodiment, details are not described herein.
It should be noted that all the embodiments in this specification are described in a progressive manner, each embodiment weightPoint explanation is the difference from other embodiments, and the same or similar parts between the embodiments can be referred to each other.For function modoularization mobile terminal embodiment, since it is basically similar to the method embodiment, so the comparison of description is simpleSingle, the relevent part can refer to the partial explaination of embodiments of method.
It please refers to shown in Figure 11, the embodiment of the invention also provides a kind of mobile terminal, which includes processor1101, memory 1102, be set to the positive touching display screen 1103 of the mobile terminal, processor 1101, memory 1102 and touchingControl display screen 1103 realizes above-mentioned method for controlling mobile terminal at work.
Wherein, processor 1101 can be a general central processor, microprocessor, application-specific integrated circuit orOne or more is for controlling the integrated circuit of application scheme program execution.
In addition, memory 1102 can be read-only memory, the static storage device that static information and instruction can be stored, withMachine access memory or the dynamic memory that can store information and instruction, are also possible to the read-only storage of electric erazable programmableDevice, CD-ROM or other optical disc storages, optical disc storage, magnetic disk storage medium or other magnetic storage apparatus.Memory and placeReason device can be connected by communication bus, can also be integrated with processor.
Above-mentioned memory 1102 can be used for storing the program data for executing application scheme, and processor can be used for executing storageThe program data stored in device, to realize the method for controlling mobile terminal of above-described embodiment description.
As shown in figure 12, it the embodiment of the invention also provides a kind of storage medium 120, is stored in the storage medium 120Program 1201, the program 1201 realize above-mentioned method for controlling mobile terminal when executed.
It should be noted that storage medium 120 can be read-only memory, can store static information and refer in the present embodimentStatic storage device, random access memory or the dynamic memory that can store information and instruction of order, are also possible to electricityErasable programmable read-only memory, CD-ROM or other optical disc storages, optical disc storage, magnetic disk storage medium or other magneticStore equipment.
It should be noted that the program 1201 in the present embodiment can carry out book by any combination of one or more of programming languagesIt writes, the programming language including object-oriented, further includes traditional mistake such as JAVA, Smalltalk, C++ or similar programming languageJourney programming language, such as " C " programming language or similar programming language.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, is not described in detail or remembers in some embodimentThe part of load may refer to the associated description of other embodiments.
In embodiment provided herein, it should be understood that disclosed mobile terminal and method can pass through itIts mode is realized.For example, mobile terminal embodiment described above is only schematical, for example, module or unitIt divides, only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units or componentsIt can be combined or can be integrated into another system, or some features can be ignored or not executed.Another point, it is shown orThe mutual coupling or direct-coupling or communication connection discussed can be through some interfaces, the indirect coupling of device or unitConjunction or communication connection can be electrical property, mechanical or other forms.
It, can also be in addition, each functional unit in each embodiment of the application can integrate in one processing unitIt is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated listMember both can take the form of hardware realization, can also realize in the form of software functional units.
If integrated module/unit is realized in the form of SFU software functional unit and sells or use as independent productWhen, it can store in a computer readable storage medium.Based on this understanding, the application realizes above-described embodiment sideAll or part of the process in method can also instruct relevant hardware to complete by computer program, and computer program canIt is stored in a computer readable storage medium, the computer program is when being executed by processor, it can be achieved that above-mentioned each methodThe step of embodiment.Wherein, computer program includes computer program code, and computer program code can be source code shapeFormula, object identification code form, executable file or certain intermediate forms etc..Computer-readable medium may include: that can carry meterAny entity or device of calculation machine program code, recording medium, USB flash disk, mobile hard disk, magnetic disk, CD, computer storage, onlyRead memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electricity loadWave signal, telecommunication signal and software distribution medium etc..It should be noted that the content that computer-readable medium includes can rootIncrease and decrease appropriate is carried out according to the requirement made laws in jurisdiction with patent practice, such as in certain jurisdictions, according to verticalMethod and patent practice, computer-readable medium do not include be electric carrier signal and telecommunication signal.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all in essence of the inventionMade any modifications, equivalent replacements, and improvements etc., should all be included in the protection scope of the present invention within mind and principle.