Unlock instant, AI-driven research and patent intelligence for your innovation.

Instant messaging client and its embedded web pages realize drag-and-drop method

A technology that embeds web pages and clients. It is applied in the computer field and can solve the problems of not supporting user drag and drop, lack of custom formats, and inability of JS scripts to operate data.

Active Publication Date: 2011-11-30
TENCENT TECH (SHENZHEN) CO LTD
View PDF3 Cites 16 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, in the existing application scenario where the instant messaging client is embedded with a webpage, the information interaction between the client and the page is often carried out through JS scripts calling mutually agreed interfaces, and JS scripts cannot The user drags and drops the data to operate, so the existing instant messaging client embedded web pages do not support users to drag and drop content from other information sources into it
[0003] In addition, in traditional instant messaging tools, the format of information displayed on embedded web pages is also fixed, and there is a lack of custom formats, especially the lack of effective regulations on the information display format after the drag and drop content is parsed

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
  • Instant messaging client and its embedded web pages realize drag-and-drop method
  • Instant messaging client and its embedded web pages realize drag-and-drop method
  • Instant messaging client and its embedded web pages realize drag-and-drop method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0025] Such as figure 1 As shown, a method for implementing drag-and-drop of an instant messaging client embedded web page, the specific process of the method is as follows:

[0026] Step S10, acquiring the data type of the dragged data when the data is dragged to the embedded web page. In this embodiment, the user uses the mouse to drag and drop the contents of other editing areas to the embedded web page of the instant messaging client, and the data types that can support drag and drop include text format, image format, html hypertext format, and the like.

[0027] Step S20, judging whether a release event is detected, if yes, execute step S30, otherwise end. In one embodiment, before judging whether a release event is detected, it is necessary to judge whether the data type of the obtained drag data is a preset data type that supports drag and drop. The data types that can support drag and drop include text format, image format, html Hypertext format and other custom form...

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 provides an instant messaging client and a method for dragging and dropping its embedded web page, the method includes the following steps: when the data is dragged to the embedded web page, the data type of the dragged data is obtained; judging whether A release event is detected, if yes, display the drag data according to the preset format corresponding to the data type, otherwise end. The instant messaging client includes: a data acquisition module, which obtains the data type of the dragged data when the data is dragged to an embedded web page; a detection module, which judges whether a release event is detected; a display module, when a release event is detected, The dragged data is displayed according to the preset format corresponding to the data type. By adopting the present invention, the web page embedded in the instant messaging client can be dragged and dropped, the convenience of user operation is improved, and the experience requirement of the user is met.

Description

【Technical field】 [0001] The invention relates to the technical field of computers, in particular to an instant messaging client and a drag-and-drop method for an embedded webpage thereof. 【Background technique】 [0002] With the development of instant messaging tools, it has been accepted by most netizens and has become one of the indispensable software tools for users. It has been widely used in users' leisure, entertainment and work. The embedded web page of the traditional instant messaging client can display information in a certain format, and waits for the user to input information in the embedded web page. However, in the existing application scenario where the instant messaging client is embedded with a webpage, the information interaction between the client and the page is often carried out through JS scripts calling mutually agreed interfaces, and JS scripts cannot The data dragged and dropped by the user is operated, so the existing embedded web page of the inst...

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
IPC IPC(8): G06F9/44H04L12/58
Inventor 库宇
Owner TENCENT TECH (SHENZHEN) CO LTD