A kind of air environment manufacturing method and deviceTechnical field
The invention belongs to home wiring control field more particularly to a kind of air environment manufacturing method and devices.
Background technology
The development of current game development industry is risen in this world, and it is huge that various game with the gesture covered the sky and the earth sweep across thisGame Market, various hand trips, page trip are even more countless.Regardless of being hand trip, page trip all with various scene of game, is led toDifferent scene of game is crossed, shows different game episodes.
However, in current home wiring control field, air products are detached with game environment, can not be produced and sports groundThe air environment that scape is mutually coordinated is unfavorable for enhancing the rendering of scene of game, it is difficult to which meeting increases the realism and telepresenc of gameDemand.
Invention content
The embodiment of the present invention is designed to provide a kind of air environment manufacturing method, it is intended to solve current air products withGame environment detaches, the problem of can not producing the air environment mutually coordinated with scene of game.
The embodiment of the present invention is achieved in that a kind of air environment manufacturing method, including:
Obtain current environment data;
According to the current environment data and the scene of game database of pre-configuration got, scene of game is identified;
According to the scene of game identified, the air environment mutually coordinated with the scene of game is produced.
The another object of the embodiment of the present invention is to provide a kind of air environment manufacturing device, including:
Current environment data acquisition module, for obtaining current environment data;
Scene of game identification module, for according to the current environment data and the scene of game data of pre-configuration gotLibrary identifies scene of game;
Air environment manufactures module, for according to the scene of game identified, producing and mutually coordinating with the scene of gameAir environment.
In embodiments of the present invention, according to the current environment data and the scene of game database of pre-configuration got,Identify scene of game;According to the scene of game identified, the air environment mutually coordinated with the scene of game is produced.It solvesAir products are detached with game environment at present, the problem of can not producing the air environment mutually coordinated with scene of game.Pass through cloudInternet of Things is held, air products and game environment are organically combined, various air products are produced and swum under the control of Internet of ThingsThe air environment that play scene is mutually coordinated, advantageous effect are two aspects, on the one hand, in game process, strengthen scene of gameRendering, increase the realism and telepresenc of game, the enjoyment of game greatly promoted, on the other hand, without by grasping manuallyMake air products, you can produce the air environment mutually coordinated with scene of game, improve the degree of intelligence of air products.
Description of the drawings
Fig. 1 is the realization flow chart of air environment manufacturing method provided in an embodiment of the present invention;
Fig. 2 is the realization flow chart of air environment manufacturing method step S101 provided in an embodiment of the present invention;
Fig. 3 is the realization flow chart of air environment manufacturing method step S102 provided in an embodiment of the present invention;
Fig. 4 is the realization flow chart of air environment manufacturing method step S103 provided in an embodiment of the present invention
Fig. 5 is that air environment manufacturing method provided in an embodiment of the present invention preferably applies sample figure;
Fig. 6 is the structure diagram of air environment manufacturing device provided in an embodiment of the present invention.
Specific embodiment
In order to make the purpose , technical scheme and advantage of the present invention be clearer, with reference to the accompanying drawings and embodiments, it is rightThe present invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, andIt is not used in the restriction present invention.
Embodiment one
Fig. 1 is the realization flow chart of air environment manufacturing method provided in an embodiment of the present invention, and details are as follows:
In step S101, current environment data are obtained;
Step S101, specially:Every preset time, the current environment data that a game station platform issues are obtained.
In step s 102, according to the current environment data and the scene of game database of pre-configuration got, identificationScene of game;
Step S102, specially:
In the scene of game database of pre-configuration, by the current environment data got and the history environment data of storageIt is matched;
According to matching result, scene of game is identified.
In step s 103, according to the scene of game identified, the air ring mutually coordinated with the scene of game is producedBorder.
After step S101, step S102 and step S103 either steps, air environment manufacturing method further includes:
The update time limit of system time and configuration is read, judges to update whether the time limit reaches;
When reaching in the update time limit, connection scene of game identification server updates scene of game database.
Wherein, user can be pre-configured with the update time limit of scene of game database, for example, be configured to it is daily, weekly orUpdate one in every 10 days is inferior, the system monitoring update time limit, automatic to connect scene of game identification service when updating time limit arrivalDevice initiates game the renewal process of scene database, so as to get more scene of game.
In embodiments of the present invention, by high in the clouds Internet of Things, air products and game environment are organically combined, various airProduct produces the air environment mutually coordinated with scene of game under the control of Internet of Things, and advantageous effect is two aspects, a sideFace in game process, strengthens the rendering of scene of game, increases the realism and telepresenc of game, greatly promotes gameEnjoyment, on the other hand, improve the degree of intelligence of air products.
Embodiment two
Fig. 2 is the realization flow chart of air environment manufacturing method step S101 provided in an embodiment of the present invention, and details are as follows:
Step S201 passes through camera, the data of the action of real-time capture user's body and face variation;
Step S202 by infrared induction matrix, monitors the data of user's human body temperature variation in real time;
Step S203 by photosensitive sensor, detects the data of ambient light illumination variation in real time;
Step S204 passes through sound pick-up, the data of real-time collecting ambient sound variation.
In embodiments of the present invention, current environment data are obtained, convenient for subsequently being matched.
Embodiment three
The realization flow of configuration scene of game database that the embodiment of the present invention describes, details are as follows:
The incidence relation of history environment data and scene of game is established, scene of game database is configured;
Wherein, each described one scene of game of history environment data correlation.
In the present embodiment, using history environment data as index, linking for history environment data and scene of game is established,The correspondence of history environment data and scene of game is one-to-one.
Example IV
Fig. 3 is the realization flow chart of air environment manufacturing method step S102 provided in an embodiment of the present invention, and details are as follows:
In step S301, current environment data are matched with history environment data;
In step s 302, if current environment data and nervous terrified history environment Data Matching, identify sports groundScape is nervous horrible scene;
In step S303, if the history environment Data Matching of current environment data and water environment, scene of game is identifiedFor water environment scene;
In step s 304, if the history environment Data Matching of current environment data and dry scene, identifies sports groundScape is dry scene;
In step S305, if current environment data are matched with the environmental data for scene of drying, identify that scene of game isBlowing scene;
In step S306, if the history environment Data Matching of current environment data and war scene, identifies sports groundScape is war scene.
In embodiments of the present invention, using matching algorithm, current environment data with history environment data is matched, are madeThe accuracy rate for obtaining scene of game identification is high.
Embodiment five
Fig. 4 is the realization flow chart of air environment manufacturing method step S103 provided in an embodiment of the present invention, and details are as follows:
In step S401, when the scene of game identified is nervous horrible scene, control air-conditioning is according to preset temperatureSpend the temperature of coefficient adjustment present air environment;
In step S402, when the scene of game identified is water environment scene, control humidifier increases present airThe humidity of environment;
Wherein, water environment scene is:Surrounding has the scene of water.
In step S403, when the scene of game identified is dry scene, dehumidifier dry air is controlled;
In step s 404, when the scene of game identified is blowing scene, control fan is carried out according to default wind speedBlowing;
In step S405, when the scene of game identified is war scene, control humidifier releases preset concentrationThe smoke of gunpowder.
In embodiments of the present invention, in game process, the sky mutually coordinated with scene of game is produced by air productsCompression ring border so that user saves the operating time, improve operating efficiency without adjusting air products manually.
Embodiment six
Fig. 5 is that air environment manufacturing method provided in an embodiment of the present invention preferably applies sample figure, and details are as follows:
Game player starts game station;
Game station uploads operation data to game station platform;
Game station platform issues current environment data according to operation data to high in the clouds Internet of Things;
High in the clouds Internet of Things receives current environment data, according to the current environment data and the sports ground of pre-configuration gotScape database identifies scene of game, according to the scene of game identified, the air products of the second line of a couplet is controlled to produce and the gameThe air environment that scene is mutually coordinated.
Air products include but not limited to air-conditioning, clarifier, humidifier, dehumidifier, fan.
In embodiments of the present invention, in game process, the sky mutually coordinated with scene of game is produced by air productsCompression ring border strengthens the rendering of scene of game, increases the realism and telepresenc of game, greatly promotes the enjoyment of game.
Embodiment seven
Fig. 6 is the structure diagram of air environment manufacturing device provided in an embodiment of the present invention, which can run on skyIn gas product.For convenience of description, part related to the present embodiment is illustrated only.
Reference Fig. 6, the air environment manufacturing device, including:
Current environment data acquisition module 61, for obtaining current environment data;
Scene of game identification module 62, for according to the current environment data and the scene of game number of pre-configuration gotAccording to library, scene of game is identified;
Air environment manufactures module 63, for according to the scene of game identified, producing and mutually being assisted with the scene of gameThe air environment of tune.
As a kind of realization method of the present embodiment, in the air environment manufacturing device, the current environment dataAcquisition module, including:
User's body acts acquisition module, for passing through camera, the action of real-time capture user's body and face variationData;
User's human body temperature acquisition module for passing through infrared induction matrix, monitors the variation of user's human body temperature in real timeData;
Ambient light illumination acquisition module for passing through photosensitive sensor, detects the data of ambient light illumination variation in real time;
Ambient sound acquisition module, for passing through sound pick-up, the data of real-time collecting ambient sound variation.
As a kind of realization method of the present embodiment, in the air environment manufacturing device, the air environment manufactureDevice further includes:
Scene of game database configuration module, for establishing the incidence relation of history environment data and scene of game, configurationScene of game database;
Wherein, each described one scene of game of history environment data correlation.
As a kind of realization method of the present embodiment, in the air environment manufacturing device, the scene of game identificationModule, including:
Environmental data matching unit, for current environment data to be matched with history environment data;
Nervous horrible scene recognition unit, if for current environment data and nervous terrified history environment Data Matching,It is nervous horrible scene then to identify scene of game;
If water environment scene Recognition unit for current environment data and the history environment Data Matching of water environment, is knownOther scene of game is water environment scene;
If dry scene recognition unit for the history environment Data Matching of current environment data and dry scene, is knownOther scene of game is dry scene;
Blowing scene Recognition unit if being matched for current environment data with the environmental data for scene of drying, identifies tripScene of playing is blowing scene;
If war scene recognition unit for current environment data and the history environment Data Matching of war scene, is knownOther scene of game is war scene.
As a kind of realization method of the present embodiment, in the air environment manufacturing device, the air environment manufactureModule, including:
Temperature adjusts module, for when the scene of game identified is nervous horrible scene, control air-conditioning to be according to defaultTemperature coefficient adjustment present air environment temperature;
Humidity increases module, for when the scene of game identified is water environment scene, control humidifier to increase currentThe humidity of air environment;
Module is air-dried, for when the scene of game identified is dry scene, controlling dehumidifier dry air;
Blow-off module, for when the scene of game identified is blowing scene, control fan to be carried out according to default wind speedBlowing;
The smoke of gunpowder releases module, for when the scene of game identified is war scene, control humidifier to be released default denseThe smoke of gunpowder of degree.
Device provided in an embodiment of the present invention can be applied in aforementioned corresponding embodiment of the method, and details are referring to above-mentioned realityThe description of example is applied, details are not described herein.
Through the above description of the embodiments, it is apparent to those skilled in the art that the present invention can borrowHelp software that the mode of required common hardware is added to realize.The program can be stored in read/write memory medium, describedStorage medium, as random access memory, flash memory, read-only memory, programmable read only memory, electrically erasable programmable storageDevice, register etc..The storage medium is located at memory, and processor reads the information in memory, this hair is performed with reference to its hardwareMethod described in bright each embodiment.
The above description is merely a specific embodiment, but protection scope of the present invention is not limited thereto, anyThose familiar with the art in the technical scope disclosed by the present invention, all should by the change or replacement that can be readily occurred inIt is included within the scope of the present invention.Therefore, protection scope of the present invention should be subject to the protection scope in claims.