Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

View object control method and electronic equipment

A technology for electronic equipment and object control, applied in the field of electronics, can solve the problem of floating windows affecting user operations and other issues

Active Publication Date: 2014-03-12
LENOVO (BEIJING) CO LTD
View PDF4 Cites 9 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In view of this, the present invention provides a view object control method and electronic equipment, which are used to solve the technical problem in the prior art that the floating window of the application process will affect the user's operation

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • View object control method and electronic equipment
  • View object control method and electronic equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0049] Embodiment 1 provides a method for controlling a view object, which is applied to an electronic device capable of running at least a first application process, such as a PAD (tablet computer), a smart phone, a personal computer, and the like.

[0050] refer to figure 1 , the method includes:

[0051] S101: When it is determined that at least one floating window is included in the first application process, inject the first instance and the second instance different from the first instance into the first application process, so as to be displayed in a preset form in the first application process running the first instance, wherein the first instance and the second instance are computer-implemented logic for performing their respective functions;

[0052] S102: At time T1 after injecting the first instance and the second instance into the first application process, time TI is before the floating window appears on the first window, obtain M view object instances and M vie...

Embodiment 2

[0057] In Embodiment 2, in combination with the implementation method in Embodiment 1, after step S101 is executed, the following steps are then performed: Step 1: Obtain the window management interface instance in the first application process based on the JAVA reflection mechanism; Step 2: Based on JAVA The reflection mechanism obtains M view object instances and M groups of parameter instances in the window management interface instance.

[0058] Taking the Android architecture as an example, after the first instance and the second instance are injected into the first application process based on the implementation in the first embodiment above, the Dalvik instance (virtual machine instance) of the first application process is obtained based on the first instance, thereby passing Dalvik loads the JAR file in the first instance to execute the java code in the JAR file. When executing the JAR file, it obtains the first application process in the window management interface ins...

Embodiment 3

[0060] In an implementation manner of this embodiment, in order to realize more real-time interception of the floating window, continue to use the implementation manner in the above-mentioned embodiment 1 or embodiment 2, in step S102, according to M groups of parameter instances, from M view object instances Determining the N view object instances in is specifically as follows: according to the i-th set of parameter instances, it is judged whether the i-th view object corresponding to the i-th view object instance is the type of the floating window, and i takes integers from 1 to M in turn, Specifically, according to the obtained window type parameter in the i-th group of parameters, it is judged whether the generated i-th view object is a floating window type, and when it is judged that the i-th view object is the type of the floating window, call The second instance: controlling the ith view object to be in the non-floating display state on the upper layer of the first windo...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a view object control method and electronic equipment. The view object control method and electronic equipment are used for solving the technical problem that in the prior art, suspension windows of application processes can influence user operation. The method includes the steps that when it is determined that a first application process comprises at least one suspension window, a first instance and a second instance different from the first instance are injected into the first application process so that the first instance operates in a preset form in the first application process; at the T1 moment after the first instance and the second instance are injected into the first application process, M view object instances and M groups of parameter instances corresponding to the M view object instances are obtained on the basis of the first instance, N view object instances are determined from the M view object instances according to the M groups of the parameter instances, and N view objects corresponding to the determined N view object instances are suspension window types under a to-be-displayed state; the second instance is executed, so the N view objects are controlled to be under a non-suspension display state on the upper layer of a first window.

Description

technical field [0001] The present invention relates to the field of electronic technology, in particular to a view object control method and electronic equipment. Background technique [0002] With the development of science and technology, the application interfaces of electronic devices are becoming more and more complex, which brings rich user experience to users. [0003] For example, in the application process of electronic devices, many applications will generate floating windows floating on the desktop or application windows, some music players will generate desktop lyrics floating windows during the application process, and some mobile phone security guards will pop up some The floating window interacting with the main interface, some applications will also implant some advertisements on the application window, or the floating window of malicious software, etc., the mobile phone of the Android operating system in the prior art, whether it is the generated desktop fl...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F3/0481
Inventor 李甘
Owner LENOVO (BEIJING) CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products