Object control method and device

A technology of object control and target object, which is applied in the computer field, can solve the problems of low operating efficiency and achieve the effects of improving operating efficiency, reducing performance consumption, and avoiding lag

Inactive Publication Date: 2019-01-01
ALIBABA (CHINA) CO LTD
View PDF3 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In view of this, the present disclosure proposes an object control method and device to solve the problem of low operation efficiency of the method of controlling objects in the interface by modifying DOM attributes through JavaScript

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
  • Object control method and device
  • Object control method and device
  • Object control method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0051] figure 1 A flowchart showing an object control method according to an embodiment of the present disclosure. Such as figure 1 As shown, the method can be applied to terminal devices such as a PC (Personal Computer, personal computer), a notebook computer, a mobile phone, or a tablet computer, which is not limited herein. Such as figure 1 As shown, the method includes steps S11 and S12.

[0052] In step S11 , if it is detected in the interface that the target object is triggered, a first display form of the target object is determined.

[0053] Wherein, the interface may be an interface of a browser or an interface of other application software, which is not limited herein.

[0054] As an example of this embodiment, it may be determined that the target object is triggered when a trigger operation on a button corresponding to the target object is detected. Wherein, the triggering operation may be a click operation, a long press operation, or a mouse hover operation, e...

Embodiment 2

[0086] Figure 6 A block diagram of an object control device according to an embodiment of the present disclosure is shown. Such as Figure 6 As shown, the device includes: a first determination module 61, configured to determine the first display form of the target object when the target object is detected to be triggered in the interface; a first conversion module 62, configured to control the The target object gradually transitions from the current display form to the first display form.

[0087] In a possible implementation manner, the first conversion module 61 is configured to: control the conversion of the target object from the current display form to the first display form at a first change rate through a cascading style sheet.

[0088] Figure 7 An exemplary block diagram of an object control device according to an embodiment of the present disclosure is shown. Such as Figure 7 Shown:

[0089] In a possible implementation manner, the device further includes: a...

Embodiment 3

[0096] Figure 8 It is a block diagram of an apparatus 800 for object control according to an exemplary embodiment. For example, the apparatus 800 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, and the like.

[0097] refer to Figure 8 , the apparatus 800 may include one or more of the following components: a processing component 802, a memory 804, a power supply component 806, a multimedia component 808, an audio component 810, an input / output (I / O) interface 812, a sensor component 814, and a communication component 816.

[0098] The processing component 802 generally controls the overall operations of the device 800, such as those associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 802 may include one or more processors 820 to execute instructions to comple...

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

A method and an apparatus for object control are disclosed. The method includes determining a first display form of a target object when the target object is detected to be triggered in an interface;the target object is controlled to gradually convert from a current display form to the first display form by a cascading style sheet. The invention can realize the object control through cascading style sheets, improve the running efficiency of the interface, consume less performance of the browser, realize the smooth display of the object, and avoid the situation of katon.

Description

technical field [0001] The present disclosure relates to the field of computer technology, in particular to an object control method and device. Background technique [0002] In related technologies, JavaScript is used to modify the properties of DOM (Document Object Model, Document Object Model) to control the objects in the interface. The operating efficiency of this object control method is low, and it consumes a lot of performance of the browser, which is prone to page freezes and slows down the page speed. Contents of the invention [0003] In view of this, the present disclosure proposes an object control method and device to solve the problem of low operating efficiency of the method of controlling objects in an interface by modifying DOM attributes through JavaScript. [0004] According to an aspect of the present disclosure, an object control method is provided, including: [0005] If it is detected in the interface that the target object is triggered, determine...

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): G06F9/451
Inventor 邵光南
Owner ALIBABA (CHINA) CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products