CN108491150A - Control moving method, device, terminal and storage medium - Google Patents

Control moving method, device, terminal and storage medium Download PDF

Info

Publication number
CN108491150A
CN108491150A CN201810291436.9A CN201810291436A CN108491150A CN 108491150 A CN108491150 A CN 108491150A CN 201810291436 A CN201810291436 A CN 201810291436A CN 108491150 A CN108491150 A CN 108491150A
Authority
CN
China
Prior art keywords
control
towing
embedded
subprocess
show area
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
CN201810291436.9A
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.)
Baidu Online Network Technology Beijing Co Ltd
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and 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 Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN201810291436.9A priority Critical patent/CN108491150A/en
Publication of CN108491150A publication Critical patent/CN108491150A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/0486Drag-and-drop
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/543User-generated data transfer, e.g. clipboards, dynamic data exchange [DDE], object linking and embedding [OLE]

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Human Computer Interaction (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the invention discloses a kind of control moving method, device, terminal and storage mediums.Wherein, the method includes:The drag operation of response control determines the corresponding process of the control;It is embedded into the corresponding process in show area of towing final position using the process as subprocess.Can solve control in the prior art cannot improve the flexibility of control layout the technical issues of application program is pulled, a kind of flexible controllable control layout mode is provided to the user so that user can carry out the technique effect of control layout according to self-demand.

Description

Control moving method, device, terminal and storage medium
Technical field
The present embodiments relate to field of computer technology more particularly to a kind of control moving method, device, terminal and deposit Storage media.
Background technology
Various computer software applications allow user to show the interested data of various users, these data using control It is present in program, and depending on the user's operation, read in memory and shows user.Control can be used to organized Mode receives data.For example, may exist multiple controls in routine data processing platform client, with depending on the user's operation Different data are shown respectively.
Currently, drag function is supported in the application of some programs, dragging be by certain controls in application program by mouse or Finger drag-and-drop operation is moved to the process of other positions from original position.When mouse or a certain control of finger down and press When firmly starting to pull, which can move with the movement of mouse or finger, when mouse or finger decontrol the control, pull Terminate, which stays in position when mouse or finger relieving.User can be easily by control by drag operation It is moved to designated position.But current towing is only supported to carry out between the different forms inside same application.
Invention content
Control is moved to difference by a kind of control moving method of present invention offer, device, terminal and storage medium to realize Purpose between the forms of application program.
In a first aspect, an embodiment of the present invention provides control moving methods, including:
The drag operation of response control determines the corresponding process of the control;
It is embedded into the corresponding process in show area of towing final position using the process as subprocess.
Second aspect, the embodiment of the present invention additionally provide a kind of control moving apparatus, including:
Determining module is used for the drag operation of response control, determines the corresponding process of the control;
Embedded module, the corresponding process in show area for being embedded into towing final position using the process as subprocess In.
The third aspect, the embodiment of the present invention additionally provide a kind of terminal, and the terminal includes:
One or more processors;
Storage device, for storing one or more programs,
When one or more of programs are executed by one or more of processors so that one or more of processing Device realize above-described embodiment provide it is any as described in control moving method.
Fourth aspect, the embodiment of the present invention additionally provide a kind of computer readable storage medium, are stored thereon with computer Program, the program realize any control moving method that above-described embodiment provides when being executed by processor.
Control moving method, device, terminal and storage medium provided in an embodiment of the present invention pull control pair by determining The process answered, and be embedded into the corresponding process in show area of towing final position using determining process as subprocess, it can be with Solve in the prior art control the flexibility of control layout cannot be improved the technical issues of application program is pulled, for Family provides a kind of flexible controllable control layout mode so that user can carry out the technology of control layout according to self-demand Effect.
Description of the drawings
By reading a detailed description of non-restrictive embodiments in the light of the attached drawings below, of the invention other Feature, objects and advantages will become more apparent upon:
Fig. 1 is the flow chart for the control moving method that the embodiment of the present invention one provides;
Fig. 2 is the flow chart of control moving method provided by Embodiment 2 of the present invention;
Fig. 3 is the flow chart for the control moving method that the embodiment of the present invention three provides;
Fig. 4 is the flow chart for the control moving method that the embodiment of the present invention four provides;
Fig. 5 is the flow chart for the control moving method that the embodiment of the present invention five provides;
Fig. 6 is the flow chart for the control moving method that the embodiment of the present invention six provides;
Fig. 7 is the structure chart for the control moving apparatus that the embodiment of the present invention seven provides;
Fig. 8 is the structure chart for the terminal that the embodiment of the present invention eight provides.
Specific implementation mode
The present invention is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched The specific embodiment stated is used only for explaining the present invention rather than limitation of the invention.It also should be noted that in order to just Only the parts related to the present invention are shown in description, attached drawing rather than entire infrastructure.
Embodiment one
Fig. 1 is the flow chart for the control moving method that the embodiment of the present invention one provides, and the present embodiment is applicable to control The case where migrating to the show area of other application program, this method can be executed by control moving apparatus, be specifically included as follows Step:
Step 110, the drag operation of response control determine the corresponding process of the control.
Control refers to the encapsulation to data and method.Control can have oneself attribute and method, and wherein attribute is control The easy access person of data, method are then some simple and visible functions of control.It in the application, can be with using control Realize data visualization, and can enriching user interface various elements type.It can be set for the control when creating control Each attribute, such as title, size, color, position.And the mobile attribute of setting can be passed through so that the control can Support towing movement.
Illustratively, user by pressing mouse can choose control and mobile mouse pulls control, response control Drag operation determines the process of the control of towing.Process is that the program in computer is lived about the primary operation on certain data acquisition system Dynamic, therefore, there are corresponding processes for each control, for when control is run, being transported according to method to the data of control encapsulation Row.Optionally, corresponding process can be searched according to the title of the control;Alternatively, can also determine the handle of control, and root The corresponding process of the control is determined according to handle.
Step 120 is embedded into using the process as subprocess in the corresponding process in show area of towing final position.
Wherein, the show area can be the container for showing towing control, and the container can be regarded as a kind of control Part can be used for accommodating control, the carrier typically window of container.One process can have multiple windows, a window There can be multiple controls.In the present embodiment, the show area may include:Container and desktop for showing other controls is flat Container etc. corresponding to platform.Using show area, towing control can be individually shown, or the control with other application program Part carries out comparison displaying, that is to say, that show area can be used for showing multiple windows of different application, can be used for opening up The multiple windows for showing same application are facilitated user to carry out contrast operation, and can be configured with the history in record display area Information.For show area, be a kind of container, also can be considered a kind of control, correspondingly, its there is also corresponding processes.Therefore, The subprocess that process can be corresponded to using the process of the control of towing as show area is embedded into the corresponding process in show area.With Enable towing control being capable of display data depending on the user's operation in show area.It illustratively, can be by the towing The process of control is embedded by shearing or copy mode in the corresponding process in show area.It can be according to user to pulling control The demand for continuing display in former application program whether is remained in, the process of duplication or cut mode to towing control is selected It is handled.The case where for being not necessarily to retain, can select cut mode to handle the process for pulling control;Otherwise, then Copy mode can be selected to handle the process for pulling control.Since towing process and show area process are respectively by different Event triggers, and the data handled are different, therefore, the process for pulling control are directly embedded into the process of show area, is dragged It drags control and remains able to display data depending on the user's operation.
Optionally, the corresponding process in show area that towing final position is embedded into using the process as subprocess In, may include:Determine the towing final position whether the displaying area overlapping with other application program;If overlapping, by institute Process is stated as subprocess to be embedded into the process of other application program.Can determine towing final position screen coordinate with The coordinate of the show area of other application program, and by towing final position in the coordinate of screen and the show area of other application program Coordinate compared, judge pull final position whether the displaying area overlapping with other application program.It, can be with if overlapping It determines that control is drawn in the show area by being intended that for user, then the process of control towing control can be embedded in as subprocess Into the process of the other application program.By the above-mentioned means, can be in user's drag operation there are when deviation, accurate judgement The towing of user is intended to, and is embedded into the process of the other application program using control process as subprocess.With realization pair The flexible accurate migration of control.
The present embodiment pulls the corresponding process of control by determining, and is embedded into towing using determining process as subprocess In the corresponding process in show area of final position, can solve control in the prior art cannot be across the skill that application program is pulled Art problem improves the flexibility of control layout, has provided a kind of flexible controllable control layout mode to the user so that user The technique effect of control layout can be carried out according to self-demand.
In a preferred embodiment of the present embodiment, the method can also increase following steps:Towing is preserved to terminate Control layout afterwards.Illustratively, markup language form may be used to preserve control layout.Markup language form can be with It is structural for marking electronic document and it being made to have.Optionally, XML file may be used and preserve the control cloth after towing terminates Office.XML is a kind of standard generalized markup language.It is simpler than standard generalized markup language, it can specify that the logical construction of document, And attribute and the position of control can be recorded, realize the storage to control layout.By preserving the control layout pulled after terminating, Can in use next time, the control layout of reading and saving is simultaneously shown, user-friendly.Reduce user's drag operation Number.
Embodiment two
Fig. 2 is the flow chart of control moving method provided by Embodiment 2 of the present invention.The present embodiment is with above-described embodiment Basis optimizes, and in the present embodiment, the show area that towing final position is embedded into using the process as subprocess corresponds to Process in, be specifically optimized for:The process is serialized;Data after serializing are dragged by the way that interprocess communication is incoming In the corresponding process in show area for draging final position, and carry out unserializing.
Correspondingly, the control moving method that the present embodiment is provided, specifically includes:
Step 210, the drag operation of response control determine the corresponding process of the control.
Step 220 serializes the process.
The process of control can be embedded by way of transmission in the corresponding process in show area of towing final position. In computer program, data transmission is typically to be transmitted as base unit using byte.Therefore, embedding using process as subprocess Enter to before the corresponding process in show area of towing final position, needs to serialize the process, i.e., convert process For structureless data flow, it is convenient for transmitting.Illustratively, sequence can be carried out to the process according to preset protocol format Rowization.
Step 230, the show area that the data after serializing are passed to towing final position by interprocess communication are corresponding In process, and carry out unserializing.
When being embedded into the corresponding process in show area using control process as subprocess, since there is only therebetween Vertical system resource, and be mutually isolated, when the two needs to carry out co-ordination, needing will be sub by interprocess communication Process is passed in the corresponding process in show area.Interprocess communication be at least two processes transmission data or signal some technologies or Method.Message transmission, synchronization and shared drive etc. may be implemented by interprocess communication.Illustratively, socket can be passed through Or in the corresponding process in show area of the channel by the data after serializing by the incoming towing final position of interprocess communication, and By unserializing, the structureless stream compression of transmission is changed to corresponding process.
The present embodiment is embedded into using the process as subprocess in the corresponding process in show area of towing final position, tool Body is optimized for:The process is serialized;Data after serializing are passed through into the incoming towing final position of interprocess communication The corresponding process in show area in, and carry out unserializing.Control process can be completely passed to the corresponding process in show area In, and can realize the co-ordination between the corresponding process in show area and control process.
Embodiment three
Fig. 3 is the flow chart for the control moving method that the embodiment of the present invention three provides.The present embodiment is with above-described embodiment Basis optimizes, and in the present embodiment, before being serialized to the process, increases following steps:According to setting in advance Fixed format converts the data in the process;And the process is serialized by described, specifically it is optimized for:Root The process is serialized according to transformed data.
Correspondingly, the control moving method that the present embodiment is provided, specifically includes:
Step 310, the drag operation of response control determine the corresponding process of the control.
Step 320 converts the data in the process according to preset format.
For different controls, the form that shows of data can be different according to user's needs generation, such as:In control A Data be shown in the form of tree structure, the data in data B are shown in a tabular form, the data in data C with Pie diagram form is shown.After the completion of control pulls, the data exhibiting form pulled in control not will produce variation usually, But can be different from the data exhibiting form of original control in show area, do not utilize user to observe comparison.Therefore, in the present embodiment In, before the process for pulling control is embedded into the corresponding process in show area, need to be turned the data in the control It changes, so that the control is shown after the completion of towing with different exhibition methods.Such as:Control data is with tree structure Form is shown, and original control in show area is shown in a tabular form.Control will be pulled for convenience to be shown The data of data and original control carry out, with reference to comparison, needing the data for pulling control being converted to table shape by tree structure Formula.
Illustratively, the data in towing process can be converted according to preset format.It is described to set in advance The structure type that fixed format can be shown as needed determines.Such as:Control after the completion of towing is needed with pie graph structure Form is shown, then preset format can be the corresponding format of cake chart structure.In addition, preset format Can be other formats that user specifies.Such as:Towing control is shown in the form of tree structure, and user needs its turn Pie chart structure type is changed to be shown.Correspondingly, then preset format can be the corresponding format of cake chart structure. By the format conversion to data, the data for pulling control exposure can be converted to the data suitable for various displaying types.
Step 330 serializes the process according to transformed data.
Since the data in process have occurred that variation, therefore, it is necessary to according to transformed data to the process into Row serializing.Illustratively, transformed data can be replaced to original data in process, and after the completion of replacement, it is right The process is serialized.
Step 340, the show area that the data after serializing are passed to towing final position by interprocess communication are corresponding In process, and carry out unserializing.
The present embodiment is by before being serialized to the process, increasing following steps:According to preset lattice Formula converts the data in the process;And the process is serialized by described, specifically it is optimized for:According to conversion Data afterwards serialize the process.The data format that can be shown as needed carries out the data in towing control Transformation.And it is serialized according to the data after transformation.So that the number pulled in control process in incoming show area process According to can be consistent with the data exhibition method of original control in show area, user be facilitated to compare and refer to.It enables a user to Enough data exhibition methods that control is adjusted according to self-demand.
Example IV
Fig. 4 is the flow chart for the control moving method that the embodiment of the present invention four provides.The present embodiment is with above-described embodiment Basis optimizes, and in the present embodiment, the show area that towing final position is embedded into using the process as subprocess corresponds to Process in, be specifically optimized for:It is that the control creates on the table if the show area for pulling final position is desktop Separate window body display area, and be embedded into the process as subprocess in the corresponding process in separate window body display area.
Correspondingly, the control moving method that the present embodiment is provided, specifically includes:
Step 410, the drag operation of response control determine the corresponding process of the control.
It is that the control creates independently on the table if step 420, the show area for pulling final position are desktop Forms show area, and be embedded into the process in separate window body display area using the process as subprocess.
In general, show area can be the container for showing towing control, the container can be regarded as a kind of control, can be with For accommodating control, the carrier typically window of container.But in actual use, user can be often by single control Desktop is towed to from application program, to facilitate the data to the control exposure to carry out more easily directly observation.Due to desktop In include accommodate towing control forms.Therefore, it is necessary to establish a forms for the control of towing, to accommodate the towing Control.Illustratively, can be that the towing control establishes a separate window body display area, the attribute of the independent forms can be It is movable, and the initial position of the independent forms can be according to towing final position setting.Due to the independent forms of establishment There is no corresponding process, therefore, it is corresponding that separate window body display area can be embedded into using the process for pulling control as subprocess In process.Control is drawn to desktop effect displayed separately to realize.In addition, desktop can be more than one control establish to Few independent forms, can specifically determine according to the towing final position of each control, with realize by multiple controls it is independent or Person combines the technique effect in desktop presentation.
The present embodiment is by regarding the process as the corresponding process in show area that subprocess is embedded into towing final position In, specifically it is optimized for:If the show area is desktop, separate window body display area is created for the control, and by the process It is embedded into as subprocess in the process in separate window body display area.It can be the independent forms of control establishment for being drawn to desktop, hold It receives and pulls control.It can realize multiple controls alone or in combination in the technique effect of desktop presentation.
Embodiment five
Fig. 5 is the flow chart for the control moving method that the embodiment of the present invention five provides.The present embodiment is with above-described embodiment Basis optimizes, and in the present embodiment, the show area that towing final position is embedded into using the process as subprocess corresponds to Process in, be specifically optimized for:It is embedded into towing stop bit using the process of the control of different application as subprocess In the corresponding process in show area set.
Correspondingly, the control moving method that the present embodiment is provided, specifically includes:
Step 510, the drag operation of response control determine the corresponding process of the control.
The process of the control of different application is embedded into towing final position by step 520 In the corresponding process in show area.
In certain application scenarios, the data by the control exposure of different application is needed to compare and analyze.Such as:It needs By the sales volume in sales volume management system show the after-sales service quantity in control and after-sales service system show control into Row comparative analysis.Therefore, in the present embodiment, the assembly again by the control progress of different application can be supported.Example Property, the show area pair of towing final position can be embedded into using the process of the control of different application as subprocess In the process answered.It is triggered respectively by different events due to each pulling control process in different application, and handle Data are different.Therefore, the process of the towing control of different application can be directly embedded into the process of show area, is pulled Control remains able to display data depending on the user's operation.
The present embodiment is by regarding the process as the corresponding process in show area that subprocess is embedded into towing final position In, specifically it is optimized for:It is embedded into the exhibition of towing final position using the process of the control of different application as subprocess Show in the corresponding process in area.Free migration and the combination that different application control may be implemented facilitate user to carry out data Observation and comparison.Enhance the convenience that control uses.
Embodiment six
Fig. 6 is the flow chart for the control moving method that the embodiment of the present invention six provides.The present embodiment is with above-described embodiment Basis optimizes, and in the present embodiment, the show area that towing final position is embedded into using the process as subprocess corresponds to Process in, be specifically optimized for:It is embedded in towing eventually using the process of the control of different accounts in same application as subprocess In the corresponding process in show area that stop bit is set.
Correspondingly, the control moving method that the present embodiment is provided, specifically includes:
Step 610, the drag operation of response control determine the corresponding process of the control.
The process of the control of different accounts in same application is pulled final position by step 620 as subprocess In the corresponding process in show area.
For a data system or application program, the user for being typically different account has different permission and work( Can, i.e., the function module that can be executed between different account users is different.Correspondingly, interface used in different account users, Module and control are also different.Such as:For an office system, control used in sales account personnel and production Control used in account personnel is different.But in certain application scenarios, need to compare the data in the control of different accounts To analysis.In the present embodiment, the control to different accounts in same application can be allowed to carry out drag operation, be allowed to weight New layout.It is convenient for analyzing and compare.Illustratively, still corresponding process can be determined according to the title of towing control, And using the process of the control of different account in same application as the show area of subprocess towing final position it is corresponding into Cheng Zhong.In other situations, if it is identical for the control of different accounts towing, it can also be retouched according to process in towing control Account information in stating determines the process of towing control, and is embedded into the displaying of towing final position using the process as subprocess In the corresponding process in area.
The present embodiment is by regarding the process as the corresponding process in show area that subprocess is embedded into towing final position In, specifically it is optimized for:It is embedded in towing final position using the process of the control of different accounts in same application as subprocess The corresponding process in show area in.The control of the different accounts of same application can be arranged and is laid out, facilitate use The data of the control exposure of different accounts are compared in family.
Embodiment seven
Fig. 7 is the structure chart for the control moving apparatus that the embodiment of the present invention seven provides, as shown in fig. 7, described device includes:
Determining module 710 is used for the drag operation of response control, determines the corresponding process of the control;
Embedded module 720, the show area for being embedded into towing final position using the process as subprocess are corresponding In process.
Control moving apparatus provided in this embodiment, by determining the corresponding process of control of pulling, and by determining process It is embedded into as subprocess in the corresponding process in show area of towing final position, can solve control in the prior art cannot be across The technical issues of application program is pulled improves the flexibility of control layout, has provided a kind of flexible controllable control to the user Part layout type so that user can carry out the technique effect of control layout according to self-demand.
On the basis of the various embodiments described above, the embedded module includes:
Serialization unit, for being serialized to the process;
Incoming unit passes through the show area pair of the incoming towing final position of interprocess communication for the data after serializing In the process answered, and carry out unserializing.
On the basis of the various embodiments described above, described device further includes:
Conversion module, for converting the data in the process according to preset format;
The serialization unit, for being serialized to the process according to transformed data.
On the basis of the various embodiments described above, the embedded module is used for:
If the show area for pulling final position is desktop, separate window body display area is created for the control, and will The process is embedded into as subprocess in the process in separate window body display area.
On the basis of the various embodiments described above, the embedded module is used for:
It is embedded into the show area pair of towing final position using the process of the control of different application as subprocess In the process answered.
On the basis of the various embodiments described above, the embedded module is used for:
It is embedded into the exhibition of towing final position using the process of the control of different accounts in same application as subprocess Show in the corresponding process in area.
On the basis of the various embodiments described above, the embedded module, including:
Be overlapped determination unit, for determine the towing final position whether the displaying area overlapping with other application program;
Embedded unit, if for be overlapped, using the process as subprocess be embedded into the other application program into Cheng Zhong.
On the basis of the various embodiments described above, described device further includes:
Preserving module, for preserving the control layout after towing terminates.
The control moving apparatus that the embodiment of the present invention is provided can perform the control that any embodiment of the present invention is provided and move Shifting method has the corresponding function module of execution method and advantageous effect.
Embodiment eight
Fig. 8 is a kind of structural schematic diagram for terminal that the embodiment of the present invention eight provides.Fig. 8 is shown suitable for being used for realizing this The block diagram of the exemplary terminal 12 of invention embodiment.The terminal 12 that Fig. 8 is shown is only an example, should not be to of the invention real The function and use scope for applying example bring any restrictions.
As shown in figure 8, terminal 12 is showed in the form of universal computing device.The component of terminal 12 may include but unlimited In:One or more processor or processing unit 16, system storage 28, connection different system component (including system is deposited Reservoir 28 and processing unit 16) bus 18.
Bus 18 indicates one or more in a few class bus structures, including memory bus or Memory Controller, Peripheral bus, graphics acceleration port, processor or the local bus using the arbitrary bus structures in a variety of bus structures.It lifts For example, these architectures include but not limited to industry standard architecture (ISA) bus, microchannel architecture (MAC) Bus, enhanced isa bus, Video Electronics Standards Association (VESA) local bus and peripheral component interconnection (PCI) bus.
Terminal 12 typically comprises a variety of computer system readable media.These media can be it is any can be by terminal 12 The usable medium of access, including volatile and non-volatile media, moveable and immovable medium.
System storage 28 may include the computer system readable media of form of volatile memory, such as arbitrary access Memory (RAM) 30 and/or cache memory 32.Terminal 12 may further include it is other it is removable/nonremovable, Volatile/non-volatile computer system storage medium.Only as an example, storage system 34 can be used for reading and writing irremovable , non-volatile magnetic media (Fig. 8 do not show, commonly referred to as " hard disk drive ").Although being not shown in Fig. 8, use can be provided In the disc driver to moving non-volatile magnetic disk (such as " floppy disk ") read-write, and to moving anonvolatile optical disk The CD drive of (such as CD-ROM, DVD-ROM or other optical mediums) read-write.In these cases, each driver can To be connected with bus 18 by one or more data media interfaces.Memory 28 may include at least one program product, There is the program product one group of (for example, at least one) program module, these program modules to be configured to perform each implementation of the invention The function of example.
Program/utility 40 with one group of (at least one) program module 42 can be stored in such as memory 28 In, such program module 42 include but not limited to operating system, one or more application program, other program modules and Program data may include the realization of network environment in each or certain combination in these examples.Program module 42 is usual Execute the function and/or method in embodiment described in the invention.
Terminal 12 can also be communicated with one or more external equipments 14 (such as keyboard, sensing equipment, display 24 etc.), Can also be enabled a user to one or more equipment interacted with the terminal 12 communication, and/or with enable the terminal 12 with Any equipment (such as network interface card, modem etc.) communication that one or more of the other computing device is communicated.It is this logical Letter can be carried out by input/output (I/O) interface 22.Also, terminal 12 can also by network adapter 20 and one or The multiple networks of person (such as LAN (LAN), wide area network (WAN) and/or public network, such as internet) communication.As shown, Network adapter 20 is communicated by bus 18 with other modules of terminal 12.It should be understood that although not shown in the drawings, can combine Terminal 12 uses other hardware and/or software module, including but not limited to:Microcode, device driver, redundant processing unit, External disk drive array, RAID system, tape drive and data backup storage system etc..
Processing unit 16 is stored in program in system storage 28 by operation, to perform various functions application and Data processing, such as realize the control moving method that the embodiment of the present invention is provided.
Embodiment nine
The embodiment of the present invention nine additionally provides a kind of computer readable storage medium, is stored thereon with computer program, Be characterized in that, when which is executed by processor realize above-described embodiment provide it is any as described in control moving method.
The arbitrary of one or more computer-readable media may be used in the computer storage media of the embodiment of the present invention Combination.Computer-readable medium can be computer-readable signal media or computer readable storage medium.It is computer-readable Storage medium for example may be-but not limited to-the system of electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor, device or Device, or the arbitrary above combination.The more specific example (non exhaustive list) of computer readable storage medium includes:Tool There are one or the electrical connection of multiple conducting wires, portable computer diskette, hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disc read-only memory (CD- ROM), light storage device, magnetic memory device or above-mentioned any appropriate combination.In this document, computer-readable storage Medium, which can be any, includes or the tangible medium of storage program, which can be commanded execution system, device or device Using or it is in connection.
Computer-readable signal media may include in a base band or as the data-signal that a carrier wave part is propagated, Wherein carry computer-readable program code.Diversified forms may be used in the data-signal of this propagation, including but unlimited In electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be that computer can Any computer-readable medium other than storage medium is read, which can send, propagates or transmit and be used for By instruction execution system, device either device use or program in connection.
The program code for including on computer-readable medium can transmit with any suitable medium, including --- but it is unlimited In wireless, electric wire, optical cable, RF etc. or above-mentioned any appropriate combination.
It can be write with one or more programming languages or combinations thereof for executing the computer that operates of the present invention Program code, described program design language include object oriented program language-such as Java, Smalltalk, C++, Further include conventional procedural programming language-such as " C " language or similar programming language.Program code can be with It fully executes, partly execute on the user computer on the user computer, being executed as an independent software package, portion Divide and partly executes or executed on a remote computer or server completely on the remote computer on the user computer. Be related in the situation of remote computer, remote computer can pass through the network of any kind --- including LAN (LAN) or Wide area network (WAN)-be connected to subscriber computer, or, it may be connected to outer computer (such as carried using Internet service It is connected by internet for quotient).
Note that above are only presently preferred embodiments of the present invention and institute's application technology principle.It will be appreciated by those skilled in the art that The present invention is not limited to specific embodiments described here, can carry out for a person skilled in the art it is various it is apparent variation, It readjusts and substitutes without departing from protection scope of the present invention.Therefore, although being carried out to the present invention by above example It is described in further detail, but the present invention is not limited only to above example, without departing from the inventive concept, also May include other more equivalent embodiments, and the scope of the present invention is determined by scope of the appended claims.

Claims (14)

1. a kind of control moving method, which is characterized in that including:
The drag operation of response control determines the corresponding process of the control;
It is embedded into the corresponding process in show area of towing final position using the process as subprocess.
2. according to the method described in claim 1, it is characterized in that, described be embedded into towing eventually using the process as subprocess In the corresponding process in show area that stop bit is set, including:
The process is serialized;
In the corresponding process in show area by the data after serializing by the incoming towing final position of interprocess communication, and carry out Unserializing.
3. according to the method described in claim 2, it is characterized in that, before being serialized to the process, further include:
The data in the process are converted according to preset format;
It is described that the process is serialized, including:
The process is serialized according to transformed data.
4. according to the method described in claim 1, it is characterized in that, described be embedded into towing eventually using the process as subprocess In the corresponding process in show area that stop bit is set, including:
It is that the control creates separate window body display area on the table if the show area for pulling final position is desktop, And it is embedded into the process as subprocess in the corresponding process in separate window body display area.
5. according to the method described in claim 1, it is characterized in that, described be embedded into towing eventually using the process as subprocess In the corresponding process in show area that stop bit is set, including:
The show area for being embedded into towing final position using the process of the control of different application as subprocess is corresponding In process.
6. according to the method described in claim 1, it is characterized in that, described be embedded into towing eventually using the process as subprocess In the corresponding process in show area that stop bit is set, including:
It is embedded into the show area of towing final position using the process of the control of different accounts in same application as subprocess In corresponding process.
7. according to the method described in claim 1, it is characterized in that, described be embedded into towing eventually using the process as subprocess In the corresponding process in show area that stop bit is set, including:
Determine the towing final position whether the displaying area overlapping with other application program;
If overlapping, is embedded into using the process as subprocess in the process of the other application program.
8. according to the method described in claim 1, it is characterized in that, the method further includes:
Preserve the control layout after towing terminates.
9. a kind of control moving apparatus, which is characterized in that including:
Determining module is used for the drag operation of response control, determines the corresponding process of the control;
Embedded module, for being embedded into the corresponding process in show area of towing final position using the process as subprocess.
10. device according to claim 9, which is characterized in that the embedded module includes:
Serialization unit, for being serialized to the process;
Incoming unit, it is corresponding by the show area of the incoming towing final position of interprocess communication for the data after serializing In process, and carry out unserializing.
11. device according to claim 10, which is characterized in that described device further includes:
Conversion module, for converting the data in the process according to preset format;
The serialization unit, for being serialized to the process according to transformed data.
12. device according to claim 9, which is characterized in that the embedded module is used for:
If the show area for pulling final position is desktop, separate window body display area is created for the control, and will be described Process is embedded into as subprocess in the process in separate window body display area.
13. a kind of terminal, which is characterized in that the terminal includes:
One or more processors;
Storage device, for storing one or more programs,
When one or more of programs are executed by one or more of processors so that one or more of processors are real Now such as control moving method according to any one of claims 1-8.
14. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the program is by processor Such as control moving method according to any one of claims 1-8 is realized when execution.
CN201810291436.9A 2018-04-03 2018-04-03 Control moving method, device, terminal and storage medium Pending CN108491150A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810291436.9A CN108491150A (en) 2018-04-03 2018-04-03 Control moving method, device, terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810291436.9A CN108491150A (en) 2018-04-03 2018-04-03 Control moving method, device, terminal and storage medium

Publications (1)

Publication Number Publication Date
CN108491150A true CN108491150A (en) 2018-09-04

Family

ID=63318280

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810291436.9A Pending CN108491150A (en) 2018-04-03 2018-04-03 Control moving method, device, terminal and storage medium

Country Status (1)

Country Link
CN (1) CN108491150A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110221759A (en) * 2019-05-31 2019-09-10 广州视源电子科技股份有限公司 A kind of element dragging method, device, storage medium and interactive intelligent tablet computer
CN112328138A (en) * 2020-10-30 2021-02-05 北京数秦科技有限公司 Data display method, device and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103177014A (en) * 2011-12-22 2013-06-26 腾讯科技(深圳)有限公司 Method and system for controlling interface element in webpage
CN105912191A (en) * 2016-03-31 2016-08-31 北京奇虎科技有限公司 Method and device for realizing interaction between applications of terminal equipment
CN106855772A (en) * 2015-12-09 2017-06-16 阿里巴巴集团控股有限公司 A kind of information displaying method and device
CN107765946A (en) * 2017-10-19 2018-03-06 北京麒麟合盛网络技术有限公司 A kind of method and apparatus for triggering communication

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103177014A (en) * 2011-12-22 2013-06-26 腾讯科技(深圳)有限公司 Method and system for controlling interface element in webpage
CN106855772A (en) * 2015-12-09 2017-06-16 阿里巴巴集团控股有限公司 A kind of information displaying method and device
CN105912191A (en) * 2016-03-31 2016-08-31 北京奇虎科技有限公司 Method and device for realizing interaction between applications of terminal equipment
CN107765946A (en) * 2017-10-19 2018-03-06 北京麒麟合盛网络技术有限公司 A kind of method and apparatus for triggering communication

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
MILO米啊米啊米: "#706–在应用程序间拖拽进行控件复制(Dragging User Interface Elements Applications)", 《CSDN》 *
王杉 等: "《Java面向对象程序设计》", 31 January 2018 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110221759A (en) * 2019-05-31 2019-09-10 广州视源电子科技股份有限公司 A kind of element dragging method, device, storage medium and interactive intelligent tablet computer
CN112328138A (en) * 2020-10-30 2021-02-05 北京数秦科技有限公司 Data display method, device and storage medium

Similar Documents

Publication Publication Date Title
US10699244B2 (en) Shared collaboration canvas
US10795529B2 (en) Permitting participant configurable view selection within a screen sharing session
US9728164B2 (en) Moving a tile across multiple workspaces
US9367229B2 (en) Touch-enabled device navigation system
CA2782903C (en) Method for sequenced document annotations
US9131021B2 (en) Dynamic screen sharing for optimal performance
CN109918604A (en) Page drawing method, apparatus, equipment and storage medium
US20110145692A1 (en) Method for Tracking Annotations with Associated Actions
US20100064249A1 (en) Visual indicator in GUI system for notifying user of data storage device
US9342493B2 (en) Transient, real-time position tracking interface for user activity in a document editing application
JP2006085674A (en) Common charting using shape
JP2007304669A (en) Method and program for controlling electronic equipment
DE102006012976A1 (en) Data e.g. folder, transferring method for use over e.g. local area network, involves receiving user input over input device that indicates selected data is stored in part of window, where data is transferred from viewer to host computers
US10289279B2 (en) System, method, and apparatus for preservation of accessibility and serviceability information
US10331620B2 (en) File generator
US9256968B2 (en) Method for modeling using sketches
US20140082471A1 (en) Displaying a Syntactic Entity
US20100138768A1 (en) Simplifying Configuration Of Multiple Display Units For Common Use
WO2022048329A1 (en) Menu display method and apparatus
CN110275659A (en) A kind of image switching method, device, electronic equipment and storage medium
CN108604173A (en) Image processing apparatus, image processing system and image processing method
US20040066393A1 (en) Method and apparatus for implementing enlarged virtual screen using dynamic zone-compression of screen content
CN106775677A (en) A kind of multi-display method and its method and system
CN108491150A (en) Control moving method, device, terminal and storage medium
US10402242B2 (en) Annotation apparatus, annotation method, and computer-readable recording medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20180904