Node Attribute Mapping for Simpler HTML5 Drag-and-Drop

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

The implementation of drag-and-drop functions in HTML5 applications requires complex coding, leading to low development efficiency.

Innovation Solution

A data processing method that obtains and associates attribute data with nodes on a target interface, allowing direct modification of these attributes based on drag-and-drop operations, simplifying the process and reducing the need for extensive code writing.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If traditional HTML5 drag-and-drop implementation is used, then the function can be achieved, but a large number of complex codes need to be written resulting in low development efficiency

Engineering Contradiction:
Improvedevelopment efficiencyVSAvoidcode complexity
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The patent introduces an intermediary mechanism by associating attribute data with DOM nodes through a mapping relationship. Instead of directly manipulating complex DOM objects and their attributes through lengthy JavaScript code, the system uses an intermediate layer that connects interface elements to their underlying attribute data, simplifying the drag-and-drop implementation

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The patent creates a simplified representation or copy of the node's attribute data that can be directly manipulated. By working with this copied/associated attribute data structure rather than the full DOM object, the complexity of drag-and-drop operations is reduced while maintaining the ability to modify node properties

Inventive Principle:
Principle #26Copying

2Ease of operation

If attribute data is directly associated with nodes, then drag-and-drop operations can be simplified, but additional data management overhead is introduced

Engineering Contradiction:
Improvedrag-and-drop operation simplicityVSAvoiddata management complexity
Core Design Contradiction:
Ease of operationVSDevice complexity

Solution Approach 1:

The patent merges the attribute data with the node representation by creating an association between them. This combining allows the system to treat attribute data and node information as an integrated unit, simplifying operations while the underlying structure manages the data relationships

Inventive Principle:
Principle #5Merging (Combining)

3Speed

If location data is modified based on drag-and-drop operations, then node positioning is updated in real-time, but data consistency management becomes more complex

Engineering Contradiction:
Improveposition update speedVSAvoiddata consistency
Core Design Contradiction:
SpeedVSReliability

Solution Approach 1:

The patent implements a feedback mechanism where drag-and-drop operations trigger automatic updates to the associated attribute data, specifically the location data. The system continuously monitors operation data from drag events and feeds this information back to update the node's position, ensuring real-time synchronization while maintaining data consistency through the established association structure

Inventive Principle:
Principle #23Feedback

Data Source

PatentUS12566543B2Data processing methods and apparatuses, devices and media
Publication Date: 2026.03.03 BOE TECHNOLOGY GROUP CO LTD
  • US12566543B2 patent drawing
  • US12566543B2 patent drawing
  • US12566543B2 patent drawing

AI summary

The present disclosure relates to a data processing method and apparatus, a device and a medium. In the present disclosure, by obtaining the attribute data of the operation object corresponding to the node displayed on the target node in the program code and associating the obtained attribute data with the corresponding node, the attribute data associated with the node can be modified directly based on the operation data corresponding to the drag-and-drop operation when dragging and dropping the node on the target node, without the need to search for the operation object, such that through a simple operation process, dragging and dropping the node can be displayed, enabling the node to be displayed at the position where the drag-and-drop operation ends based on the modified attribute data.