Summary of the invention
A kind of body-sensing intelligent illuminating system and method are provided for the deficiency and limitation, the present invention of existing intelligent lighting, is led toCross somatosensory device and realize interaction to manipulating illumination, enable users to the completion of simple limb action and the control of lighting apparatus andInteraction.
In order to realize the demand, solve the problems, such as current, the technological means that the present invention uses is as follows:
A kind of body-sensing intelligent illuminating system based on multi-point source includes: hardware system and software systems, wherein hardware systemSystem includes display equipment, personal computer, body feeling interaction controller, lighting device and DMX converter;Show equipment: for showingShow the visual information in this system, so that user interacts;Body feeling interaction controller is by body-sensing information input for userTo personal computer, interaction is realized;DMX converter, for computer end signal to be converted to the identifiable signal of lighting device, andIt spreads out of to lighting device;Lighting device, for showing actual illumination effect;
Software systems include: body feeling interaction input module, logic interactive module, user interface is shown and management module, photographBright control output module, wherein
Body feeling interaction input module for acquiring the action input information of user, while being passed in interactive system;
Logic interactive module, for controlling overall logic, according to body feeling interaction controller provide user's click information intoInteraction results are fed back to user by user interface display module by row judgement, and are transmitted input information and exported to Lighting controlModule;
User interface is shown and management module, for providing the display refresh interface of UI, and reception from logic judgmentThe order of module transfer loads different resources, shows interaction results on the display device;
Lighting control output module illuminates display result with entity for showing the final illuminating effect of interactive systemDevice is accurately presented.
Preferably, Lighting control output module includes:
Data conversion module is translated into the acceptable data letter of illumination apparatus for handling obtained data informationBreath;
Lighting control module is assigned to illumination apparatus for data information.
A kind of body-sensing Intelligent illuminating method using the body-sensing intelligent illuminating system based on multi-point source, including following stepIt is rapid:
Step 1, change position interactive step
Step 1.1, the mobile arm of user are double-clicked to the change position button being located in main interface with finger;System willClick event is passed to logic judgment module, switches to position interactive interface according to judging result;To occur bowing for room in interfaceView and the location point icon of user, and there are four icons below interface, respectively represent four fixed point positions in roomIt sets;
Step 1.2, user, which make gesture, will change the character positions in top view;Relaxation state be it is slack, clench fistTo walk forward, open one's hand to fall back backward, hand is to be moved to the left toward left swing, and hand turns right pendulum to move right;System is by gestureEvent is passed to logic judgment module, is changed according to the gesture that obtains of judgement to the character positions in top view, and to illuminationIt controls output module and sends location information.
Step 1.3, the information according to receiving, the data conversion module of Lighting control output module can first by afferent message intoRow processing, and it is passed to lighting control module, lighting control module, which receives information, can change corresponding lighting effects, and lead toOver-illumination device is shown;
Step 1.4, user click icon position, and icon gives user's feedback of click in a manner of being highlighted,System can change the image in interface according to the location information of different icons, and display image is positioned at selected icon fixed positionThe image of video camera;
Step 1.5, user click return push-button position, and system can return to main interface, and by position interactive interfaceState save, and keep the Information invariability of Lighting control output module;
Step 2, Alternative Attribute interactive step
Step 2.1, the mobile arm of user are double-clicked to the Alternative Attribute button being located in main interface with finger.System willClick event is passed to logic judgment module, switches to attribute interactive interface according to judging result.By appearance distance user in interfaceImage in the nearest fixed point video camera in position, and color and brightness button for change.
Step 2.2, user click icon position, and icon gives user's feedback of click in a manner of being highlighted,System can change the correspondence attribute of light source shown in the image in interface according to the location information of different icons, show imageFor positioned at the image of the video camera apart from selected icon fixed position.And changed attribute is sent to Lighting control output moduleInformation.
Step 2.3, the information according to receiving, the data conversion module of Lighting control output module can first by afferent message intoRow processing, and it is passed to lighting control module, lighting control module, which receives information, can change corresponding lighting effects, and lead toOver-illumination device is shown.
Using the System and method in the present invention, can bring the following benefits:
1. utilizing lamps intelligent control technology, the higher LED device of current popularization degree and home computer are combined, intelligence is madeIt can illuminate more universal.Meanwhile the intelligent control of illumination has less energy-consuming not available for traditional lighting, easy-to-use etc. excellentPoint solves the problems, such as that traditional lighting energy consumption is big, is difficult to control illumination at any time, is beneficial to energy conservation the realization of emission reduction.
2. by intelligent lighting in conjunction with body feeling interaction technology.User can be interacted by simple limb action, thisInteractive mode not only increases interactive and interest, and normal procedure intelligent may be implemented and illuminate the interaction content being difficult to realize.
Specific embodiment
As illustrated in fig. 1 and 2, the embodiment of the present invention provides a kind of body-sensing intelligent illuminating system, with civil PC, moreMedia output devices, body-sensing input equipment and lighting device be hardware components, using runs software part on PC come intoThe simulation of row virtual reality recycles civil other multimedia output apparatus that illumination simulation effect is supplied to the person of touring, shinesBright equipment real-time exhibition simulates effect.
The hardware components of the system include display equipment, personal computer, body feeling interaction controller, lighting device and DMXConverter.Software section includes the body-sensing intelligent illuminating system software based on multi-point source.Wherein:
Display equipment: for showing the visual information in this system, the interface UI is shown, so that user interacts.
Personal computer: for running the software section in this system.It, which must be one, smooth to run based on moreThe body-sensing intelligent illuminating system software of point light source, and have the PC of cable interface.It allow for in this systemOther hardware are compatible well and work.Its effect is the software of smooth operation this system, receives to control from body feeling interactionThe input information of device is simultaneously sent to software, and software is further according to build-in function by interaction results by connecting on a personal computerDisplay equipment is exported.
Body feeling interaction controller: user can be used body feeling interaction controller and interact with this system.It is one orMore than one piece body feeling interaction controller, and (such as Thalmic Labs company compatible with software and personal computer in the present systemThe MYO armlet game motion sensing control device and other kinds of motion sensing control device of production).His effect is to receive the body-sensing of userAction input information, and they are transmitted to software by the interface on personal computer.
DMX converter: for connecting computer and lighting device, computer end signal is converted into the identifiable letter of lighting deviceNumber, and spread out of by the interface of the other end to lighting device.
Lighting device: for showing the visual information in this system, actual illumination effect is shown.This equipment is necessary for LEDLamp group or LED dot matrix, for exporting actual lighting effects.
Software section includes interactive module and Lighting control output module.Wherein:
Interactive module is used to receive and handle the touch data information of user, and the interactive module includes: that body feeling interaction is defeatedEnter module, logic interactive module, user interface is shown and management module.Wherein:
Body feeling interaction input module handles the action input information of user, logic interactive module is waited to use for acquiring.It can the incoming user action data of acceptor sense controller, and the action data that is inputted according to user in a period of time and pre-The action data of system judges the action state of current user, and tells this action state and details to other modules.
Logic interactive module is inputted according to the user that body feeling interaction input module provides and is carried out for controlling overall logicInteraction results are simultaneously fed back to user by virtual reality visual display module by operation, and it is defeated to Lighting control to transmit input informationModule out.It also manages functional module locating when current operation, can switch currently running function according to the input of userModule, to realize different function and operation.Functional module can be increased and decreased according to demand, to facilitate the need for expanding this systemIt asks.
User interface is shown and management module, provides the UI display refresh interface of (user interface, User Interface),When logic interactive module calls user interface to show with management module, which shows corresponding UI information, and receives andThe order transmitted from logic judgment module, loads different resources, shows interaction results on the display device.
Lighting control output module is used to receive the input information of logic interactive module, and converts it into as lighting deviceAcceptable data information, and it is transferred to lighting apparatus, so that it is expressed the illuminating effect that user needs.Wherein:
Data conversion module is for handling obtained data information, after handling in simulated scenario, to obtain to eachIllumination apparatus controls data, and is translated into the acceptable data information of illumination apparatus.
Lighting control module is used to that each illumination apparatus will to be reached under data information that data conversion module obtains.
A kind of body-sensing Intelligent illuminating method based on multi-point source, comprising the following steps:
Step 1, change position interactive step, as shown in Figures 3 and 4,
Execute following logic: the user interface in display equipment is shown and management module updates " mouse " in interface firstPosition, user is double-clicked with finger, after body feeling interaction input module judges gesture, the position coordinates of " mouse " be finger touchingThe coordinate for the point touched, logic judgment module are compared according to the induction range of the coordinate and icon, if coordinate is located at iconIn induction range, then it is determined as that the icon is clicked, therewith, frame appears in around the pattern, while the display figure in interfaceAs changing;If user, which makes gesture (wave, wave to the right to the left, clench fist, loose one's grip), judges gesture through body feeling interaction input moduleAfterwards, the corresponding signal of gesture is directly passed to logic judgment module, logic judgment module is according to afferent message to representing positionCoordinate is judged, if coordinate is located in mobile range, represents the position change of the icon of position.Specifically:
Step 1.1, the mobile arm of user are double-clicked to the change position button being located in main interface with finger.System willClick event is passed to logic judgment module, switches to position interactive interface according to judging result.To occur bowing for room in interfaceView and the location point icon of user, and there are four icons below interface, respectively represent four fixed point positions in roomIt sets.
Step 1.2, user, which make gesture, will change the character positions in top view.Relaxation state be it is slack, clench fistTo walk forward, open one's hand to fall back backward, hand is to be moved to the left toward left swing, and hand turns right pendulum to move right.System is by gestureEvent is passed to logic judgment module, is changed according to the gesture that obtains of judgement to the character positions in top view, and to illuminationIt controls output module and sends location information.
Step 1.3, the information according to receiving, the data conversion module of Lighting control output module can first by afferent message intoRow processing, and it is passed to lighting control module, lighting control module, which receives information, can change corresponding lighting effects, and lead toOver-illumination device is shown.
Step 1.4, user click icon position, and icon gives user's feedback of click in a manner of being highlighted,System can change the image in interface according to the location information of different icons, and display image is positioned at selected icon fixed positionThe image of video camera.
Step 1.5, user click return push-button position, and system can return to main interface, and by position interactive interfaceState save, and keep the Information invariability of Lighting control output module.
Step 2, Alternative Attribute interactive step, as it can be seen in figures 5 and 6,
Step 2.1, the mobile arm of user are double-clicked to the Alternative Attribute button being located in main interface with finger.System willClick event is passed to logic judgment module, switches to attribute interactive interface according to judging result.By appearance distance user in interfaceImage in the nearest fixed point video camera in position, and color and brightness button for change.
Step 2.2, user click icon position, and icon gives user's feedback of click in a manner of being highlighted,System can change the correspondence attribute of light source shown in the image in interface according to the location information of different icons, show imageFor positioned at the image of the video camera apart from selected icon fixed position.And changed attribute is sent to Lighting control output moduleInformation.
Step 2.3, the information according to receiving, the data conversion module of Lighting control output module can first by afferent message intoRow processing, and it is passed to lighting control module, lighting control module, which receives information, can change corresponding lighting effects, and lead toOver-illumination device is shown.
Step 2.4, user click return push-button position, and system can return to main interface, and by position interactive interfaceState save, and keep the Information invariability of Lighting control output module.
In the present invention, Alternative Attribute function is interacted by button, and the corresponding pattern material of attribute is equivalent toButton, program tell program some button current state using event system, and for these buttons, following three kinds of things are arrangedPart: hand moves into event (OnHover), clicks event (OnClick), hand removal event (OnExit).Each there is one to sentenceDetermine the main body that region is used as button, the implementation method of each event is as follows:
Hand moves into event (OnHover): the mapping of the arm position of user on the screen is outside the determinating area of the buttonIt is moved in determinating area.At the time of trigger timing is that hand shift-in is gone.It, which can be used to execute hand, moves into the function needed when buttonCan, such as button frame discoloration etc..
Click event (OnClick): reached after last time hand immigration button with the time of contact of screen and pressed lower criticalTime.Judge whether event triggers by button, trigger timing is at the time of reaching to press the crash time.Among these comprising two ginsengsNumber: 1. selected icon corresponds to the current state of attribute;2. the current state of selected icon.This event is a master of the buttonEvent is wanted, its function to be executed when can be clicked for executive button, such as outer luminous appearing and subsiding, color and brightSelection and cancellation selection of degree etc..
Hand removes event (OnExit): the mapping of the arm position of user on the screen is moved out of the button determinating areaIt moves outside determinating area.At the time of trigger timing is that hand is removed from button determinating area.It can be used to notify and run hand shiftingThe function of needing to be implemented when button out, such as button frame cancel discoloration etc..
The poll needs of each button are run in the major cycle of interactive program.By above-mentioned button system and relevantEvent trigger mechanism, this system allow for user to interact using button.
By method described above, somatosensory device and the body-sensing intelligent illuminating system based on multi-point source is can be used in userIn simulated scenario interact.The purpose of the present invention is handed over by using the body-sensing in digital multimedia technology and this patentMutual method a kind of more novel, the content intelligent lighting controls interactive experience more abundant that allows user to experience.