CN109213005A - A kind of simulation control method and device - Google Patents
- ️Tue Jan 15 2019
Summary of the invention
In view of this, the embodiment of the present invention provides a kind of simulation control method and device.
A kind of simulation control method is applied to simulation control subsystem, and the simulation control subsystem includes editing machine, server With multiple performers, picture data is stored in the multiple performer;
The described method includes:
The editing machine obtains the object run device that user chooses from the multiple performer, and generates and the target The control instruction is sent to the object run device by the server by the corresponding control instruction of performer;
The current picture data of the object run device are sent to described by the object run device by the server Editing machine;
The editing machine obtains user to the operation information of the current picture data, and generates operational order, will be described Operational order is sent to the object run device by the server;
The object run device receives the operational order, and executes the operational order to the current picture data, The current picture data after the operational order will be executed, the editing machine is sent to by the server.
Optionally, the object run device sends the current picture data of the object run device by the server Before the editing machine, the method also includes:
The object run device carries out Authority Verification according to the control instruction received, and generates authorization check knot The authorization check result is sent to the editing machine by the server by fruit.
Optionally, the authorization check result is sent to the editing machine by the server by the object run device Later, the method also includes:
The editing machine shows the Authority Verification result.
Optionally, the object run device sends the current picture data of the object run device by the server Include: to the step of editing machine
When in the object run device carry out Authority Verification result be by when, the object run device will it is described currently Picture data is sent to the editing machine by the server.
Optionally, the editing machine is user terminal, and the operation information is what user was inputted by the user terminal Information.
The embodiment of the present invention also provides a kind of simulation control method, and the method is applied to the volume connecting with server communication Device is collected, the server is also communicated to connect with multiple performers, is stored with picture data in the multiple performer;
The described method includes:
The object run device that user chooses from the multiple performer is obtained, and is generated corresponding with the object run device Control instruction, the control instruction is sent to the object run device by the server;
Receive the current picture data for the object run device that the object run device issues;
User is obtained to the operation information of the current picture data, and generates operational order, the operational order is led to It crosses the server and is sent to the object run device;
It receives the object run device and receives the operational order, and the operation is executed to the current picture data and is referred to Current picture data after order.
Optionally, described before the current picture data for receiving the object run device that the object run device issues Method includes:
It receives the object run device and Authority Verification, the power generated and issued is carried out according to the control instruction received Limit check results.
Optionally, it receives the object run device and Authority Verification is carried out according to the control instruction received, generate simultaneously After the authorization check result of sending, which comprises
Show the Authority Verification result.
Optionally, the step of receiving the current picture data for the object run device that the object run device issues packet It includes:
When the authorization check result received be by when, receive the current picture data that the object run device issues.
The embodiment of the present invention also provides a kind of Simulation Control device, comprising:
Performer obtains module, the object run device chosen from the multiple performer for obtaining user, and generates The control instruction is sent to the object run by the server by control instruction corresponding with the object run device Device;
Data reception module, the current picture data issued for receiving the object run device;
Data obtaining module, in the current picture number for receiving the object run device that the object run device issues According to when, obtain user to the operation informations of presently described current picture data, and generate operational order, the operational order led to It crosses the server and is sent to the object run device;
Data reception module is also used to receive the object run device and receives the operational order, and to the current picture Face data executes the current picture data after the operational order.
A kind of simulation control method and device provided in an embodiment of the present invention.By to editing machine carried out ingehious design and It is integrated, so that simulation control subsystem is same by the operation result picture of the performer of heavyweight in real time by way of picture data stream Step is transferred to the editing machine of lightweight.It is controlled so as to carry out quick, effective, true real-time to three-dimensional artificial control system, It improves and is experienced to user's bring.
To enable the above objects, features and advantages of the present invention to be clearer and more comprehensible, present pre-ferred embodiments are cited below particularly, And cooperate appended attached drawing, it is described in detail below.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description.Obviously, described embodiment is only a part of the embodiments of the present invention, instead of all the embodiments.It is logical The component for the embodiment of the present invention being often described and illustrated herein in the accompanying drawings can be arranged and be designed with a variety of different configurations.
Therefore, the detailed description of the embodiment of the present invention provided in the accompanying drawings is not intended to limit below claimed The scope of the present invention, but be merely representative of selected embodiment of the invention.Based on the embodiment of the present invention, those skilled in the art Member's every other embodiment obtained without making creative work, shall fall within the protection scope of the present invention.
It should also be noted that similar label and letter indicate similar terms in following attached drawing, therefore, once a certain Xiang Yi It is defined in a attached drawing, does not then need that it is further defined and explained in subsequent attached drawing.
With reference to the accompanying drawing, it elaborates to some embodiments of the present invention.In the absence of conflict, following Feature in embodiment and embodiment can be combined with each other.
Referring to Fig. 1, Fig. 1 is the block diagram of simulation control subsystem 10 provided in an embodiment of the present invention.In the present invention In embodiment, the simulation control subsystem 10 includes editing machine 100, server 200 and multiple performers 300.
In the embodiment of the present invention, editing machine 100, for editing simulation control subsystem 10, and as this terminal emulation control The supporting module of technology processed is used to control the presentation and operation of performer 300, and editing machine 100 supports lightweight terminal platform fortune Row is supported multi-platform: Windows, Andriod, IOS, Wed.
Performer 300 belongs to simulation control subsystem 10 for rendering the configuration service page that editing machine 100 is presented and edits Final visual presentation component.
Server 200, for storing the visual configuration data, cache business data and message of 100 layout of editing machine Instruct transfer.
In the embodiment of the present invention, performer 300 and editing machine 100 are used as client to can star multiple example independent operatings In different equipment, since the presentation of large-scale three dimensional picture has very high hardware condition to rely on, so common handheld terminal without Method directly runs visualization and is presented module, i.e., 300 module of performer in this system, so the invention by performer 300 real time execution results emulate 100 module of editing machine that lightweight is integrated into the form remotely controlled with height.User can be The performer 300 to be controlled is selected in editing machine 100, it can be for the remote terminal control of specified performer 300, performer 300 operation picture understands real-time synchronization to the control page of editing machine 100, and the progress for making user on the spot in person remotely controls.Together When user can be switched fast the performer 300 to be controlled at any time in control process, reach the fast control of same editing machine 100 The effect of multiple performers 300.
Referring to figure 2., Fig. 2 is a kind of flow diagram of simulation control method provided by the embodiment of the present invention, described Simulation control method is applied to simulation control subsystem 10, can be executed by editing machine 100, server 200 and performer 300.Under Detailed process in face of simulation control method is described in detail.
Step S110, editing machine 100 obtains the object run device 300 that user chooses from multiple performers 300, and generates Control instruction is sent to object run device 300 by server 200 by control instruction corresponding with object run device 300.
In the embodiment of the present invention, editing machine 100 shows the control page of multiple performers 300, wherein multiple performers 300 can only be the performer 300 that the editing machine 100 has permission operation.User, which chooses one from editing machine 100, to be controlled The performer 300 of system is used as object run device 300, and generates control instruction corresponding with object run device 300, by control instruction It is sent to object run device 300 by server 200, other performers 300 will not receive the instruction.
Optionally, which is used to start the remote control function of object run device.
Step S120, object run device 300 carries out Authority Verification according to the control instruction received, and generates authorization check As a result, authorization check result is sent to editing machine 100 by server 200.
In the embodiment of the present invention, object run device 300 carries out Authority Verification, verifying editor according to the control instruction received Whether device 100 has permission control object run device 300.In step 110, editing machine 100 show the performer for having permission operation 300 belong to the authorization check for doing a control terminal, this step belongs to the Authority Verification of controlled terminal.Double verification guarantees system Safety.
And authorization check is generated as a result, authorization check result is sent to editing machine 100 by server 200.Editing machine 100 control interfaces show Authority Verification result.
Optionally, if 300 Authority Verification of performer passes through, it will start remote control function, so as to editing machine 100 Synchronous real-time pictures and the control instruction for receiving editing machine 100.
Step S130, object run device 300 send the current picture data of object run device 300 by server 200 To editing machine 100.
In the embodiment of the present invention, the current picture data of object run device 300 are passed through service by object run device 300 in real time Device 200 is sent to editing machine 100, and for the picture data after performer 300 opens remote control function, the every frame of meeting passes through clothes in real time Business device 200 is sent to corresponding editing machine 100.
Optional editing machine 100 parses real-time pictures data, and the picture result of performer 300 is carried out in control interface It presents in real time.
Step S140, editing machine 100 obtains user to the operation information of current picture data, and generates operational order, will Operational order is sent to object run device 300 by server 200.
In the embodiment of the present invention, editing machine 100 obtains user to the operation information of current picture data, wherein operation information Refer to that user operates performer in the real time execution picture medium-long range of control interface by mouse or handheld device touching 300.And operational order is generated, operational order is sent to object run device 300 by server 200.
Step S150, object run device 300 receives operational order, and executes operational order to current picture data, will hold Current picture data after row operational order are sent to editing machine 100 by server 200.
In the embodiment of the present invention, object run device 300 receives operational order, and the operational order is converted to the mesh The system event for marking performer 300 executes current picture data, and the current picture data after execution operational order are led in real time It crosses server 200 and is sent to editing machine 100.
Optionally, the instruction simulation received is true system event to respond user's operation by object run device 300.
Referring to Fig. 3, Fig. 3 is a kind of block diagram of editing machine 100 provided in an embodiment of the present invention.Of the invention real It applies in example, the editing machine 100 may include processor 110, memory 120.
It is directly or indirectly electrically connected between the processor 110 and each element of memory 120, to realize the biography of data Defeated or interaction.It is electrically connected for example, these elements can be realized between each other by one or more communication bus or signal wire.It deposits Performer acquisition module 410, data reception module 420 and data obtaining module, these modules are stored in reservoir 120 to wrap respectively Include at least one software function module that can be stored in the form of software or firmware (firmware) in the memory 120. The software program and module that the processor 110 is stored in memory 120 by operation, such as imitating in the embodiment of the present invention True control device 400, thereby executing various function application and data processing, i.e. Simulation Control in the realization embodiment of the present invention Method.
Wherein, the memory 120 may be, but not limited to, random access memory (Random Access Memory, RAM), read-only memory (Read Only Memory, ROM), programmable read only memory (Programmable Read-Only Memory, PROM), erasable read-only memory (Erasable Programmable Read-Only Memory, EPROM), electricallyerasable ROM (EEROM) (Electric Erasable Programmable Read-Only Memory, EEPROM) etc..Wherein, memory 120 is for storing program, the processor 110 after receiving and executing instruction, Execute described program.The processor 110 and other possible components can control the access of memory 120 in the storage It is carried out under the control of device 120.
The processor 110 may be a kind of IC chip, the processing capacity with signal.Above-mentioned processor 110 can be general processor, including central processing unit (Central Processing Unit, CPU), network processing unit (Network Processor, NP) etc..It can also be digital signal processor (DSP), specific integrated circuit (ASIC), scene Programmable gate array (FPGA) either other programmable logic device, discrete gate or transistor logic, discrete hardware group Part.It may be implemented or execute disclosed each method, step and the logic diagram in the embodiment of the present invention.General processor can be with It is that microprocessor or the processor are also possible to any conventional processor etc..
It is appreciated that structure shown in FIG. 1 is only to illustrate, the editing machine may also include it is more than shown in Fig. 1 or Less component, or with the configuration different from shown in Fig. 1.Each component shown in Fig. 1 can using hardware, software or its Combination is realized.
Referring to Fig. 4, Fig. 4 is the flow diagram of another kind simulation control method provided by the embodiment of the present invention, institute Simulation control method is stated applied to editing machine 100, can be executed by processor 110.Below to the specific stream of simulation control method Journey is described in detail.
Step S210 obtains the object run device 300 that user chooses from multiple performers 300, and generates and transport with target Control instruction is sent to object run device 300 by server 200 by the corresponding control instruction of row device 300.
In the embodiment of the present invention, editing machine 100 shows the control page of multiple performers 300, wherein multiple performers 300 can only be the performer 300 that the editing machine 100 has permission operation.User, which chooses one from editing machine 100, to be controlled The performer 300 of system is used as object run device 300, and generates control instruction corresponding with object run device 300, by control instruction It is sent to object run device 300 by server 200, other performers 300 will not receive the instruction.
Optionally, which is used to start the remote control function of object run device.
Step S220 receives the object run device 300 according to the control instruction received and carries out Authority Verification, raw At and issue authorization check result.
In the embodiment of the present invention, object run device 300 carries out Authority Verification, verifying editor according to the control instruction received Whether device 100 has permission control object run device 300.In step 210, editing machine 100 show the performer for having permission operation 300 belong to the authorization check for doing a control terminal, this step belongs to the Authority Verification of controlled terminal.Double verification guarantees system Safety.
And authorization check is generated as a result, authorization check result is sent to editing machine 100 by server 200.Editing machine 100 control interfaces show Authority Verification result.
Optionally, if 300 Authority Verification of performer passes through, it will start remote control function, so as to editing machine 100 Synchronous real-time pictures and the control instruction for receiving editing machine 100.
Step S230 receives the current picture data for the object run device 300 that object run device 300 issues.
In the embodiment of the present invention, the current picture data of object run device 300 are passed through server by object run device 300 200 are sent to editing machine 100, and for the picture data after performer 300 opens remote control function, the every frame of meeting passes through service in real time Device 200 is sent to corresponding editing machine 100.
Optional editing machine 100 parses real-time pictures data, and the picture result of performer 300 is carried out in control interface It presents in real time.
Step S240 obtains user to the operation information of current picture data, and generates operational order and lead to operational order It crosses server 200 and is sent to object run device 300.
In the embodiment of the present invention, editing machine 100 obtains user to the operation information of current picture data, wherein operation information Refer to that user operates performer in the real time execution picture medium-long range of control interface by mouse or handheld device touching 300.And operational order is generated, operational order is sent to object run device 300 by server 200.
Step S250 receives object run device 300 and receives operational order, and executes the operation to current picture data and refer to It enables, issues the current picture data after executing operational order.
In the embodiment of the present invention, object run device 300 receives operational order, and executes operation to current picture data and refer to It enables, the current picture data after execution operational order is sent to editing machine 100 by server 200.
Optionally, the instruction simulation received is true system event to respond user's operation by object run device 300.
Referring to Fig. 5, Fig. 5 is a kind of block diagram of Simulation Control device 400 provided by the embodiment of the present invention.Institute Stating Simulation Control device 400 may include that performer obtains module 410, data reception module 420 and data obtaining module.
Performer obtains module 410, the object run device chosen from the multiple performer 300 for obtaining user 300, and control instruction corresponding with the object run device 300 is generated, the control instruction is sent out by the server 200 It send to the object run device 300.
In the embodiment of the present invention, performer obtains the step S210 that module 410 is used to execute Fig. 4, about the performer The specific descriptions for obtaining module 410 are referred to the detailed description of step S210 in Fig. 4.
Data reception module 420, the current picture data issued for receiving the object run device 300.
In the embodiment of the present invention, data reception module 420 is used to execute the step S230 of Fig. 4, about the data receiver The specific descriptions of module 420 are referred to the detailed description of step S230 in Fig. 4.
Data obtaining module 430, for receiving the object run device 300 of the sending of object run device 300 When current picture data, user is obtained to the operation information of presently described current picture data, and generate operational order, it will be described Operational order is sent to the object run device 300 by the server 200.
In the embodiment of the present invention, data obtaining module 430 is used to execute the step S240 of Fig. 4, about the acquisition of information The specific descriptions of module are referred to the detailed description of step S240 in Fig. 4.
Data reception module 420 is also used to receive object run device 300 and receives operational order, and to current picture data The operational order is executed, the current picture data after executing operational order are issued.
In the embodiment of the present invention, data reception module 420 is also used to execute the step S250 of Fig. 4, connects about the data The specific descriptions for receiving module 420 are referred to the detailed description of step S250 in Fig. 4.
It will be understood by those skilled in the art that the embodiment of the present invention can provide as method, apparatus or computer program production Product.Therefore, in terms of the embodiment of the present invention can be used complete hardware embodiment, complete software embodiment or combine software and hardware Embodiment form.Moreover, it wherein includes computer available programs generation that the embodiment of the present invention, which can be used in one or more, The meter implemented in the computer-usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) of code The form of calculation machine program product.
The embodiment of the present invention be referring to according to the method for the embodiment of the present invention, equipment (system) and computer program product Flowchart and/or the block diagram describe.It should be understood that can be realized by computer program instructions in flowchart and/or the block diagram The combination of process and/or box in each flow and/or block and flowchart and/or the block diagram.It can provide these calculating Processing of the machine program instruction to general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices Device 110 is to generate a machine, so that the finger executed by computer or the processor 110 of other programmable data processing devices It enables and generates to specify in one or more flows of the flowchart and/or one or more blocks of the block diagram The device of function.
It will be understood by those skilled in the art that the embodiment of the present invention can provide as method, apparatus or computer program production Product.Therefore, in terms of the embodiment of the present invention can be used complete hardware embodiment, complete software embodiment or combine software and hardware Embodiment form.Moreover, it wherein includes computer available programs generation that the embodiment of the present invention, which can be used in one or more, The meter implemented in the computer-usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) of code The form of calculation machine program product.
The embodiment of the present invention be referring to according to the method for the embodiment of the present invention, equipment (system) and computer program product Flowchart and/or the block diagram describe.It should be understood that can be realized by computer program instructions in flowchart and/or the block diagram The combination of process and/or box in each flow and/or block and flowchart and/or the block diagram.It can provide these calculating Processing of the machine program instruction to general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices Device 110 is to generate a machine, so that the finger executed by computer or the processor 110 of other programmable data processing devices It enables and generates to specify in one or more flows of the flowchart and/or one or more blocks of the block diagram The device of function.
In conclusion a kind of simulation control method provided in an embodiment of the present invention and device.The method is applied to emulation Control system, the simulation control subsystem include editing machine, server and multiple performers, are stored in the multiple performer Picture data;
The described method includes:
The editing machine obtains the object run device that user chooses from the multiple performer, and generates and the target The control instruction is sent to the object run device by the server by the corresponding control instruction of performer;
The current picture data of the object run device are sent to described by the object run device by the server Editing machine;
The editing machine obtains user to the operation information of presently described current picture data, and generates operational order, will The operational order is sent to the object run device by the server;
The object run device receives the operational order, and executes the operational order to the current picture data, The current picture data after the operational order will be executed, the editing machine is sent to by the server.
System is had reached in real time to be transferred to the operation result picture synchronization of performer gently by way of picture data stream Magnitude accesses the effect of terminal (editing machine);
The control operation of user's operation is translated into specified operational order and is sent to performer by system editing machine, and performer is again By instruction simulation at true system event, so that performer executes the operation of user.For example, point, touching, sliding, dragging, rotation, It furthers and zooms out.
The present invention may make system manager without being in visualization Central Control Room, anywhere can be by hand-held whole Access Arbitrary 3 D visualization operation module (performer) of end equipment (editing machine) quickly and efficiently, height emulates to be controlled in reduction Room visualization present the page and by point, touching, sliding, dragging, rotate, further and the touch control operations such as zoom out, reach content zero distance, Intuitive comfortable manipulation experience, while the lifting system efficiency of management, reduce O&M cost, allow the more absorbed application of user.
The foregoing is only a preferred embodiment of the present invention, is not intended to restrict the invention, for the skill of this field For art personnel, the invention may be variously modified and varied.All within the spirits and principles of the present invention, made any to repair Change, equivalent replacement, improvement etc., should all be included in the protection scope of the present invention.
It is obvious to a person skilled in the art that invention is not limited to the details of the above exemplary embodiments, Er Qie In the case where without departing substantially from spirit or essential attributes of the invention, the present invention can be realized in other specific forms.Therefore, no matter From the point of view of which point, the present embodiments are to be considered as illustrative and not restrictive, and the scope of the present invention is by appended power Benefit requires rather than above description limits, it is intended that all by what is fallen within the meaning and scope of the equivalent elements of the claims Variation is included within the present invention.Any reference signs in the claims should not be construed as limiting the involved claims.