CN107678673B - Mobile terminal SNS application picture comment operation triggering method and device - Google Patents

Mobile terminal SNS application picture comment operation triggering method and device Download PDF

Info

Publication number
CN107678673B
CN107678673B CN201710936874.1A CN201710936874A CN107678673B CN 107678673 B CN107678673 B CN 107678673B CN 201710936874 A CN201710936874 A CN 201710936874A CN 107678673 B CN107678673 B CN 107678673B
Authority
CN
China
Prior art keywords
touch screen
picture
triggering
acquiring
distance
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.)
Active
Application number
CN201710936874.1A
Other languages
Chinese (zh)
Other versions
CN107678673A (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 Longying Software Development 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 Longying Software Development Co Ltd filed Critical Suzhou Longying Software Development 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

Images

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

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses a mobile terminal SNS application picture comment operation triggering method and device, which comprises the steps of obtaining a touch screen event of a user on an SNS application interface at a mobile terminal; acquiring a touch screen position corresponding to a touch screen event; judging whether a comment button exists within a preset distance from the touch screen position; if yes, then: judging the distance whether a picture exists in the preset distance of the touch screen position, if so, then: judging whether the distance between the touch screen position and the image edge is smaller than a preset threshold value, if not, then: and triggering the comment button, and ignoring the triggering operation on the picture. The method and the device avoid misoperation when the comment button is triggered, and improve user experience.

Description

Mobile terminal SNS application picture comment operation triggering method and device
Technical Field
The invention relates to the internet technology, in particular to a mobile terminal SNS application picture comment operation triggering method and device.
Background
In recent years, with the widespread use of mobile terminals such as mobile phones, people have started to pay more attention to operability or operability of users in product development to differentiate products. Pointing devices are known means for entering information by simple manipulation without the need for a key press. When using a mobile terminal with a pointing device such as a mouse or a light pen (lightpen), the user has to hold the mobile terminal in one hand and operate the pointing device in the other hand. In this way, both of his/her hands are bound, which impairs the usability of the mobile terminal.
However, with the wide use of touch screen terminals, people click more with a touch screen mode, and the fingers are equivalent to a small mobile phone screen and have a large area, so that a large touch screen area is occupied during touch screen, and a plurality of buttons or links may be arranged in a small area, which is easy to operate by mistake, and trigger other applications or links.
Disclosure of Invention
In order to solve the technical problem, the invention provides a mobile terminal SNS application picture comment operation triggering method and device, which comprise the following steps:
acquiring a touch screen event of a user on an SNS application interface by a mobile terminal;
acquiring a touch screen position corresponding to a touch screen event;
judging whether a comment button exists within a preset distance from the touch screen position; if yes, then:
judging the distance whether a picture exists in the preset distance of the touch screen position, if so, then:
judging whether the distance between the touch screen position and the image edge is smaller than a preset threshold value, if not, then:
and triggering the comment button, and ignoring the triggering operation on the picture.
Further, the judging whether a comment button exists within a preset distance from the touch screen position includes:
acquiring the area and the display scale of a comment button;
and if the area of the comment button is larger than the preset value, ending.
Further, the determining whether the distance between the touch screen position and the picture edge is smaller than a preset threshold includes:
acquiring position information of a picture;
acquiring parameter information of a picture;
determining the image edge according to the parameter information;
and judging whether the distance between the touch screen position and the picture edge is smaller than a preset threshold value.
Further, triggering the comment button to ignore the triggering operation of the picture includes:
judging whether a touch screen event triggers triggering operation on the picture;
and if so, ignoring the triggering operation on the picture.
The invention also provides a mobile terminal SNS application picture comment operation triggering device, which comprises:
the SNS application interface processing module is used for acquiring a touch screen event of a user on the SNS application interface;
the position acquisition module is used for acquiring a touch screen position corresponding to a touch screen event;
the first judgment module is used for judging whether a comment button exists within a preset distance from the touch screen position; if yes, then:
the second judgment module is used for judging whether a picture exists in a preset distance away from the touch screen position, if so, the second judgment module is used for:
a third judging module, configured to judge whether a distance between the touch screen position and the image edge is smaller than a preset threshold, if not:
and the triggering module is used for triggering the comment button and ignoring the triggering operation on the picture.
Further, the apparatus further comprises:
the area acquisition module is used for acquiring the area and the display proportion of the comment button;
and if the area of the comment button is larger than the preset value, ending.
Further, the third determining module includes:
a position acquisition unit for acquiring position information of a picture;
the parameter acquiring unit is used for acquiring parameter information of the picture;
an edge determining unit for determining an image edge according to the parameter information;
and the judging unit is used for judging whether the distance between the touch screen position and the image edge is smaller than a preset threshold value.
Further, the triggering module includes:
the second judging unit is used for judging whether the touch screen event triggers the triggering operation of the picture;
and if so, ignoring the triggering operation on the picture.
The invention also provides a mobile terminal comprising the device.
In summary, the invention provides a mobile terminal SNS application picture comment operation triggering method and device, wherein a touch screen event of a user on an SNS application interface is acquired; acquiring a touch screen position corresponding to a touch screen event; judging whether a comment button exists within a preset distance from the touch screen position; if yes, then: judging the distance whether a picture exists in the preset distance of the touch screen position, if so, then: judging whether the distance between the touch screen position and the image edge is smaller than a preset threshold value, if not, then: and triggering the comment button, and ignoring the triggering operation on the picture. Therefore, misoperation when the comment button is triggered is avoided, and user experience is improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions and advantages of the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and other drawings can be obtained by those skilled in the art without creative efforts.
FIG. 1 is a flow chart of a method provided by the present invention;
fig. 2 is a block diagram of a terminal provided by the present invention.
Detailed Description
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Example (b):
as shown in fig. 1, the invention provides a mobile terminal SNS application picture comment operation triggering method, which includes:
s1, acquiring a touch screen event of the SNS application interface at the mobile terminal by the user;
s2, acquiring a touch screen position corresponding to the touch screen event;
s3, judging whether a comment button exists within a preset distance from the touch screen position; if yes, then:
s4, judging whether a picture exists in the preset distance from the touch screen position, if so, then:
s5, judging whether the distance between the touch screen position and the picture edge is smaller than a preset threshold value, if not, then:
and S6, triggering the comment button and ignoring the triggering operation on the picture.
Further, the judging whether a comment button exists within a preset distance from the touch screen position includes:
acquiring the area and the display scale of a comment button;
and if the area of the comment button is larger than the preset value, ending.
Further, the determining whether the distance between the touch screen position and the picture edge is smaller than a preset threshold includes:
acquiring position information of a picture;
acquiring parameter information of a picture;
determining the image edge according to the parameter information;
and judging whether the distance between the touch screen position and the picture edge is smaller than a preset threshold value.
Further, triggering the comment button to ignore the triggering operation of the picture includes:
judging whether a touch screen event triggers triggering operation on the picture;
and if so, ignoring the triggering operation on the picture.
The invention also provides a mobile terminal SNS application picture comment operation triggering device, which comprises:
the SNS application interface processing module is used for acquiring a touch screen event of a user on the SNS application interface;
the position acquisition module is used for acquiring a touch screen position corresponding to a touch screen event;
the first judgment module is used for judging whether a comment button exists within a preset distance from the touch screen position; if yes, then:
the second judgment module is used for judging whether a picture exists in a preset distance away from the touch screen position, if so, the second judgment module is used for:
a third judging module, configured to judge whether a distance between the touch screen position and the image edge is smaller than a preset threshold, if not:
and the triggering module is used for triggering the comment button and ignoring the triggering operation on the picture.
Further, the apparatus further comprises:
the area acquisition module is used for acquiring the area and the display proportion of the comment button;
and if the area of the comment button is larger than the preset value, ending.
Further, the third determining module includes:
a position acquisition unit for acquiring position information of a picture;
the parameter acquiring unit is used for acquiring parameter information of the picture;
an edge determining unit for determining an image edge according to the parameter information;
and the judging unit is used for judging whether the distance between the touch screen position and the image edge is smaller than a preset threshold value.
Further, the triggering module includes:
the second judging unit is used for judging whether the touch screen event triggers the triggering operation of the picture;
and if so, ignoring the triggering operation on the picture.
The invention also provides a mobile terminal comprising the device.
In summary, the invention provides a mobile terminal SNS application picture comment operation triggering method and device, wherein a touch screen event of a user on an SNS application interface is acquired; acquiring a touch screen position corresponding to a touch screen event; judging whether a comment button exists within a preset distance from the touch screen position; if yes, then: judging the distance whether a picture exists in the preset distance of the touch screen position, if so, then: judging whether the distance between the touch screen position and the image edge is smaller than a preset threshold value, if not, then: and triggering the comment button, and ignoring the triggering operation on the picture. Therefore, misoperation when the comment button is triggered is avoided, and user experience is improved.
As shown in fig. 2, the present invention further provides a terminal device, which includes the above apparatus.
The method provided by the first embodiment of the present application may be executed in a mobile terminal, a computer terminal, or a similar computing device. Taking the example of running on a computer terminal, fig. 2 is a block diagram of the hardware structure of the computer terminal according to the method of the embodiment of the present invention. As shown in fig. 2, the computer terminal 100 may include one or more (only one shown) processors 102 (the processors 102 may include, but are not limited to, a processing device such as a microprocessor MCU or a programmable logic device FPGA), a memory 104 for storing data, and a transmission device 106 for communication functions. It will be understood by those skilled in the art that the structure shown in fig. 2 is only an illustration and is not intended to limit the structure of the electronic device. For example, computer terminal 100 may also include more or fewer components than shown in FIG. 2, or have a different configuration than shown in FIG. 2.
The memory 104 may be used to store software programs and modules of application software, such as program instructions/modules corresponding to the method of the present invention in the embodiment of the present invention, and the processor 102 executes various functional applications and data processing by executing the software programs and modules stored in the memory 104, so as to implement the method of the present invention described above. The memory 104 may include high speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include memory located remotely from the processor 102, which may be connected to the computer terminal 100 via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The transmission device 106 is used for receiving or transmitting data via a network. Specific examples of the network described above may include a wireless network provided by a communication provider of the computer terminal 100. In one example, the transmission device 106 includes a Network adapter (NIC), which can be connected to other Network devices through a base station so as to communicate with the internet. In one example, the transmission device 106 may be a Radio Frequency (RF) module, which is used for communicating with the internet in a wireless manner.
In the above operating environment, the present application provides the method of the present invention as shown in fig. 1. The method can be applied to intelligent terminal equipment, and is executed by a processor in the intelligent terminal equipment, and the intelligent terminal equipment can be an intelligent mobile phone, a tablet personal computer and the like. The intelligent terminal device is provided with at least one application program, and the embodiment of the invention does not limit the types of the application programs, and can be a system application program or a software application program.
It should be noted that: the method provided by the foregoing embodiment is only illustrated by dividing the functional modules, and in practical applications, the function distribution may be completed by different functional modules according to needs, that is, the internal structure of the device for finding an object is divided into different functional modules, so as to complete all or part of the functions described above. In addition, the apparatus for finding an object and the method for finding an object provided in the above embodiments belong to the same concept, and specific implementation processes thereof are detailed in the method embodiments and will not be described herein again.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, where the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.

Claims (9)

1. A mobile terminal SNS application picture comment operation triggering method is characterized by comprising the following steps:
acquiring a touch screen event of a user on an SNS application interface by a mobile terminal;
acquiring a touch screen position corresponding to a touch screen event;
judging whether a comment button exists within a preset distance from the touch screen position; if yes, then:
judging the distance whether a picture exists in the preset distance of the touch screen position, if so, then:
judging whether the distance between the touch screen position and the image edge is smaller than a preset threshold value, if not, then:
and triggering the comment button, and ignoring the triggering operation on the picture.
2. The method of claim 1, wherein the determining whether a comment button is located within a preset distance from the touch screen location comprises:
acquiring the area and the display scale of a comment button;
and if the area of the comment button is larger than the preset value, ending.
3. The method according to claim 1 or 2, wherein the determining whether the distance between the touch screen position and the picture edge is smaller than a preset threshold value comprises:
acquiring position information of a picture;
acquiring parameter information of a picture;
determining the image edge according to the parameter information;
and judging whether the distance between the touch screen position and the picture edge is smaller than a preset threshold value.
4. The method of claim 3, wherein triggering the comment button to ignore the trigger action on the picture comprises:
judging whether a touch screen event triggers triggering operation on the picture;
and if so, ignoring the triggering operation on the picture.
5. A mobile terminal SNS application picture comment operation triggering device is characterized by comprising:
the SNS application interface processing module is used for acquiring a touch screen event of a user on the SNS application interface;
the position acquisition module is used for acquiring a touch screen position corresponding to a touch screen event;
the first judgment module is used for judging whether a comment button exists within a preset distance from the touch screen position; if yes, then:
the second judgment module is used for judging whether a picture exists in a preset distance away from the touch screen position, if so, the second judgment module is used for:
a third judging module, configured to judge whether a distance between the touch screen position and the image edge is smaller than a preset threshold, if not:
and the triggering module is used for triggering the comment button and ignoring the triggering operation on the picture.
6. The apparatus of claim 5, further comprising:
the area acquisition module is used for acquiring the area and the display proportion of the comment button;
and if the area of the comment button is larger than the preset value, ending.
7. The apparatus according to claim 5 or 6, wherein the third determining module comprises:
a position acquisition unit for acquiring position information of a picture;
the parameter acquiring unit is used for acquiring parameter information of the picture;
an edge determining unit for determining an image edge according to the parameter information;
and the judging unit is used for judging whether the distance between the touch screen position and the image edge is smaller than a preset threshold value.
8. The apparatus of claim 7, wherein the triggering module comprises:
the second judging unit is used for judging whether the touch screen event triggers the triggering operation of the picture;
and if so, ignoring the triggering operation on the picture.
9. A mobile terminal, characterized in that it comprises the apparatus of any of claims 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 CN107678673A (en) 2018-02-09
CN107678673B true 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
CN107678673A (en) 2018-02-09

Similar Documents

Publication Publication Date Title
CN108021259B (en) False touch prevention method and electronic equipment
CN106708407B (en) Prevent the method, device and mobile terminal of touch key-press false triggering
CN108701043B (en) Display processing method and device
CN106775420B (en) Application switching method and device and graphical user interface
CN106062763B (en) Method and device for displaying application and picture and electronic equipment
CN110140342B (en) Screen locking interface processing method and terminal
CN102541455B (en) Method and device for rapidly switching operations
CN106681635B (en) Split screen false touch prevention method and device and mobile terminal
KR20130041900A (en) Adaptive method and device for user touch operation mode
CN108700985A (en) A kind of icon display method and device
CN109062464B (en) Touch operation method and device, storage medium and electronic equipment
CN107317918B (en) Parameter setting method and related product
CN111767108A (en) Application program label generation method, application interface display method and device
CN103268197A (en) Method and device for screen locking and terminal equipment
WO2017107715A1 (en) Method and apparatus for controlling one-hand operation mode of terminal
CN106708409B (en) A kind of response method of popup menu, device and mobile terminal
CN106445721B (en) The method and mobile terminal of house dog fault-tolerant processing
CN111078108A (en) Screen display method and device, storage medium and mobile terminal
CN108205455B (en) Application function implementation method and device and terminal
CN112703534A (en) Image processing method and related product
CN107423598B (en) A kind of solution lock control method and mobile terminal
CN104933340A (en) Message sending method and mobile terminal
CN107678673B (en) Mobile terminal SNS application picture comment operation triggering method and device
CN105989111B (en) Application program pushing method and application program pushing system
CN109902484B (en) Processing method of associated application and terminal

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