CN111694477B - Label processing method and device and electronic equipment - Google Patents

Label processing method and device and electronic equipment Download PDF

Info

Publication number
CN111694477B
CN111694477B CN202010457989.4A CN202010457989A CN111694477B CN 111694477 B CN111694477 B CN 111694477B CN 202010457989 A CN202010457989 A CN 202010457989A CN 111694477 B CN111694477 B CN 111694477B
Authority
CN
China
Prior art keywords
target
tag
label
triggering
target object
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
CN202010457989.4A
Other languages
Chinese (zh)
Other versions
CN111694477A (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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202010457989.4A priority Critical patent/CN111694477B/en
Publication of CN111694477A publication Critical patent/CN111694477A/en
Application granted granted Critical
Publication of CN111694477B publication Critical patent/CN111694477B/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/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/04812Interaction techniques based on cursor appearance or behaviour, e.g. being affected by the presence of displayed objects
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04847Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
    • 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 application discloses a tag processing method, a tag processing device and electronic equipment, and belongs to the technical field of communication. The method comprises the following steps: receiving touch operation, and determining a target object of the touch operation; under the condition that the transparency of the cascading style sheet of the target object is lower than a preset threshold value, acquiring a first target label corresponding to the target object, and displaying label content corresponding to the first target label; the label content comprises a target operation corresponding to the first target label; the user can know the operation to be executed by triggering the transparent first target label, the phenomenon that the user is misled by a target object to enter a wrong website or execute the wrong operation and the like is avoided, malicious application programs or webpages are prevented from running on the electronic equipment of the user due to the false triggering of the user, and the operation safety of the user is guaranteed. The embodiment of the application solves the problem that some transparent labels easily mislead users to trigger wrong operation in the prior art.

Description

Label processing method and device and electronic equipment
Technical Field
The application belongs to the technical field of communication, and particularly relates to a tag processing method and device and electronic equipment.
Background
With the rapid development of mobile communication technology, electronic devices such as smart phones have become an indispensable tool in various aspects of people's life. The functions of various Application programs (APPs) of the electronic equipment are gradually improved, and the functions do not only play a role in communication, but also provide various intelligent services for users, so that great convenience is brought to the work and life of the users.
With the more and more perfect functions of the application programs, more and more practical interfaces (JS interfaces) in java script and various Cascading Style Sheets (CSSs) styles are provided for front-end developers, for example, the CSS styles of the tags are set to be transparent, so that the webpage display effect and the use experience are improved. However, some applications or web pages have some malicious behaviors on the page by using some interfaces or styles provided by the browser, which brings poor internet experience to the user. For example, when a user opens some website or clicks a real tag on a page, the user often jumps to an advertisement page, which is usually because there is a transparent tag on the real tag, and the user actually clicks on the transparent tag, thereby triggering the jump to the advertisement page.
Therefore, in the prior art, some transparent labels are easy to mislead users and trigger wrong operations.
Disclosure of Invention
The embodiment of the application aims to provide a tag processing method, a tag processing device and electronic equipment, and can solve the problem that some transparent tags are prone to misleading users and triggering wrong operations in the prior art.
In order to solve the technical problem, the present application is implemented as follows:
in a first aspect, an embodiment of the present application provides a tag processing method, where the method includes:
receiving touch operation, and determining a target object of the touch operation;
under the condition that the transparency of the cascading style sheet of the target object is lower than a preset threshold value, acquiring a first target label corresponding to the target object, and displaying label content corresponding to the first target label;
the label content comprises target operation corresponding to the first target label.
In a second aspect, an embodiment of the present application further provides a label processing apparatus, where the label processing apparatus includes:
the operation receiving module is used for receiving touch operation and determining a target object of the touch operation;
the first display module is used for acquiring a first target label corresponding to the target object and displaying label content corresponding to the first target label under the condition that the transparency of the cascading style sheet of the target object is lower than a preset threshold value;
the label content comprises target operation corresponding to the first target label.
In a third aspect, an embodiment of the present application further provides an electronic device, which includes a memory, a processor, and a program or an instruction stored on the memory and executable on the processor, where the processor implements the steps in the tag processing method described above when executing the program or the instruction.
In a fourth aspect, the present application further provides a readable storage medium, on which a program or instructions are stored, and when the program or instructions are executed by a processor, the program or instructions implement the steps in the label processing method as described above.
In a fifth aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the method according to the first aspect.
In the embodiment of the application, touch operation is received, and a target object of the touch operation is determined; under the condition that the transparency of the cascading style sheet of the target object is lower than a preset threshold value, acquiring a first target label corresponding to the target object, and displaying label content corresponding to the first target label; the label content comprises a target operation corresponding to the first target label, so that a user can know the operation to be executed by triggering the transparent first target label, the phenomenon that the user is misled by a target object to enter a wrong website or execute the wrong operation and the like is avoided, a malicious application program or a webpage is prevented from running on electronic equipment of the user due to the mistriggering of the user, and the operation safety of the user is guaranteed.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings needed to be used in the description of the embodiments of the present application will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without inventive exercise.
Fig. 1 is a flowchart illustrating a tag processing method according to an embodiment of the present application;
FIG. 2 shows one of the schematic diagrams of a first example provided by an embodiment of the present application;
fig. 3 shows a second schematic diagram of a first example provided by an embodiment of the present application;
FIG. 4 is a schematic diagram illustrating a second example provided by an embodiment of the present application;
fig. 5 is a flowchart illustrating a third example provided by an embodiment of the present application;
fig. 6 shows a block diagram of a tag processing apparatus provided by an embodiment of the present application;
fig. 7 shows a block diagram of an electronic device provided by an embodiment of the application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. 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 application.
It should be appreciated that reference throughout this specification to "one embodiment" or "an embodiment" means that a particular feature, structure or characteristic described in connection with the embodiment is included in at least one embodiment of the present application. Thus, the appearances of the phrases "in one embodiment" or "in an embodiment" in various places throughout this specification are not necessarily all referring to the same embodiment. Furthermore, the particular features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. In various embodiments of the present application, it should be understood that the sequence numbers of the following processes do not mean the execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present application.
The terms first, second and the like in the description and in the claims of the present application 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 application are capable of operation in sequences other than those illustrated or described herein. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
The following describes in detail the tag processing method provided in the embodiments of the present application with reference to the accompanying drawings through specific embodiments and application scenarios thereof.
Referring to fig. 1, an embodiment of the present application provides a tag processing method, which is optionally applicable to electronic devices including various handheld devices, vehicle-mounted devices, wearable devices, computing devices or other processing devices connected to a wireless modem, as well as various forms of Mobile Stations (MSs), Terminal devices (Terminal devices), and the like.
The method comprises the following steps:
step 101, receiving a touch operation, and determining a target object of the touch operation.
The target object is an object at a target position of the touch operation, and the object may be a key or a blank position. The touch operation may be a touch operation in a target application program, and the target application program may be a browser, for example, when a user browses a page in the browser, the touch operation is triggered.
102, under the condition that the transparency of the cascading style sheet of the target object is lower than a preset threshold value, acquiring a first target label corresponding to the target object, and displaying label content corresponding to the first target label; the label content comprises target operation corresponding to the first target label.
Typically, the transparency value is between 0 and 1, and the lower the transparency value, the more transparent the corresponding element label. When the transparency of the target object is lower than a preset threshold, for example, the preset threshold is 0.1; the target object is in an invisible state for the user, and the target object may be linked with suspicious web pages or suspicious operations, such as downloading and/or installing some applications.
And when the first target label corresponding to the target object is identified, the label content of the target label is displayed, so that a user can timely know the label content, and the first target label is prevented from being triggered by mistake. The tag content includes a target operation for triggering the first target tag, where the target operation includes, for example, downloading and/or installing some application programs, or a target web page linked to the target tag, and after the tag content corresponding to the first target tag is displayed, a user may decide whether to trigger the tag content.
As a first example, as shown in fig. 2, fig. 2 is a display interface of an electronic device, if a user triggers a key B, a first target label corresponding to the key B is shown as S2, and S2 is a transparent label and is invisible to the user; when the user triggers the key B, the user considers that the triggered operation is the operation identified by the key B (if the label is corresponding to S1); at this time, in order to prompt the user, the label content of S2 may be displayed on the display interface, as shown in fig. 3; displaying the label content shown in the area S3 on the display interface: the key B corresponds to a transparent label, and the transparent label is triggered to be linked to the website C; meanwhile, an option can be provided to inquire whether the user triggers the transparent label or not, so that the user is prevented from mistakenly entering the website C due to the fact that the user touches the key B unknowingly; further, the case where the transparent label is triggered as shown in fig. 3 includes two cases, one is to trigger only the transparent label without triggering the key B, i.e., "link to only website C" as shown in S4; one is to activate the transparent label and the button B at the same time, i.e., "link to website C and activate button B" as shown in S5. If the user selects S6 "activate only key B", the transparent tab is not activated.
In the embodiment of the application, touch operation is received, and a target object of the touch operation is determined; under the condition that the transparency of the cascading style sheet of the target object is lower than a preset threshold value, acquiring a first target label corresponding to the target object, and displaying label content corresponding to the first target label; the label content comprises a target operation corresponding to the first target label, so that a user can know the operation to be executed by triggering the transparent first target label, the phenomenon that the user is misled by a target object to enter a wrong website or execute the wrong operation and the like is avoided, a malicious application program or a webpage is prevented from running on electronic equipment of the user due to the mistriggering of the user, and the operation safety of the user is guaranteed. The embodiment of the application solves the problems that some transparent labels easily mislead users and trigger wrong operation in the prior art.
Optionally, in this embodiment of the application, the target object is an area where a key is located or a blank area, and taking fig. 2 as an example, the target object touched by the user may be an area where a key is located, for example, an area where a key a is located or an area where a key B is located; the blank area may also be a blank area without a key, and in the actual use process, the blank area may also be embedded with a transparent label, for example, a user sometimes only touches the blank area of the display interface, but still enters another web page.
Optionally, in this embodiment of the application, after the step of displaying the tag content corresponding to the first target tag, the method includes:
executing a second history operation corresponding to the target object when the second history operation exists; the second historical operation comprises at least one of triggering the first target tag and not triggering the first target tag; as shown in fig. 3, in the second history operation, the first target tag is triggered to link to the website C; triggering only the key B without triggering the first target label; therefore, the keys corresponding to the first target label are triggered to be an S4 key and an S5 key; the first target tag correspondence key S6 is not activated.
And after the target object is triggered by the user, the electronic equipment automatically records the selection of the user through the history operation, namely the next operation selected by the user after the target object is triggered, for example, the user selects to trigger the first target label or not to trigger the first target label, and executes the next operation according to the history operation when the target object is triggered by the user next time. Or counting the triggered times of each key in fig. 3 in a counting period according to a preset counting rule, and determining the second historical operation according to the triggered times.
Displaying a second trigger option in the absence of the second historical operation corresponding to the target tag, the second trigger option including at least one of triggering the first target tag and not triggering the first target tag. And if the historical operation does not exist, providing a second trigger option for the user to select, and recording the selection of the user as the second historical operation.
Optionally, in this embodiment of the application, in the case that the transparency of the cascading style sheet of the target object is lower than a preset threshold, the method further includes:
and acquiring a second target label shielded by the target object, and displaying label content corresponding to the second target label.
The second target tag is a tag corresponding to a target object visible from the user, and when the user touches the target object, the user generally considers that the operation corresponding to the second target tag is triggered; as a second example, referring to fig. 4, the display interface of the electronic device shown in fig. 4 is a reading interface of a novel, and if the target object triggered by the user is a "next chapter" key, it is considered that the triggered operation is switched to the next chapter for the user; the 'next chapter' key corresponds to a transparent first target label, the label content of the first target label is linked to the website C, and for the electronic equipment, if a target object triggered by a user is the 'next chapter' key, an operation instruction received by the electronic equipment is linked to the website C, so that after the electronic equipment receives touch operation of a touch target object, a second target label shielded by the target object is obtained, the second target label is switched to the next chapter, and the label content corresponding to the second target label is displayed at the moment, so that the user can select to execute the first target label, the second target label or execute the first target label and the second target label simultaneously; as shown in fig. 4, options for selecting the next operation are displayed in the area shown in S3, including: the option shown in S4, the option shown in S5, and the option shown in S6; the option shown in S4 is the label content of the first target label: link to website C; the option shown in S5 is to trigger (or sequentially trigger) the tag contents of the first target tag and the second target tag at the same time; the option shown in S6 is the label content of the second target label: switch to the next chapter.
Optionally, in this embodiment of the application, after the step of displaying the tag content corresponding to the first target tag, the method includes:
executing a first history operation corresponding to the target object when the first history operation exists; the first historical operation comprises at least one of triggering the first target tag and triggering the second target tag; as shown in fig. 4, in the first history operation, the first target tag is triggered to link to the website C; triggering only a 'next chapter' key without triggering the first target label; thus, triggering the first target tab corresponds to the S4 key, triggering the first target tab and triggering the second target tab corresponds to the S5 key; triggering the second target tab corresponds to the S6 button.
And after the target object is triggered by the user, the electronic equipment automatically records the selection of the user through the first historical operation, namely the next operation selected by the user, such as the user selecting to trigger the first target tag or trigger the second target tag, and executes the next operation according to the historical operation when the target object is triggered by the user next time. Or counting the triggered times of each key in fig. 3 in a counting period according to a preset counting rule, and determining the first historical operation according to the triggered times.
Displaying a first trigger option in the absence of the first historical operation corresponding to the target tag, the first trigger option including at least one of triggering the first target tag and triggering the second target tag. And if no historical operation exists, providing a second trigger option for the user to select, and recording the selection of the user as the first historical operation.
As a third example, referring to fig. 5, fig. 5 shows a specific application scenario of the tag processing method provided in the embodiment of the present application, and mainly includes the following processes:
referring to fig. 3, the user clicks a blank area or a non-blank area of the page, such as "key a" or "key B", in this example, the user clicks "key B" for illustration.
Step 501, a user browses a webpage by using a browser and triggers a key B.
For example, the current page is a novel website, the user clicks on the button B, for example, the button B is a "next chapter" label, and the user assumes that the "next chapter" label is clicked, and actually is a transparent label on the label, as shown in S2 in fig. 2.
Step 502, obtaining the CSS transparency of the target object corresponding to the key B.
The browser can acquire the coordinates and the webpage elements at the clicking position of the user as a target object and acquire the CSS transparency of the target object.
Step 503, judging whether the target object is transparent; if yes, go to step 504, otherwise, respond to the touch operation according to the normal flow.
Step 504, judging whether the target object is covered with a second target label; if yes, go to step 505, otherwise, respond to the touch operation according to the normal flow.
If the element is transparent, then it is continuously determined whether there is an actual tag, i.e. a second target tag, below the transparent element, and the tag content of the second target tag is "switch to next chapter". The label corresponding to the element is a first target label, such as: linking to website C.
Step 505, determine if there is a history operation for "button B": if yes, go to step 506, go to the said historical operation; if not, go to step 507.
Step 507, popup prompts the user: select "switch to next chapter" or "link to website C and switch to next chapter".
It is up to the user to decide whether to trigger the transparent label or the actual label below, as shown in fig. 4.
The user can check the 'remember the operation', and the browser automatically executes the last user behavior when meeting the same condition next time.
In the embodiment of the application, touch operation is received, and a target object of the touch operation is determined; under the condition that the transparency of the cascading style sheet of the target object is lower than a preset threshold value, acquiring a first target label corresponding to the target object, and displaying label content corresponding to the first target label; the label content comprises a target operation corresponding to the first target label, so that a user can know the operation to be executed by triggering the transparent first target label, the phenomenon that the user is misled by a target object to enter a wrong website or execute the wrong operation and the like is avoided, a malicious application program or a webpage is prevented from running on electronic equipment of the user due to the mistriggering of the user, and the operation safety of the user is guaranteed.
Having described the tag processing method according to the embodiment of the present application, a tag processing apparatus according to the embodiment of the present application will be described with reference to the accompanying drawings.
In the tag processing method provided in the embodiment of the present application, the execution main body may be a tag processing apparatus, or a control module for executing the tag processing method in the tag processing apparatus. In the embodiment of the present application, a tag processing method executed by a tag processing apparatus is taken as an example, and the tag processing method provided in the embodiment of the present application is described.
Referring to fig. 6, an embodiment of the present application further provides a label processing apparatus 600, including:
the operation receiving module 601 is configured to receive a touch operation and determine a target object of the touch operation.
The target object is an element at a target position of the touch operation, and the element may be a key or a blank position. The touch operation may be a touch operation in a target application program, and the target application program may be a browser, for example, when a user browses a page in the browser, the touch operation is triggered.
A first display module 602, configured to, when the transparency of the cascading style sheet of the target object is lower than a preset threshold, obtain a first target label corresponding to the target object, and display a label content corresponding to the first target label;
the label content comprises target operation corresponding to the first target label.
Typically, the transparency value is between 0 and 1, and the lower the transparency value, the more transparent the corresponding element label. When the transparency of the target object is lower than a preset threshold, for example, the preset threshold is 0.1; the target object is in an invisible state for the user, and the target object may be linked with a suspicious web page or suspicious operation, such as downloading and/or installing some application.
And when the first target label corresponding to the target object is identified, the label content of the target label is displayed, so that a user can timely know the label content, and the first target label is prevented from being triggered by mistake. The label content comprises a target operation which triggers the first target label to correspond to, and the target operation comprises downloading and/or installing some application programs.
After the tag content corresponding to the first target tag is displayed, the user may decide whether to trigger the tag content.
Optionally, in the embodiment of the present invention, the target object is an area where a key is located or a blank area.
Optionally, in an embodiment of the present invention, the apparatus further includes:
and the second display module is used for acquiring a second target label shielded by the target object and displaying label content corresponding to the second target label.
Optionally, in an embodiment of the present invention, the apparatus includes:
a first execution module, configured to execute a first history operation corresponding to the target object if the first history operation exists; the first historical operation comprises at least one of triggering the first target tag and triggering the second target tag;
a first option display module, configured to display a first trigger option in a case that there is no first historical operation corresponding to the target tag, where the first trigger option includes at least one of triggering the first target tag and triggering the second target tag.
Optionally, in an embodiment of the present invention, the apparatus includes:
a second execution module, configured to execute a second history operation corresponding to the target object if the second history operation exists; the second historical operation comprises at least one of triggering the first target tag and not triggering the first target tag;
a second option display module, configured to display a second trigger option in a case that there is no second historical operation corresponding to the target tag, where the second trigger option includes at least one of triggering the first target tag and not triggering the first target tag.
The tag processing apparatus 600 in the embodiment of the present application may be an apparatus, or may be a component, an integrated circuit, or a chip in a terminal. The device can be mobile electronic equipment or non-mobile electronic equipment. The mobile electronic device may be, for example, a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a Personal Digital Assistant (PDA), and the embodiments of the present application are not limited in particular.
The tag processing apparatus 600 in the embodiment of the present application may be an apparatus having an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, and embodiments of the present application are not limited specifically.
The tag processing apparatus 600 provided in this embodiment of the application can implement each process implemented by the tag processing apparatus 600 in the method embodiments of fig. 1 to fig. 5, and for avoiding repetition, details are not described here again.
In an embodiment of the present application, the operation receiving module 601 receives a touch operation, and determines a target object of the touch operation; under the condition that the transparency of the cascading style sheet of the target object is lower than a preset threshold, the first display module 602 acquires a first target label corresponding to the target object, and displays the label content corresponding to the first target label; the label content comprises a target operation corresponding to the first target label, so that a user can know the operation to be executed by triggering the transparent first target label, the phenomenon that the user is misled by a target object to enter a wrong website or execute the wrong operation and the like is avoided, a malicious application program or a webpage is prevented from running on electronic equipment of the user due to the mistriggering of the user, and the operation safety of the user is guaranteed.
Optionally, an electronic device is further provided in this embodiment of the present application, and includes a processor 710, a memory 709, and a program or an instruction stored in the memory 709 and capable of running on the processor 710, where the program or the instruction is executed by the processor 110 to implement each process of the tag processing method embodiment, and can achieve the same technical effect, and details are not described here to avoid repetition.
It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic devices and the non-mobile electronic devices described above.
Fig. 7 is a hardware structure diagram of an electronic device 700 for implementing various embodiments of the present application;
the electronic device 700 includes, but is not limited to: a radio frequency unit 701, a network module 702, an audio output unit 703, an input unit 704, a sensor 705, a display unit 706, a user input unit 707, an interface unit 708, a memory 709, a processor 710, a power supply 711, and the like. Those skilled in the art will appreciate that the electronic device 700 may also include a power supply (e.g., a battery) for powering the various components, and the power supply may be logically coupled to the processor 710 via a power management system, such that the functions of managing charging, discharging, and power consumption may be performed via the power management system. The electronic device structure shown in fig. 7 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description is omitted here.
The user input unit 707 is configured to receive a touch operation, and determine a target object of the touch operation;
the processor 710 is configured to, when the transparency of the cascading style sheet of the target object is lower than a preset threshold, obtain a first target tag corresponding to the target object;
the display unit 706 displays the label content corresponding to the first target label;
the label content comprises target operation corresponding to the first target label.
Optionally, the target object is an area where a key is located or a blank area.
Optionally, the processor 710 is configured to obtain a second target tag that is blocked by the target object, and display a tag content corresponding to the second target tag.
Optionally, the processor 710 is configured to, in a case that there is a first history operation corresponding to the target object, execute the first history operation; the first historical operation comprises at least one of triggering the first target tag and triggering the second target tag;
displaying a first trigger option in the absence of the first historical operation corresponding to the target tag, the first trigger option including at least one of triggering the first target tag and triggering the second target tag.
Optionally, the processor 710 is configured to, in a case that there is a second history operation corresponding to the target object, execute the second history operation; the second historical operation comprises at least one of triggering the first target tag and not triggering the first target tag;
displaying a second trigger option in the absence of the second historical operation corresponding to the target tag, the second trigger option including at least one of triggering the first target tag and not triggering the first target tag.
In the embodiment of the application, touch operation is received, and a target object of the touch operation is determined; under the condition that the transparency of the cascading style sheet of the target object is lower than a preset threshold value, acquiring a first target label corresponding to the target object, and displaying label content corresponding to the first target label; the label content comprises a target operation corresponding to the first target label, so that a user can know the operation to be executed by triggering the transparent first target label, the phenomenon that the user is misled by a target object to enter a wrong website or execute the wrong operation and the like is avoided, a malicious application program or a webpage is prevented from running on electronic equipment of the user due to the mistriggering of the user, and the operation safety of the user is guaranteed.
It should be understood that in the embodiment of the present application, the input Unit 704 may include a Graphics Processing Unit (GPU) 7041 and a microphone 7042, and the Graphics Processing Unit 7041 processes image data of still pictures or videos obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The display unit 706 may include a display panel 7061, and the display panel 7061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 707 includes a touch panel 7071 and other input devices 7072. The touch panel 7071 is also referred to as a touch screen. The touch panel 7071 may include two parts of a touch detection device and a touch controller. Other input devices 7072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein. Memory 709 may be used to store software programs as well as various data, including but not limited to applications and operating systems. Processor 710 may integrate an application processor, which primarily handles operating systems, user interfaces, applications, etc., and a modem processor, which primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 710.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements each process of the embodiment of the tag processing method, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and so on.
The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to run a program or an instruction to implement each process of the tag processing method embodiment, and can achieve the same technical effect, and the details are not repeated here to avoid repetition.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, etc.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (9)

1. A method of tag processing, the method comprising:
receiving touch operation, and determining a target object of the touch operation;
under the condition that the transparency of the cascading style sheet of the target object is lower than a preset threshold value, acquiring a first target label corresponding to the target object, and displaying label content corresponding to the first target label;
the tag content comprises a target operation corresponding to the first target tag, and the target operation comprises: downloading and/or installing an application program or a target webpage linked to a target label;
after the step of displaying the tag content corresponding to the first target tag, the method includes:
executing a second history operation corresponding to the target tag when the second history operation exists; the second historical operation comprises at least one of triggering the first target tag and not triggering the first target tag;
displaying a second trigger option in the absence of the second historical operation corresponding to the target tag, the second trigger option including at least one of triggering the first target tag and not triggering the first target tag.
2. The label processing method of claim 1, wherein the target object is a region where a key is located or a blank region.
3. The label processing method according to claim 1, wherein in case that the target object has a cascading style sheet transparency below a preset threshold, the method further comprises:
and acquiring a second target label shielded by the target object, and displaying label content corresponding to the second target label.
4. The tag processing method according to claim 3, wherein after the step of displaying the tag content corresponding to the first target tag, the method comprises:
executing a first history operation corresponding to the target tag when the first history operation exists; the first historical operation comprises at least one of triggering the first target tag and triggering the second target tag;
displaying a first trigger option in the absence of the first historical operation corresponding to the target tag, the first trigger option including at least one of triggering the first target tag and triggering the second target tag.
5. A label processing apparatus, characterized in that the apparatus comprises:
the operation receiving module is used for receiving touch operation and determining a target object of the touch operation;
the first display module is used for acquiring a first target label corresponding to the target object and displaying label content corresponding to the first target label under the condition that the transparency of the cascading style sheet of the target object is lower than a preset threshold value;
the tag content comprises a target operation corresponding to the first target tag, and the target operation comprises: downloading and/or installing an application program or a target webpage linked to a target label;
a second execution module, configured to execute a second history operation corresponding to the target tag if the second history operation exists; the second historical operation comprises at least one of triggering the first target tag and not triggering the first target tag;
a second option display module, configured to display a second trigger option in a case that there is no second historical operation corresponding to the target tag, where the second trigger option includes at least one of triggering the first target tag and not triggering the first target tag.
6. The label processing apparatus according to claim 5, further comprising:
and the second display module is used for acquiring a second target label shielded by the target object and displaying label content corresponding to the second target label.
7. The label processing apparatus according to claim 6, wherein said apparatus comprises:
a first execution module, configured to execute a first history operation corresponding to the target tag if the first history operation exists; the first historical operation comprises at least one of triggering the first target tag and triggering the second target tag;
a first option display module, configured to display a first trigger option in a case that there is no first historical operation corresponding to the target tag, where the first trigger option includes at least one of triggering the first target tag and triggering the second target tag.
8. An electronic device comprising a processor, a memory, and a program or instructions stored on the memory and executable on the processor, which when executed by the processor, implement the steps of the tag processing method of any one of claims 1 to 4.
9. A readable storage medium, characterized in that it stores thereon a program or instructions which, when executed by a processor, implement the steps of the label processing method according to any one of claims 1 to 4.
CN202010457989.4A 2020-05-26 2020-05-26 Label processing method and device and electronic equipment Active CN111694477B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010457989.4A CN111694477B (en) 2020-05-26 2020-05-26 Label processing method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010457989.4A CN111694477B (en) 2020-05-26 2020-05-26 Label processing method and device and electronic equipment

Publications (2)

Publication Number Publication Date
CN111694477A CN111694477A (en) 2020-09-22
CN111694477B true CN111694477B (en) 2021-09-14

Family

ID=72478365

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010457989.4A Active CN111694477B (en) 2020-05-26 2020-05-26 Label processing method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN111694477B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112767044A (en) * 2021-01-26 2021-05-07 维沃移动通信有限公司 Advertisement processing method and device and electronic equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014121784A1 (en) * 2013-02-04 2014-08-14 Lhd Group Gmbh Protective jacket with safety-strap system
CN105184161A (en) * 2015-08-11 2015-12-23 清华大学深圳研究生院 Detection method and apparatus for mixed mode mobile application
CN109117211A (en) * 2017-06-22 2019-01-01 合网络技术(北京)有限公司 object control method and device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014121784A1 (en) * 2013-02-04 2014-08-14 Lhd Group Gmbh Protective jacket with safety-strap system
CN105184161A (en) * 2015-08-11 2015-12-23 清华大学深圳研究生院 Detection method and apparatus for mixed mode mobile application
CN109117211A (en) * 2017-06-22 2019-01-01 合网络技术(北京)有限公司 object control method and device

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
Web安全之点击劫持(ClickJacking);songshuzhong;《CSDN》;20180619;正文第1-3页 *
智能手机点击劫持攻击检测方法研究;曹娇华等;《计算机应用与软件》;20141130;正文第312-317页 *

Also Published As

Publication number Publication date
CN111694477A (en) 2020-09-22

Similar Documents

Publication Publication Date Title
CN112988006B (en) Display method, display device, electronic equipment and storage medium
CN105404458B (en) Webpage content updating method and device
CN112947829B (en) Misoperation processing method and device, electronic equipment and readable storage medium
CN112181567A (en) Interface display method and device and electronic equipment
CN104765525A (en) Operation interface switching method and device
CN113296649A (en) Icon display method and device and electronic equipment
CN112699363A (en) Graphic code identification method and device and electronic equipment
CN113485603A (en) Message display method and device and electronic equipment
CN111813305A (en) Application program starting method and device
CN111880668A (en) Input display method and device and electronic equipment
CN111859900A (en) Message display method and device and electronic equipment
CN113114845B (en) Notification message display method and device
CN113268182B (en) Application icon management method and electronic device
CN111694477B (en) Label processing method and device and electronic equipment
CN113253883A (en) Application interface display method and device and electronic equipment
CN111857466B (en) Message display method and device
CN113311973A (en) Recommendation method and device
CN113282359A (en) Application reminding method and device and electronic equipment
CN112783594A (en) Message display method and device and electronic equipment
CN112306320A (en) Page display method, device, equipment and medium
CN112181559A (en) Interface display method and device and electronic equipment
CN116400840A (en) Application advertisement skipping method, system, terminal and readable storage medium
CN112764628B (en) Content display method, content display device, electronic equipment and storage medium
CN113127653B (en) Information display method and device
CN111796736B (en) Application sharing method and device and electronic equipment

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
GR01 Patent grant
GR01 Patent grant