A kind of shared device temperature control system
[technical field]
The present invention relates to shared device control technology field more particularly to a kind of shared device temperature control systems.
[background technique]
Since the development of shared device control technology, people can be convenient, remotely control shared device in time, can also
To realize that the automatic control of shared device, such as some temperature control equipments can automatically adjust temperature according to ambient temperature
Degree, the task order that can also be issued according to user carries out the adjusting of temperature device, but intelligent temperature is adjusted in the prior art
Equipment adjusts task order for above two different temperature and is not distinguish, and is uniformly stored and executed, therefore cause
The confusion of storage and task management and execution.
[summary of the invention]
In order to solve the above problem in the prior art, the application is by increasing specific word in convert task command procedure
Section, such as task order type added field, shared device temperature control equipment type added field, user identity type are additional
Field, can identify the task order respectively is that shared device issues or automatically control task order, mark task life
It enables operated temperature control equipment, and mark issue the user identity of task order, the fine of task order may be implemented
Change and divide, storage and calling sequence are allocated according to different demarcation so as to subsequent.In this application, the temperature that shared device issues
Degree, which adjusts task order and temperature automatic adjustment task order, to be respectively present in cache and memory, and cache
Sectional management is carried out, corresponding task order is stored in cache according to operated temperature control equipment difference and is accordingly divided
Section, and determine that the priority scheduling in corresponding segment sorts according to user identity type difference, it is thus achieved that different type
Fining division, classification storage, rational management and the management of temperature adjusting task.
A kind of shared device temperature control system, it is improved in that the system includes control unit, multiple shared sets
The corresponding shared device temperature control equipment of standby and shared device and monitoring unit, wherein be equipped in every shared device pre-
The number of delimiting the organizational structure;The different cargos of storage in every shared device, the monitoring unit monitor warm in the main body of its corresponding shared device
Degree, and the master that the corresponding shared device temperature control equipment of the shared device adjusts shared device is controlled using described control unit
Body temperature.
Preferably, described control unit includes the first wireless transport module, user identity management module, user identity identification
Module, temperature sensor, temperature automatic adjustment module, temperature automatic adjustment task generation module, memory module, task schedule mould
Block;
Wherein memory module includes user ID data library, assignment database, scheduler task database, temperature automatic adjustment
Assignment database;
The user identity management module is for registering user and its identity, by user identifier and its subscriber identity information pair
It should be stored in the user ID data library of memory module, the subscriber identity information includes middle aged kinsfolk's identity, old man
Kinsfolk's identity, child household member's identity, guest's identity;
The task scheduling modules include task receiving submodule, task analysis transform subblock, scheduler task transmission
Module;
The task receiving submodule receive from the multiple shared device to shared device temperature control equipment
Multiple tasks information is simultaneously stored in assignment database, and the mission bit stream includes that user sets shared device temperature adjusting
The user identifier of standby task order and the shared device for issuing the task order;
The user identification module is used to obtain the user identifier stored in assignment database, and in user identity number
According to the matched and searched for carrying out user identifier in library, obtains subscriber identity information corresponding with the user identifier and be transferred to
Task analysis transform subblock;
The task analysis transform subblock carries out analysis to the mission bit stream in assignment database and format is converted, including
It parses the content of task order and identifies the shared device for issuing multiple tasks order according to user identifier, wherein parsing task
Order is to go out corresponding shared device temperature control equipment according to shared device temperature control equipment type, Type selection to identify
Command format, be converted into the task life that controlled shared device temperature control equipment can identify in conjunction with the order of shared device
It enables;And increase and be arranged in order four added fields after the last field of the task order after the conversion to be formed newly
Task order and be stored in scheduler task database, wherein increased after the last field of the task order after the conversion
First character section is task order type added field, increased second field is that shared device temperature control equipment type is additional
Field, increased third and fourth field are user identity type added field jointly;Wherein task order type add-word
Section is arranged to 0, for identifying the task order is issued by shared device;Wherein shared device temperature control equipment type
Added field, for identifying mission bit stream shared device temperature control equipment type adjusted, according to task order solution
The operated shared device temperature control equipment being precipitated is arranged shared device temperature control equipment type added field, works as task
Command analysis is that temperature adjusting, shared device temperature control equipment type added field difference are carried out to air-conditioning or heating respectively out
It is configured to 1 or 0;Wherein user identity type added field is used to identify the user identity for sending the mission bit stream, according to
User identity type added field is arranged in the received user identity of institute, when an institute received user identity be middle aged family respectively at
When member's identity, old man family member identities, child household member's identity or guest's identity, user identity type added field quilt
00,01,10,11 are respectively set to,
The scheduler task transmission submodule obtains the task order in scheduler task database and sends it to corresponding
Shared device temperature control equipment;
The temperature sensor is transferred to temperature automatic adjustment module for sensing current environmental temperature;
The temperature automatic adjustment module determines shared device temperature control equipment according to the received current environmental temperature of institute
Expectation adjust temperature, and be transferred to temperature automatic adjustment task generation module;
The temperature automatic adjustment task generation module is according to corresponding to shared device temperature control equipment type, model
The command format that shared device temperature control equipment can identify adjusts controlled share of temperature generation according to the received expectation of institute and sets
The temperature automatic adjustment task order that standby temperature control equipment can identify, and it is stored in temperature automatic adjustment assignment database
In, wherein the last field of temperature automatic adjustment task order of the generation is task order type added field, the task
Command type added field is arranged to 1, is auto-adjustment control for identifying the task order;
The temperature that the scheduler task transmission submodule is also used for obtaining in temperature automatic adjustment assignment database is adjusted automatically
Section task order simultaneously sends it to corresponding shared device temperature control equipment;
The shared device temperature control equipment includes microprocessor, memory, cache, storage distribution module, the
Two wireless communication modules and temperature control equipment;
Wherein second wireless communication module is used to receive the task life that the scheduler task transmission submodule transmission comes
It enables, and sends storage distribution module to;
The cache is divided into two segmentations, the respectively segmentation of air-conditioning task order and heating task order point
Section, i.e., the shared device task order of two segmentation difference stored adjustment air-conditionings and the shared device task order for adjusting heating;
The memory automatically adjusts task order for storage temperature;
For the storage distribution module for parsing received task order, the task order type in identification mission order is attached
Add field, if task order type added field is 1, it is determined that corresponding task order is temperature automatic adjustment task life
It enables, by the storage of corresponding task order into memory, if task order type added field 0, it is determined that corresponding order
Task order is adjusted for shared device temperature, the shared device temperature control equipment type for continuing to parse in the task order is attached
Add field and user identity type added field, and according to the shared device temperature control equipment type added field parsed
Corresponding task order is stored in corresponding segment in cache, and true according to the user identity type added field parsed
The priority scheduling sequence being scheduled in corresponding segment, it is by determining priority scheduling sequence that the storage of corresponding task order is slow to high speed
Deposit middle corresponding segment;I.e. if the shared device temperature control equipment type added field parsed is 1, then it represents that adjusted
Temperature device is air-conditioning, corresponding task order should be stored in the air-conditioning task order segmentation of cache, if parsed
Shared device temperature control equipment type added field be 0, then it represents that temperature device adjusted is heating, should will be corresponding
Task order is stored in the heating task order segmentation of cache;If the user identity type added field parsed point
Not Wei 00,01,10,11, then user identity be respectively middle aged kinsfolk's identity, old man family member identities, child household at
Member's identity or guest's identity, then each task order in the segmentation of each caching directives, according to the user's body parsed
Part type added field determines the preferential calling sequence in corresponding segment, wherein preferential call the middle aged kinsfolk's identity of sequence
> preferential to call the old man family member identities that sort > is preferential to call sequence child household member's identity > preferential calling sequence guest's body
Part;
The microprocessor for detecting in cache with the presence or absence of task order, when if there is task order according to
Above-mentioned preferential calling sequence obtains shared device temperature from two segmentations of cache respectively and adjusts task order, and control is altogether
It enjoys device temperature adjustment equipment and carries out temperature adjusting, then obtain temperature automatic control from memory if there is no task order
Task order, control shared device temperature control equipment carry out temperature adjusting.
The present invention is by increasing specific fields in convert task command procedure, such as task order type added field, altogether
Device temperature adjustment equipment type added field, user identity type added field are enjoyed, the task order can be identified respectively
It is that shared device issues or automatically control task order, identifies temperature control equipment operated by task order, Yi Jibiao
Know issue task order user identity, may be implemented task order fining divide, so as to it is subsequent according to different demarcation into
Row distribution storage and calling sequence.In this application, the temperature that shared device issues adjusts task order and temperature automatic adjustment
Task order is to be respectively present in cache and memory, and cache carries out sectional management, according to operated temperature
Corresponding task order is stored in corresponding segment in cache by adjustment equipment difference, and different really according to user identity type
The priority scheduling sequence being scheduled in corresponding segment, it is thus achieved that the fining that different type temperature adjusts task divides, classification
Storage, rational management and management.
[Detailed description of the invention]
Described herein the drawings are intended to provide a further understanding of the invention, constitutes part of this application, but
It does not constitute improper limitations of the present invention, in the accompanying drawings:
Fig. 1 is the frame diagram of the control unit in shared device temperature control system of the invention.
[specific embodiment]
Come that the present invention will be described in detail below in conjunction with attached drawing and specific embodiment, illustrative examples therein and says
It is bright to be only used to explain the present invention, but it is not intended as inappropriate limitation of the present invention.
In the prior art, some temperature control equipments can automatically adjust temperature according to ambient temperature, can also root
The adjusting of temperature device is carried out according to the task order that user issues, but intelligent temperature adjustment equipment is for above-mentioned in the prior art
Two different temperature adjust task order and are not distinguish, and are uniformly stored and executed, therefore cause storage and task pipe
Reason and the confusion executed.
To overcome drawbacks described above, the basic idea of the invention is that: the temperature that shared device issues adjusts task order and temperature
Degree automatic adjustment task order is to be respectively present in cache and memory, and cache carries out sectional management, for
The temperature that shared device issues adjusts task order and is then deposited corresponding task order according to operated temperature control equipment difference
Enter corresponding segment in cache, and determine that the priority scheduling in corresponding segment sorts according to user identity type difference,
It is thus achieved that different type temperature adjusts fining division, classification storage, rational management and the management of task.
The invention proposes a kind of shared device temperature control system, which includes control unit, multiple shared devices
And the corresponding shared device temperature control equipment of shared device and monitoring unit, wherein be equipped in every shared device predetermined
Number;The different cargos of storage, the monitoring unit monitor the main body temperature of its corresponding shared device in every shared device,
And the main body that the corresponding shared device temperature control equipment of the shared device adjusts shared device is controlled using described control unit
Interior temperature.
In embodiment provided by the invention, using the shared device for being equipped with shared device temperature control equipment, set to shared
Standby temperature carries out remote control and regulation, since equipment is different from the storage cargo of equipment, will be equipped in every shared device
Predetermined number is arranged independent temperature to the corresponding shared device of each number and adjusts rule, for example, shared device A storage is
Fruits cargo is then to adapt to fruits goods using the temperature that the corresponding temperature control adjustment equipment of shared device A adjusts shared device A
The temperature that object saves, shared device B storage is cold drink class cargo, then utilizes the corresponding temperature control adjustment equipment tune of shared device B
The temperature of section shared device B is the temperature for adapting to cold drink class cargo and saving, for another example the region cold drink class of shared device A
The demand of cargo is larger, and the cargo for being fruits cargo, needing replacing in shared device A of shared device A storage, then matches
When goods person is carried out with goods, the temperature of shared device A is adjusted using the temperature control equipment of shared device A, temperature control equipment can
Remote control and regulation can also be regulated and controled with on-site manual, and the temperature of the shared device need to be arranged according to the cargo in shared device.
As shown in Figure 1, described control unit includes the first wireless transport module, user identity management module, user identity
Identification module, temperature sensor, temperature automatic adjustment module, temperature automatic adjustment task generation module, memory module, task tune
Spend module;The multiple shared device is smart phone, tablet computer, notebook or desktop computer.
Wherein memory module includes user ID data library, assignment database, scheduler task database, temperature automatic adjustment
Assignment database;
The user identity management module is for registering user and its identity, by user identifier and its subscriber identity information pair
It should be stored in the user ID data library of memory module,
In one embodiment, the subscriber identity information includes middle aged kinsfolk's identity, old man kinsfolk's body
Part, child household member's identity, guest's identity;
The task scheduling modules include task receiving submodule, task analysis transform subblock, scheduler task transmission
Module;
The task receiving submodule receive from the multiple shared device to shared device temperature control equipment
Multiple tasks information is simultaneously stored in assignment database, and the mission bit stream includes that user sets shared device temperature adjusting
The user identifier of standby task order and the shared device for issuing the task order;
The user identification module is used to obtain the user identifier stored in assignment database, and in user identity number
According to the matched and searched for carrying out user identifier in library, obtains subscriber identity information corresponding with the user identifier and be transferred to
Task analysis transform subblock;
The task analysis transform subblock carries out analysis to the mission bit stream in assignment database and format is converted, including
It parses the content of task order and identifies the shared device for issuing multiple tasks order according to user identifier, wherein parsing task
Order is to go out corresponding shared device temperature control equipment according to shared device temperature control equipment type, Type selection to identify
Command format, be converted into the task life that controlled shared device temperature control equipment can identify in conjunction with the order of shared device
It enables;And increase and be arranged in order multiple added fields after the last field of the task order after the conversion to be formed newly
Task order and be stored in scheduler task database,
Increase and be arranged in one embodiment four added fields to appoint to form new task order and be stored in scheduling
Be engaged in database in, wherein it is described convert after task order last field after increased first character section into task order type
Added field, increased second field are shared device temperature control equipment type added field, third and fourth increased
Field is user identity type added field jointly;Wherein task order type added field is arranged to 0, described for identifying
Task order is issued by shared device;Wherein shared device temperature control equipment type added field, for identifying described appoint
Business information shared device temperature control equipment type adjusted, the operated shared device temperature parsed according to task order
Adjustment equipment is arranged shared device temperature control equipment type added field.
It in one embodiment, is that temperature adjusting is carried out to air-conditioning or heating respectively when task order parses, it is shared to set
Standby temperature control equipment type added field is respectively arranged to 1 or 0;Wherein user identity type added field is for identifying hair
User identity type added field is arranged according to the received user identity of institute, one in the user identity for sending the mission bit stream
In a embodiment, when the received user identity of institute is middle aged kinsfolk's identity, old man family member identities, child household respectively
Member identities or when guest's identity, user identity type added field is respectively set to 00,01,10,11,
The scheduler task transmission submodule obtains the task order in scheduler task database and sends it to corresponding
Shared device temperature control equipment;
The temperature sensor is transferred to temperature automatic adjustment module for sensing current environmental temperature;
The temperature automatic adjustment module determines shared device temperature control equipment according to the received current environmental temperature of institute
Expectation adjust temperature, and be transferred to temperature automatic adjustment task generation module;
The temperature automatic adjustment task generation module is according to corresponding to shared device temperature control equipment type, model
The command format that shared device temperature control equipment can identify adjusts controlled share of temperature generation according to the received expectation of institute and sets
The temperature automatic adjustment task order that standby temperature control equipment can identify, and it is stored in temperature automatic adjustment assignment database
In, wherein the last field of temperature automatic adjustment task order of the generation is task order type added field, the task
Command type added field is arranged to 1, is auto-adjustment control for identifying the task order;
The temperature that the scheduler task transmission submodule is also used for obtaining in temperature automatic adjustment assignment database is adjusted automatically
Section task order simultaneously sends it to corresponding shared device temperature control equipment;
The shared device temperature control equipment includes microprocessor, memory, cache, storage distribution module, the
Two wireless communication modules and temperature control equipment;
Wherein second wireless communication module is used to receive the task life that the scheduler task transmission submodule transmission comes
It enables, and sends storage distribution module to;
The cache is divided at least two segmentations, and it is corresponding total that difference is segmented respectively different temperature control equipment
Enjoy equipment task order;
In one embodiment, the cache is divided into two segmentations, and respectively air-conditioning task order is segmented
It is segmented with heating task order, i.e., two are segmented the shared device task order of stored adjustment air-conditioning respectively and adjust being total to for heating
Enjoy equipment task order;
The memory automatically adjusts task order for storage temperature;
For the storage distribution module for parsing received task order, the task order type in identification mission order is attached
Add field, if task order type added field is 1, it is determined that corresponding task order is temperature automatic adjustment task life
It enables, by the storage of corresponding task order into memory, if task order type added field 0, it is determined that corresponding order
Task order is adjusted for shared device temperature, the shared device temperature control equipment type for continuing to parse in the task order is attached
Add field and user identity type added field, and according to the shared device temperature control equipment type added field parsed
Corresponding task order is stored in corresponding segment in cache, and true according to the user identity type added field parsed
The priority scheduling sequence being scheduled in corresponding segment, it is by determining priority scheduling sequence that the storage of corresponding task order is slow to high speed
Deposit middle corresponding segment;I.e. if the shared device temperature control equipment type added field parsed is 1, then it represents that adjusted
Temperature device is air-conditioning, corresponding task order should be stored in the air-conditioning task order segmentation of cache, if parsed
Shared device temperature control equipment type added field be 0, then it represents that temperature device adjusted is heating, should will be corresponding
Task order is stored in the heating task order segmentation of cache;If the user identity type added field parsed point
Not Wei 00,01,10,11, then user identity be respectively middle aged kinsfolk's identity, old man family member identities, child household at
Member's identity or guest's identity, then each task order in the segmentation of each caching directives, according to the user's body parsed
Part type added field determines the preferential calling sequence in corresponding segment, wherein preferential call the middle aged kinsfolk's identity of sequence
> preferential to call the old man family member identities that sort > is preferential to call sequence child household member's identity > preferential calling sequence guest's body
Part;
The microprocessor for detecting in cache with the presence or absence of task order, when if there is task order according to
Above-mentioned preferential calling sequence obtains shared device temperature from two segmentations of cache respectively and adjusts task order, and control is altogether
It enjoys device temperature adjustment equipment and carries out temperature adjusting, then obtain temperature automatic control from memory if there is no task order
Task order, control shared device temperature control equipment carry out temperature adjusting.
Since in this application, the temperature that shared device issues adjusts task order and temperature automatic adjustment task order is
It is respectively present in cache and memory, and cache carries out sectional management, not according to operated temperature control equipment
It is stored in corresponding segment in cache with by corresponding task order, and is accordingly being divided according to the determination of user identity type difference
Priority scheduling sequence in section, it is thus achieved that different type temperature adjusts the fining division of task, classification storage, rationally adjusts
Degree and management.
The above description is only a preferred embodiment of the present invention, thus it is all according to the configuration described in the scope of the patent application of the present invention,
The equivalent change or modification that feature and principle are done, is included in the scope of the patent application of the present invention.