CN116489271A - Advertisement processing method and device - Google Patents
Advertisement processing method and device Download PDFInfo
- Publication number
- CN116489271A CN116489271A CN202310494106.0A CN202310494106A CN116489271A CN 116489271 A CN116489271 A CN 116489271A CN 202310494106 A CN202310494106 A CN 202310494106A CN 116489271 A CN116489271 A CN 116489271A
- Authority
- CN
- China
- Prior art keywords
- page
- condition
- shaking
- jump
- advertisement
- 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.)
- Pending
Links
- 238000003672 processing method Methods 0.000 title abstract description 15
- 238000012545 processing Methods 0.000 claims abstract description 38
- 238000000034 method Methods 0.000 claims description 50
- 230000006870 function Effects 0.000 description 8
- 238000004891 communication Methods 0.000 description 5
- 230000000694 effects Effects 0.000 description 5
- 240000008005 Crotalaria incana Species 0.000 description 4
- 238000001514 detection method Methods 0.000 description 4
- 238000010586 diagram Methods 0.000 description 4
- 230000009191 jumping Effects 0.000 description 4
- 230000001960 triggered effect Effects 0.000 description 4
- 230000001133 acceleration Effects 0.000 description 2
- 230000003190 augmentative effect Effects 0.000 description 2
- 238000004590 computer program Methods 0.000 description 2
- 238000012544 monitoring process Methods 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 230000001360 synchronised effect Effects 0.000 description 2
- 238000013473 artificial intelligence Methods 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000003062 neural network model Methods 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 238000012549 training Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72448—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
- H04M1/72454—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction 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
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72448—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
- H04M1/72463—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions to restrict the functionality of the device
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M2250/00—Details of telephonic subscriber devices
- H04M2250/12—Details of telephonic subscriber devices including a sensor for measuring a physical value, e.g. temperature or motion
Landscapes
- Engineering & Computer Science (AREA)
- Human Computer Interaction (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Environmental & Geological Engineering (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The application discloses an advertisement processing method and device, and belongs to the field of data processing. The advertisement processing method comprises the following steps: displaying a first page containing advertisement information on a display screen of the electronic equipment, wherein the first page jumps to a page corresponding to the advertisement information under the condition that the electronic equipment receives shaking operation meeting preset conditions; intercepting a jump request under the condition that the first shaking operation is detected to meet the preset condition; determining a target operation according to the parameter corresponding to the first shaking operation and a shaking parameter threshold, wherein the target operation comprises: the interception of the jump request is maintained or cancelled.
Description
Technical Field
The application belongs to the field of data processing, and particularly relates to an advertisement processing method, an advertisement processing device, electronic equipment and a readable storage medium.
Background
In the mobile internet era, advertising is an important revenue source for internet enterprises.
For some internet businesses, in order to reduce the occupation of pages by advertisements, internet businesses push "shake-and-shake" advertisements. The advertisement of shaking is an advertisement which can be displayed to a user when the electronic equipment is detected to shake and then page jump is carried out.
For malicious advertisements belonging to 'shake-shake' advertisements, the malicious advertisements are extremely easy to trigger, and besides affecting the normal use of electronic equipment, the malicious advertisements can also cause consumption of traffic.
Disclosure of Invention
An object of the embodiments of the present invention is to provide a method, an apparatus, an electronic device, and a readable storage medium for processing an advertisement, which are capable of intercepting a jump request, selectively maintaining the interception of the jump request and canceling the interception of the jump request according to a shaking operation of the electronic device, so as to reduce an influence of the advertisement on a normal use of the electronic device, and reduce a flow consumption caused by a page jump generated by the jump request.
In a first aspect, an embodiment of the present application provides a method for processing an advertisement, including: displaying a first page containing advertisement information on a display screen of the electronic equipment, wherein the first page jumps to a page corresponding to the advertisement information under the condition that the electronic equipment receives shaking operation meeting preset conditions; intercepting a jump request under the condition that the first shaking operation is detected to meet the preset condition; determining a target operation according to the parameter corresponding to the first shaking operation and a shaking parameter threshold, wherein the target operation comprises: the interception of the jump request is maintained or cancelled.
In a second aspect, an embodiment of the present application provides an advertisement processing apparatus, including: the display module is used for displaying a first page containing advertisement information on a display screen of the electronic equipment, wherein the first page jumps to a page corresponding to the advertisement information under the condition that the electronic equipment receives shaking operation meeting preset conditions; the interception module is used for intercepting the jump request under the condition that the first shaking operation is detected to meet the preset condition; the processing module is used for determining target operation according to the parameters corresponding to the first shaking operation and the shaking parameter threshold, wherein the target operation comprises: the interception of the jump request is maintained or cancelled.
In a third aspect, embodiments of the present application provide an electronic device comprising a processor and a memory storing a program or instructions executable on the processor, which when executed by the processor, implement the steps of the method as in the first aspect.
In a fourth aspect, embodiments of the present application provide a readable storage medium having stored thereon a program or instructions which, when executed by a processor, implement the steps of the method as in the first aspect.
In a fifth aspect, embodiments of the present application provide a chip, the chip including a processor and a communication interface, the communication interface being coupled to the processor, the processor being configured to execute programs or instructions to implement a method as in the first aspect.
In a sixth aspect, embodiments of the present application provide a computer program product stored in a storage medium, the program product being executable by at least one processor to implement a method as in the first aspect.
In the embodiment of the application, under the condition that the first shaking operation is detected to meet the preset condition, the jump request is intercepted, and in the process, the occurrence probability of the jump request and the page jump condition can be reduced as long as the electronic equipment shakes.
The method comprises the steps of obtaining parameters corresponding to first shaking operation of the electronic equipment, comparing the parameters corresponding to the first shaking operation with shaking data thresholds, and accordingly whether shaking of the electronic equipment is actively triggered by a user or not is measured, jump requests generated by false triggering are reduced, and the occurrence probability of page jumping is further reduced. In the process, the probability of popping up malicious advertisements is reduced, so that the influence of the advertisements on the normal use of the electronic equipment is reduced, and meanwhile, the flow consumption caused by page skip generated by a skip request is also reduced.
Drawings
FIG. 1 is a flow diagram of a method of processing advertisements in accordance with some embodiments of the present application;
FIG. 2 is a schematic block diagram of an advertisement processing apparatus according to some embodiments of the present application;
FIG. 3 is a schematic block diagram of an electronic device according to some embodiments of the present application;
fig. 4 is a schematic diagram of a hardware structure of an electronic device according to some embodiments of the present application.
Detailed Description
Technical solutions in the embodiments of the present application will be clearly described below with reference to the drawings in the embodiments of the present application, and it is apparent that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments in the present application are within the scope of the protection of the present application.
The terms first, second and the like in the description and in the claims, are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged, as appropriate, such that embodiments of the present application may be implemented in sequences other than those illustrated or described herein, and that the objects identified by "first," "second," etc. are generally of a type and not limited to the number of objects, e.g., the first object may be one or more. Furthermore, in the description and claims, "and/or" means at least one of the connected objects, and the character "/", generally means that the associated object is an "or" relationship.
The advertisement processing method, the advertisement processing device, the electronic equipment and the readable storage medium provided by the embodiment of the application are described in detail below through specific embodiments and application scenes thereof with reference to the accompanying drawings.
In some embodiments of the present application, as shown in fig. 1, a method for processing an advertisement is provided, including:
step 102, displaying a first page containing advertisement information on a display screen of the electronic device, wherein the first page jumps to a page corresponding to the advertisement information when the electronic device receives a shaking operation meeting a preset condition.
In some embodiments of the present application, the page corresponding to the advertisement information is a second page, where the second page may be an advertisement page, such as a propaganda interface of a shopping program, a downloading interface of a game, and a try-on interface of a game.
In some embodiments of the present application, the preset condition may be that the acceleration in a single direction varies between some two values, for example, the acceleration is-1 m/s 2 To 1m/s 2 And (3) a change. In some embodiments of the present application, the preset condition may be that the attitude offset angle of the electronic device is greater than an offset angle threshold. For example, the offset angle threshold may take a value of 3 °.
Step 104, intercepting the jump request under the condition that the first shaking operation is detected to meet the preset condition.
Step 106, determining a target operation according to the parameter corresponding to the first shaking operation and a shaking parameter threshold, wherein the target operation comprises: the interception of the jump request is maintained or cancelled.
In the embodiment of the application, under the condition that the first shaking operation is detected to meet the preset condition, the jump request is intercepted. In the process, the occurrence probability of the condition that the electronic equipment is rocked to generate a jump request and then page jump is generated can be reduced.
The method comprises the steps of obtaining parameters corresponding to first shaking operation of the electronic equipment, comparing the parameters corresponding to the first shaking operation with shaking data thresholds, and accordingly whether shaking of the electronic equipment is actively triggered by a user or not is measured, jump requests generated by false triggering are reduced, and the occurrence probability of page jumping is further reduced. In the process, the probability of popping up malicious advertisements is reduced, the influence of the advertisements on the normal use of the electronic equipment is reduced, and meanwhile, the flow consumption caused by page skip generated by the skip request is also reduced.
It is worth to say that, in the embodiment of the present application, the shaking data threshold is fixed, so that it can intercept "shake-shake" advertisements pushed by different internet enterprises, thereby realizing unified management of advertisements and reducing the influence of malicious advertisements on the use of electronic devices.
In some embodiments of the present application, the shaking data threshold may be set according to actual use needs, and specific value ranges thereof are not described herein.
In some embodiments of the present application, the parameters corresponding to the first shake operation include a gesture offset angle of the electronic device, and determining the target operation according to the parameters corresponding to the first shake operation and the shake parameter threshold includes: under the condition that the attitude offset angle is larger than the minimum angle threshold corresponding to the shaking parameter threshold, intercepting the jump request is canceled; and under the condition that the attitude offset angle is smaller than or equal to the minimum angle threshold corresponding to the shaking parameter threshold, the interception of the jump request is kept.
In this embodiment, a specific selection of the parameter corresponding to the first shaking operation is defined, and in this process, the parameter corresponding to the first shaking operation is characterized by the attitude offset angle. The electronic equipment defaults to take a preset gesture as an initial gesture, acquires the current gesture according to a preset frequency, and calculates a gesture offset angle between the current gesture and the initial gesture, so that whether the control of intercepting the jump request is kept or not is realized by using the gesture offset angle.
Specifically, for example, the minimum angle threshold corresponding to the shaking parameter threshold is-5 ° or +5°, if the calculated attitude offset angle is +6°, -5 °, +8°, -9 °, that is, outside-5 ° to +5°, the interception of the jump request is canceled, and otherwise, the interception of the jump request is maintained.
In the above embodiment, the attitude offset angle belongs to measured and calculated data within a period of time, where the value of the period of time may be selected according to the actual detection requirement of the shaking operation, for example, detection is performed once every 0.2 seconds, and detection is performed once every 0.5 seconds.
In some embodiments of the present application, the first page corresponds to a first application, and intercepts a jump request when detecting that the first shake operation satisfies a preset condition, including: receiving a call request of a first application when the first shaking operation is detected to meet the preset condition, wherein the call request is used for calling the jump interface; intercepting a call request, and stopping loading the page corresponding to the advertisement information.
In this example, a specific implementation manner of intercepting a jump request is given, where the jump request is a process of receiving a call request for calling a jump interface, responding to the call request, and loading a page to be called. Based on the method, the interception of the jump request can be realized by intercepting the call request and stopping loading the page corresponding to the advertisement information.
Specifically, a first page displayed on a display screen is a first application, a page corresponding to advertisement information after page skipping is a second application, and when the first shaking operation is detected to meet the preset condition, the first application can send out a calling request, and interception of the skipping request is realized by intercepting the calling request and stopping loading the second application.
In some embodiments of the present application, in the case of canceling interception of the jump request, loading of the second application is continued so as to implement a page corresponding to the advertisement information. In the process, whether the page corresponding to the advertisement information is displayed or not can be controlled, the monitoring of the 'shake-shake' advertisement is realized, the probability of popping up malicious advertisements is reduced, the influence of the advertisements on the normal use of the electronic equipment is reduced, and meanwhile, the flow consumption caused by page skip generated by a skip request is also reduced.
In some embodiments herein, intercepting the call request may be understood as not responding to the call request, or may be rejecting the call request if the call request is received.
In some embodiments of the present application, before the first page containing the advertisement information is displayed on the display screen of the electronic device, the processing method further includes: acquiring content information of a first page; under the condition that the content information of the first page is identified to comprise the target keyword, determining that the first page can jump to the page corresponding to the advertisement information under the condition that the first page receives the shaking operation meeting the preset condition; the target keywords are used for indicating shaking operation.
In this embodiment, the interception of the skip request is achieved by acquiring the content information of the first page so as to implement the identification of the "shake-by-shake" advertisement by using the content information of the first page, so as to perform the processing method as described above for the "shake-by-shake" advertisement. In the process, the 'shake-shake' advertisement can be identified in a targeted manner, the monitoring of the advertisement of the last type is realized by controlling whether interception is canceled or kept, the probability of popup of malicious advertisements is reduced, the influence of the advertisement on the normal use of the electronic equipment is reduced, and meanwhile, the flow consumption caused by page skip generated by a skip request is also reduced.
In one embodiment, the target keyword may be a word of "shake", or "shake cell phone".
In one embodiment, an advertisement recognition engine is pre-built, wherein the advertisement recognition engine may be an artificial intelligence model, such as a neural network model, and the advertisement recognition engine is used for recognizing the content information of the first page, so as to determine whether the content information of the first page contains the target keyword.
The advertisement recognition engine can be trained according to actual use requirements, and the training process is not described herein.
In the above embodiment, the content information of the first page may be display user interface information, that is, activity information.
In some embodiments herein, displaying user interface information includes: and displaying the data structure information and the picture information of the user interface.
The data structure information of the display user interface may be XML (Extensible Markup Language) information.
In the above embodiment, the picture information may be an image displayed in the first page.
In some embodiments herein, after maintaining the intercept of the jump request, the processing method further comprises: storing page information before and after the jump request; and intercepting the first jump request under the condition that the first jump request is detected, and the front and back page information corresponding to the first jump request is matched with the stored page information.
In the embodiment, by storing the page information before and after the jump request, under the condition that the same page information appears again in the electronic equipment, the jump request can be directly intercepted, so that self-learning of advertisement interception is realized, and the probability of malicious popup window is further reduced.
In some embodiments of the present application, the page information may be web page link information, such as a web address, or application information, such as a name of an application, or information of a target server determined based on the web page link information, where the target server information is a web page for building the web page corresponding to the web page link information.
In some embodiments of the present application, the first jump request may understand a jump request generated in a case where the second shaking operation satisfies a preset condition. The second shaking operation is that the electronic equipment detects shaking operation after detecting the first shaking operation.
According to the advertisement processing method provided by the embodiment of the application, the execution main body can be an advertisement processing device. In this embodiment, an advertisement processing apparatus provided in this embodiment of the present application will be described by taking an advertisement processing method performed by an advertisement processing apparatus as an example.
In one embodiment, as shown in fig. 2, an advertisement processing apparatus 200 is provided, including: the display module 202 is configured to display a first page including advertisement information on a display screen of the electronic device, where the first page jumps to a page corresponding to the advertisement information when the electronic device receives a shake operation that meets a preset condition; the interception module 204 is configured to intercept the jump request when the first shake operation is detected to meet a preset condition; the processing module 206 is configured to determine a target operation according to the parameter corresponding to the first shake operation and the shake parameter threshold, where the target operation includes: the interception of the jump request is maintained or cancelled.
In this embodiment, when the first shaking operation is detected to meet the preset condition, the skip request is intercepted, and in this process, the occurrence probability of the skip request and thus the page skip condition can be reduced as long as the electronic device shakes.
The method comprises the steps of obtaining parameters corresponding to first shaking operation of the electronic equipment, comparing the parameters corresponding to the first shaking operation with a shaking data threshold range, and accordingly whether shaking of the electronic equipment is actively triggered by a user or not is measured, jump requests generated by false triggering are reduced, and the occurrence probability of page jumping is further reduced. In the process, the probability of popping up malicious advertisements is reduced, so that the influence of the advertisements on the normal use of the electronic equipment is reduced, and meanwhile, the flow consumption caused by page skip generated by a skip request is also reduced.
In some embodiments of the present application, the parameter corresponding to the first shake operation includes an attitude offset angle of the electronic device, and the processing module 206 is specifically configured to: under the condition that the attitude offset angle is larger than the minimum angle threshold corresponding to the shaking parameter threshold, intercepting the jump request is canceled; and under the condition that the attitude offset angle is smaller than or equal to the minimum angle threshold corresponding to the shaking parameter threshold, the interception of the jump request is kept.
In some embodiments of the present application, the first page corresponds to a first application, and the interception module 204 is specifically configured to: receiving a call request of a first application when the first shaking operation is detected to meet the preset condition, wherein the call request is used for calling the jump interface; intercepting a call request, and stopping loading the page corresponding to the advertisement information.
In some embodiments of the present application, the processing module 206 is further configured to: acquiring content information of a first page; under the condition that the content information of the first page is identified to comprise the target keyword, determining that the first page can jump to the page corresponding to the advertisement information under the condition that the first page receives the shaking operation meeting the preset condition; the target keywords are used for indicating shaking operation.
In some embodiments of the present application, the processing module 206 is further configured to: storing page information before and after the jump request; and intercepting the first jump request under the condition that the first jump request is detected, and the front and back page information corresponding to the first jump request is matched with the stored page information.
The advertisement processing apparatus 200 in the embodiment of the present application may be an electronic device, or may be a component in an electronic device, such as an integrated circuit or a chip. The electronic device may be a terminal, or may be other devices than a terminal. By way of example, the electronic device may be a mobile phone, tablet computer, notebook computer, palm computer, vehicle-mounted electronic device, mobile internet appliance (Mobile Internet Device, MID), augmented reality (augmented reality, AR)/Virtual Reality (VR) device, robot, wearable device, ultra-mobile personal computer, UMPC, netbook or personal digital assistant (personal digital assistant, PDA), etc., but may also be a server, network attached storage (Network Attached Storage, NAS), personal computer (personal computer, PC), television (TV), teller machine or self-service machine, etc., and the embodiments of the present application are not limited in particular.
The advertisement processing device 200 in the embodiment of the present application may be a device with an operating system. The operating system may be an Android operating system, an ios operating system, or other possible operating systems, which are not specifically limited in the embodiments of the present application.
The advertisement processing apparatus 200 provided in the embodiment of the present application can implement each process implemented by the method embodiment of fig. 1, and in order to avoid repetition, a description is omitted here.
Optionally, as shown in fig. 3, the embodiment of the present application further provides an electronic device 300, including a processor 302 and a memory 304, where the memory 304 stores a program or an instruction that can be executed on the processor 302, and the program or the instruction implements each step of the above-mentioned advertisement processing method embodiment when executed by the processor 302, and the steps achieve the same technical effects, so that repetition is avoided, and no further description is given here.
The electronic device in the embodiment of the application includes the mobile electronic device and the non-mobile electronic device.
Fig. 4 is a schematic hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 400 includes, but is not limited to: radio frequency unit 401, network module 402, audio output unit 403, input unit 404, sensor 405, display unit 406, user input unit 407, interface unit 408, memory 409, and processor 410.
Those skilled in the art will appreciate that the electronic device 400 may also include a power source (e.g., a battery) for powering the various components, which may be logically connected to the processor 410 by a power management system to perform functions such as managing charge, discharge, and power consumption by the power management system. The electronic device structure shown in fig. 4 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than shown, or may combine certain components, or may be arranged in different components, which are not described in detail herein.
Wherein the processor 410 is configured to: displaying a first page containing advertisement information on a display screen of the electronic equipment, wherein the first page jumps to a page corresponding to the advertisement information under the condition that the electronic equipment receives shaking operation meeting preset conditions; intercepting a jump request under the condition that the first shaking operation is detected to meet the preset condition; determining a target operation according to the parameter corresponding to the first shaking operation and a shaking parameter threshold, wherein the target operation comprises: the interception of the jump request is maintained or cancelled.
In this embodiment, when the first shaking operation is detected to meet the preset condition, the skip request is intercepted, and in this process, the occurrence probability of the skip request and thus the page skip condition can be reduced as long as the electronic device shakes.
The method comprises the steps of obtaining parameters corresponding to first shaking operation of the electronic equipment, comparing the parameters corresponding to the first shaking operation with a shaking data threshold range, and accordingly whether shaking of the electronic equipment is actively triggered by a user or not is measured, jump requests generated by false triggering are reduced, and the occurrence probability of page jumping is further reduced. In the process, the probability of popping up malicious advertisements is reduced, so that the influence of the advertisements on the normal use of the electronic equipment is reduced, and meanwhile, the flow consumption caused by page skip generated by a skip request is also reduced.
In some embodiments of the present application, the parameter corresponding to the first shake operation includes an attitude offset angle of the electronic device, and the processor 410 is configured to: under the condition that the attitude offset angle is larger than the minimum angle threshold corresponding to the shaking parameter threshold, intercepting the jump request is canceled; and under the condition that the attitude offset angle is smaller than or equal to the minimum angle threshold corresponding to the shaking parameter threshold, the interception of the jump request is kept.
In some embodiments herein, the first page corresponds to a first application, and the processor 410 is configured to: receiving a call request of a first application when the first shaking operation is detected to meet the preset condition, wherein the call request is used for calling the jump interface; intercepting a call request, and stopping loading the page corresponding to the advertisement information.
In some embodiments herein, the processor 410 is further configured to: acquiring content information of a first page; under the condition that the content information of the first page is identified to comprise the target keyword, determining that the first page can jump to the page corresponding to the advertisement information under the condition that the first page receives the shaking operation meeting the preset condition; the target keywords are used for indicating shaking operation.
In some embodiments herein, the processor 410 is further configured to: storing page information before and after the jump request; and intercepting the first jump request under the condition that the first jump request is detected, and the front and back page information corresponding to the first jump request is matched with the stored page information.
It should be appreciated that in embodiments of the present application, the input unit 404 may include a graphics processor (Graphics Processing Unit, GPU) 4041 and a microphone 4042, with the graphics processor 4041 processing image data of still pictures or video obtained by an image capture device (e.g., a camera) in a video capture mode or an image capture mode. The display unit 406 may include a display panel 4061, and the display panel 4061, i.e., a display screen, may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 407 includes at least one of a touch panel 4071 and other input devices 4072. The touch panel 4071 is also referred to as a touch screen. The touch panel 4071 may include two parts, a touch detection device and a touch controller. Other input devices 4072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and so forth, which are not described in detail herein.
Memory 409 may be used to store software programs as well as various data. The memory 409 may mainly include a first memory area storing programs or instructions and a second memory area storing data, wherein the first memory area may store an operating system, application programs or instructions (such as a sound playing function, an image playing function, etc.) required for at least one function, and the like. Further, the memory 409 may include volatile memory or nonvolatile memory, or the memory 409 may include both volatile and nonvolatile memory. The nonvolatile Memory may be a Read-Only Memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an Electrically Erasable EPROM (EEPROM), or a flash Memory. The volatile memory may be random access memory (Random Access Memory, RAM), static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double Data Rate SDRAM (ddr SDRAM), enhanced SDRAM (Enhanced SDRAM), synchronous DRAM (SLDRAM), and Direct RAM (DRRAM). Memory 409 in embodiments of the present application includes, but is not limited to, these and any other suitable types of memory.
Processor 410 may include one or more processing units; optionally, the processor 410 integrates an application processor that primarily processes operations involving an operating system, user interface, application programs, etc., and a modem processor that primarily processes wireless communication signals, such as a baseband processor. It will be appreciated that the modem processor described above may not be integrated into the processor 410.
The embodiment of the application also provides a readable storage medium, and the readable storage medium stores a program or an instruction, which when executed by a processor, implements each process of the advertisement processing method embodiment, and can achieve the same technical effect, so that repetition is avoided, and no further description is provided herein.
The processor is a processor in the electronic device in the above embodiment. Readable storage media include computer readable storage media such as computer readable memory ROM, random access memory RAM, magnetic or optical disks, and the like.
The embodiment of the application further provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled with the processor, the processor is used for running a program or instructions, each process of the advertisement processing method embodiment is implemented, the same technical effect can be achieved, and in order to avoid repetition, the description is omitted here.
It should be understood that the chips referred to in the embodiments of the present application may also be referred to as system-on-chip chips, chip systems, or system-on-chip chips, etc.
The embodiments of the present application provide a computer program product stored in a storage medium, where the program product is executed by at least one processor to implement the respective processes of the processing method embodiments of the advertisement described above, and achieve the same technical effects, and are not described herein again for avoiding repetition.
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" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Furthermore, it should be noted that the scope of the methods and apparatus in the embodiments of the present application is not limited to performing the functions in the order shown or discussed, but may also include performing the functions in a substantially simultaneous manner or in an opposite order depending on the functions involved, e.g., the described methods may be performed in an order different from that described, and various steps may also be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solutions of the present application may be embodied essentially or in a part contributing to the prior art in the form of a computer software product stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk), comprising several instructions for causing a terminal (which may be a mobile phone, a computer, a server, or a network device, etc.) to perform the methods of the embodiments of the present application.
The embodiments of the present application have been described above with reference to the accompanying drawings, but the present application is not limited to the above-described embodiments, which are merely illustrative and not restrictive, and many forms may be made by those of ordinary skill in the art without departing from the spirit of the present application and the scope of the claims, which are also within the protection of the present application.
Claims (10)
1. A method for processing advertisements, comprising:
displaying a first page containing advertisement information on a display screen of electronic equipment, wherein the first page jumps to a page corresponding to the advertisement information under the condition that the electronic equipment receives shaking operation meeting preset conditions;
intercepting a jump request under the condition that the first shaking operation is detected to meet the preset condition;
determining a target operation according to the parameter corresponding to the first shaking operation and a shaking parameter threshold, wherein the target operation comprises: and maintaining interception of the jump request, or canceling interception of the jump request.
2. The method according to claim 1, wherein the parameters corresponding to the first shaking operation include a gesture offset angle of the electronic device, and the determining the target operation according to the parameters corresponding to the first shaking operation and a shaking parameter threshold includes:
under the condition that the attitude offset angle is larger than the minimum angle threshold corresponding to the shaking parameter threshold, intercepting the jump request is canceled;
and under the condition that the attitude offset angle is smaller than or equal to the minimum angle threshold corresponding to the shaking parameter threshold, the jump request is kept intercepted.
3. The method for processing an advertisement according to claim 1, wherein the first page corresponds to a first application, and the intercepting the jump request if the first shake operation is detected to satisfy the preset condition includes:
receiving a call request of the first application under the condition that the first shaking operation is detected to meet the preset condition, wherein the call request is used for calling a jump interface;
intercepting the call request, and stopping loading the page corresponding to the advertisement information.
4. The method for processing advertisements according to claim 1, wherein before the first page containing advertisement information is displayed on the display screen of the electronic device, the method further comprises:
acquiring content information of the first page;
under the condition that the content information of the first page comprises a target keyword, determining that the first page can jump to a page corresponding to the advertisement information under the condition that the first page receives shaking operation meeting the preset condition;
the target keywords are used for indicating shaking operation.
5. The method of processing an advertisement according to any one of claims 1 to 4, wherein after the hold intercepts the jump request, the method further comprises:
storing page information before and after the jump request;
and intercepting the first jump request under the condition that the first jump request is detected, and the front and back page information corresponding to the first jump request is matched with the stored page information.
6. An advertisement processing apparatus, comprising:
the display module is used for displaying a first page containing advertisement information on a display screen of the electronic equipment, wherein the first page jumps to a page corresponding to the advertisement information under the condition that the electronic equipment receives shaking operation meeting preset conditions;
the interception module is used for intercepting the jump request under the condition that the first shaking operation is detected to meet the preset condition;
the processing module is used for determining a target operation according to the parameter corresponding to the first shaking operation and a shaking parameter threshold, wherein the target operation comprises: and maintaining interception of the jump request, or canceling interception of the jump request.
7. The advertisement processing device according to claim 6, wherein the parameter corresponding to the first shake operation includes a posture offset angle of the electronic equipment, and the processing module is specifically configured to:
under the condition that the attitude offset angle is larger than the minimum angle threshold corresponding to the shaking parameter threshold, intercepting the jump request is canceled;
and under the condition that the attitude offset angle is smaller than or equal to the minimum angle threshold corresponding to the shaking parameter threshold, the jump request is kept intercepted.
8. The advertisement processing device according to claim 6, wherein the first page corresponds to a first application, and the interception module is specifically configured to:
receiving a call request of the first application under the condition that the first shaking operation is detected to meet the preset condition, wherein the call request is used for calling a jump interface;
intercepting the call request, and stopping loading the page corresponding to the advertisement information.
9. The advertisement processing device according to claim 6, wherein the processing module is further configured to:
acquiring content information of the first page;
under the condition that the content information of the first page comprises a target keyword, determining that the first page can jump to a page corresponding to the advertisement information under the condition that the first page receives shaking operation meeting the preset condition;
the target keywords are used for indicating shaking operation.
10. The advertisement processing apparatus according to any one of claims 6 to 9, wherein the processing module is further configured to:
storing page information before and after the jump request;
and intercepting the first jump request under the condition that the first jump request is detected, and the front and back page information corresponding to the first jump request is matched with the stored page information.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310494106.0A CN116489271A (en) | 2023-05-05 | 2023-05-05 | Advertisement processing method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310494106.0A CN116489271A (en) | 2023-05-05 | 2023-05-05 | Advertisement processing method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN116489271A true CN116489271A (en) | 2023-07-25 |
Family
ID=87213697
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202310494106.0A Pending CN116489271A (en) | 2023-05-05 | 2023-05-05 | Advertisement processing method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN116489271A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116860115A (en) * | 2023-09-05 | 2023-10-10 | 荣耀终端有限公司 | Application management method and related device |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104035564A (en) * | 2014-06-25 | 2014-09-10 | 中科创达软件股份有限公司 | Browser page control method and device |
CN105681561A (en) * | 2016-01-22 | 2016-06-15 | 努比亚技术有限公司 | Advertisement blocking device and method |
CN107422916A (en) * | 2017-07-26 | 2017-12-01 | 广东欧珀移动通信有限公司 | A kind of response method of touch operation, device, storage medium and terminal |
CN109408182A (en) * | 2018-10-18 | 2019-03-01 | 五八有限公司 | A kind of jump method, device, storage medium and the terminal of the default page |
CN114745146A (en) * | 2021-01-07 | 2022-07-12 | 腾讯科技(深圳)有限公司 | Skip interception method and device, readable storage medium and equipment |
-
2023
- 2023-05-05 CN CN202310494106.0A patent/CN116489271A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104035564A (en) * | 2014-06-25 | 2014-09-10 | 中科创达软件股份有限公司 | Browser page control method and device |
CN105681561A (en) * | 2016-01-22 | 2016-06-15 | 努比亚技术有限公司 | Advertisement blocking device and method |
CN107422916A (en) * | 2017-07-26 | 2017-12-01 | 广东欧珀移动通信有限公司 | A kind of response method of touch operation, device, storage medium and terminal |
CN109408182A (en) * | 2018-10-18 | 2019-03-01 | 五八有限公司 | A kind of jump method, device, storage medium and the terminal of the default page |
CN114745146A (en) * | 2021-01-07 | 2022-07-12 | 腾讯科技(深圳)有限公司 | Skip interception method and device, readable storage medium and equipment |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116860115A (en) * | 2023-09-05 | 2023-10-10 | 荣耀终端有限公司 | Application management method and related device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10397262B2 (en) | Device, system, and method of detecting overlay malware | |
CN108616448B (en) | Information sharing path recommendation method and mobile terminal | |
CN110795310B (en) | Information reminding method and electronic equipment | |
CN107633172B (en) | Malicious webpage monitoring method and electronic equipment | |
US20220329741A1 (en) | Camera start method and electronic device | |
CN116489271A (en) | Advertisement processing method and device | |
CN110362185B (en) | Control method for screen brightness adjustment, terminal and computer readable storage medium | |
CN111597797A (en) | Method, device, equipment and medium for editing social circle message | |
CN110012152B (en) | Interface display method and terminal equipment | |
CN109902232B (en) | Display control method and terminal | |
CN111045560A (en) | Method for sending picture and electronic equipment | |
CN109522543B (en) | Information processing method and terminal equipment | |
CN114398128B (en) | Information display method and device | |
CN114244952B (en) | Alarm clock processing method and device, electronic equipment and medium | |
CN115469795A (en) | Touch operation processing method and device, electronic equipment and readable storage medium | |
CN114895815A (en) | Data processing method and electronic equipment | |
CN114089868A (en) | Touch operation method and device and electronic equipment | |
CN115016884B (en) | Application program control method, device, equipment and medium | |
CN112416202B (en) | Message notification method and device and electronic equipment | |
CN115291791B (en) | Text recognition method, device, electronic equipment and storage medium | |
CN113158108B (en) | Information display method and device and electronic equipment | |
CN117375175A (en) | Charging prompt method and device | |
CN108040014B (en) | Flow control method and device | |
CN116302541A (en) | Resource performance adjusting method and device | |
CN116795272A (en) | Processing method, processing device, electronic equipment and readable storage medium |
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 |