CN110231959A - A kind of synchronous method of manipulation instruction, system and control centre - Google Patents
A kind of synchronous method of manipulation instruction, system and control centre Download PDFInfo
- Publication number
- CN110231959A CN110231959A CN201810182792.7A CN201810182792A CN110231959A CN 110231959 A CN110231959 A CN 110231959A CN 201810182792 A CN201810182792 A CN 201810182792A CN 110231959 A CN110231959 A CN 110231959A
- Authority
- CN
- China
- Prior art keywords
- equipment
- control
- target widget
- current interface
- manipulation instruction
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 43
- 230000001360 synchronised effect Effects 0.000 title claims abstract description 14
- 230000004044 response Effects 0.000 claims abstract description 11
- 230000015654 memory Effects 0.000 claims description 14
- 238000004590 computer program Methods 0.000 claims description 11
- 238000012790 confirmation Methods 0.000 claims description 4
- 238000012512 characterization method Methods 0.000 claims description 3
- 238000000605 extraction Methods 0.000 claims description 2
- 230000006399 behavior Effects 0.000 claims 1
- 230000008569 process Effects 0.000 description 9
- 230000006872 improvement Effects 0.000 description 7
- 230000006870 function Effects 0.000 description 6
- 238000005516 engineering process Methods 0.000 description 4
- 238000012360 testing method Methods 0.000 description 4
- 238000010586 diagram Methods 0.000 description 3
- 238000011161 development Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 239000004744 fabric Substances 0.000 description 2
- 230000003993 interaction Effects 0.000 description 2
- 238000012544 monitoring process Methods 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- OKTJSMMVPCPJKN-UHFFFAOYSA-N Carbon Chemical compound [C] OKTJSMMVPCPJKN-UHFFFAOYSA-N 0.000 description 1
- 230000009471 action Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 230000005611 electricity Effects 0.000 description 1
- 229910021389 graphene Inorganic materials 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000003825 pressing Methods 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
- 230000035484 reaction time Effects 0.000 description 1
- 239000010979 ruby Substances 0.000 description 1
- 229910001750 ruby Inorganic materials 0.000 description 1
- 238000012163 sequencing technique Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
- 239000002699 waste material Substances 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/30—Arrangements for executing machine instructions, e.g. instruction decode
- G06F9/38—Concurrent instruction execution, e.g. pipeline or look ahead
- G06F9/3885—Concurrent instruction execution, e.g. pipeline or look ahead using a plurality of independent parallel functional units
- G06F9/3889—Concurrent instruction execution, e.g. pipeline or look ahead using a plurality of independent parallel functional units controlled by multiple instructions, e.g. MIMD, decoupled access or execute
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The application embodiment discloses synchronous method, system and the control centre of a kind of manipulation instruction, wherein, it include the layout parameter location parameter corresponding with the manipulation instruction in the current interface for being applied to the main equipment of multiple controls in the current interface of the main equipment in the acquisition parameter the described method includes: receiving the acquisition parameter that main equipment is sent;Based in the acquisition parameter the layout parameter and the location parameter, determine the target widget that the manipulation instruction is directed in the current interface of the main equipment;The order for being directed toward the target widget is sent at least one from equipment so that it is described at least one from equipment in response to the order, the manipulation instruction is applied to the target widget at least one described current interface from equipment.Technical solution provided by the present application, can be by one main equipment synchronous manipulation more from equipment, to realize multiple devices combined operation.
Description
Technical field
This application involves Internet technical field, in particular in a kind of synchronous method of manipulation instruction, system and control
The heart.
Background technique
With the continuous development of Internet technology, more and more occasions need multiple devices to carry out combined operation.For example,
In the debugging scenarios of terminal device, in order to verify the compatibility of more terminal devices, commissioning staff needed one by one to every end
End equipment carries out compatibility test.And since the content of each compatibility test is all identical, commissioning staff is equivalent to will be identical
Process is repeated several times, can waste commissioning staff's more time in this way, cause the efficiency of compatibility test lower.Example again
Such as, in large-scale Below-the-line, it is identical that sponsor may may require that movable participant executes in the application program of terminal device
Operation, but due to the influence of site environment, not can guarantee each movable participant can get caught up in the explanation of sponsor into
Degree, can not be normally carried out so as to cause Below-the-line.
Therefore in the occasion for needing multiple devices to carry out combined operation, there is presently no preferable solutions.
Summary of the invention
The purpose of the application embodiment is to provide synchronous method, system and the control centre of a kind of manipulation instruction, can
By one main equipment synchronous manipulation more from equipment, to realize multiple devices combined operation.
To achieve the above object, the application embodiment provides a kind of synchronous method of manipulation instruction, which comprises
The acquisition parameter that main equipment is sent is received, includes the cloth of multiple controls in the current interface of the main equipment in the acquisition parameter
Office's parameter location parameter corresponding with the manipulation instruction in the current interface for being applied to the main equipment;Based on the acquisition parameter
In the layout parameter and the location parameter, determine what the manipulation instruction was directed in the current interface of the main equipment
Target widget;The order for being directed toward the target widget is sent at least one from equipment so that it is described at least one from equipment
In response to the order, the manipulation is applied to the target widget at least one described current interface from equipment and is referred to
It enables.
To achieve the above object, the application embodiment also provides a kind of control centre, and the control centre includes processing
Device and memory are stored with computer program in the memory, when the computer program is executed by the processor, realize
Following steps: receiving the acquisition parameter that main equipment is sent, and includes more in the current interface of the main equipment in the acquisition parameter
The layout parameter of a control location parameter corresponding with the manipulation instruction in the current interface for being applied to the main equipment;Based on institute
The layout parameter in acquisition parameter and the location parameter are stated, determines that the manipulation instruction works as prezone in the main equipment
The target widget being directed in face;The order for being directed toward the target widget is sent at least one from equipment so that it is described at least
One from equipment in response to the order, institute is applied to the target widget at least one described current interface from equipment
State manipulation instruction.
To achieve the above object, the application embodiment also provides a kind of synchronization system of manipulation instruction, the system packet
Include main equipment, control centre and at least one from equipment, in which: the main equipment, for acquiring multiple controls in current interface
The layout parameter of part location parameter corresponding with the manipulation instruction being applied in the current interface, and by the layout parameter and
The location parameter is uploaded to the control centre as acquisition parameter;The control centre, for being based on the acquisition parameter
In the layout parameter and the location parameter, determine what the manipulation instruction was directed in the current interface of the main equipment
Target widget;To it is described at least one sent from equipment and be directed toward the order of the target widget;It is described at least one from equipment, use
In in response to the order, the manipulation instruction is applied to the target widget in current interface.
Therefore technical solution provided by the present application, main equipment and at least one can be with control centre from equipment
Data interaction is carried out, when combined operation starts, can be shown in main equipment and at least one current interface from equipment identical
Content.Wherein, main equipment can be used in the user for carrying out combined operation, and assigns manipulation instruction in the host.Main equipment
The layout parameter of controls multiple in current interface location parameter corresponding with the manipulation instruction can be sent in control together
The heart, control centre then can determine that the manipulation instruction is for the target widget in current interface according to the parameter received
It assigns.At this point, can be encapsulated as the mark of the mark of the target widget and the manipulation instruction can be by from setting for control centre
The order of standby identification, and the order of the target widget is directed toward to each send from equipment.After the order is received from equipment, just
It can know and currently need to execute which control which kind of manipulation instruction.In this way, it is applied to the manipulation instruction on main equipment,
With by control centre be synchronized to it is each from the device, thus by being operated to a main equipment, realize to more from setting
The process of standby combined operation.
Detailed description of the invention
It, below will be to embodiment in order to illustrate more clearly of the application embodiment or technical solution in the prior art
Or attached drawing needed to be used in the description of the prior art is briefly described, it should be apparent that, the accompanying drawings in the following description is only
It is some embodiments as described in this application, for those of ordinary skill in the art, in not making the creative labor property
Under the premise of, it is also possible to obtain other drawings based on these drawings.
Fig. 1 is the synchronization system schematic diagram of operational order in the application embodiment;
Fig. 2 is the synchronous method flow chart of operational order in the application embodiment;
Fig. 3 is the schematic layout pattern of multiple controls in the application embodiment;
Fig. 4 is the recurrence schematic diagram of multiple controls in the application embodiment;
Fig. 5 is the structural schematic diagram at the application embodiment medium-long range center.
Specific embodiment
In order to make those skilled in the art better understand the technical solutions in the application, below in conjunction with the application reality
The attached drawing in mode is applied, the technical solution in the application embodiment is clearly and completely described, it is clear that described
Embodiment is only a part of embodiment of the application, rather than whole embodiments.Based on the embodiment party in the application
Formula, every other embodiment obtained by those of ordinary skill in the art without making creative efforts, is all answered
When the range for belonging to the application protection.
The application provides a kind of synchronous method of manipulation instruction, referring to Fig. 1, this method can be applied to as shown in Figure 1
Control centre on.In the present embodiment, control centre can keep communicating to connect with main equipment and from equipment.Wherein, institute
Stating main equipment can be the equipment that the user of progress combined operation uses.User can assign various manipulations in the main equipment
Instruction.It is described then to can be the equipment for keeping combined operation with the main equipment from equipment.The manipulation performed by the equipment
Instruction is consistent with the manipulation instruction that the main equipment receives, and the manipulation instruction can carry out transfer by control centre.
In the present embodiment, the control centre can be the system being deployed on machine, and the machine can be server, can also
To be the equipment such as the notebook for having calculation function, desktop computer.
Referring to Fig. 2, the synchronous method of the manipulation instruction may comprise steps of.
S1: receiving the acquisition parameter that main equipment is sent, and includes in the current interface of the main equipment in the acquisition parameter
The layout parameter of multiple controls location parameter corresponding with the manipulation instruction in the current interface for being applied to the main equipment.
In the present embodiment, it main equipment and multiple before combined operation, is initialized since equipment
Process.The process of the initialization for example can be establishes connection for main equipment and more equipment with control centre, and allows control
Center obtains main equipment and the system permission from equipment, and by main equipment and the initial content shown from the current interface of equipment
It is consistent.For example, it in the scene of compatibility test, can be connected to by data line by main equipment and from equipment
On notebook, control centre is deployed in the notebook.When main equipment and when from equipment connecting notebook for the first time, pen can permit
Remember this acquisition system permission.After establishing connection with notebook, can in the control centre in notebook to main equipment and
The content shown from equipment current interface synchronizes setting, makes main device and shows identical initial content from equipment.
In the present embodiment, main equipment and can be with displayed page information, the page info from the current interface of equipment
Usually as made of multiple control combinations.These controls can be considered as the container for placing the resources such as text, picture, video
(container).In current interface, control is generally rectangular, and with the needs that page info is shown, control be can be
The visual rectangle frame for having fill color or lines color can not be also possible to by transparent rectangular seen by person.
In the present embodiment, the control in current interface can have layout parameter, and the layout parameter is for limiting
Control is the location of in current interface.In practical applications, the top left corner apex and bottom right angular vertex of control be can use
The combination of coordinate value indicate the layout parameter of control.The coordinate value can be at vertex position the abscissa of pixel and
Ordinate.The abscissa of pixel and the initial value of ordinate may each be 0.For example, the top left corner apex of some rectangle control
Pixel at position is the pixel of the first row first row in current interface, and the pixel at the vertex position of the lower right corner is current
In interface the 1500th row the 1400th arrange pixel, then the layout parameter of the rectangle control can be expressed as [0,0] [1399,
1499].So, by identifying the layout parameter of control, so as to know control the location of in current interface.
In the present embodiment, the layout parameter of the control can be showed in the back load operation computer subsystem of current interface.It is described
Back load operation computer subsystem for example can be Activity Xml (eXtensible Markup Language, the expansible mark of current interface
Remember language) coding, in the coding, the layout parameter of each control in current interface can be indicated.In this way, being set by acquiring master
The back load operation computer subsystem of standby current interface, so as to from identified in back load operation computer subsystem each control in current interface layout join
Number.
In the present embodiment, user be applied to the manipulation instruction on main equipment can be in the Event Collector of main equipment
The corresponding event of triggering in (Event Collector).In this way, main equipment can obtain use by monitoring Event Collector
Family is applied to the manipulation instruction in current interface.In practical applications, user is set by finger or other input equipments to master
It would generally include the corresponding location parameter of the manipulation instruction in the event of triggering after standby application manipulation instruction.The location parameter
It may indicate that the executing subject of manipulation instruction and the exposure level of current interface.For example, user passes through finger working as in main equipment
Some control is clicked in front interface, then finger and the contact area of current interface can be considered as and be made of multiple coordinate values
Border circular areas.The coordinate value for each pixel for so including in the border circular areas can be corresponding as the manipulation instruction
Location parameter.In the present embodiment, by monitoring the event triggered in Event Collector, so as to know what user assigned
Manipulation instruction and the corresponding location parameter of the manipulation instruction.
In the present embodiment, main equipment can incite somebody to action after getting the layout parameter and the location parameter
Layout parameter and location parameter are integrated into acquisition parameter, and the acquisition parameter is uploaded to control centre.In this way, control centre connects
After receiving the acquisition parameter that main equipment is sent, layout parameter and location parameter can be therefrom extracted.In practical applications, master sets
The standby mark that manipulation instruction can also be added in the acquisition parameter, the mark can be used for uniquely characterizing user when front lower
The manipulation instruction reached, so that control centre knows that user has currently assigned which manipulation refers in the current interface of main equipment
It enables.For example, the manipulation instruction can be click, pressing or sliding etc..
S3: based in the acquisition parameter the layout parameter and the location parameter, determine that the manipulation instruction exists
The target widget being directed in the current interface of the main equipment.
In the present embodiment, after remote center receives the acquisition parameter that main equipment is sent, cloth therein can be extracted
Office's parameter and location parameter.According to the layout parameter, remote center can be determined in main equipment and from the current interface of equipment
In each control layout, according to the location parameter, remote center can determine manipulation instruction in the current interface of main equipment
In corresponding position.
In the present embodiment, if the location parameter is the coordinate set being made of the coordinate value of multiple pixels, that
It can calculate the manipulation instruction corresponding center in the current interface of the main equipment according to the location parameter and sit
Mark.The mode for calculating the centre coordinate may include calculating the corresponding average coordinates of each coordinate value in the location parameter
Value, and using the average coordinates value being calculated as manipulation instruction the corresponding centre coordinate in current interface.Specifically, it is counting
When calculating average coordinates value, since a coordinate value is made of abscissa and ordinate, then in average coordinates value
Abscissa, the average value of the abscissa of each coordinate value in location parameter can be sought, and sit using the average value as average
Abscissa in scale value.Likewise, the ordinate in average coordinates value can also be by seeking each coordinate value in location parameter
The average value of ordinate obtain.Certainly, if the location parameter Central Plains originally only includes the coordinate value of a pixel, then
It can be directly using the coordinate value of the pixel as the corresponding centre coordinate of manipulation instruction.
In the present embodiment, after the corresponding centre coordinate of manipulation instruction is calculated, the center can be sat
It marks and is compared with the layout parameter of the multiple control.The purpose of comparison is, can determine that the centre coordinate is contained in
In the layout parameter of which control.For example, the centre coordinate be [1200,1300], then the centre coordinate may include in
Layout parameter is in the control of [0,0] [1250,1400].In practical applications, the control in current interface is usually successively embedding
Set, it is located at outermost control, the region that layout parameter limits is bigger.Referring to Fig. 3, including three in current interface
A control, these three control ecto-entads are successively nested.Circular point is the centre coordinate in Fig. 3, it can be seen that, the center
Coordinate is located in these three controls of current interface.
In the present embodiment, by comparing the layout parameter of centre coordinate and the multiple control, Ke Yicong
The candidate control in the region of layout parameter restriction comprising the centre coordinate is filtered out in the multiple control.For example, in Fig. 3
Three controls can be used as the candidate control.Further, although centre coordinate is located in candidate control, center is sat
Mark corresponding manipulation instruction and be not be assigned for all candidate controls, but only for centre coordinate immediate time
What selected control was assigned.For example, manipulation instruction is actually to be directed to what control 3 was assigned in Fig. 3.Therefore, it is sat at center of determining
After target candidate's control, it can continue to filter out the control to match with centre coordinate from candidate control.Specifically, one
In a embodiment, step-by-step recursion can be carried out to each candidate control, so that it is determined that going out and the immediate candidate of centre coordinate
Control.Specifically, it can will be located at the control of outer layer as father node according to the nest relation between candidate control, and will be interior
Child node of the control of layer as the father node.In this way, three both candidate nodes shown in Fig. 3 can be constructed such as Fig. 4 institute
The recurrence plot shown, positioned at the corresponding candidate control of the child node of the recurrence plot bottom can as with the centre coordinate phase
Matched control.It, can be by region shared in the current interface of the main equipment most from the point of view of the area size of candidate control
Small candidate control is as the control to match with the centre coordinate.
It in the present embodiment, can be using the control as institute after determining the control to match with centre coordinate
State the target widget that manipulation instruction is directed in the current interface of the main equipment, that is to say, that manipulation instruction is for the mesh
Mark control is assigned.
S5: sending the order for being directed toward the target widget at least one from equipment so that it is described at least one from setting
It is standby in response to the order, the manipulation is applied to the target widget at least one described current interface from equipment and is referred to
It enables.
In the present embodiment, remote center is after determining target widget that manipulation instruction is directed to, in order to enable from
Equipment and main equipment keep combined operation, and the order for being directed toward the target widget can be sent at least one from equipment, so that
It is described at least one from equipment in response to the order, to the target at least one described current interface from equipment
Control applies the manipulation instruction.
In the present embodiment, the available manipulation mark for characterizing the manipulation instruction of remote center, and obtain
Control for characterizing the target widget identifies, and then the two marks can be encapsulated as the life that can be identified from equipment
It enables.In this way, can therefrom extract manipulation mark and control mark from equipment after receiving the order that remote center sends
Which kind of which know, so as to clearly currently manipulation instruction be executed for the control in current interface.It is being directed to from equipment
After target widget executes the manipulation instruction, just combined operation can be kept with main equipment.
In one embodiment, it in addition to target widget in the current interface of main equipment, is likely present and the target
The identical other controls of the type of control, that is to say, that in current interface, it is understood that there may be at least two and the target widget
The identical control of type.And it is directed to the identical control of type, the mark that system distributes to these controls is all identical.This
When, it, can not be from multiple from equipment if being sent to the mark of system distribution as the mark of target widget from equipment
The target widget for being actually subjected to operation is determined in the identical control of type.In consideration of it, in the present embodiment, in order to by target control
Part and the control of other same types distinguish, and unique identification can be distributed respectively for multiple controls of same type, to make
It obtains and distinguishes target widget control identical with other types.
It in the present embodiment, can be by control identical with the type of the target widget when distributing unique identification
It is ranked up.The mode of sequence may include being arranged according to the sequencing that the layout parameter of control occurs in back load operation computer subsystem
Sequence;It can also include that arrangement mode according to control in current interface is ranked up.Wherein, row of the control in current interface
Column mode for example can be arrangement mode from left to right or arrangement mode from top to bottom, then according to arrangement mode into
When row sequence, a positive direction can be pre-selected, is then ranked up according to the arrangement order in the control positive direction.
It in the present embodiment, can be each according to ranking results after the control sequence to multiple same types
Control identical with the type of the target widget distributes unique identification.For example, can be according to Arabic numerals from small to large
Sequentially, it distributes unique identification one by one since 0, can also be distributed one by one since a according to the vertical sequence of English alphabet
Unique identification.In this way, the identical multiple controls of type can be distinguished by unique identification.
In one embodiment, available for characterizing the type of the target widget when distributing unique identification
Mark, which can be system in advance and is the mark of the control unified distribution of same type.Such as the mark can be a,
The mark of control namely identical with the type of target widget is a.It is then possible to for each class with the target widget
The identical control of type distributes the sequence identification for characterizing ranking results, which for example can be above-mentioned Arabic number
Word or English alphabet.Finally, the combination of the sequence identification of the mark and distribution that can will acquire as with it is described
The unique identification of the identical control of the type of target widget.For example, currently identical with target widget type, there are three controls altogether
Part, then the unique identification that these three controls finally distribute can be followed successively by a1, a2 and a3.
In the present embodiment, subsequent at least one from equipment after being assigned with unique identification for target widget
When sending the order for being directed toward the target widget, then the unique identification of the target widget can be carried in the order.This
It outside, can also include being identified for characterizing the manipulation of the manipulation instruction in the order.In this way, it is described at least one from setting
After receiving the order that remote center sends, the unique identification and manipulation mark of carrying can be extracted from the order
Know.Then, the corresponding target widget of the unique identification extracted can be determined from current interface from equipment, and can be adjusted
The manipulation instruction characterized with the manipulation mark, and apply the manipulation instruction for the target widget, to complete to link
The process of operation.
It in one embodiment, can also be by the layout parameter of the target widget in order to uniquely indicate target widget
Unique identification as target widget.Specifically, remote center may include institute from the order that equipment is sent at least one
State the layout parameter of target widget and the manipulation mark for characterizing the manipulation instruction.In this way, at least one connects from equipment
After receiving the order that remote center sends, the layout parameter of the target widget can be extracted from the order, due to from setting
The initial content that the current interface of standby current interface and main equipment is shown is consistent, then can be according to extraction from equipment
The layout parameter determines the position of the target widget in current interface.Then, the manipulation can be called to mark from equipment
Know the manipulation instruction of characterization, and the manipulation instruction is applied at the position for the target widget determined, to complete
The process of combined operation.
In one embodiment, it from equipment after the process for completing combined operation, can be fed back to remote center true
Information is recognized, to show itself to have completed the movement for applying the manipulation instruction to the target widget by the confirmation message.
In this way, remote center can receive at least one described target is fed back from equipment from the device confirmation message.Then, in long-range
The heart can count the slave equipment of non-feedback acknowledgment information, and send again to the slave equipment of the non-feedback acknowledgment information and be directed toward institute
State the order of target widget.Certainly, in practical applications, remote center can the specified duration after sending upper primary order it
Start to count the slave equipment of non-feedback acknowledgment information, again afterwards so as to being reserved certain reaction time, Bu Hui from equipment
A plurality of identical order is continuously transmitted in short time.
Referring to Fig. 5, the application also provides a kind of control centre, the control centre includes processor and memory, institute
It states and is stored with computer program in memory, when the computer program is executed by the processor, perform the steps of
S1: receiving the acquisition parameter that main equipment is sent, and includes in the current interface of the main equipment in the acquisition parameter
The layout parameter of multiple controls location parameter corresponding with the manipulation instruction in the current interface for being applied to the main equipment;
S3: based in the acquisition parameter the layout parameter and the location parameter, determine that the manipulation instruction exists
The target widget being directed in the current interface of the main equipment;
S5: sending the order for being directed toward the target widget at least one from equipment so that it is described at least one from setting
It is standby in response to the order, the manipulation is applied to the target widget at least one described current interface from equipment and is referred to
It enables.
In one embodiment, it when the computer program is executed by the processor, also performs the steps of
According to the location parameter, calculates the manipulation instruction corresponding center in the current interface of the main equipment and sit
Mark;
The layout parameter of the centre coordinate and the multiple control is compared, with determination and the centre coordinate phase
Matched control, and work as prezone in the main equipment using the control to match with the centre coordinate as the manipulation instruction
The target widget being directed in face.
In one embodiment, if there are at least two and the target widget in the current interface of the main equipment
Type identical control also performed the steps of when the computer program is executed by the processor
Control identical with the type of the target widget is ranked up, and is each and mesh according to ranking results
The identical control of type for marking control distributes unique identification;
Correspondingly, it when sending the order for being directed toward the target widget from equipment at least one, is taken in the order
Unique identification with the target widget.
In one embodiment, it when the computer program is executed by the processor, also performs the steps of
Obtain the mark for characterizing the type of the target widget;
The sequence identification for characterizing ranking results is distributed for each control identical with the type of the target widget;
The combination of the sequence identification of the mark and distribution that will acquire is as the type phase with the target widget
The unique identification of same control.
In the present embodiment, the memory may include the physical unit for storing information, usually by information
It is stored again with the media using the methods of electricity, magnetic or optics after digitlization.Memory described in present embodiment again may be used
To include: to store the device of information, such as RAM, ROM in the way of electric energy;The device of information is stored in the way of magnetic energy, it is such as hard
Disk, floppy disk, tape, core memory, magnetic bubble memory, USB flash disk;Using the device of optical mode storage information, such as CD or DVD.
Certainly, there are also memories of other modes, such as quantum memory, graphene memory etc..
In the present embodiment, the processor can be implemented in any suitable manner.For example, the processor can be with
Take such as microprocessor or processor and storage can by (micro-) processor execute computer readable program code (such as
Software or firmware) computer-readable medium, logic gate, switch, specific integrated circuit (Application Specific
Integrated Circuit, ASIC), programmable logic controller (PLC) and the form etc. for being embedded in microcontroller.
The concrete function that the remote center that this specification embodiment provides, memory and processor are realized, Ke Yiyu
Aforementioned embodiments in this specification contrast explanation, and can reach the technical effect of aforementioned embodiments, here just not
It repeats again.
Referring to Fig. 1, the application also provides a kind of synchronization system of manipulation instruction, the system comprises main equipments, control
Center and at least one from equipment, in which:
The main equipment, for acquiring the layout parameter of multiple controls in current interface and being applied in the current interface
The corresponding location parameter of manipulation instruction, and be uploaded to using the layout parameter and the location parameter as acquisition parameter described
Control centre;
The control centre, for based in the acquisition parameter the layout parameter and the location parameter, determine
The target widget that the manipulation instruction is directed in the current interface of the main equipment;To it is described at least one from equipment transmission refer to
Order to the target widget;
It is described at least one from equipment, for applying to the target widget in current interface in response to the order
The manipulation instruction.
Therefore technical solution provided by the present application, main equipment and at least one can be with control centre from equipment
Data interaction is carried out, when combined operation starts, can be shown in main equipment and at least one current interface from equipment identical
Content.Wherein, main equipment can be used in the user for carrying out combined operation, and assigns manipulation instruction in the host.Main equipment
The layout parameter of controls multiple in current interface location parameter corresponding with the manipulation instruction can be sent in control together
The heart, control centre then can determine that the manipulation instruction is for the target widget in current interface according to the parameter received
It assigns.At this point, can be encapsulated as the mark of the mark of the target widget and the manipulation instruction can be by from setting for control centre
The order of standby identification, and the order of the target widget is directed toward to each send from equipment.After the order is received from equipment, just
It can know and currently need to execute which control which kind of manipulation instruction.In this way, it is applied to the manipulation instruction on main equipment,
With by control centre be synchronized to it is each from the device, thus by being operated to a main equipment, realize to more from setting
The process of standby combined operation.
In the 1990s, the improvement of a technology can be distinguished clearly be on hardware improvement (for example,
Improvement to circuit structures such as diode, transistor, switches) or software on improvement (improvement for method flow).So
And with the development of technology, the improvement of current many method flows can be considered as directly improving for hardware circuit.
Designer nearly all obtains corresponding hardware circuit by the way that improved method flow to be programmed into hardware circuit.Cause
This, it cannot be said that the improvement of a method flow cannot be realized with hardware entities module.For example, programmable logic device
(Programmable Logic Device, PLD) (such as field programmable gate array (Field Programmable Gate
Array, FPGA)) it is exactly such a integrated circuit, logic function determines device programming by user.By designer
Voluntarily programming comes a digital display circuit " integrated " on a piece of PLD, designs and makes without asking chip maker
Dedicated IC chip.Moreover, nowadays, substitution manually makes IC chip, this programming is also used instead mostly " is patrolled
Volume compiler (logic compiler) " software realizes that software compiler used is similar when it writes with program development,
And the source code before compiling also write by handy specific programming language, this is referred to as hardware description language
(Hardware Description Language, HDL), and HDL is also not only a kind of, but there are many kind, such as ABEL
(Advanced Boolean Expression Language)、AHDL(Altera Hardware Description
Language)、Confluence、CUPL(Cornell University Programming Language)、HDCal、JHDL
(Java Hardware Description Language)、Lava、Lola、MyHDL、PALASM、RHDL(Ruby
Hardware Description Language) etc., VHDL (Very-High-Speed is most generally used at present
Integrated Circuit Hardware Description Language) and Verilog2.Those skilled in the art
It will be apparent to the skilled artisan that only needing method flow slightly programming in logic and being programmed into integrated circuit with above-mentioned several hardware description languages
In, so that it may it is readily available the hardware circuit for realizing the logical method process.
It is also known in the art that other than realizing remote center in a manner of pure computer readable program code,
Completely can by by method and step carry out programming in logic come so that remote center with logic gate, switch, specific integrated circuit, can
Programmed logic controller realizes identical function with the form for being embedded in microcontroller etc..Therefore this remote center may be considered that
It is a kind of hardware component, and the knot that the device for realizing various functions for including in it can also be considered as in hardware component
Structure.Or even, can will be considered as realizing the device of various functions either the software module of implementation method again can be with
It is the structure in hardware component.
As seen through the above description of the embodiments, those skilled in the art can be understood that the application can
It realizes by means of software and necessary general hardware platform.Based on this understanding, the technical solution essence of the application
On in other words the part that contributes to existing technology can be embodied in the form of software products, the computer software product
It can store in storage medium, such as ROM/RAM, magnetic disk, CD, including some instructions are used so that a computer equipment
(can be personal computer, server or the network equipment etc.) executes each embodiment of the application or embodiment
Method described in certain parts.
Each embodiment in this specification is described in a progressive manner, same and similar between each embodiment
Part may refer to each other, what each embodiment stressed is the difference with other embodiments.In particular, needle
For the embodiment of remote center and system, the introduction control for being referred to the embodiment of preceding method is explained.
The application can describe in the general context of computer-executable instructions executed by a computer, such as program
Module.Generally, program module includes routines performing specific tasks or implementing specific abstract data types, programs, objects, group
Part, data structure etc..The application can also be practiced in a distributed computing environment, in these distributed computing environments, by
Task is executed by the connected remote processing devices of communication network.In a distributed computing environment, program module can be with
In the local and remote computer storage media including storage equipment.
Although depicting the application by embodiment, it will be appreciated by the skilled addressee that there are many deformations by the application
With variation without departing from spirit herein, it is desirable to which the attached claims include these deformations and change without departing from the application
Spirit.
Claims (13)
1. a kind of synchronous method of manipulation instruction, which is characterized in that the described method includes:
The acquisition parameter that main equipment is sent is received, includes multiple controls in the current interface of the main equipment in the acquisition parameter
Layout parameter location parameter corresponding with the manipulation instruction in the current interface for being applied to the main equipment;
Based in the acquisition parameter the layout parameter and the location parameter, determine that the manipulation instruction is set in the master
The target widget being directed in standby current interface;
The order for being directed toward the target widget is sent at least one from equipment so that it is described at least one from equipment in response to
The order applies the manipulation instruction to the target widget at least one described current interface from equipment.
2. the method according to claim 1, wherein determining that the manipulation instruction works as prezone in the main equipment
The target widget being directed in face includes:
According to the location parameter, the manipulation instruction corresponding centre coordinate in the current interface of the main equipment is calculated;
The layout parameter of the centre coordinate and the multiple control is compared, is matched with determination with the centre coordinate
Control, and using the control to match with the centre coordinate as the manipulation instruction in the current interface of the main equipment
For target widget.
3. according to the method described in claim 2, it is characterized in that, determining that the control to match with the centre coordinate includes:
From the candidate control filtered out in the multiple control in the region that layout parameter limits comprising the centre coordinate;
Match using the smallest candidate control in region shared in the current interface of the main equipment as with the centre coordinate
Control.
4. the method according to claim 1, wherein if having at least two in the current interface of the main equipment
A control identical with the type of the target widget, the method also includes:
Control identical with the type of the target widget is ranked up, and is each and target control according to ranking results
The identical control of the type of part distributes unique identification;
Correspondingly, when sending the order for being directed toward the target widget from equipment at least one, institute is carried in the order
State the unique identification of target widget.
5. according to the method described in claim 4, it is characterized in that, further including using from the order that equipment is sent at least one
In the manipulation mark for characterizing the manipulation instruction;Correspondingly, it is described at least one from equipment in current interface to the target
Control applies the manipulation instruction
It is described at least one the unique identification and manipulation mark of carrying are extracted from the order from equipment, and from working as prezone
The corresponding target widget of the unique identification extracted is determined in face;
It is described at least one from described in equipment calls manipulation mark characterization manipulation instruction, and for the target widget apply institute
State manipulation instruction.
6. according to the method described in claim 4, it is characterized in that, being each class with the target widget according to ranking results
The identical control of type distributes unique identification
Obtain the mark for characterizing the type of the target widget;
The sequence identification for characterizing ranking results is distributed for each control identical with the type of the target widget;
The combination of the sequence identification of the mark and distribution that will acquire is as identical with the type of the target widget
The unique identification of control.
7. the method according to claim 1, wherein including described from the order that equipment is sent at least one
The layout parameter of target widget and for characterizing the manipulation instruction manipulation mark;
Correspondingly, it is described at least one the manipulation instruction applied to the target widget in current interface from equipment include:
It is described at least one the layout parameter of the target widget is extracted from the order from equipment, and according to extraction
Layout parameter determines the position of the target widget at least one described current interface from equipment;
It is described at least one from the manipulation instruction of manipulation mark characterization described in equipment calls, and the manipulation instruction is applied to really
At the position for the target widget made.
8. the method according to claim 1, wherein being directed toward the target control sending at least one from equipment
After the order of part, the method also includes:
Receive at least one described target feed back from equipment from the device confirmation message, the confirmation message is for described in characterizing
The movement for applying the manipulation instruction to the target widget is completed from equipment for target;
The slave equipment of non-feedback acknowledgment information is counted, and is sent described in direction again to the slave equipment of the non-feedback acknowledgment information
The order of target widget.
9. a kind of control centre, the control centre includes processor and memory, and computer journey is stored in the memory
Sequence, which is characterized in that when the computer program is executed by the processor, perform the steps of
The acquisition parameter that main equipment is sent is received, includes multiple controls in the current interface of the main equipment in the acquisition parameter
Layout parameter location parameter corresponding with the manipulation instruction in the current interface for being applied to the main equipment;
Based in the acquisition parameter the layout parameter and the location parameter, determine that the manipulation instruction is set in the master
The target widget being directed in standby current interface;
The order for being directed toward the target widget is sent at least one from equipment so that it is described at least one from equipment in response to
The order applies the manipulation instruction to the target widget at least one described current interface from equipment.
10. control centre according to claim 9, which is characterized in that the computer program is executed by the processor
When, also perform the steps of
According to the location parameter, the manipulation instruction corresponding centre coordinate in the current interface of the main equipment is calculated;
The layout parameter of the centre coordinate and the multiple control is compared, is matched with determination with the centre coordinate
Control, and using the control to match with the centre coordinate as the manipulation instruction in the current interface of the main equipment
For target widget.
11. control centre according to claim 9, which is characterized in that if existing in the current interface of the main equipment
At least two controls identical with the type of the target widget, it is also real when the computer program is executed by the processor
Existing following steps:
Control identical with the type of the target widget is ranked up, and is each and target control according to ranking results
The identical control of the type of part distributes unique identification;
Correspondingly, when sending the order for being directed toward the target widget from equipment at least one, institute is carried in the order
State the unique identification of target widget.
12. control centre according to claim 11, which is characterized in that the computer program is executed by the processor
When, also perform the steps of
Obtain the mark for characterizing the type of the target widget;
The sequence identification for characterizing ranking results is distributed for each control identical with the type of the target widget;
The combination of the sequence identification of the mark and distribution that will acquire is as identical with the type of the target widget
The unique identification of control.
13. a kind of synchronization system of manipulation instruction, which is characterized in that the system comprises main equipments, control centre and at least
One from equipment, in which:
The main equipment, for acquiring the layout parameter of multiple controls and the behaviour being applied in the current interface in current interface
Control instructs corresponding location parameter, and is uploaded to the control using the layout parameter and the location parameter as acquisition parameter
Center;
The control centre, for based in the acquisition parameter the layout parameter and the location parameter, determine described in
The target widget that manipulation instruction is directed in the current interface of the main equipment;To it is described at least one from equipment send be directed toward institute
State the order of target widget;
It is described at least one from equipment, in response to the order, the target widget is applied in current interface described in
Manipulation instruction.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810182792.7A CN110231959A (en) | 2018-03-06 | 2018-03-06 | A kind of synchronous method of manipulation instruction, system and control centre |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810182792.7A CN110231959A (en) | 2018-03-06 | 2018-03-06 | A kind of synchronous method of manipulation instruction, system and control centre |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110231959A true CN110231959A (en) | 2019-09-13 |
Family
ID=67861717
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810182792.7A Pending CN110231959A (en) | 2018-03-06 | 2018-03-06 | A kind of synchronous method of manipulation instruction, system and control centre |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110231959A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114296849A (en) * | 2021-12-24 | 2022-04-08 | 北京三快在线科技有限公司 | Method and device for synchronizing states of interface control |
Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101595454A (en) * | 2006-01-25 | 2009-12-02 | 布兰特技术有限公司 | Be used to realize the system and method for remote computer control |
CN102298467A (en) * | 2010-06-24 | 2011-12-28 | 北京威亚视讯科技有限公司 | Automatic calibration method and system for display screen |
CN104049754A (en) * | 2009-11-06 | 2014-09-17 | 索尼公司 | Real time hand tracking, pose classification, and interface control |
CN104268083A (en) * | 2014-09-30 | 2015-01-07 | 上海联影医疗科技有限公司 | Software automatic testing method and device |
CN104699617A (en) * | 2015-03-31 | 2015-06-10 | 成都优聚软件有限责任公司 | Automated testing method for games |
CN106033387A (en) * | 2015-03-11 | 2016-10-19 | 广州市动景计算机科技有限公司 | A method and a device for testing flash intrinsic controls |
CN106095666A (en) * | 2016-06-02 | 2016-11-09 | 腾讯科技(深圳)有限公司 | Game automated testing method and relevant apparatus |
CN106776277A (en) * | 2016-11-18 | 2017-05-31 | 乐视控股(北京)有限公司 | A kind of method of striding course test, device and electronic equipment |
CN106814629A (en) * | 2015-11-27 | 2017-06-09 | 大唐移动通信设备有限公司 | A kind of method and device of control smart home |
CN107025165A (en) * | 2017-03-07 | 2017-08-08 | 腾讯科技(深圳)有限公司 | Game automated testing method and relevant apparatus |
CN107608609A (en) * | 2016-07-11 | 2018-01-19 | 阿里巴巴集团控股有限公司 | A kind of event object sending method and device |
CN107667552A (en) * | 2015-03-24 | 2018-02-06 | 开利公司 | The study and registration based on floor plan of distributed devices |
-
2018
- 2018-03-06 CN CN201810182792.7A patent/CN110231959A/en active Pending
Patent Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101595454A (en) * | 2006-01-25 | 2009-12-02 | 布兰特技术有限公司 | Be used to realize the system and method for remote computer control |
CN104049754A (en) * | 2009-11-06 | 2014-09-17 | 索尼公司 | Real time hand tracking, pose classification, and interface control |
CN102298467A (en) * | 2010-06-24 | 2011-12-28 | 北京威亚视讯科技有限公司 | Automatic calibration method and system for display screen |
CN104268083A (en) * | 2014-09-30 | 2015-01-07 | 上海联影医疗科技有限公司 | Software automatic testing method and device |
CN106033387A (en) * | 2015-03-11 | 2016-10-19 | 广州市动景计算机科技有限公司 | A method and a device for testing flash intrinsic controls |
CN107667552A (en) * | 2015-03-24 | 2018-02-06 | 开利公司 | The study and registration based on floor plan of distributed devices |
CN104699617A (en) * | 2015-03-31 | 2015-06-10 | 成都优聚软件有限责任公司 | Automated testing method for games |
CN106814629A (en) * | 2015-11-27 | 2017-06-09 | 大唐移动通信设备有限公司 | A kind of method and device of control smart home |
CN106095666A (en) * | 2016-06-02 | 2016-11-09 | 腾讯科技(深圳)有限公司 | Game automated testing method and relevant apparatus |
CN107608609A (en) * | 2016-07-11 | 2018-01-19 | 阿里巴巴集团控股有限公司 | A kind of event object sending method and device |
CN106776277A (en) * | 2016-11-18 | 2017-05-31 | 乐视控股(北京)有限公司 | A kind of method of striding course test, device and electronic equipment |
CN107025165A (en) * | 2017-03-07 | 2017-08-08 | 腾讯科技(深圳)有限公司 | Game automated testing method and relevant apparatus |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114296849A (en) * | 2021-12-24 | 2022-04-08 | 北京三快在线科技有限公司 | Method and device for synchronizing states of interface control |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110703966B (en) | File sharing method, device and system, corresponding equipment and storage medium | |
CN107832218B (en) | A processing method, device and computer equipment are buried in dynamic page | |
CN106527892B (en) | Screen capturing method and system of electronic equipment | |
CN106293315A (en) | The method and apparatus that floating frame shows | |
CN103189864A (en) | Methods and apparatuses for determining shared friends in images or videos | |
CN104657037B (en) | A kind of terminal interface processing method | |
CN109542543A (en) | Application page surface treatment method, apparatus, storage medium and computer equipment | |
CN103176690A (en) | Display control apparatus, display control method, and program | |
CN103176684A (en) | Method and device for switching multi-zone interface | |
JP6615997B2 (en) | Synchronization of server-side keyboard layout and client-side keyboard layout in virtual sessions | |
CN106648516A (en) | Picture display control method and system based on digital art landscape device | |
CN108255446A (en) | multi-screen splicing display method, device and mobile terminal | |
CN103150941A (en) | Method for establishing visual virtual digital circuit | |
CN109298909A (en) | A kind of method, mobile terminal and computer readable storage medium that window is adjusted | |
CN105938403A (en) | Cursor control method and device based on fingerprint recognition | |
CN104484058A (en) | Instant expression image outputting method and instant expression image outputting device | |
CN103516714A (en) | Mapping server and mapping method | |
CN106354354B (en) | Control method and device of capacitive touch screen and terminal equipment | |
CN112838937A (en) | Processing method and system for user-defined network topology | |
CN103645828A (en) | Main interface menu display method with sliding animation effect | |
CN110231959A (en) | A kind of synchronous method of manipulation instruction, system and control centre | |
CN106716370A (en) | Discovery and control of remote media sessions | |
CN106339266A (en) | Virtual positioning method and terminal | |
US11223961B2 (en) | Configuration method of wireless network system, configuration terminal and configuration system | |
CN106354356A (en) | Method and terminal for managing application icon |
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 | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20200515 Address after: 310052 room 508, floor 5, building 4, No. 699, Wangshang Road, Changhe street, Binjiang District, Hangzhou City, Zhejiang Province Applicant after: Alibaba (China) Co.,Ltd. Address before: 100080 Beijing Haidian District city Haidian street A Sinosteel International Plaza No. 8 block 5 layer A, C Applicant before: Youku network technology (Beijing) Co.,Ltd. |
|
TA01 | Transfer of patent application right | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190913 |
|
RJ01 | Rejection of invention patent application after publication |