CN109470303B - Method and device for acquiring temperature and humidity data information - Google Patents

Method and device for acquiring temperature and humidity data information Download PDF

Info

Publication number
CN109470303B
CN109470303B CN201811276699.9A CN201811276699A CN109470303B CN 109470303 B CN109470303 B CN 109470303B CN 201811276699 A CN201811276699 A CN 201811276699A CN 109470303 B CN109470303 B CN 109470303B
Authority
CN
China
Prior art keywords
data information
area
temperature
humidity
displayed
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201811276699.9A
Other languages
Chinese (zh)
Other versions
CN109470303A (en
Inventor
许超
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Mobvoi Innovation Technology Co Ltd
Original Assignee
Mobvoi Innovation Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mobvoi Innovation Technology Co Ltd filed Critical Mobvoi Innovation Technology Co Ltd
Priority to CN201811276699.9A priority Critical patent/CN109470303B/en
Publication of CN109470303A publication Critical patent/CN109470303A/en
Application granted granted Critical
Publication of CN109470303B publication Critical patent/CN109470303B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01DMEASURING NOT SPECIALLY ADAPTED FOR A SPECIFIC VARIABLE; ARRANGEMENTS FOR MEASURING TWO OR MORE VARIABLES NOT COVERED IN A SINGLE OTHER SUBCLASS; TARIFF METERING APPARATUS; MEASURING OR TESTING NOT OTHERWISE PROVIDED FOR
    • G01D21/00Measuring or testing not otherwise provided for
    • G01D21/02Measuring two or more variables by means not covered by a single other subclass
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • H04L12/2807Exchanging configuration information on appliance services in a home automation network

Landscapes

  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Studio Devices (AREA)

Abstract

The embodiment of the invention discloses a method and a device for acquiring temperature and humidity data information, relates to the technical field of data processing, and can save equipment cost and equipment maintenance cost on the premise of ensuring that an intelligent home provides equivalent intelligent service. The embodiment of the invention adopts the main technical scheme that: controlling a camera to collect images of the hygrothermograph, wherein the camera has the function of being accessed to a network; identifying temperature data information and humidity data information displayed on the image, wherein the hygrothermograph does not have a function of connecting a network; and reporting first information to a server associated with the camera through the network, wherein the first information comprises the temperature data information and the humidity data information and is used for indicating the server to share the temperature data information and the humidity data information with other associated equipment in the network. The embodiment of the invention is mainly applied to acquiring the current temperature and humidity data information.

Description

Method and device for acquiring temperature and humidity data information
Technical Field
The embodiment of the invention relates to the technical field of data processing, in particular to a method and a device for acquiring temperature and humidity data information.
Background
The intelligent home is characterized in that various intelligent devices in the home, such as audio and video devices, lighting devices, security protection devices, network household appliances and the like, are accessed to the same network through the Internet of things technology, and accordingly, multifunctional services such as audio and video control, lighting control, security protection control, household appliance control and the like are provided for people. Compared with the common home, the intelligent home has the traditional living function, and also has the function of increasing network communication among a plurality of intelligent devices and between the intelligent devices and the server to achieve unified intelligent control management of the intelligent devices by people, so that comprehensive intelligent home experience is provided for people.
At present, in an intelligent home, temperature and humidity sensors are used for measuring indoor temperature and humidity data in real time and reporting the indoor temperature and humidity data to a server, and the server sends the temperature and humidity data to corresponding equipment, so that the equipment executes preset instruction operation, for example, the temperature and humidity data are sent to air conditioning equipment, and then the air conditioning equipment automatically controls and executes operations such as opening/closing and adjusting modes when the indoor temperature and humidity meet certain conditions. However, if the temperature and humidity sensor fails, the temperature and humidity sensor needs to be repaired or replaced in time, otherwise, during the failure, the smart home cannot provide the automatic control service because the temperature and humidity data cannot be obtained, but the market price of the equipment of the smart home is expensive, which also makes the maintenance cost higher.
Disclosure of Invention
In view of this, embodiments of the present invention provide a method and an apparatus for acquiring temperature and humidity data information, and mainly aim to acquire temperature and humidity data information in an intelligent home by using a traditional thermo-hygrometer, where the cost of the traditional thermo-hygrometer is low, so that the equipment cost and the maintenance cost of the equipment are saved on the premise of ensuring that the intelligent home provides the same intelligent service.
In order to achieve the above purpose, the embodiments of the present invention mainly provide the following technical solutions:
in a first aspect, an embodiment of the present invention provides a method for acquiring temperature and humidity data information, where the method includes:
controlling a camera to collect images of the hygrothermograph, wherein the camera has the function of being accessed to a network;
identifying temperature data information and humidity data information displayed on the image, wherein the hygrothermograph does not have a function of connecting a network;
and reporting first information to a server associated with the camera through the network, wherein the first information comprises the temperature data information and the humidity data information and is used for indicating the server to share the temperature data information and the humidity data information with other associated equipment in the network.
Optionally, the identifying the temperature data information and the humidity data information displayed on the image includes:
a first area and a second area are selected on the image in a circle mode, wherein the first area is an area occupied by displaying temperature data information, and the second area is an area where displaying humidity data information is located;
and reading the temperature value displayed in the first area and the humidity value displayed in the second area.
Optionally, the circling the first region and the second region on the image includes:
acquiring data information displayed on the image;
identifying temperature identification information and humidity identification information in the displayed data information;
and determining a first area corresponding to the temperature identification information and a second area corresponding to the humidity identification information according to a preset circling size according to the position of the temperature identification information in the image and the position of the humidity identification information in the image.
Optionally, the identifying the temperature data information and the humidity data information displayed on the image includes:
inquiring temperature data information displayed in the first area and/or inquiring humidity data information displayed in the second area according to a preset time period; and/or
And inquiring temperature data information displayed in the first area and/or inquiring humidity data information displayed in the second area according to the triggered acquisition request operation instruction.
Optionally, the method further includes:
detecting the intensity of light reflected by the display picture of the hygrothermograph, and if the intensity of the reflected light is greater than a first preset threshold value, adjusting the shooting angle of the camera;
judging whether the temperature data information displayed in the first area is read or not, if not, marking the system time corresponding to the reading operation, and feeding back that the server fails to read the temperature data information; and/or the presence of a gas in the gas,
and judging whether humidity data information displayed in the second area is read or not, if not, marking system time corresponding to the reading operation, and feeding back that the server fails to read the humidity data information.
Optionally, the method further includes:
and if the intensity of the light reflected by the display picture of the hygrothermograph is detected to be smaller than a second preset threshold value, controlling the camera to start a night shooting mode to acquire data information in the first area/the second area.
In a second aspect, an embodiment of the present invention further provides an apparatus for acquiring temperature and humidity data information, where the apparatus includes:
the acquisition unit is used for controlling the camera to acquire images of the hygrothermograph, and the camera has the function of being accessed to a network;
the identification unit is used for identifying temperature data information and humidity data information displayed on the image acquired by the acquisition unit, and the hygrothermograph does not have a network connection function;
and the reporting unit is used for reporting first information to a server associated with the camera through the network, wherein the first information comprises the temperature data information and the humidity data information and is used for indicating the server to share the temperature data information and the humidity data information with other associated equipment in the network.
Optionally, the identification unit includes:
the selection module is used for selecting a first area and a second area on the image in a circling way, wherein the first area is an area occupied by the displayed temperature data information, and the second area is an area where the displayed humidity data information is located;
and the reading module is used for reading the temperature value displayed in the first area circled by the circled module and the humidity value displayed in the second area circled by the circled module.
Optionally, the circle selection module includes:
the acquisition submodule is used for acquiring data information displayed on the image;
the identification submodule is used for identifying temperature identification information and humidity identification information in the data information acquired by the acquisition submodule;
and the determining submodule is used for determining a first area corresponding to the temperature identification information and a second area corresponding to the humidity identification information according to preset circle selection sizes according to the positions of the temperature identification information and the humidity identification information identified by the identifying submodule in the image.
Optionally, the identification unit further includes:
the query module is used for querying the temperature data information displayed in the first area and/or querying the humidity data information displayed in the second area according to a preset time period; and/or
The query module is further configured to query temperature data information displayed in the first area and/or query humidity data information displayed in the second area according to the triggered acquisition request operation instruction.
Optionally, the apparatus further comprises:
the detection unit is used for detecting the intensity of the light reflected by the display picture of the hygrothermograph;
the adjusting unit is used for adjusting the shooting angle of the camera if the detecting unit detects that the intensity of the reflected light is greater than a first preset threshold value;
the judging unit is used for judging whether the temperature data information displayed in the first area is read or not;
the first execution unit is used for marking the system time corresponding to the reading operation when the judging unit judges that the temperature data information displayed in the first area is not read, and feeding back the failure of the server in reading the temperature data information;
the judging unit is further used for judging whether humidity data information displayed in the second area is read or not;
the first execution unit is further configured to mark a system time corresponding to the current reading operation when the judgment unit judges that the humidity data information displayed in the second area is not read, and feed back that the server fails to read the humidity data information this time.
Optionally, the apparatus further comprises:
and the second execution unit is used for controlling the camera to start a night shooting mode to acquire data information in the first area/the second area if the detection unit detects that the intensity of the light reflected by the display picture of the hygrothermograph is smaller than a second preset threshold.
In a third aspect, an embodiment of the present invention further provides an electronic device, including:
at least one processor;
and at least one memory, bus connected with the processor; wherein the content of the first and second substances,
the processor and the memory complete mutual communication through the bus; the processor is configured to call the program instruction in the memory to execute the method for acquiring the temperature and humidity data information.
In a fourth aspect, an embodiment of the present invention further provides a non-transitory computer-readable storage medium, where the non-transitory computer-readable storage medium stores computer instructions, and the computer instructions cause the computer to execute the method for acquiring temperature and humidity data information as described above.
By the technical scheme, the technical scheme provided by the embodiment of the invention at least has the following advantages:
the embodiment of the invention provides a method and a device for acquiring temperature and humidity data information. The embodiment of the invention controls a camera to collect an image of a hygrothermograph and identifies temperature data information and humidity data information displayed on the image, so that the traditional hygrothermograph is used for replacing a temperature and humidity sensor to assist in acquiring temperature and humidity data information in an intelligent home, and the camera is an intelligent device which can be accessed to a network under the intelligent home, so that after the temperature and humidity data information is acquired, the acquired corresponding data information is reported to a server of the intelligent home through the camera, further, the measured temperature and humidity data information can be reported to a management terminal (namely, the server) of the intelligent home, meanwhile, the server can share the temperature and humidity data information to other associated devices in the network, and further, the corresponding devices can provide corresponding intelligent services. Compare in prior art, solve the current intelligent house in the problem that humiture sensor market price is more expensive and leads to the maintenance cost high. The traditional hygrothermograph provided by the embodiment of the invention has no function of accessing a network, has low manufacturing cost, and can directly replace new equipment to timely ensure that the provided corresponding intelligent service is not influenced without taking time for maintenance even if the traditional hygrothermograph fails on the premise of ensuring that the intelligent home provides the same intelligent service, thereby saving the equipment cost and simultaneously saving the corresponding maintenance cost.
The foregoing description is only an overview of the technical solutions of the embodiments of the present invention, and the embodiments of the present invention can be implemented according to the content of the description in order to make the technical means of the embodiments of the present invention more clearly understood, and the detailed description of the embodiments of the present invention is provided below in order to make the foregoing and other objects, features, and advantages of the embodiments of the present invention more clearly understandable.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the embodiments of the invention. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
fig. 1 shows a flowchart of a method for acquiring temperature and humidity data information according to an embodiment of the present invention;
fig. 2 shows a flowchart of another method for acquiring temperature and humidity data information according to an embodiment of the present invention;
fig. 3 is a block diagram illustrating a device for acquiring temperature and humidity data information according to an embodiment of the present invention;
fig. 4 is a block diagram illustrating another apparatus for acquiring temperature and humidity data information according to an embodiment of the present invention;
fig. 5 shows a schematic structural diagram of an electronic device for acquiring temperature and humidity data information according to an embodiment of the present invention.
Detailed Description
Exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present invention are shown in the drawings, it should be understood that the present invention may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the embodiments to those skilled in the art.
The embodiment of the invention provides a method for acquiring temperature and humidity data information, as shown in fig. 1, the method identifies temperature data information and humidity data information displayed on a traditional hygrothermograph by using a camera, so that the temperature and humidity data information is acquired in an intelligent home by using the traditional hygrothermograph to replace a temperature and humidity sensor, and the method comprises the following specific steps:
101. and controlling the camera to collect the image of the hygrothermograph.
102. Temperature data information and humidity data information displayed on the image are identified.
In the embodiment of the present invention, the above steps 101-102 are described in detail as follows:
the hygrothermograph is a traditional hygrothermograph, and a display interface of the hygrothermograph can display a temperature value and a humidity value in real time.
The camera is an intelligent device under the intelligent home, the camera can be a camera for security protection or a camera on an intelligent television, and the camera has a network access function, so that the camera can report acquired data information to a server of the intelligent home correspondingly, and the server is equivalent to a central processing terminal and is used for managing other associated devices accessed to the network under the intelligent home.
In the embodiment of the invention, the position relationship between the hygrothermograph and the camera can be manually set in advance, so that the camera can clearly shoot the data information displayed on the display screen of the hygrothermograph, and the temperature and humidity values measured in a space (such as an indoor space) can be known by acquiring the temperature data information and the humidity data information displayed on the hygrothermograph in real time.
103. And reporting the identified temperature data information and humidity data information to a server associated with the camera through a network.
In the embodiment of the present invention, after the temperature and humidity data information is acquired by using the camera, the temperature and humidity data information may be stored locally, and the temperature and humidity data information is reported to the server through the network after waiting for summarizing the temperature and humidity data information within a period of time, or the temperature and humidity data information may be reported to the server in time at a specified time point when the temperature and humidity data information is acquired by using the camera, which may be preset according to different requirements of a user, and is not limited herein.
After the temperature and humidity data reported are received at the server, the server can share the temperature and humidity data information to other associated intelligent devices in the network, for example: the intelligent equipment can execute corresponding automatic control according to a demand operation instruction preset by a user, for example, if the indoor humidity is preset to be less than 30%, the humidifier is automatically started and adjusted to a specified working mode when the humidifier receives temperature and humidity data information and detects that the humidity data information reaches a preset condition.
The embodiment of the invention provides a method for acquiring temperature and humidity data information. According to the embodiment of the invention, the temperature data information and the humidity data information displayed on the traditional hygrothermograph are identified by using the camera, so that the traditional hygrothermograph is used for replacing a temperature and humidity sensor to assist in acquiring the temperature and humidity data information in the intelligent home, and the camera is an intelligent device which can be accessed to the network under the intelligent home, so that after the temperature and humidity data information is acquired, the acquired corresponding data information is reported to a server of the intelligent home through the camera, further, the measured temperature and humidity data information can be reported to a management terminal (namely, the server) of the intelligent home, meanwhile, the server can share the temperature and humidity data information to other associated devices in the network, and further, the corresponding devices can provide corresponding intelligent services. Compare in prior art, solve the current intelligent house in the problem that humiture sensor market price is more expensive and leads to the maintenance cost high. The traditional hygrothermograph provided by the embodiment of the invention has no function of accessing a network, has low manufacturing cost, and can directly replace new equipment to timely ensure that the provided corresponding intelligent service is not influenced without taking time for maintenance if the traditional hygrothermograph fails on the premise of ensuring that the intelligent home provides the same intelligent service, thereby saving the equipment cost and simultaneously saving the equipment maintenance cost.
In order to describe the above embodiment in more detail, another method for acquiring temperature and humidity data information is further provided in an embodiment of the present invention, as shown in fig. 2, in the method, a temperature data information display area and a humidity data information display area are circled in advance in a display screen of a conventional hygrothermograph, so that data information displayed in a corresponding area can be directly queried when the query is not first time, and corresponding temperature data or humidity data can be directly obtained, and the following specific steps are provided in the embodiment of the present invention:
201. and controlling the camera to collect the image of the hygrothermograph.
202. The first area and the second area are circled on the image.
The first area is an area occupied by displaying temperature data information, and the second area is an area where displaying humidity data information. In the embodiments of the present invention, "first" and "second" do not have a sequential order, but are used only for the description of regions to refer to different regions.
In the embodiment of the present invention, the specific step of circling the first region on the image may include:
firstly, acquiring all data information in a display picture of a hygrothermograph; secondly, identifying temperature identification information and the position of the temperature identification information in a display picture in the data information; and finally, determining a first area according to a preset first size in the display picture according to the position of the temperature identification information in the display picture.
It should be noted that the temperature identification information may be a keyword related to the temperature data, such as: the temperature unit and the temperature unit may be displayed as a letter, a symbol, or the like. In the embodiment of the present invention, after the temperature identification information is found in the display screen, the specified area is circled at the position of the temperature identification information, and the circled method may be to select the area according to a preset size, for example: the position containing the temperature identification information defines a rectangle, or a rectangle defined on the left side of the position of the temperature identification information, and the like.
In the embodiment of the present invention, the specific step of circling the second region on the image may include:
firstly, acquiring all data information in a display picture of a hygrothermograph; secondly, identifying humidity identification information and the position of the humidity identification information in a display picture in the data information; and finally, determining a first area according to a preset second size in the display picture according to the position of the humidity identification information in the display picture.
It should be noted that the humidity identification information may be a keyword related to the temperature data, such as: humidity units, percentages of humidity, etc., and the humidity units may be displayed as text, symbols, etc. In the embodiment of the present invention, after the humidity identification information is found in the display screen, the designated area is circled at the position of the humidity identification information, and the circled method may be to select the area according to a preset size, for example: the position of the humidity identification information is enclosed to form a rectangle, or the left side of the position of the humidity identification information is enclosed to form a rectangle, and the like.
The "preset first size" and the "preset second size" stated above may be the same size for selection, or may be different sizes for selection, and in the embodiment of the present invention, the "preset size for selection" is not specifically limited, and further, the order of selecting the first area and the second area is not limited.
203. And reading the temperature value displayed in the first area and the humidity value displayed in the second area.
In the embodiment of the invention, after the temperature data information display area is defined on the image of the hygrothermograph, the numerical value displayed in the area can be directly read and used as the temperature data information identified by the current camera.
In the embodiment of the invention, after the humidity data information display area is defined on the image of the hygrothermograph, the numerical value displayed in the area can be directly read and used as the humidity data information identified by the current camera.
It should be noted that, for the embodiment of the present invention, the order of reading the first area and the second area is not particularly limited.
In the embodiment of the present invention, it should be noted that, in the step 201 and 204, the positional relationship between the thermo-hygrometer and the camera is manually set in advance, so that the camera can clearly shoot the display image of the hygrothermograph, and then the camera is used for identifying the temperature data information and the humidity data information displayed on the image for the first time, furthermore, after the first identification operation is executed, for the temperature and humidity data information on the hygrothermograph identified by the camera each time, the temperature data information displayed in the first area can be directly inquired, and/or directly querying humidity data information displayed in the second area, specifically, the timing of querying the temperature and humidity data information again or multiple times may be to execute an operation according to a preset time period, or an operation instruction according to a query request preset by a user.
Furthermore, when the data information of the hygrothermograph is acquired, the intensity of light reflected by the display frame can be detected, and since the data information on the display frame of the hygrothermograph may be captured by the camera in a strong light environment, if the intensity of the reflected light is detected to be greater than a preset threshold, the camera can be controlled to adjust the capturing angle, so that the data information on the display frame can be captured as clearly as possible.
Further, if the data information displayed on the first area or the second area is still not read after the shooting angle of the camera is adjusted, it is determined that the corresponding reading operation fails, where a clear mark is required, such as: and marking the operation failure of reading the data information on the first area and marking the current system time so as to feed back the reading operation failure to the server, and further obtaining the temperature data information reading failure according to the feedback information, wherein the corresponding temperature data information is not obtained at the system time point. Further, following the detailed description of the example, if the operation of reading the temperature data information fails, that is, the server of the smart home cannot acquire the temperature data information at the system time point, and accordingly, the temperature data information cannot be shared with the associated device, and the corresponding smart operation is executed, so that it is necessary to shorten the cycle time for reading the temperature data information, and timely obtain, through multiple reading operations, when the time point of reading the temperature data information by using the camera can be normally read again, and if it is determined that the data information can be normally read at a certain time point, the latest temperature data information is acquired as timely as possible, so that the smart home can provide the latest intelligent service in time. In addition, it should be noted that although the server does not obtain the latest temperature data information, the smart device still performs corresponding operations according to the temperature data information of the previous cycle, such as: the air conditioner automatically controls to start the heating mode (25 ℃) according to the fact that the temperature data information received in the last period is 7 ℃, so even if the server does not obtain the temperature data information in the period and does not send the temperature data information to the corresponding intelligent equipment, the intelligent service provided by the intelligent equipment cannot be greatly influenced.
Further, in the embodiment of the present invention, if it is detected that the intensity of the light reflected by the display screen of the hygrothermograph is smaller than the second preset threshold, and the light in the space is relatively dark, for example, at night, the camera is controlled to start the night shooting mode to acquire the data information in the first area or the second area, so as to ensure that the data information displayed by the display screen of the hygrothermograph can be identified by the camera even though the light in the space is dark.
204. And reporting the identified temperature data information and humidity data information to a server associated with the camera through a network.
In the embodiment of the present invention, after the temperature and humidity data information is acquired by using the camera, the temperature and humidity data information may be stored locally, and the temperature and humidity data information is reported to the server through the network after waiting for summarizing the temperature and humidity data information within a period of time, or the temperature and humidity data information may be reported to the server in time at a specified time point when the temperature and humidity data information is acquired by using the camera, which may be preset according to different requirements of a user, and is not limited herein.
After the temperature and humidity data reported are received at the server, the server can share the temperature and humidity data information to other associated intelligent devices in the network, for example: the intelligent equipment can execute corresponding automatic control according to a demand operation instruction preset by a user, for example, if the indoor humidity is preset to be less than 30%, the humidifier is automatically started and adjusted to a specified working mode when the humidifier receives temperature and humidity data information and detects that the humidity data information reaches a preset condition.
Further, as an implementation of the method shown in fig. 1 and fig. 2, an embodiment of the present invention provides an apparatus for acquiring temperature and humidity data information. The embodiment of the apparatus corresponds to the embodiment of the method, and for convenience of reading, details in the embodiment of the apparatus are not repeated one by one, but it should be clear that the apparatus in the embodiment can correspondingly implement all the contents in the embodiment of the method. As shown in fig. 3 in detail, the apparatus includes:
the acquisition unit 31 is used for controlling a camera to acquire images of the hygrothermograph, and the camera has the function of being accessed to a network;
the identification unit 32 is used for identifying temperature data information and humidity data information displayed on the image acquired by the acquisition unit 31, and the hygrothermograph does not have a network connection function;
a reporting unit 33, configured to report first information to a server associated with the camera via the network, where the first information includes the temperature data information and the humidity data information, and is used to instruct the server to share the temperature data information and the humidity data information with other associated devices in the network.
Further, as shown in fig. 4, the identification unit 32 includes:
a circle selection module 321, configured to select a first area and a second area on the image, where the first area is an area occupied by the displayed temperature data information, and the second area is an area where the displayed humidity data information is located;
the reading module 322 is configured to read a temperature value displayed in a first area circled by the circling module 321 and a humidity value displayed in a second area circled by the circling module.
Further, as shown in fig. 4, the circle selection module 321 includes:
an obtaining submodule 3211 configured to obtain data information displayed in the image;
an identifying submodule 3212 configured to identify temperature identification information and humidity identification information in the data information acquired by the acquiring submodule 3211;
the determining submodule 3213 is configured to determine, according to positions of the temperature identification information and the humidity identification information identified by the identifying submodule 3212 in the image, a first area corresponding to the temperature identification information and a second area corresponding to the humidity identification information according to a preset circling size.
Further, as shown in fig. 4, the identification unit 32 further includes:
the query module 323 is configured to query temperature data information displayed in the first area and/or query humidity data information displayed in the second area according to a preset time period; and/or
The query module 323 is further configured to query temperature data information displayed in the first area and/or query humidity data information displayed in the second area according to the triggered acquisition request operation instruction.
Further, as shown in fig. 4, the apparatus further includes:
a detection unit 34 for detecting the intensity of the light reflected by the display screen of the hygrothermograph;
an adjusting unit 35, configured to adjust a shooting angle of the camera if the detecting unit 34 detects that the intensity of the reflected light is greater than a first preset threshold;
a judging unit 36, configured to judge whether temperature data information displayed in the first area is read;
a first executing unit 37, configured to mark a system time corresponding to the current reading operation when the determining unit 36 determines that the temperature data information displayed in the first area is not read, and feed back that the server fails to read the temperature data information this time;
the judging unit 36 is further configured to judge whether humidity data information displayed in the second area is read;
the first executing unit 37 is further configured to mark a system time corresponding to the current reading operation when the determining unit 36 determines that the humidity data information displayed in the second area is not read, and feed back that the server fails to read the humidity data information this time.
Further, as shown in fig. 4, the apparatus method further includes:
a second executing unit 38, configured to control the camera to start a night shooting mode to acquire data information in the first area/the second area if the detecting unit 34 detects that the intensity of the light reflected by the display frame of the hygrothermograph is smaller than a second preset threshold.
Since the temperature and humidity data information acquiring device described in this embodiment is a device capable of executing the temperature and humidity data information acquiring method described in the embodiment of the present invention, based on the temperature and humidity data information acquiring method described in the embodiment of the present invention, a person skilled in the art can understand a specific implementation manner of the temperature and humidity data information acquiring device described in this embodiment and various variations thereof, and therefore, how the temperature and humidity data information acquiring device implements the temperature and humidity data information acquiring method described in the embodiment of the present invention is not described in detail here. As long as a person skilled in the art implements the device used in the method for acquiring temperature and humidity data information in the embodiment of the present invention, the device is within the scope of the present application.
An embodiment of the present invention further provides an electronic device, as shown in fig. 5, including: at least one processor (processor) 41; and at least one memory (memory)42, a bus 43 connected to the processor 41; wherein the content of the first and second substances,
the processor 41 and the memory 42 complete mutual communication through the bus 43;
the processor 41 is configured to call program instructions in the memory 42 to perform the steps in the above-described method embodiments.
Embodiments of the present invention also provide a non-transitory computer-readable storage medium, which stores computer instructions, where the computer instructions cause the computer to execute the methods provided by the above method embodiments.
To sum up, in the method and apparatus for acquiring temperature and humidity data information provided by the embodiments of the present invention, a camera is controlled to acquire an image of a hygrothermograph, and temperature data information and humidity data information displayed on the image are identified, so that a traditional hygrothermograph is used to replace a humiture sensor to assist in acquiring temperature and humidity data information in an intelligent home, and since the camera is an intelligent device which can be accessed to a network in the intelligent home, after acquiring the temperature and humidity data information, the camera reports the acquired corresponding data information to a server of the intelligent home, and further reports the measured temperature and humidity data information to a management terminal (i.e. a server) of the intelligent home, and simultaneously, the server can share the temperature and humidity data information to other associated devices in the network, and further, the corresponding equipment can provide corresponding intelligent services conveniently. The traditional hygrothermograph provided by the embodiment of the invention has no function of accessing a network, has low manufacturing cost, and can directly replace new equipment to timely ensure that the provided corresponding intelligent service is not influenced without taking time for maintenance if the traditional hygrothermograph fails on the premise of ensuring that the intelligent home provides the same intelligent service, thereby saving the equipment cost and simultaneously saving the equipment maintenance cost. Further, when the temperature data information and the humidity data information displayed on the traditional hygrothermograph are identified by the camera for the first time, a temperature data information display area and a humidity data information display area can be selected in advance in a display picture of the traditional hygrothermograph, so that the data information displayed in the corresponding area can be directly inquired when the information is not inquired for the first time, and the corresponding temperature data or humidity data can be directly obtained, the efficiency of acquiring the current temperature and humidity data information is improved, the efficiency of reporting the server is also improved, so that the server can share the corresponding data information to the corresponding associated equipment in time, and the provided intelligent service is optimized.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). The memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in the process, method, article, or apparatus that comprises the element.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The above are merely examples of the present application and are not intended to limit the present application. Various modifications and changes may occur to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

Claims (8)

1. A method for acquiring temperature and humidity data information is characterized by comprising the following steps:
controlling a camera to collect images of the hygrothermograph, wherein the camera has the function of being accessed to a network;
discernment temperature data information and humidity data information that show on the image, the temperature and humidity meter does not possess the function of connecting the network, includes: selecting a first area and a second area on the image, reading a temperature value displayed in the first area and a humidity value displayed in the second area, and inquiring temperature data information displayed in the first area and/or humidity data information displayed in the second area according to a preset time period, wherein the first area is an area occupied by the displayed temperature data information, and the second area is an area where the displayed humidity data information is located;
judging whether the temperature data information displayed in the first area is read or not, if not, marking the system time corresponding to the reading operation, and feeding back that the server fails to read the temperature data information; and/or the presence of a gas in the gas,
judging whether humidity data information displayed in the second area is read or not, if not, marking system time corresponding to the reading operation, and feeding back that the server fails to read the humidity data information;
if the temperature data information and/or the humidity data information are/is not read at this time, shortening the time period of the reading operation, and obtaining the time point when the temperature data information and/or the humidity data information are/is read again normally by using the camera through multiple times of reading operation, wherein the time point is used for obtaining the latest temperature data information and/or humidity data information;
and reporting first information to a server associated with the camera through the network, wherein the first information comprises the temperature data information and the humidity data information and is used for indicating the server to share the temperature data information and the humidity data information with other associated equipment in the network.
2. The method of claim 1, wherein said circling a first region and a second region on the image comprises:
acquiring data information displayed on the image;
identifying temperature identification information and humidity identification information in the displayed data information;
and determining a first area corresponding to the temperature identification information and a second area corresponding to the humidity identification information according to a preset circling size according to the position of the temperature identification information in the image and the position of the humidity identification information in the image.
3. The method of claim 1, wherein the identifying temperature data information and humidity data information displayed on the image comprises:
and inquiring temperature data information displayed in the first area and/or inquiring humidity data information displayed in the second area according to the triggered acquisition request operation instruction.
4. The method of claim 1, further comprising:
detecting the intensity of light reflected by the display picture of the hygrothermograph, and if the intensity of the reflected light is greater than a first preset threshold value, adjusting the shooting angle of the camera;
judging whether the temperature data information displayed in the first area is read or not, if not, marking the system time corresponding to the reading operation, and feeding back that the server fails to read the temperature data information; and/or the presence of a gas in the gas,
and judging whether humidity data information displayed in the second area is read or not, if not, marking system time corresponding to the reading operation, and feeding back that the server fails to read the humidity data information.
5. The method of claim 1, further comprising:
and if the intensity of the light reflected by the display picture of the hygrothermograph is detected to be smaller than a second preset threshold value, controlling the camera to start a night shooting mode to acquire data information in the first area/the second area.
6. The utility model provides an acquire device of humiture data information which characterized in that, the device includes:
the acquisition unit is used for controlling the camera to acquire images of the hygrothermograph, and the camera has the function of being accessed to a network;
the identification unit is used for identifying temperature data information and humidity data information displayed on the image acquired by the acquisition unit, and the hygrothermograph does not have a network connection function;
the identification unit includes: the selection module is used for selecting a first area and a second area on the image in a circling way, wherein the first area is an area occupied by the displayed temperature data information, and the second area is an area where the displayed humidity data information is located; the reading module is used for reading the temperature value displayed in the first area circled by the circled selection module and the humidity value displayed in the second area circled by the circled selection module; the query module is used for querying temperature data information displayed in the first area and/or querying humidity data information displayed in the second area according to a preset time period, wherein the first area is an area occupied by the displayed temperature data information, and the second area is an area where the displayed humidity data information is located;
the judging unit is used for judging whether the temperature data information displayed in the first area is read or not;
the first execution unit is used for marking the system time corresponding to the reading operation when the judging unit judges that the temperature data information displayed in the first area is not read, and feeding back the failure of the server in reading the temperature data information;
the judging unit is further used for judging whether humidity data information displayed in the second area is read or not;
the first execution unit is further configured to mark a system time corresponding to the current reading operation and feed back that the server fails to read the humidity data information when the judgment unit judges that the humidity data information displayed in the second area is not read;
if the temperature data information and/or the humidity data information are/is not read at this time, shortening the time period of the reading operation, and obtaining the time point when the temperature data information and/or the humidity data information are/is read again normally by using the camera through multiple times of reading operation, wherein the time point is used for obtaining the latest temperature data information and/or humidity data information;
and the reporting unit is used for reporting first information to a server associated with the camera through the network, wherein the first information comprises the temperature data information and the humidity data information and is used for indicating the server to share the temperature data information and the humidity data information with other associated equipment in the network.
7. An electronic device, comprising:
at least one processor;
and at least one memory, bus connected with the processor; wherein the content of the first and second substances,
the processor and the memory complete mutual communication through the bus; the processor is used for calling the program instructions in the memory to execute the method for acquiring the temperature and humidity data information in any one of claims 1 to 5.
8. A non-transitory computer-readable storage medium storing computer instructions for causing a computer to perform the method of acquiring temperature and humidity data information according to any one of claims 1 to 5.
CN201811276699.9A 2018-10-30 2018-10-30 Method and device for acquiring temperature and humidity data information Active CN109470303B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811276699.9A CN109470303B (en) 2018-10-30 2018-10-30 Method and device for acquiring temperature and humidity data information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811276699.9A CN109470303B (en) 2018-10-30 2018-10-30 Method and device for acquiring temperature and humidity data information

Publications (2)

Publication Number Publication Date
CN109470303A CN109470303A (en) 2019-03-15
CN109470303B true CN109470303B (en) 2021-06-04

Family

ID=65666341

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811276699.9A Active CN109470303B (en) 2018-10-30 2018-10-30 Method and device for acquiring temperature and humidity data information

Country Status (1)

Country Link
CN (1) CN109470303B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110045773A (en) * 2019-05-30 2019-07-23 湖南科技大学 Intelligent temperature and humidity regulating system and its regulation method based on camera perception
CN115412388A (en) * 2022-07-08 2022-11-29 安信服(深圳)科技有限公司 Information sharing method and device for multiple intelligent devices and computer device

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3042758B2 (en) * 1995-02-17 2000-05-22 川崎製鉄株式会社 Method and apparatus for diagnosing furnace wall in coke oven carbonization chamber
US6317691B1 (en) * 2000-02-16 2001-11-13 Hrl Laboratories, Llc Collision avoidance system utilizing machine vision taillight tracking
CN101067896A (en) * 2007-03-30 2007-11-07 重庆科技学院 Thermometer automatic reading system
CN106017694A (en) * 2016-05-31 2016-10-12 成都德善能科技有限公司 Temperature measuring system based on image sensor
CN107301052A (en) * 2017-06-30 2017-10-27 厦门美图移动科技有限公司 The display methods and mobile terminal of a kind of help information
CN107483461B (en) * 2017-08-30 2020-06-12 奇安信科技集团股份有限公司 Terminal access control method and device under NAT environment

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
Unconstrained biometric recognition based on thermal hand images;Bartuzi, E等;《2018 International Workshop on Biometrics and Forensics (IWBF)》;20180608;全文 *
江西电力检修公司深化智能巡检技术;无;《农村电气化》;20160310;全文 *

Also Published As

Publication number Publication date
CN109470303A (en) 2019-03-15

Similar Documents

Publication Publication Date Title
JP6945459B2 (en) Detection and interpretation of visual indicators
CN110597075B (en) Method and device for detecting control conflict, electronic equipment and storage medium
CN108156388B (en) Power consumption control method and camera device
CN109470303B (en) Method and device for acquiring temperature and humidity data information
CN110647894B (en) Fault diagnosis method and system of electrical equipment, cloud server and storage medium
CN102780933B (en) A kind of method and television set gathering user profile
CN108105954B (en) Device control method and apparatus, storage medium, and processor
CN110990733B (en) Page loading method and device, electronic equipment and medium
CN114067274A (en) Control method and device of image acquisition equipment and electronic equipment
KR102626524B1 (en) System and method for collecting and analyzing the state of the system
CN109945458B (en) Control method, control device, air conditioner system and storage medium
CN112153122A (en) Information processing method and device
CN113194155A (en) Method and device for intelligently recommending scenes in Internet of things
CN111142996B (en) Page display method, page display system, mobile terminal and storage medium
CN109407526B (en) Equipment detection method and device and household appliance
CN108195036B (en) Air conditioner control method and device
CN108107740B (en) Household appliance control method and device
CN112306011A (en) Equipment control method and device
CN113668211B (en) Control method of air supply device, intelligent airing system and medium
TW201725540A (en) A system and a method for personalized customization
CN115047779A (en) Smart home implementation method, system and storage medium
CN110557555B (en) Function starting method, device, equipment and system of intelligent camera
CN110648645A (en) Control method, device and control system for electronic equipment with screen
CN110349531A (en) A kind of brightness control method, device and the computer equipment of line control machine screen
CN108366003B (en) Home service framework creating method, calling method, device, server and medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right

Effective date of registration: 20210422

Address after: 210038 8th floor, building D11, Hongfeng science and Technology Park, Nanjing Economic and Technological Development Zone, Jiangsu Province

Applicant after: New Technology Co.,Ltd.

Address before: 100094 Beijing Haidian District Zhongguancun Street 19 office A building 10 10 1001

Applicant before: Mobvoi Information Technology Co.,Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant