CN107678673A - A kind of mobile terminal SNS applications picture comment operation triggering method and device - Google Patents

A kind of mobile terminal SNS applications picture comment operation triggering method and device Download PDF

Info

Publication number
CN107678673A
CN107678673A CN201710936874.1A CN201710936874A CN107678673A CN 107678673 A CN107678673 A CN 107678673A CN 201710936874 A CN201710936874 A CN 201710936874A CN 107678673 A CN107678673 A CN 107678673A
Authority
CN
China
Prior art keywords
picture
distance
touch screen
screen position
touch
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
CN201710936874.1A
Other languages
Chinese (zh)
Other versions
CN107678673B (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.)
Suzhou Longying Software Development Co., Ltd
Original Assignee
Suzhou Billion Kesaizhuo Electronic Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Suzhou Billion Kesaizhuo Electronic Technology Co Ltd filed Critical Suzhou Billion Kesaizhuo Electronic Technology Co Ltd
Priority to CN201710936874.1A priority Critical patent/CN107678673B/en
Publication of CN107678673A publication Critical patent/CN107678673A/en
Application granted granted Critical
Publication of CN107678673B publication Critical patent/CN107678673B/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/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

Abstract

The invention discloses a kind of mobile terminal SNS applications picture to comment on operation triggering method and device, including obtains touch-screen event of the user in mobile terminal to SNS application interfaces;Obtain touch screen position corresponding to touch-screen event;Whether there is review button in the pre-determined distance of touch screen position described in judging distance;If so, then:Whether there is picture in the pre-determined distance of touch screen position described in judging distance, if so, then:Judge whether the touch screen position and the distance of the image edge are less than default threshold value, if it is not, then:The review button is triggered, ignores the trigger action to the picture.The maloperation when present invention avoids triggering review button, improve Consumer's Experience.

Description

A kind of mobile terminal SNS applications picture comment operation triggering method and device
Technical field
The present invention relates to Internet technology, more particularly to a kind of mobile terminal SNS applications picture comment operation triggering method And device.
Background technology
In recent years, with such as mobile phone etc mobile terminal extensive use, people have opened in product development Beginning increasingly focuses on the operability or operability of user, to be made a distinction to product.Pointing device is known without button The means of information can be inputted by simple operations.Make when using the pointing device of such as mouse or light pen (lightpen) etc During with mobile terminal, user has to hold mobile terminal on the other hand, the other hand operation pointing device.So, his/her two Hand is all fettered, and this weakens the availability of mobile terminal.
But widely using now with touch screen terminal, people are more clicked on using touch screen mode, and finger is suitable In small mobile phone screen, area is larger, so as to occupy larger touch screen area in touch screen, and may row in the region of very little It is furnished with multiple buttons or link, it is easy to maloperation, trigger other applications or link.
The content of the invention
In order to solve the above-mentioned technical problem, the invention provides a kind of mobile terminal SNS applications picture to comment on operation triggering Method and device, including:
Obtain touch-screen event of the user in mobile terminal to SNS application interfaces;
Obtain touch screen position corresponding to touch-screen event;
Whether there is review button in the pre-determined distance of touch screen position described in judging distance;If so, then:
Whether there is picture in the pre-determined distance of touch screen position described in judging distance, if so, then:
Judge whether the touch screen position and the distance of the image edge are less than default threshold value, if it is not, then:
The review button is triggered, ignores the trigger action to the picture.
Further, before whether having review button in the pre-determined distance of touch screen position described in the judging distance, including:
Obtain the area and displaying ratio of review button;
If the area of review button is more than preset value, terminate.
It is further, described to judge whether the touch screen position and the distance of the image edge are less than default threshold value, Including:
Obtain the positional information of picture;
Obtain the parameter information of picture;
Image border is determined according to parameter information;
Judge whether the touch screen position and the distance of the image edge are less than default threshold value.
Further, the review button is triggered, ignores the trigger action to the picture, including:
Judge whether touch-screen event triggers the trigger action to picture;
If so, then ignore the trigger action to the picture.
Present invention also offers a kind of mobile terminal SNS applications picture to comment on operation trigger device, including:
First event acquisition module, for obtaining touch-screen event of the user in mobile terminal to SNS application interfaces;
Position acquisition module, for obtaining touch screen position corresponding to touch-screen event;
First judge module, for whether having review button in the pre-determined distance of touch screen position described in judging distance;If so, Then:
Second judge module, for whether having picture in the pre-determined distance of touch screen position described in judging distance, if so, then:
3rd judge module, for judging whether the touch screen position and the distance of the image edge are less than default threshold Value, if it is not, then:
Trigger module, for triggering the review button, ignore the trigger action to the picture.
Further, described device also includes:
Area acquisition module, for obtaining the area and displaying ratio of review button;
If the area of review button is more than preset value, terminate.
Further, the 3rd judge module includes:
Position acquisition unit, for obtaining the positional information of picture;
Parameter acquiring unit, for obtaining the parameter information of picture;
Edge determining unit, for determining image border according to parameter information;
Judging unit, for judging whether the touch screen position and the distance of the image edge are less than default threshold value.
Further, trigger module includes:
Second judging unit, for judging whether touch-screen event triggers the trigger action to picture;
If so, then ignore the trigger action to the picture.
Present invention also offers a kind of mobile terminal, including said apparatus.
In summary, the invention provides a kind of mobile terminal SNS applications picture to comment on operation triggering method and device, leads to Cross the touch-screen event for obtaining user in mobile terminal to SNS application interfaces;Obtain touch screen position corresponding to touch-screen event;Judge away from From whether having review button in the pre-determined distance of the touch screen position;If so, then:Described in judging distance in the pre-determined distance of touch screen position Whether picture is had, if so, then:Judge whether the touch screen position and the distance of the image edge are less than default threshold value, if It is no, then:The review button is triggered, ignores the trigger action to the picture.Mistake behaviour during so as to avoid triggering review button Make, improve Consumer's Experience.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art and advantage, below will be to implementing The required accompanying drawing used is briefly described in example or description of the prior art, it should be apparent that, drawings in the following description are only Only it is some embodiments of the present invention, for those of ordinary skill in the art, on the premise of not paying creative work, Other accompanying drawings can also be obtained according to these accompanying drawings.
Fig. 1 is the flow chart of method provided by the invention;
Fig. 2 is the block diagram of terminal provided by the invention.
Embodiment
In order that those skilled in the art more fully understand the present invention program, below in conjunction with the embodiment of the present invention Accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is only The embodiment of a part of the invention, rather than whole embodiments.Based on the embodiment in the present invention, ordinary skill people The every other embodiment that member is obtained under the premise of creative work is not made, it should all belong to the model that the present invention protects Enclose.
It should be noted that term " first " in description and claims of this specification and above-mentioned accompanying drawing, " Two " etc. be for distinguishing similar object, without for describing specific order or precedence.It should be appreciated that so use Data can exchange in the appropriate case, so as to embodiments of the invention described herein can with except illustrating herein or Order beyond those of description is implemented.In addition, term " comprising " and " having " and their any deformation, it is intended that cover Cover it is non-exclusive include, be not necessarily limited to for example, containing the process of series of steps or unit, method, system, product or equipment Those steps or unit clearly listed, but may include not list clearly or for these processes, method, product Or the intrinsic other steps of equipment or unit.
Embodiment:
As shown in figure 1, the invention provides a kind of mobile terminal SNS applications picture to comment on operation triggering method, including:
S1, obtain touch-screen event of the user in mobile terminal to SNS application interfaces;
S2, obtain touch screen position corresponding to touch-screen event;
Whether there is review button in the pre-determined distance of touch screen position described in S3, judging distance;If so, then:
Whether there is picture in the pre-determined distance of touch screen position described in S4, judging distance, if so, then:
S5, judge whether the touch screen position and the distance of the image edge are less than default threshold value, if it is not, then:
S6, the triggering review button, ignore the trigger action to the picture.
Further, before whether having review button in the pre-determined distance of touch screen position described in the judging distance, including:
Obtain the area and displaying ratio of review button;
If the area of review button is more than preset value, terminate.
It is further, described to judge whether the touch screen position and the distance of the image edge are less than default threshold value, Including:
Obtain the positional information of picture;
Obtain the parameter information of picture;
Image border is determined according to parameter information;
Judge whether the touch screen position and the distance of the image edge are less than default threshold value.
Further, the review button is triggered, ignores the trigger action to the picture, including:
Judge whether touch-screen event triggers the trigger action to picture;
If so, then ignore the trigger action to the picture.
Present invention also offers a kind of mobile terminal SNS applications picture to comment on operation trigger device, including:
First event acquisition module, for obtaining touch-screen event of the user in mobile terminal to SNS application interfaces;
Position acquisition module, for obtaining touch screen position corresponding to touch-screen event;
First judge module, for whether having review button in the pre-determined distance of touch screen position described in judging distance;If so, Then:
Second judge module, for whether having picture in the pre-determined distance of touch screen position described in judging distance, if so, then:
3rd judge module, for judging whether the touch screen position and the distance of the image edge are less than default threshold Value, if it is not, then:
Trigger module, for triggering the review button, ignore the trigger action to the picture.
Further, described device also includes:
Area acquisition module, for obtaining the area and displaying ratio of review button;
If the area of review button is more than preset value, terminate.
Further, the 3rd judge module includes:
Position acquisition unit, for obtaining the positional information of picture;
Parameter acquiring unit, for obtaining the parameter information of picture;
Edge determining unit, for determining image border according to parameter information;
Judging unit, for judging whether the touch screen position and the distance of the image edge are less than default threshold value.
Further, trigger module includes:
Second judging unit, for judging whether touch-screen event triggers the trigger action to picture;
If so, then ignore the trigger action to the picture.
Present invention also offers a kind of mobile terminal, including said apparatus.
In summary, the invention provides a kind of mobile terminal SNS applications picture to comment on operation triggering method and device, leads to Cross the touch-screen event for obtaining user in mobile terminal to SNS application interfaces;Obtain touch screen position corresponding to touch-screen event;Judge away from From whether having review button in the pre-determined distance of the touch screen position;If so, then:Described in judging distance in the pre-determined distance of touch screen position Whether picture is had, if so, then:Judge whether the touch screen position and the distance of the image edge are less than default threshold value, if It is no, then:The review button is triggered, ignores the trigger action to the picture.Mistake behaviour during so as to avoid triggering review button Make, improve Consumer's Experience.
As shown in Fig. 2 present invention also offers a kind of terminal device, device described above is included.
The embodiment of the method that the embodiment of the present application one is provided can be in mobile terminal, terminal or similar fortune Calculate and performed in device.Exemplified by running on computer terminals, Fig. 2 is the terminal of method according to embodiments of the present invention Hardware block diagram.Handled as shown in Fig. 2 terminal 100 can include one or more (one is only shown in figure) Device 102 (processor 102 can include but is not limited to Micro-processor MCV or PLD FPGA etc. processing unit), Memory 104 for data storage and the transmitting device 106 for communication function.Those of ordinary skill in the art can be with Understand, the structure shown in Fig. 2 is only to illustrate, and it does not cause to limit to the structure of above-mentioned electronic installation.For example, terminal 100 may also include more either less components than shown in Fig. 2 or have the configuration different from shown in Fig. 2.
Memory 104 can be used for the software program and module of storage application software, such as this hair in the embodiment of the present invention Programmed instruction/module corresponding to bright method, processor 102 by operation be stored in software program in memory 104 and Module, so as to perform various function application and data processing, that is, realize above-mentioned method of the invention.Memory 104 can wrap Include high speed random access memory, may also include nonvolatile memory, as one or more magnetic storage device, flash memory or Other non-volatile solid state memories.In some instances, memory 104 can further comprise long-range relative to processor 102 The memory of setting, these remote memories can pass through network connection to terminal 100.The example of above-mentioned network includes But it is not limited to internet, intranet, LAN, mobile radio communication and combinations thereof.
Transmitting device 106 is used to data are received or sent via a network.Above-mentioned network instantiation may include The wireless network that the communication providerses of terminal 100 provide.In an example, transmitting device 106 includes a network Adapter (Network Interface Controller, referred to as NIC), it can be connected by base station with other network equipments So as to be communicated with internet.In an example, transmitting device 106 can be radio frequency (Radio Frequency, letter Referred to as RF) module, it is used to wirelessly be communicated with internet.
Under above-mentioned running environment, this application provides method of the invention as shown in Figure 1.This method can apply to In intelligent terminal, by the computing device in intelligent terminal, intelligent terminal can be smart mobile phone, flat board electricity Brain etc..At least one application program is installed in intelligent terminal, the species of not defining application of the embodiment of the present invention, It can be system class application program, or software class application program.
It should be noted that:The method that above-described embodiment provides, only with the division of above-mentioned each functional module illustrate It is bright, in practical application, it can be completed as needed and by above-mentioned function distribution by different functional modules, object will be searched The internal structure of device is divided into different functional modules, to complete all or part of function described above.It is in addition, above-mentioned The device for the lookup object that embodiment provides belongs to same design with searching the embodiment of the method for object, and it is detailed that it implements process See embodiment of the method, repeat no more here.
The embodiments of the present invention are for illustration only, do not represent the quality of embodiment.
One of ordinary skill in the art will appreciate that hardware can be passed through by realizing all or part of step of above-described embodiment To complete, by program the hardware of correlation can also be instructed to complete, described program can be stored in a kind of computer-readable In storage medium, storage medium mentioned above can be read-only storage, disk or CD etc..
The foregoing is only presently preferred embodiments of the present invention, be not intended to limit the invention, it is all the present invention spirit and Within principle, any modification, equivalent substitution and improvements made etc., it should be included in the scope of the protection.

Claims (9)

  1. A kind of 1. mobile terminal SNS applications picture comment operation triggering method, it is characterised in that including:
    Obtain touch-screen event of the user in mobile terminal to SNS application interfaces;
    Obtain touch screen position corresponding to touch-screen event;
    Whether there is review button in the pre-determined distance of touch screen position described in judging distance;If so, then:
    Whether there is picture in the pre-determined distance of touch screen position described in judging distance, if so, then:
    Judge whether the touch screen position and the distance of the image edge are less than default threshold value, if it is not, then:
    The review button is triggered, ignores the trigger action to the picture.
  2. 2. according to the method for claim 1, it is characterised in that be in the pre-determined distance of touch screen position described in the judging distance It is no have review button before, including:
    Obtain the area and displaying ratio of review button;
    If the area of review button is more than preset value, terminate.
  3. 3. method according to claim 1 or 2, it is characterised in that described to judge the touch screen position and the picture side Whether the distance of edge is less than default threshold value, including:
    Obtain the positional information of picture;
    Obtain the parameter information of picture;
    Image border is determined according to parameter information;
    Judge whether the touch screen position and the distance of the image edge are less than default threshold value.
  4. 4. according to any described method in claim 1-3, it is characterised in that trigger the review button, ignore to described The trigger action of picture, including:
    Judge whether touch-screen event triggers the trigger action to picture;
    If so, then ignore the trigger action to the picture.
  5. A kind of 5. mobile terminal SNS applications picture comment operation trigger device, it is characterised in that including:
    First event acquisition module, for obtaining touch-screen event of the user in mobile terminal to SNS application interfaces;
    Position acquisition module, for obtaining touch screen position corresponding to touch-screen event;
    First judge module, for whether having review button in the pre-determined distance of touch screen position described in judging distance;If so, then:
    Second judge module, for whether having picture in the pre-determined distance of touch screen position described in judging distance, if so, then:
    3rd judge module, for judging whether the touch screen position and the distance of the image edge are less than default threshold value, If it is not, then:
    Trigger module, for triggering the review button, ignore the trigger action to the picture.
  6. 6. device according to claim 5, it is characterised in that also include:
    Area acquisition module, for obtaining the area and displaying ratio of review button;
    If the area of review button is more than preset value, terminate.
  7. 7. the device according to claim 5 or 6, it is characterised in that the 3rd judge module includes:
    Position acquisition unit, for obtaining the positional information of picture;
    Parameter acquiring unit, for obtaining the parameter information of picture;
    Edge determining unit, for determining image border according to parameter information;
    Judging unit, for judging whether the touch screen position and the distance of the image edge are less than default threshold value.
  8. 8. according to any described device in claim 5-7, it is characterised in that trigger module includes:
    Second judging unit, for judging whether touch-screen event triggers the trigger action to picture;
    If so, then ignore the trigger action to the picture.
  9. 9. a kind of mobile terminal, it is characterised in that including any described device in claim 5-8.
CN201710936874.1A 2017-10-10 2017-10-10 Mobile terminal SNS application picture comment operation triggering method and device Active CN107678673B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710936874.1A CN107678673B (en) 2017-10-10 2017-10-10 Mobile terminal SNS application picture comment operation triggering method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710936874.1A CN107678673B (en) 2017-10-10 2017-10-10 Mobile terminal SNS application picture comment operation triggering method and device

Publications (2)

Publication Number Publication Date
CN107678673A true CN107678673A (en) 2018-02-09
CN107678673B CN107678673B (en) 2020-08-11

Family

ID=61139531

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710936874.1A Active CN107678673B (en) 2017-10-10 2017-10-10 Mobile terminal SNS application picture comment operation triggering method and device

Country Status (1)

Country Link
CN (1) CN107678673B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0597379A2 (en) * 1992-11-05 1994-05-18 Sharp Kabushiki Kaisha Pen input processing apparatus
CN101808155A (en) * 2009-02-13 2010-08-18 宏达国际电子股份有限公司 Method and device for preventing mistake touch of screen key as well as computer program product
CN104035606A (en) * 2013-03-07 2014-09-10 宏碁股份有限公司 Operating method of touch panel and electronic device
CN106020710A (en) * 2016-06-29 2016-10-12 联想(北京)有限公司 Method for solving interference and electronic equipment
CN106155654A (en) * 2015-04-03 2016-11-23 阿里巴巴集团控股有限公司 Method, device and the electronic equipment of shielding web page operation

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0597379A2 (en) * 1992-11-05 1994-05-18 Sharp Kabushiki Kaisha Pen input processing apparatus
CN101808155A (en) * 2009-02-13 2010-08-18 宏达国际电子股份有限公司 Method and device for preventing mistake touch of screen key as well as computer program product
CN104035606A (en) * 2013-03-07 2014-09-10 宏碁股份有限公司 Operating method of touch panel and electronic device
CN106155654A (en) * 2015-04-03 2016-11-23 阿里巴巴集团控股有限公司 Method, device and the electronic equipment of shielding web page operation
CN106020710A (en) * 2016-06-29 2016-10-12 联想(北京)有限公司 Method for solving interference and electronic equipment

Also Published As

Publication number Publication date
CN107678673B (en) 2020-08-11

Similar Documents

Publication Publication Date Title
CN105301971B (en) A kind of method and its system controlling smart machine based on image recognition
CN106503584A (en) A kind of session content methods of exhibiting and system
CN107765853A (en) Using method for closing, device, storage medium and electronic equipment
CN109117039A (en) A kind of display methods and terminal device
CN108694029A (en) Terminal screen display processing method, device and storage medium
CN109753425A (en) Pop-up processing method and processing device
CN104571792A (en) Information processing method and electronic equipment
CN104808940A (en) Method and device for transmitting data between terminals
CN108805035A (en) Interactive teaching and learning method based on gesture identification and device
CN108694009A (en) terminal control method and device
CN110891286B (en) Data flow control method, device, computer equipment and storage medium
CN112929860A (en) Bluetooth connection method and device and electronic equipment
CN105630376A (en) Terminal control method and device
CN107423395A (en) Navigation data processing system
CN107911388B (en) Method and system for supervising mobile terminal application
CN109284060A (en) Display control method and relevant apparatus
CN106339617A (en) Unlocking method and unlocking device of terminal equipment
CN107544740B (en) Application processing method and device, storage medium and electronic equipment
CN107808106A (en) A kind of session content methods of exhibiting and device with scene handoff functionality
CN110796096B (en) Training method, device, equipment and medium for gesture recognition model
CN109032472A (en) A kind of application methods of exhibiting, device, terminal and readable storage medium storing program for executing
CN107623574A (en) A kind of instant messaging group group member's pet name automatic correlation method and device
CN107846351A (en) A kind of chat messages sensitive information encryption method and device
CN107024988A (en) A kind of method and device that operation is performed based on user action
CN107678673A (en) A kind of mobile terminal SNS applications picture comment operation triggering method and device

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: 20200702

Address after: 215000 station a062, 2nd floor, building 11, No. 18, Kaitai Road, new high speed rail new town, Xiangcheng District, Suzhou City, Jiangsu Province

Applicant after: Suzhou Longying Software Development Co., Ltd

Address before: 215011 201 Room 201, No. 9, Deng Wei Road, Hi-tech Zone, Jiangsu Province

Applicant before: SUZHOU YIKE SAIZHUO ELECTRONIC TECHNOLOGY Co.,Ltd.

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