Advertisement processing method and device
By intercepting advertisement jump requests caused by shaking operations that meet preset conditions on electronic devices, the problem of malicious advertisements affecting the normal use of the device and traffic consumption is solved, and a safer and more energy-saving advertising processing effect is achieved.
Patent Information
- Application Number
- CN202310494106.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-05-05
- Publication Date
- 2025-02-07
- Estimated Expiration
- 2043-05-05
AI Technical Summary
Malicious "shake" advertisements are easily triggered, affecting the normal use of electronic devices and leading to unnecessary traffic consumption.
By displaying a page containing advertising information on the display screen of the electronic device and intercepting the jump request when a shaking operation that meets the preset conditions is detected, it is determined whether to maintain or cancel the interception based on the parameters and thresholds of the shaking operation.
Reduces the impact of malicious advertising on the normal use of electronic devices and reduces page jumps and traffic consumption caused by false triggers.
Smart Images

Figure CN116489271B_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the field of data processing, and specifically relates to an advertisement processing method, device, electronic device and readable storage medium. Background Art
[0002] In the era of mobile Internet, advertising has become an important source of income for Internet companies.
[0003] Some Internet companies have launched “shake” ads to reduce the space occupied by ads on their pages. “Shake” ads are ads that jump to the page when the electronic device is shaken, and then display content to the user.
[0004] Malicious “shake” ads are extremely easy to trigger. In addition to affecting the normal use of electronic devices, they also cause traffic consumption. Summary of the invention
[0005] The purpose of the embodiments of the present application is to provide an advertisement processing method, device, electronic device and readable storage medium, which can intercept jump requests and selectively maintain the interception of jump requests and cancel the interception of jump requests according to the shaking operation of the electronic device, so as to reduce the impact of the above-mentioned advertisements on the normal use of the electronic device, and also reduce the traffic consumption caused by page jumps generated by jump requests.
[0006] In a first aspect, an embodiment of the present application provides a method for processing advertisements, comprising: displaying a first page containing advertisement information on a display screen of an electronic device, wherein, when the electronic device receives a shaking operation that meets preset conditions, the first page will jump to a page corresponding to the advertisement information; when it is detected that the first shaking operation meets the preset conditions, intercepting the jump request; determining a target operation based on parameters corresponding to the first shaking operation and a shaking parameter threshold, wherein the target operation includes: keeping intercepting the jump request, or canceling the interception of the jump request.
[0007] In a second aspect, an embodiment of the present application provides an advertisement processing device, comprising: a display module, for displaying a first page containing advertising information on a display screen of an electronic device, wherein when the electronic device receives a shaking operation that meets preset conditions, the first page will jump to a page corresponding to the advertising information; an interception module, for intercepting a jump request when it is detected that the first shaking operation meets the preset conditions; a processing module, for determining a target operation based on parameters corresponding to the first shaking operation and a shaking parameter threshold, wherein the target operation includes: keeping intercepting the jump request, or canceling the interception of the jump request.
[0008] In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor and a memory, wherein the memory stores programs or instructions that can be run on the processor, and when the programs or instructions are executed by the processor, the steps of the method of the first aspect are implemented.
[0009] In a fourth aspect, an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed by a processor, the steps of the method of the first aspect are implemented.
[0010] In a fifth aspect, an embodiment of the present application provides a chip, the chip including a processor and a communication interface, the communication interface and the processor are coupled, and the processor is used to run programs or instructions to implement the method of the first aspect.
[0011] In a sixth aspect, an embodiment of the present application provides a computer program product, which is stored in a storage medium and is executed by at least one processor to implement the method of the first aspect.
[0012] In an embodiment of the present application, when it is detected that the first shaking operation meets the preset conditions, the jump request is intercepted. In this process, the probability of jump requests being issued as long as the electronic device is shaken, and then page jumps, can be reduced.
[0013] By obtaining the parameter corresponding to the first shaking operation of the electronic device and comparing the parameter corresponding to the first shaking operation with the shaking data threshold, it is measured whether the shaking of the electronic device is actively triggered by the user, thereby reducing the probability of jump requests generated by false triggering and the occurrence of page jumps. In this process, the probability of malicious advertisements popping up is also reduced, thereby reducing the impact of the above advertisements on the normal use of the electronic device, and also reducing the traffic consumption caused by page jumps generated by jump requests. BRIEF DESCRIPTION OF THE DRAWINGS
[0014] Figure 1 is a flowchart of an advertisement processing method in some embodiments of the present application;
[0015] Figure 2 is a schematic block diagram of an advertisement processing device in some embodiments of the present application;
[0016] Figure 3 is a schematic block diagram of an electronic device according to some embodiments of the present application;
[0017] Figure 4 It is a schematic diagram of the hardware structure of an electronic device in some embodiments of the present application. DETAILED DESCRIPTION
[0018] The following will be combined with the drawings in the embodiments of the present application to clearly describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments in the present application belong to the scope of protection of this application.
[0019] The terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here, and the objects distinguished by "first", "second", etc. are generally of one type, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and / or" in the specification and claims represents at least one of the connected objects, and the character " / " generally indicates that the objects associated with each other are in an "or" relationship.
[0020] The following describes in detail the advertisement processing method, device, electronic device, and readable storage medium provided by the embodiments of the present application through specific embodiments and their application scenarios in conjunction with the accompanying drawings.
[0021] In some embodiments of the present application, Figure 1 As shown, a method for processing advertisements is proposed, comprising:
[0022] Step 102: a first page including advertisement information is displayed on a display screen of an electronic device, wherein when the electronic device receives a shaking operation that meets a preset condition, the first page will jump to a page corresponding to the advertisement information.
[0023] In some embodiments of the present application, the page corresponding to the advertising information is the second page, wherein the second page may be an advertising page, such as a promotional interface of a shopping program, a download interface of a game, or a trial interface of a game.
[0024] In some embodiments of the present application, the preset condition may be that the acceleration in a single direction changes between two values, for example, the acceleration is between -1 m / s 2 To 1m / s 2 In some embodiments of the present application, the preset condition may be that the posture deviation angle of the electronic device is greater than a deviation angle threshold. For example, the value of the deviation angle threshold may be 3°.
[0025] Step 104: When it is detected that the first shaking operation meets a preset condition, intercept the jump request.
[0026] Step 106: determining a target operation according to the parameter corresponding to the first shaking operation and the shaking parameter threshold, wherein the target operation includes: maintaining the interception jump request, or canceling the interception jump request.
[0027] In the embodiment of the present application, when it is detected that the first shaking operation meets the preset condition, the jump request is intercepted. In this process, the probability of the jump request appearing as long as the electronic device shakes, and then the page jump, can be reduced.
[0028] By obtaining the parameter corresponding to the first shaking operation of the electronic device and comparing the parameter corresponding to the first shaking operation with the shaking data threshold, it is measured whether the shaking of the electronic device is actively triggered by the user, thereby reducing the probability of jump requests generated by false triggering and the occurrence of page jumps. In this process, the probability of malicious advertisements popping up is also reduced, reducing the impact of the above advertisements on the normal use of the electronic device, and also reducing the traffic consumption caused by page jumps generated by jump requests.
[0029] It is worth noting that in the embodiment of the present application, the shaking data threshold is fixed. Therefore, it is possible to intercept the "shake" advertisements launched by different Internet companies, thereby achieving unified management of advertisements and reducing the impact of malicious advertisements on the use of electronic devices.
[0030] In some embodiments of the present application, the jitter data threshold can be set according to actual usage needs, and its specific value range will not be described in detail here.
[0031] In some embodiments of the present application, the parameters corresponding to the first shake operation include the posture offset angle of the electronic device. According to the parameters corresponding to the first shake operation and the shake parameter threshold, the target operation is determined, including: when the posture offset angle is greater than the minimum angle threshold corresponding to the shake parameter threshold, canceling the interception of the jump request; when the posture offset angle is less than or equal to the minimum angle threshold corresponding to the shake parameter threshold, keeping intercepting the jump request.
[0032] In this embodiment, the specific selection of the parameters corresponding to the first shaking operation is limited. In this process, the parameters corresponding to the first shaking operation are characterized by the posture offset angle. The electronic device uses a preset posture as the initial posture by default, obtains the current posture at a preset frequency, calculates the posture offset angle between the current posture and the initial posture, and uses the posture offset angle to control whether to keep intercepting the jump request.
[0033] Specifically, for example, the minimum angle threshold corresponding to the shake parameter threshold is -5° or +5°. If the calculated posture offset angle is +6°, -5°, +8°, -9°, that is, outside -5° to +5°, the interception of the jump request is canceled; otherwise, the interception of the jump request is maintained.
[0034] In the above embodiment, the posture deviation angle is data measured and calculated within a period of time, wherein the value of the period of time can be selected according to the actual detection needs of the shaking operation, such as performing a detection every 0.2 seconds, or every 0.5 seconds.
[0035] In some embodiments of the present application, the first page corresponds to the first application, and when it is detected that the first shaking operation meets the preset conditions, the jump request is intercepted, including: when it is detected that the first shaking operation meets the preset conditions, receiving a call request from the first application, the call request is used to call the jump interface; intercepting the call request and stopping loading the page corresponding to the advertising information.
[0036] In this embodiment, a specific implementation scheme for intercepting a jump request is given, wherein a jump request is a process of receiving a call request for calling a jump interface, responding to it, and loading a page to be called. Based on this, the jump request can be intercepted by intercepting the call request and stopping loading of the page corresponding to the advertisement information.
[0037] Specifically, the first page displayed on the display screen is the first application, and the page corresponding to the advertising information after the page jumps is the second application. When it is detected that the first shaking operation meets the preset conditions, the first application will issue a call request, and the jump request can be intercepted by intercepting the call request and stopping loading the second application.
[0038] In some embodiments of the present application, when the interception of the jump request is canceled, the second application continues to be loaded to realize the page corresponding to the advertising information. In this process, it is possible to control whether the page corresponding to the advertising information is displayed, monitor the "shake" advertisement, reduce the probability of malicious advertisements popping up, reduce the impact of the above advertisements on the normal use of electronic devices, and also reduce the traffic consumption caused by the page jump generated by the jump request.
[0039] In some embodiments of the present application, intercepting a call request may be understood as not responding to the call request upon receipt of the call request, or as rejecting the call request.
[0040] In some embodiments of the present application, before a first page containing advertising information is displayed on a display screen of an electronic device, the processing method further includes: obtaining content information of the first page; upon identifying that the content information of the first page includes a target keyword, determining that the first page can jump to a page corresponding to the advertising information upon receiving a shaking operation that meets preset conditions; wherein the target keyword is used to indicate a shaking operation.
[0041] In this embodiment, the content information of the first page is obtained so as to use the content information of the first page to realize the identification of the "shake" advertisement, so as to execute the above-mentioned processing method for the "shake" advertisement to realize the interception of the jump request. In this process, the above-mentioned "shake" advertisement can be identified in a targeted manner, and the supervision of the previous type of advertisement can be realized by controlling whether to cancel the interception and keep the interception, thereby reducing the probability of malicious advertisements popping up, reducing the impact of the above-mentioned advertisements on the normal use of electronic devices, and also reducing the traffic consumption caused by the page jump generated by the jump request.
[0042] In one embodiment, the target keyword may be the text of “shake”, “shake” or “shake the phone”.
[0043] In one of the embodiments, 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 to recognize the content information of the first page, thereby determining whether the content information of the first page contains target keywords.
[0044] Among them, the advertisement recognition engine can be trained according to actual usage needs, and its training process will not be described in detail here.
[0045] In the above embodiment, the content information of the first page may be display user interface information, that is, activity information.
[0046] In some embodiments of the present application, displaying user interface information includes: displaying digitized structure information and picture information of the user interface.
[0047] The data structure information for displaying the user interface may be XML (Extensible Markup Language) information.
[0048] In the above embodiment, the picture information may be an image displayed in the first page.
[0049] In some embodiments of the present application, after maintaining intercepting the jump request, the processing method also includes: storing page information before and after the jump request; intercepting the first jump request when it is detected that there is a first jump request and the before and after page information corresponding to the first jump request matches the stored page information.
[0050] In this embodiment, by storing the page information before and after the jump request, when the same page information appears again on the electronic device, the jump request can be directly intercepted, thereby achieving self-learning of ad blocking and reducing the probability of malicious pop-ups.
[0051] In some embodiments of the present application, the page information may be web page link information, such as a URL, or application information, such as an application name, or information of a target server determined based on the web page link information, wherein the target server information is used to build a web page corresponding to the web page link information.
[0052] In some embodiments of the present application, the first jump request may be understood as a jump request generated when the second shaking operation meets a preset condition, wherein the second shaking operation is a shaking operation detected by the electronic device after the first shaking operation is detected.
[0053] The advertisement processing method provided in the embodiment of the present application can be executed by an advertisement processing device. In the embodiment of the present application, an advertisement processing device executing the advertisement processing method is taken as an example to illustrate the advertisement processing device provided in the embodiment of the present application.
[0054] In one embodiment, if Figure 2 As shown, an advertisement processing device 200 is proposed, including: a display module 202, for displaying a first page containing advertisement information on a display screen of an electronic device, wherein when the electronic device receives a shaking operation that meets a preset condition, the first page will jump to a page corresponding to the advertisement information; an interception module 204, for intercepting a jump request when it is detected that the first shaking operation meets the preset condition; a processing module 206, for determining a target operation according to parameters corresponding to the first shaking operation and a shaking parameter threshold, wherein the target operation includes: keeping intercepting the jump request, or canceling the intercepting the jump request.
[0055] In this embodiment, when it is detected that the first shaking operation meets the preset conditions, the jump request is intercepted. In this process, the probability of jump requests being issued as long as the electronic device is shaken, and then page jumps, can be reduced.
[0056] By obtaining the parameters corresponding to the first shaking operation of the electronic device and comparing the parameters corresponding to the first shaking operation with the shaking data threshold range, it is measured whether the shaking of the electronic device is actively triggered by the user, thereby reducing the probability of jump requests generated by false triggering and the occurrence of page jumps. In this process, the probability of malicious advertisements popping up is also reduced, thereby reducing the impact of the above advertisements on the normal use of the electronic device, and also reducing the traffic consumption caused by page jumps generated by jump requests.
[0057] In some embodiments of the present application, the parameters corresponding to the first shaking operation include the posture offset angle of the electronic device, and the processing module 206 is specifically used to: cancel the interception jump request when the posture offset angle is greater than the minimum angle threshold corresponding to the shaking parameter threshold; and keep intercepting the jump request when the posture offset angle is less than or equal to the minimum angle threshold corresponding to the shaking parameter threshold.
[0058] In some embodiments of the present application, the first page corresponds to the first application, and the interception module 204 is specifically used to: when it is detected that the first shaking operation meets the preset conditions, receive a call request from the first application, the call request is used to call the jump interface; intercept the call request and stop loading the page corresponding to the advertising information.
[0059] In some embodiments of the present application, the processing module 206 is also used to: obtain content information of the first page; when it is identified that the content information of the first page includes a target keyword, determine that the first page can jump to a page corresponding to the advertising information when a shaking operation that meets preset conditions is received; wherein the target keyword is used to indicate the shaking operation.
[0060] In some embodiments of the present application, the processing module 206 is also used to: store page information before and after the jump request; and intercept the first jump request when it is detected that there is a first jump request and the page information before and after the first jump request matches the stored page information.
[0061] The advertisement processing device 200 in the embodiment of the present application can be an electronic device or a component in the electronic device, such as an integrated circuit or a chip. The electronic device can be a terminal or other devices other than a terminal. Exemplarily, the electronic device can be a mobile phone, a tablet computer, a laptop computer, a PDA, a vehicle-mounted electronic device, a mobile Internet device (Mobile Internet Device, MID), an augmented reality (augmented reality, AR) / virtual reality (virtual reality, VR) device, a robot, a wearable device, an ultra-mobile personal computer (ultra-mobile personal computer, UMPC), a netbook or a personal digital assistant (personal digital assistant, PDA), etc. It can also be a server, a network attached storage (Network Attached Storage, NAS), a personal computer (personal computer, PC), a television (television, TV), a teller machine or a self-service machine, etc., which is not specifically limited in the embodiment of the present application.
[0062] The advertisement processing device 200 in the embodiment of the present application may be a device having 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 embodiment of the present application.
[0063] The advertisement processing device 200 provided in the embodiment of the present application can realize Figure 1 To avoid repetition, the various processes implemented by the method embodiment are not described here.
[0064] Alternatively, if Figure 3 As shown, an embodiment of the present application further provides an electronic device 300, including a processor 302 and a memory 304, wherein the memory 304 stores programs or instructions that can be executed on the processor 302, and when the program or instructions are executed by the processor 302, the various steps of the above-mentioned advertisement processing method embodiment are implemented, and the same technical effect can be achieved. To avoid repetition, they are not described here.
[0065] It should be noted that the electronic devices in the embodiments of the present application include the above-mentioned mobile electronic devices and non-mobile electronic devices.
[0066] Figure 4 A schematic diagram of the hardware structure of an electronic device to implement an embodiment of the present application.
[0067] The electronic device 400 includes but is not limited to components such as a radio frequency unit 401 , a network module 402 , an audio output unit 403 , an input unit 404 , a sensor 405 , a display unit 406 , a user input unit 407 , an interface unit 408 , a memory 409 , and a processor 410 .
[0068] Those skilled in the art will appreciate that the electronic device 400 may also include a power source (such as a battery) for supplying power to each component, and the power source may be logically connected to the processor 410 through a power management system, thereby implementing functions such as managing charging, discharging, and power consumption management through the power management system. Figure 4 The electronic device structure shown in the figure does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently, which will not be described in detail here.
[0069] Among them, the processor 410 is used to: display a first page containing advertising information on the display screen of the electronic device, wherein when the electronic device receives a shaking operation that meets preset conditions, the first page will jump to the page corresponding to the advertising information; when it is detected that the first shaking operation meets the preset conditions, intercept the jump request; determine the target operation according to the parameters corresponding to the first shaking operation and the shaking parameter threshold, wherein the target operation includes: keeping intercepting the jump request, or canceling the intercepting the jump request.
[0070] In this embodiment, when it is detected that the first shaking operation meets the preset conditions, the jump request is intercepted. In this process, the probability of jump requests being issued as long as the electronic device is shaken, and then page jumps, can be reduced.
[0071] By obtaining the parameters corresponding to the first shaking operation of the electronic device and comparing the parameters corresponding to the first shaking operation with the shaking data threshold range, it is measured whether the shaking of the electronic device is actively triggered by the user, thereby reducing the probability of jump requests generated by false triggering and the occurrence of page jumps. In this process, the probability of malicious advertisements popping up is also reduced, thereby reducing the impact of the above advertisements on the normal use of the electronic device, and also reducing the traffic consumption caused by page jumps generated by jump requests.
[0072] In some embodiments of the present application, the parameters corresponding to the first shaking operation include a posture offset angle of the electronic device, and the processor 410 is used to: cancel the interception of the jump request when the posture offset angle is greater than the minimum angle threshold corresponding to the shaking parameter threshold; and keep intercepting the jump request when the posture offset angle is less than or equal to the minimum angle threshold corresponding to the shaking parameter threshold.
[0073] In some embodiments of the present application, the first page corresponds to the first application, and the processor 410 is used to: when detecting that the first shaking operation meets a preset condition, receive a call request from the first application, the call request being used to call a jump interface; intercept the call request and stop loading the page corresponding to the advertising information.
[0074] In some embodiments of the present application, the processor 410 is also used to: obtain content information of the first page; when it is identified that the content information of the first page includes a target keyword, determine that the first page can jump to a page corresponding to the advertising information when a shaking operation that meets preset conditions is received; wherein the target keyword is used to indicate the shaking operation.
[0075] In some embodiments of the present application, the processor 410 is also used to: store page information before and after the jump request; and intercept the first jump request when it is detected that there is a first jump request and the before and after page information corresponding to the first jump request matches the stored page information.
[0076] It should be understood that in the embodiment of the present application, the input unit 404 may include a graphics processor (GPU) 4041 and a microphone 4042, and the graphics processor 4041 processes the image data of a static picture or video obtained by an image capture device (such as 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, etc. The user input unit 407 includes a touch panel 4071 and at least one of other input devices 4072. The touch panel 4071 is also called 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 (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which will not be repeated here.
[0077] The memory 409 can be used to store software programs and various data. The memory 409 may mainly include a first storage area for storing programs or instructions and a second storage area for storing data, wherein the first storage area may store an operating system, an application program or instructions required for at least one function (such as a sound playback function, an image playback function, etc.), etc. In addition, the memory 409 may include a volatile memory or a non-volatile memory, or the memory 409 may include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), a static random access memory (SRAM), a dynamic random access memory (DRAM), a synchronous dynamic random access memory (SDRAM), a double data rate synchronous dynamic random access memory (DDRSDRAM), an enhanced synchronous dynamic random access memory (ESDRAM), a synchronous link dynamic random access memory (SLDRAM) and a direct memory bus random access memory (DRRAM). The memory 409 in the embodiment of the present application includes but is not limited to these and any other suitable types of memory.
[0078] The processor 410 may include one or more processing units; optionally, the processor 410 integrates an application processor and a modem processor, wherein the application processor mainly processes operations related to an operating system, a user interface, and application programs, and the modem processor mainly processes wireless communication signals, such as a baseband processor. It is understandable that the modem processor may not be integrated into the processor 410.
[0079] The embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, each process of the above-mentioned advertisement processing method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0080] The processor is the processor in the electronic device in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory ROM, a random access memory RAM, a magnetic disk or an optical disk.
[0081] An embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface and the processor are coupled, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned advertisement processing method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0082] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.
[0083] An embodiment of the present application provides a computer program product, which is stored in a storage medium. The program product is executed by at least one processor to implement the various processes of the above-mentioned advertisement processing method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0084] It should be noted that, in this article, the terms "comprise", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the statement "including one" do not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved, for example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.
[0085] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM / RAM, a disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods of each embodiment of the present application.
[0086] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.
Claims
1. A method for processing advertisements, characterized in that: include: A first page containing advertising information is displayed on a display screen of an electronic device, wherein when the electronic device receives a shaking operation that meets a preset condition, the first page will jump to a page corresponding to the advertising information; When detecting that the first shaking operation meets the preset condition, intercepting the jump request; Determining a target operation according to a parameter corresponding to the first shaking operation and a shaking parameter threshold, wherein the target operation includes: keeping intercepting the jump request, or canceling intercepting the jump request; Before the first page containing the advertisement information is displayed on the display screen of the electronic device, the processing method further includes: Obtaining content information of the first page; When it is recognized that the content information of the first page includes the target keyword, determining that the first page can jump to a page corresponding to the advertisement information when a shaking operation that meets the preset condition is received; Among them, the target keyword is used to indicate a shaking operation; by obtaining parameters corresponding to a first shaking operation of the electronic device and comparing the parameters corresponding to the first shaking operation with a shaking data threshold, it is determined whether the shaking of the electronic device is actively triggered by the user.
2. The method for processing advertisements according to claim 1, characterized in that: The parameter corresponding to the first shaking operation includes a posture deviation angle of the electronic device, and determining the target operation according to the parameter corresponding to the first shaking operation and a shaking parameter threshold includes: When the posture deviation angle is greater than the minimum angle threshold corresponding to the shake parameter threshold, canceling the interception of the jump request; When the posture deviation angle is less than or equal to the minimum angle threshold corresponding to the shake parameter threshold, the jump request is kept intercepted.
3. The method for processing advertisements according to claim 1, characterized in that: The first page corresponds to the first application, and when it is detected that the first shaking operation meets the preset condition, intercepting the jump request includes: In a case where it is detected that the first shaking operation satisfies the preset condition, receiving a call request of the first application, where the call request is used to call a jump interface; The calling request is intercepted, and loading of the page corresponding to the advertisement information is stopped.
4. The method for processing advertisements according to any one of claims 1 to 3, characterized in that: After the jump request is kept intercepted, the processing method further includes: Storing page information before and after the jump request; When it is detected that there is a first jump request and the previous and next page information corresponding to the first jump request matches the stored page information, the first jump request is intercepted.
5. An advertisement processing device, characterized in that: include: A display module, used for displaying a first page containing advertising information on a display screen of an electronic device, wherein when the electronic device receives a shaking operation that meets a preset condition, the first page will jump to a page corresponding to the advertising information; An interception module, configured to intercept the jump request when detecting that the first shaking operation satisfies the preset condition; a processing module, configured to determine a target operation according to a parameter corresponding to the first shaking operation and a shaking parameter threshold, wherein the target operation includes: keeping intercepting the jump request, or canceling intercepting the jump request; The processing module is also used for: Obtaining content information of the first page; When it is recognized that the content information of the first page includes the target keyword, determining that the first page can jump to a page corresponding to the advertisement information when a shaking operation that meets the preset condition is received; Among them, the target keyword is used to indicate a shaking operation; by obtaining parameters corresponding to a first shaking operation of the electronic device and comparing the parameters corresponding to the first shaking operation with a shaking data threshold, it is determined whether the shaking of the electronic device is actively triggered by the user.
6. The advertisement processing device according to claim 5, characterized in that: The parameter corresponding to the first shaking operation includes a posture deviation angle of the electronic device, and the processing module is specifically used for: When the posture deviation angle is greater than the minimum angle threshold corresponding to the shake parameter threshold, canceling the interception of the jump request; When the posture deviation angle is less than or equal to the minimum angle threshold corresponding to the shake parameter threshold, the jump request is kept intercepted.
7. The advertisement processing device according to claim 5, characterized in that: The first page corresponds to the first application, and the interception module is specifically used for: In a case where it is detected that the first shaking operation satisfies the preset condition, receiving a call request of the first application, where the call request is used to call a jump interface; The calling request is intercepted, and loading of the page corresponding to the advertisement information is stopped.
8. The advertisement processing device according to any one of claims 5 to 7, characterized in that: The processing module is also used for: Storing page information before and after the jump request; When it is detected that there is a first jump request and the previous and next page information corresponding to the first jump request matches the stored page information, the first jump request is intercepted.
Citation Information
Patent Citations
Browser page control method and device
CN104035564A