CN104850302A - Method and device for placing floating control - Google Patents

Method and device for placing floating control Download PDF

Info

Publication number
CN104850302A
CN104850302A CN201510185600.4A CN201510185600A CN104850302A CN 104850302 A CN104850302 A CN 104850302A CN 201510185600 A CN201510185600 A CN 201510185600A CN 104850302 A CN104850302 A CN 104850302A
Authority
CN
China
Prior art keywords
solid color
color regions
operation interface
current operation
control
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201510185600.4A
Other languages
Chinese (zh)
Inventor
史潇潇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
TVMining Beijing Media Technology Co Ltd
Original Assignee
TVMining Beijing Media Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by TVMining Beijing Media Technology Co Ltd filed Critical TVMining Beijing Media Technology Co Ltd
Priority to CN201510185600.4A priority Critical patent/CN104850302A/en
Publication of CN104850302A publication Critical patent/CN104850302A/en
Pending legal-status Critical Current

Links

Landscapes

  • Image Analysis (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the invention discloses a method and a device for placing a floating control. The method and the device are used for placing the floating control at a blank area of an operation interface. The method comprises the steps as follows: obtaining interface content of current operation interface; recognizing a pure color area on the current operation interface according to the obtained interface content; obtaining a regional position of the pure color area on the current operation interface and regional area of the pure color area according to the recognized pure color area on the current operation interface; placing the floating control at the pure color area corresponding to the current operation interface by combining attribute of the floating control which needs to be placed on the current operation interface according to the obtained regional area and the regional position of the pure color area. The method and the device of the invention have beneficial effects of placing the floating control at the blank area of the operation area, which effectively avoid the frequent movement of the floating control and improve operating experience of a user.

Description

A kind of laying method of the control that swims and device
Technical field
The present invention relates to Internet technical field, particularly a kind of laying method of the control that swims and device.
Background technology
Through the develop rapidly of Internet technology in recent years, the business of internet constantly increases, and people can touch various information based on internet.And meanwhile, intelligent terminal also more and more in depth affects the life of people.People can utilize intelligent terminal to access internet, thus obtain in time and contact various information.And along with the intelligentized development of intelligent mobile terminal and raising, in people's work and life, increasing thing can have been come by intelligent terminal; Such as, functionally, intelligent mobile terminal can be utilized to handle postal matter, carry out audio/video conference etc.; In the living conditions, intelligent mobile terminal can be utilized to carry out doing shopping, making a reservation, this brings great convenience to the work of people and life.
Because intelligent mobile terminal participates in work and the life of people more and more, therefore, the requirement of user to intelligent mobile terminal is also more and more higher.On the display interface of intelligent mobile terminal, some brand mobile phone and major applications program (Application, APP) control that swims swum on all operations interface is had, these controls that swim (swim button in other words) are all placed on the frame place near display interface, even if after user moves this control that swims, this control that swims still can rest in the bezel locations of display interface, in some cases, may affect the operation of user, user has to drag this control that swims continually with hand and changes its position.Therefore, how to place the control that swims and become one of current problem demanding prompt solution.
Summary of the invention
The embodiment of the present invention provides a kind of laying method and device of the control that swims, and in order to the control that swims to be placed on the white space of operation interface, the placement location of control of realizing swimming does not affect other operations of user in most cases.
The embodiment of the present invention provides a kind of laying method of the control that swims, and comprising:
Obtain the interface content on current operation interface, according to the described interface content obtained, identify the solid color regions on described current operation interface;
According to the solid color regions on the described current operation interface identified, obtain the regional location of described solid color regions on described current operation interface and the region area of described solid color regions;
According to region area and the described regional location of the described solid color regions obtained, in conjunction with the attribute of the control that swims that need be placed on described current operation interface, the described control that swims is placed on solid color regions corresponding to described current operation interface.
In one embodiment, the interface content on described acquisition current operation interface, according to the described interface content obtained, identifies the solid color regions on described current operation interface, comprising:
Obtain interface content current operation interface comprising each operational controls and regions of different colours;
According to the described interface content obtained, utilize colour recognition technology to carry out colour recognition to regions of different colours, identify the solid color regions on described current operation interface.
In one embodiment, the solid color regions on the described current operation interface that described basis identifies, obtains the regional location of described solid color regions on described current operation interface and the region area of described solid color regions, comprising:
According to the solid color regions on the described current operation interface identified, obtain the area coordinate of described solid color regions;
According to the area coordinate of the described solid color regions obtained, obtain the regional location of described solid color regions on described current operation interface, calculate the region area of described solid color regions simultaneously.
In one embodiment, the region area of the described described solid color regions according to obtaining and described regional location, in conjunction with the attribute of the control that swims that need be placed on described current operation interface, the described control that swims is placed on solid color regions corresponding to described current operation interface, comprises:
Acquisition need be placed on the attribute of the control that swims on described current operation interface, and according to the attribute of the described control that swims, the area occupied of the control that swims described in acquisition;
To swim the area occupied of control and the region area of described solid color regions according to acquisition, identify whether to exist the solid color regions that described region area is not less than described area occupied;
Identify and there is described region area when being not less than the solid color regions of described area occupied, obtain the described regional location that described solid color regions is corresponding;
The described control that swims is placed on described regional location corresponding to described solid color regions.
In one embodiment, the laying method of control of swimming described in also comprises:
When detecting that changing interface event occurs, obtain the interface content corresponding to operation interface after switching, and the interface content corresponding to the operation interface after switching, swim described in placement control.
Corresponding to the laying method of the above-mentioned control that swims, the embodiment of the present invention additionally provides a kind of apparatus for placing of the control that swims, and comprising:
Region identification module, for obtaining the interface content on current operation interface, according to the described interface content obtained, identifies the solid color regions on described current operation interface;
Region acquisition module, for according to the solid color regions on the described current operation interface identified, obtains the regional location of described solid color regions on described current operation interface and the region area of described solid color regions;
Control placement module, for region area and the described regional location of the described solid color regions according to acquisition, in conjunction with the attribute of the control that swims that need be placed on described current operation interface, the described control that swims is placed on solid color regions corresponding to described current operation interface.
In one embodiment, described region identification module comprises:
Contents acquiring unit, for obtaining interface content current operation interface comprising each operational controls and regions of different colours;
Region identification block, for according to the described interface content obtained, utilizes colour recognition technology to carry out colour recognition to regions of different colours, identifies the solid color regions on described current operation interface.
In one embodiment, described region acquisition module comprises:
Coordinate acquiring unit, for according to the solid color regions on the described current operation interface identified, obtains the area coordinate of described solid color regions;
Area calculation unit, for the area coordinate according to the described solid color regions obtained, obtains the regional location of described solid color regions on described current operation interface, calculates the region area of described solid color regions simultaneously.
In one embodiment, described control placement module comprises:
Area acquiring unit, for obtaining the attribute of the control that swims that need be placed on described current operation interface, and according to the attribute of the described control that swims, the area occupied of the control that swims described in acquisition;
Area recognition unit, for swimming the area occupied of control and the region area of described solid color regions according to acquisition, identifies whether to exist the solid color regions that described region area is not less than described area occupied;
Position acquisition unit, for identify when described area recognition unit exist described region area be not less than the solid color regions of described area occupied time, obtain the described regional location that described solid color regions is corresponding;
Control placement unit, for being placed on described regional location corresponding to described solid color regions by the described control that swims.
In one embodiment, the apparatus for placing of control of swimming described in also comprises:
Switch detection module, for detecting changing interface event; And when detecting that described changing interface event occurs, notify that described region identification module, described region acquisition module and described control placement module cooperatively interact and perform following operation: obtain the interface content corresponding to operation interface after switching, and the interface content corresponding to the operation interface after switching, swim described in placement control.
More than the swim laying method of control and device can reach following beneficial effect:
By obtaining the interface content on current operation interface, according to the described interface content obtained, identify the solid color regions on described current operation interface; According to the solid color regions on the described current operation interface identified, obtain the regional location of described solid color regions on described current operation interface and the region area of described solid color regions; According to region area and the described regional location of the described solid color regions obtained, in conjunction with the attribute of the control that swims that need be placed on described current operation interface, the described control that swims is placed on solid color regions corresponding to described current operation interface; There is the beneficial effect of the white space control that swims being placed on operation interface, efficiently avoid the frequent movement of the control that swims, improve the operating experience of user.
Other features and advantages of the present invention will be set forth in the following description, and, partly become apparent from instructions, or understand by implementing the present invention.Object of the present invention and other advantages realize by structure specifically noted in write instructions, claims and accompanying drawing and obtain.
Below by drawings and Examples, technical scheme of the present invention is described in further detail.
Accompanying drawing explanation
Accompanying drawing is used to provide a further understanding of the present invention, and forms a part for instructions, together with embodiments of the present invention for explaining the present invention, is not construed as limiting the invention.In the accompanying drawings:
Fig. 1 is the process flow diagram of the laying method of a kind of the swim control of the present invention according to an exemplary embodiment;
Fig. 2 is the process flow diagram of step S10 in the laying method of a kind of control that swims of the present invention according to an exemplary embodiment;
Fig. 3 is the process flow diagram of step S20 in the laying method of a kind of control that swims of the present invention according to an exemplary embodiment;
Fig. 4 is the process flow diagram of step S30 in the laying method of a kind of control that swims of the present invention according to an exemplary embodiment;
Fig. 5 is that the another kind of the present invention according to an exemplary embodiment swims the process flow diagram of laying method of control;
Fig. 6 is the block diagram of the apparatus for placing of a kind of the swim control of the present invention according to an exemplary embodiment;
Fig. 7 is the block diagram of region identification module 60 in the apparatus for placing of a kind of control that swims of the present invention according to an exemplary embodiment;
Fig. 8 is the block diagram of region acquisition module 70 in the apparatus for placing of a kind of control that swims of the present invention according to an exemplary embodiment;
Fig. 9 is the block diagram of control placement module 80 in the apparatus for placing of a kind of control that swims of the present invention according to an exemplary embodiment;
Figure 10 is that the another kind of the present invention according to an exemplary embodiment swims the block diagram of apparatus for placing of control.
Embodiment
Below in conjunction with accompanying drawing, the preferred embodiments of the present invention are described, should be appreciated that preferred embodiment described herein is only for instruction and explanation of the present invention, is not intended to limit the present invention.
Disclosed by the invention one laying method that embodiments provides a kind of control that swims, in order to the white space in order to the control that swims to be placed on operation interface, the placement location of the control that realizes swimming does not affect other operations of user in most cases.As shown in Figure 1, in the embodiment of the present invention, a kind of laying method of the control that swims comprises step S10-S30:
Step S10, the interface content obtained on current operation interface, according to the described interface content obtained, identify the solid color regions on described current operation interface;
Intelligent terminal obtains all interface contents on the operation interface of current display, the all interface contents obtained include but not limited to: operational controls, color region, information input frame etc., as long as present all the elements on the operation interface that shows in this prior, all can be acquired.After getting above-mentioned interface content, according to the described interface content obtained, identify the solid color regions on current operation interface; Described solid color regions can be understood as: only there is a kind of color in this region, is not limited to specifically any color.
In one embodiment, as shown in Figure 2, described step S10 may be embodied as step S101-S102:
Step S101, acquisition current operation interface comprise the interface content of each operational controls and regions of different colours;
In the embodiment of the present invention, obtain and afford to work as all interface contents operation interface comprising various operational controls, various information input frame, various icon, various display control and regions of different colours.
Step S102, according to obtain described interface content, utilize colour recognition technology to carry out colour recognition to regions of different colours, identify the solid color regions on described current operation interface.
After getting above-mentioned interface content, utilize colour recognition technology such as to utilize the intuitive nature of color, carry out colour recognition to regions of different colours, identify the solid color regions on current operation interface, namely only there is a kind of color in this region, then obtain above-mentioned solid color regions.
Solid color regions on the described current operation interface that step S20, basis identify, obtains the regional location of described solid color regions on described current operation interface and the region area of described solid color regions;
After identifying the solid color regions on above-mentioned current operation interface, according to the physical size of described operation interface, obtain the region area of above-mentioned solid color regions, and obtain the regional location of above-mentioned solid color regions on current operation interface simultaneously; Wherein, when obtaining the regional location of above-mentioned solid color regions on current operation interface, also can be obtained by relative position.If the above-mentioned solid color regions identified has multiple, then obtain region area corresponding to each solid color regions one by one, and the regional location of above-mentioned each solid color regions on current operation interface.
In one embodiment, as shown in Figure 3, described step S20 may be embodied as step S201-S202:
Solid color regions on the described current operation interface that step S201, basis identify, obtains the area coordinate of described solid color regions;
Step S202, according to the area coordinate of described solid color regions obtained, obtain the regional location of described solid color regions on described current operation interface, calculate the region area of described solid color regions simultaneously.
In the present embodiment, obtain region area corresponding to above-mentioned solid color regions and regional location by the area coordinate obtaining solid color regions.For whole operation interface sets up two-dimensional coordinate system, according to the solid color regions on the above-mentioned current operation interface identified, obtain described solid color regions area coordinate in the coordinate system, thus according to the area coordinate of described solid color regions obtained, obtain the regional location of described solid color regions on current operation interface, meanwhile, according to the described area coordinate obtained, the region area that this solid color regions is corresponding is calculated.
Step S30, according to the region area of described solid color regions obtained and described regional location, in conjunction with the attribute of the control that swims that need be placed on described current operation interface, the described control that swims to be placed on solid color regions corresponding to described current operation interface.
After getting region area corresponding to the solid color regions on current operation interface and corresponding regional location, according to the attribute of the control that swims that need be placed on current operation interface, such as this swim area, this Control Cooling etc. swum corresponding to control of taking needed for control, the control that this swum is placed on solid color regions corresponding to described current operation interface.
In one embodiment, as shown in Figure 4, described step S30 may be embodied as step S301-S304:
Step S301, obtain the attribute that need be placed on the control that swims on described current operation interface, and according to the attribute of the described control that swims, the area occupied of the control that swims described in acquisition;
Step S302, to swim the area occupied of control and the region area of described solid color regions according to acquisition, identify whether to exist the solid color regions that described region area is not less than described area occupied;
Step S303, identify and there is described region area when being not less than the solid color regions of described area occupied, obtain the described regional location that described solid color regions is corresponding;
Step S304, the described control that swims to be placed on described regional location corresponding to described solid color regions.
In the embodiment of the present invention, if the solid color regions on the current operation interface obtained only has one, the then magnitude relationship of the no matter region area of this solid color regions and the area occupied of the above-mentioned control that swims, the control that all this swum is placed on regional location corresponding to this solid color regions.If more than one of solid color regions on the current operation interface obtained, then obtain described region area be not less than described in swim the above-mentioned solid color regions of area occupied of control, and the control that swims is placed this above-mentioned zone area and is not less than on the regional location of the solid color regions corresponding to area occupied.If the described region area obtained is not less than more than one of solid color regions corresponding to area occupied, then the first-selected solid color regions control that swims is placed near bottom of screen.
In one embodiment, the control that swims is not placed in region by screen center, therefore, when carrying out colour recognition to current operation interface, can not perform the operation of colour recognition to screen center region.
On the basis of the laying method of the control that swims provided at above-described embodiment, when blocked operation interface, for the operation interface after switching, re-execute the implementation described by above-mentioned steps S10 to step S30.In one embodiment, as shown in Figure 5, the laying method of control of swimming described in also comprises:
Step S40, when detecting that changing interface event occurs, obtain the interface content corresponding to operation interface after switching, and the interface content corresponding to the operation interface after switching, swim described in placement control.
When detecting that changing interface event occurs, by other operation interfaces corresponding to current operation changing interface to described changing interface event, and based on switch after operation interface, perform the operation of above-mentioned steps S10 to step S30, such as, again the interface content corresponding to operation interface after switching is obtained, and the interface content corresponding to the operation interface after switching, swim described in placement control.
More than swim the laying method of control, by obtaining the interface content on current operation interface, according to the described interface content obtained, identifies the solid color regions on described current operation interface; According to the solid color regions on the described current operation interface identified, obtain the regional location of described solid color regions on described current operation interface and the region area of described solid color regions; According to region area and the described regional location of the described solid color regions obtained, in conjunction with the attribute of the control that swims that need be placed on described current operation interface, the described control that swims is placed on solid color regions corresponding to described current operation interface; There is the beneficial effect of the white space control that swims being placed on operation interface, efficiently avoid the frequent movement of the control that swims, improve the operating experience of user.
The laying method of a kind of control that swims that the corresponding embodiment of the present invention provides, present invention also offers a kind of apparatus for placing of the control that swims; As shown in Figure 6, the apparatus for placing of described a kind of control that swims, comprising: region identification module 60, region acquisition module 70 and control placement module 80; Wherein:
Described region identification module 60, for obtaining the interface content on current operation interface, according to the described interface content obtained, identifies the solid color regions on described current operation interface;
In one embodiment, as shown in Figure 7, described region identification module 60 comprises:
Contents acquiring unit 601, for obtaining interface content current operation interface comprising each operational controls and regions of different colours;
Region identification block 602, for according to the described interface content obtained, utilizes colour recognition technology to carry out colour recognition to regions of different colours, identifies the solid color regions on described current operation interface.
Described region acquisition module 70, for according to the solid color regions on the described current operation interface identified, obtains the regional location of described solid color regions on described current operation interface and the region area of described solid color regions;
In one embodiment, as shown in Figure 8, described region acquisition module 70 comprises:
Coordinate acquiring unit 701, for according to the solid color regions on the described current operation interface identified, obtains the area coordinate of described solid color regions;
Area calculation unit 702, for the area coordinate according to the described solid color regions obtained, obtains the regional location of described solid color regions on described current operation interface, calculates the region area of described solid color regions simultaneously.
Described control placement module 80, for region area and the described regional location of the described solid color regions according to acquisition, in conjunction with the attribute of the control that swims that need be placed on described current operation interface, the described control that swims is placed on solid color regions corresponding to described current operation interface.
In one embodiment, as shown in Figure 9, described control placement module 80 comprises:
Area acquiring unit 801, for obtaining the attribute of the control that swims that need be placed on described current operation interface, and according to the attribute of the described control that swims, the area occupied of the control that swims described in acquisition;
Area recognition unit 802, for swimming the area occupied of control and the region area of described solid color regions according to acquisition, identifies whether to exist the solid color regions that described region area is not less than described area occupied;
Position acquisition unit 803, for identify when described area recognition unit exist described region area be not less than the solid color regions of described area occupied time, obtain the described regional location that described solid color regions is corresponding;
Control placement unit 804, for being placed on described regional location corresponding to described solid color regions by the described control that swims.
In one embodiment, as shown in Figure 10, the apparatus for placing of control of swimming described in also comprises:
Switch detection module 90, for detecting changing interface event; And when detecting that described changing interface event occurs, notify that described region identification module 60, described region acquisition module 70 and described control placement module 80 cooperatively interact and perform following operation: obtain the interface content corresponding to operation interface after switching, and the interface content corresponding to the operation interface after switching, swim described in placement control.
More than swim the apparatus for placing of control, by obtaining the interface content on current operation interface, according to the described interface content obtained, identifies the solid color regions on described current operation interface; According to the solid color regions on the described current operation interface identified, obtain the regional location of described solid color regions on described current operation interface and the region area of described solid color regions; According to region area and the described regional location of the described solid color regions obtained, in conjunction with the attribute of the control that swims that need be placed on described current operation interface, the described control that swims is placed on solid color regions corresponding to described current operation interface; There is the beneficial effect of the white space control that swims being placed on operation interface, efficiently avoid the frequent movement of the control that swims, improve the operating experience of user.
Those skilled in the art should understand, embodiments of the invention can be provided as method, system or computer program.Therefore, the present invention can adopt the form of complete hardware embodiment, completely software implementation or the embodiment in conjunction with software and hardware aspect.And the present invention can adopt in one or more form wherein including the upper computer program implemented of computer-usable storage medium (including but not limited to magnetic disk memory and optical memory etc.) of computer usable program code.
The present invention describes with reference to according to the process flow diagram of the method for the embodiment of the present invention, equipment (system) and computer program and/or block scheme.Should understand can by the combination of the flow process in each flow process in computer program instructions realization flow figure and/or block scheme and/or square frame and process flow diagram and/or block scheme and/or square frame.These computer program instructions can being provided to the processor of multi-purpose computer, special purpose computer, Embedded Processor or other programmable data processing device to produce a machine, making the instruction performed by the processor of computing machine or other programmable data processing device produce device for realizing the function of specifying in process flow diagram flow process or multiple flow process and/or block scheme square frame or multiple square frame.
These computer program instructions also can be stored in can in the computer-readable memory that works in a specific way of vectoring computer or other programmable data processing device, the instruction making to be stored in this computer-readable memory produces the manufacture comprising command device, and this command device realizes the function of specifying in process flow diagram flow process or multiple flow process and/or block scheme square frame or multiple square frame.
These computer program instructions also can be loaded in computing machine or other programmable data processing device, make on computing machine or other programmable devices, to perform sequence of operations step to produce computer implemented process, thus the instruction performed on computing machine or other programmable devices is provided for the step realizing the function of specifying in process flow diagram flow process or multiple flow process and/or block scheme square frame or multiple square frame.
Obviously, those skilled in the art can carry out various change and modification to the present invention and not depart from the spirit and scope of the present invention.Like this, if these amendments of the present invention and modification belong within the scope of the claims in the present invention and equivalent technologies thereof, then the present invention is also intended to comprise these change and modification.

Claims (10)

1. swim the laying method of control, it is characterized in that, comprising:
Obtain the interface content on current operation interface, according to the described interface content obtained, identify the solid color regions on described current operation interface;
According to the solid color regions on the described current operation interface identified, obtain the regional location of described solid color regions on described current operation interface and the region area of described solid color regions;
According to region area and the described regional location of the described solid color regions obtained, in conjunction with the attribute of the control that swims that need be placed on described current operation interface, the described control that swims is placed on solid color regions corresponding to described current operation interface.
2. the method for claim 1, is characterized in that, the interface content on described acquisition current operation interface, according to the described interface content obtained, identifies the solid color regions on described current operation interface, comprising:
Obtain interface content current operation interface comprising each operational controls and regions of different colours;
According to the described interface content obtained, utilize colour recognition technology to carry out colour recognition to regions of different colours, identify the solid color regions on described current operation interface.
3. the method for claim 1, is characterized in that, the solid color regions on the described current operation interface that described basis identifies, obtains the regional location of described solid color regions on described current operation interface and the region area of described solid color regions, comprising:
According to the solid color regions on the described current operation interface identified, obtain the area coordinate of described solid color regions;
According to the area coordinate of the described solid color regions obtained, obtain the regional location of described solid color regions on described current operation interface, calculate the region area of described solid color regions simultaneously.
4. the method for claim 1, it is characterized in that, the region area of the described described solid color regions according to obtaining and described regional location, in conjunction with the attribute of the control that swims that need be placed on described current operation interface, the described control that swims is placed on solid color regions corresponding to described current operation interface, comprises:
Acquisition need be placed on the attribute of the control that swims on described current operation interface, and according to the attribute of the described control that swims, the area occupied of the control that swims described in acquisition;
To swim the area occupied of control and the region area of described solid color regions according to acquisition, identify whether to exist the solid color regions that described region area is not less than described area occupied;
Identify and there is described region area when being not less than the solid color regions of described area occupied, obtain the described regional location that described solid color regions is corresponding;
The described control that swims is placed on described regional location corresponding to described solid color regions.
5. the method as described in any one of Claims 1-4, is characterized in that, described in the swim laying method of control also comprise:
When detecting that changing interface event occurs, obtain the interface content corresponding to operation interface after switching, and the interface content corresponding to the operation interface after switching, swim described in placement control.
6. swim the apparatus for placing of control, it is characterized in that, comprising:
Region identification module, for obtaining the interface content on current operation interface, according to the described interface content obtained, identifies the solid color regions on described current operation interface;
Region acquisition module, for according to the solid color regions on the described current operation interface identified, obtains the regional location of described solid color regions on described current operation interface and the region area of described solid color regions;
Control placement module, for region area and the described regional location of the described solid color regions according to acquisition, in conjunction with the attribute of the control that swims that need be placed on described current operation interface, the described control that swims is placed on solid color regions corresponding to described current operation interface.
7. device as claimed in claim 6, it is characterized in that, described region identification module comprises:
Contents acquiring unit, for obtaining interface content current operation interface comprising each operational controls and regions of different colours;
Region identification block, for according to the described interface content obtained, utilizes colour recognition technology to carry out colour recognition to regions of different colours, identifies the solid color regions on described current operation interface.
8. device as claimed in claim 6, it is characterized in that, described region acquisition module comprises:
Coordinate acquiring unit, for according to the solid color regions on the described current operation interface identified, obtains the area coordinate of described solid color regions;
Area calculation unit, for the area coordinate according to the described solid color regions obtained, obtains the regional location of described solid color regions on described current operation interface, calculates the region area of described solid color regions simultaneously.
9. device as claimed in claim 6, it is characterized in that, described control placement module comprises:
Area acquiring unit, for obtaining the attribute of the control that swims that need be placed on described current operation interface, and according to the attribute of the described control that swims, the area occupied of the control that swims described in acquisition;
Area recognition unit, for swimming the area occupied of control and the region area of described solid color regions according to acquisition, identifies whether to exist the solid color regions that described region area is not less than described area occupied;
Position acquisition unit, for identify when described area recognition unit exist described region area be not less than the solid color regions of described area occupied time, obtain the described regional location that described solid color regions is corresponding;
Control placement unit, for being placed on described regional location corresponding to described solid color regions by the described control that swims.
10. the device as described in any one of claim 6 to 9, is characterized in that, described in the swim apparatus for placing of control also comprise:
Switch detection module, for detecting changing interface event; And when detecting that described changing interface event occurs, notify that described region identification module, described region acquisition module and described control placement module cooperatively interact and perform following operation: obtain the interface content corresponding to operation interface after switching, and the interface content corresponding to the operation interface after switching, swim described in placement control.
CN201510185600.4A 2015-04-17 2015-04-17 Method and device for placing floating control Pending CN104850302A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510185600.4A CN104850302A (en) 2015-04-17 2015-04-17 Method and device for placing floating control

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510185600.4A CN104850302A (en) 2015-04-17 2015-04-17 Method and device for placing floating control

Publications (1)

Publication Number Publication Date
CN104850302A true CN104850302A (en) 2015-08-19

Family

ID=53849982

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510185600.4A Pending CN104850302A (en) 2015-04-17 2015-04-17 Method and device for placing floating control

Country Status (1)

Country Link
CN (1) CN104850302A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106095816A (en) * 2016-05-31 2016-11-09 腾讯科技(深圳)有限公司 Information distribution method and device
CN106406667A (en) * 2016-09-22 2017-02-15 乐视控股(北京)有限公司 A method and a device for setting application program icons on a desktop wallpaper

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103116452A (en) * 2013-01-31 2013-05-22 华为终端有限公司 Creating method and device and terminal equipment of tabletop component
CN103744582A (en) * 2014-01-21 2014-04-23 宇龙计算机通信科技(深圳)有限公司 Terminal control device and terminal control method
CN103955330A (en) * 2014-05-08 2014-07-30 可牛网络技术(北京)有限公司 Information displaying method and device
CN104238911A (en) * 2014-08-20 2014-12-24 小米科技有限责任公司 Loading icon display method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103116452A (en) * 2013-01-31 2013-05-22 华为终端有限公司 Creating method and device and terminal equipment of tabletop component
CN103744582A (en) * 2014-01-21 2014-04-23 宇龙计算机通信科技(深圳)有限公司 Terminal control device and terminal control method
CN103955330A (en) * 2014-05-08 2014-07-30 可牛网络技术(北京)有限公司 Information displaying method and device
CN104238911A (en) * 2014-08-20 2014-12-24 小米科技有限责任公司 Loading icon display method and device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106095816A (en) * 2016-05-31 2016-11-09 腾讯科技(深圳)有限公司 Information distribution method and device
CN106095816B (en) * 2016-05-31 2021-10-22 腾讯科技(深圳)有限公司 Information delivery method and device
CN106406667A (en) * 2016-09-22 2017-02-15 乐视控股(北京)有限公司 A method and a device for setting application program icons on a desktop wallpaper

Similar Documents

Publication Publication Date Title
US10452333B2 (en) User terminal device providing user interaction and method therefor
US10983668B2 (en) Method and apparatus for component display processing
US20150339018A1 (en) User terminal device and method for providing information thereof
EP2801967B1 (en) Electronic device for providing information to a user
US20140035853A1 (en) Method and apparatus for providing user interaction based on multi touch finger gesture
EP3113007B1 (en) Electronic device for displaying keypad and keypad displaying method thereof
EP2743816A2 (en) Method and apparatus for scrolling screen of display device
CN104461312A (en) Display control method and electronic equipment
JP2021512436A (en) Global special effect switching method, device, terminal device and storage medium
EP2767897B1 (en) Method for generating writing data and an electronic device thereof
CN106325652B (en) graphical user interface interaction method and touch terminal
CN104765565A (en) Floating control placing method and device
CN102768597A (en) Method and device for operating electronic equipment
CN105739817A (en) Icon hiding method and device and mobile terminal
US9665260B2 (en) Method and apparatus for controlling screen of mobile device
CN103914228A (en) Mobile terminal and touch screen operating method thereof
CN104850302A (en) Method and device for placing floating control
CN106527923B (en) Graph display method and device
US10613622B2 (en) Method and device for controlling virtual reality helmets
CN104777981A (en) Information fast sharing method and device
CN105824550A (en) Screen protection interface control method and device
JP2016051463A (en) Method for improving operability of user input
KR101699026B1 (en) System and method for providing user interface
CN103631499B (en) A kind of mode switching method and electronic equipment
CN107102811B (en) Display object operation method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
EXSB Decision made by sipo to initiate substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20150819

RJ01 Rejection of invention patent application after publication