CN110275804A - A kind of information processing method, device and computer readable storage medium - Google Patents
A kind of information processing method, device and computer readable storage medium Download PDFInfo
- Publication number
- CN110275804A CN110275804A CN201910401679.8A CN201910401679A CN110275804A CN 110275804 A CN110275804 A CN 110275804A CN 201910401679 A CN201910401679 A CN 201910401679A CN 110275804 A CN110275804 A CN 110275804A
- Authority
- CN
- China
- Prior art keywords
- processor
- detection circuit
- environmental parameter
- parameter
- triggering command
- 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.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/22—Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
- G06F11/2205—Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested
- G06F11/2236—Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested to test CPU or processors
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/22—Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
- G06F11/2273—Test methods
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/22—Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
- G06F11/2289—Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing by configuration test
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Hardware Design (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Power Sources (AREA)
Abstract
The embodiment of the present application discloses a kind of information processing method, device and computer readable storage medium, which comprises for M environmental parameter M detection circuit of configuration;Wherein, M is positive integer, and whether the environmental parameter that the detection circuit is used to detect input meets preset trigger condition;The M environmental parameter is obtained, the M environmental parameter is input in the M detection circuit;When the environmental parameter of N number of detection circuit input in the M detection circuit meets preset trigger condition, N number of triggering command is exported;Wherein, N is the positive integer less than or equal to M;Enter operating status based on N number of triggering command control processor, to generate the N number of control instruction for being directed to N number of electronic equipment.In this way, not only shortening the operation duration of processor, and trigger event can be timely responded to.
Description
Technical field
This application involves technology of Internet of things more particularly to a kind of information processing methods, device and computer-readable storage medium
Matter.
Background technique
When in Internet of Things framework based on event information triggering control internet of things equipment, usually constantly taken turns by processor
Incoming event is ask, to determine the need for executing certain program codes to realize the control to internet of things equipment.In order to reduce function
Consumption processor enters sleep state sometimes, but in order to guarantee the response speed to trigger event, processor must be prolonged
It is in operating status to detect trigger event in time, and run corresponding program code.Therefore, because processor is in operation shape
The overlong time of state causes power consumption of processing unit larger, and operational efficiency is not high.
Summary of the invention
In order to solve the above technical problems, the embodiment of the present application is intended to provide a kind of information processing method and computer storage is situated between
Matter.
The technical solution of the application is achieved in that
In a first aspect, providing a kind of information processing method, which comprises
M detection circuit is configured for M environmental parameter;Wherein, M is positive integer, and the detection circuit is for detecting input
Environmental parameter whether meet preset trigger condition;
The M environmental parameter is obtained, the M environmental parameter is input in the M detection circuit;
It is defeated when the environmental parameter of N number of detection circuit input in the M detection circuit meets preset trigger condition
N number of triggering command out;Wherein, N is the positive integer less than or equal to M;
Enter operating status based on N number of triggering command control processor, to generate for the N number of of N number of electronic equipment
Control instruction.
Second aspect, provides a kind of information processing unit, and described device includes: processor and M detection circuit;Its
In, M is positive integer;
Whether the M detection circuit, the environmental parameter for detecting input meet preset trigger condition;
The M detection circuit, is also used to obtain M environmental parameter;When N number of detection electricity in the M detection circuit
When the environmental parameter of road input meets preset trigger condition, N number of detection circuit exports N number of triggering command;Wherein, N is
Positive integer less than or equal to M;
The processor is directed to N number of electronic equipment for entering operating status based on N number of triggering command to generate
N number of control instruction.
The third aspect provides another information processing unit, comprising: processor and be configured to storage can be in processor
The memory of the computer program of upper operation, wherein when the processor is configured to run the computer program, execute aforementioned
The step of method.
Fourth aspect provides a kind of computer storage medium, is stored thereon with computer program, wherein the computer
The step of preceding method is realized when program is executed by processor.
By adopting the above technical scheme, by being examined by detection circuit for the corresponding detection circuit of varying environment parameter configuration
It surveys whether environmental parameter meets trigger condition, when determining that environmental parameter meets trigger condition, can just trigger processor and enter fortune
Row state is generated the control instruction for being directed to electronic equipment, is detected environmental parameter in a manner of poll without processor, not only shortened
The operation duration of processor, and trigger event can be timely responded to.
Detailed description of the invention
Fig. 1 is the composed structure schematic diagram 1 of information processing unit in the embodiment of the present application;
Fig. 2 is the flow diagram 1 of information processing method in the embodiment of the present application;
Fig. 3 is the input/output signal waveform diagram of detection circuit in the embodiment of the present application;
Fig. 4 is the flow diagram 2 of information processing method in the embodiment of the present application;
Fig. 5 is the composed structure schematic diagram 2 of information processing unit in the embodiment of the present application;
Fig. 6 is the composed structure schematic diagram of control system in the embodiment of the present application;
Fig. 7 is the composed structure schematic diagram 3 of information processing unit in the embodiment of the present application.
Specific embodiment
The characteristics of in order to more fully hereinafter understand the embodiment of the present application and technology contents, with reference to the accompanying drawing to this Shen
Please the realization of embodiment be described in detail, appended attached drawing purposes of discussion only for reference is not used to limit the embodiment of the present application.
Embodiment one
The embodiment of the present application provides a kind of information processing method, and the processor for triggering information processing unit enters fortune
Row state, and corresponding control operation is executed, as shown in Figure 1, information processing unit includes processor, communication interface, input terminal
Mouth and output port, for communication interface for realizing that information processing unit is communicated with external device, processor handles input terminal
The signal that the signal or communication interface of mouth input receive, to determine the need for certain application programs of operation, output end
Mouth is for exporting processing result.
The embodiment of the present application provides a kind of information processing method, is applied to above- mentioned information processing unit, as shown in Fig. 2,
The information processing method can specifically include:
Step 101: configuring M detection circuit for M environmental parameter;Wherein, M is positive integer, and the detection circuit is used for
Whether the environmental parameter of detection input meets preset trigger condition;
In practical application, different detection circuits correspond to different trigger conditions.Trigger condition may include following one: institute
It states environmental parameter and is changed to the second parameter area from the first parameter area;Wherein, first parameter variation range is described
Before two parameter variation ranges;The environmental parameter is changed to the 4th parameter area from the third parameter area;Wherein,
The third parameter variation range is after the 4th Parameters variation.Here, the first parameter area and the second parameter area be not
Perhaps only endpoint coincidence third parameter area is not overlapped with the 4th parameter area or only endpoint is overlapped, the second parameter model for coincidence
It encloses identical as third parameter area or not identical.
That is, detection circuit is used to detect the variation of environmental parameter, only environmental parameter becomes from the first parameter area
When change to the second parameter area, triggering processor controlling electronic devices executes corresponding operation.For example, starting electronic equipment, is closed
Close electronic equipment, or electronic equipment be adjusted to the second working condition from the first working condition, here, the first working condition and
Second working condition can be the different state of running parameter.
When environmental parameter is stablized in the first parameter area or in the second parameter area, processor execution will not be triggered
Control operation, electronic equipment keep itself state in which.For example, closed state or operating status.
In practical application, detection circuit is used for the size of comparator input signal, for example, single limit comparator, hysteresis comparator
Or two-wire comparator.Wherein, single limit comparator and hysteresis comparator, for judging that input signal is higher than threshold value again below door
Limit value exports low level signal when being lower than threshold value for example, exporting high level signal when being higher than threshold value.Two limit comparison
Device, for judging output signal whether between threshold range, for example, exporting high electricity when input signal is between threshold range
Ordinary mail number exports low level signal when except threshold range.
Detection circuit is used to detect the variation of input signal, and Fig. 3 shows a kind of input/output signal wave of detection circuit
Shape figure, when input signal becomes low level from high level in Fig. 3, output signal is high level;Input signal permanent High level or
When continuing low level, output signal is low level;When input signal becomes high level from low level, output signal is high level.
Step 102: obtaining the M environmental parameter, the M environmental parameter is input in the M detection circuit;
When practical application, environmental parameter is the parameter for characterizing ambient condition, for example, temperature, humidity, illuminance, clean
Cleanliness, cleanliness specifically can be Cucumber concentration in air, for example, PM2.5, oxygen, sulfur dioxide, carbon dioxide, one
Carbonoxide, formaldehyde or other pernicious gases.
Above-mentioned environmental parameter can be detected by various sensors, and environmental parameter is sent to corresponding detection electricity
Road, to detect whether environmental parameter meets trigger condition.Here, sensor may include: temperature sensor, humidity sensor,
Optical sensor, smoke sensor device, gas sensor, such as: gas sensor can be formaldehyde sensor, carbon dioxide sensing
Device, other toxic gas sensors etc..
The sensor can be located in information processing unit, be perhaps provided separately in environment space or be located at it
On his electronic equipment, the embodiment of the present application is not especially limited.
Step 103: when the environmental parameter of N number of detection circuit input in the M detection circuit meets preset triggering
When condition, N number of triggering command is exported;Wherein, N is the positive integer less than or equal to M;
In practical application, in practical application, the environmental parameter inputted in the M-N detection circuit is unsatisfactory for preset touching
Clockwork spring part, output M-N is non-touch to send instructions.
As shown in figure 3, being exported high level signal (i.e. triggering command) when input signal becomes low level from high level;It is defeated
When entering signal permanent High level or continuing low level, export low level signal (i.e. non-touch to send instructions);Input signal is from low level
When becoming high level, high level signal is exported.
Step 104: operating status being entered based on N number of triggering command control processor, is set with generating for N number of electronics
Standby N number of control instruction.
In some embodiments, described that operating status is entered based on N number of triggering command control processor, comprising: base
First triggering command in N number of triggering command controls the processor and enters operating status;Wherein, first touching
Send instructions the triggering command obtained earliest when being in sleep state for the processor.
That is, when there is N number of detection circuit to detect, environmental parameter meets triggering when processor is in sleep state
Condition, the detection circuit by exporting triggering command at first trigger processor and enter operating status from sleep state.
In some embodiments, described to generate the N number of control instruction for being directed to N number of electronic equipment, comprising: based on described N number of
Triggering command triggers the processor and runs N number of application program;Wherein, different application corresponds to the control of distinct electronic apparatuses
Operation;Based on the environmental parameter of N number of detection circuit input, the N number of control instruction for being directed to N number of electronic equipment is generated.
That is, being provided with the application program for distinct electronic apparatuses in processor, processor is entering operation shape
After state, different application operation can be activated according to different triggering commands, to realize the control to distinct electronic apparatuses, and
Actual control operation can be executed according to current environment parameter.For example, activating corresponding application when the environmental temperature is changed
Program operation determines that actual control operates according to current environment parameter when application program is run.
Specifically, processor when getting N number of triggering command, (is also possible to touch according to the acquisition time of triggering command
The generation time to send instructions) N triggering command is handled one by one, that is, it is individually activated corresponding application program, and generate correspondence
Control instruction.Alternatively, processor carries out parallel processing when getting N number of triggering command, to N number of triggering command, i.e., simultaneously
Corresponding application program is activated, and generates corresponding control instruction.Triggering command actual treatment sequence can be according to processor reality
Depending on the processing capacity of border, the application is not specifically limited.
In practical application, after generating N number of control instruction for N number of electronic equipment, this method can also include:
Control the processor N number of application program out of service.
That is, after the completion of controlling some electronic equipment, application program out of service.Only sent out in environmental parameter
Triggering runs corresponding application program when raw expected variation, and realization timely responds to trigger event, do not have in environmental parameter
Without running application program when expected variation occurs.In this way, improving processor operational efficiency, power consumption is reduced.
Here, electronic equipment can be internet of things equipment, for example, air-conditioning, clarifier, humidifier, refrigerator, lamps and lanterns, massage
The households internet of things equipment such as chair, sweeping robot.
By adopting the above technical scheme, by being examined by detection circuit for the corresponding detection circuit of varying environment parameter configuration
It surveys whether environmental parameter meets trigger condition, when determining that environmental parameter meets trigger condition, can just trigger processor and enter fortune
Row state is generated the control instruction for being directed to electronic equipment, is detected environmental parameter in a manner of poll without processor, not only shortened
The operation duration of processor, and trigger event can be timely responded to.
Embodiment two
In order to further embody the technical solution of the application, further lifted on the basis of example 1
Example explanation, as shown in figure 4, the information processing method can specifically include:
Step 201: configuring M detection circuit for M environmental parameter;Wherein, M is positive integer, and the detection circuit is used for
Whether the environmental parameter of detection input meets preset trigger condition;
In practical application, different detection circuits correspond to different trigger conditions.Trigger condition may include following one: institute
It states environmental parameter and is changed to the second parameter area from the first parameter area;Wherein, first parameter variation range is described
Before two parameter variation ranges;The environmental parameter is changed to the 4th parameter area from the third parameter area;Wherein,
The third parameter variation range is after the 4th Parameters variation.Here, the first parameter area and the second parameter area be not
Perhaps only endpoint coincidence third parameter area is not overlapped with the 4th parameter area or only endpoint is overlapped, the first parameter model for coincidence
It encloses and identical perhaps identical second parameter area of the 4th parameter area is identical as third parameter area or not identical.For example, the
One parameter area is 0-35 degrees Celsius, and the second parameter area is 35 degrees Celsius or more, and third parameter area is 35 degrees Celsius or more,
4th parameter area is 0-35 degrees Celsius.
In practical application, detection circuit is used for the size of comparator input signal, for example, single limit comparator, hysteresis comparator
Or two-wire comparator.Wherein, single limit comparator and hysteresis comparator, for judging that input signal is higher than threshold value again below door
Limit value exports low level signal when being lower than threshold value for example, exporting high level signal when being higher than threshold value.Two limit comparison
Device, for judging output signal whether between threshold range, for example, exporting high electricity when input signal is between threshold range
Ordinary mail number exports low level signal when except threshold range.
Detection circuit is used to detect the variation of input signal, and Fig. 3 shows a kind of input/output signal wave of detection circuit
Shape figure, when input signal becomes low level from high level in Fig. 3, output signal is high level;Input signal permanent High level or
When continuing low level, output signal is low level;When input signal becomes high level from low level, output signal is high level.
In practical application, processor needs detect environmental parameter in a manner of poll compared to the prior art, in order to guarantee
In operating status for a long time, processor long-time power consumption in operating status is needed to the response speed processor of trigger event
It is larger.The variation for detecting environmental parameter in the embodiment of the present application using the lesser detection circuit of power consumption, can reduce processor
Power consumption penalty.
Step 202: obtaining the M environmental parameter, the M environmental parameter is input in the M detection circuit;
When practical application, environmental parameter is the parameter for characterizing ambient condition, for example, temperature, humidity, illuminance, clean
Cleanliness, cleanliness specifically can be Cucumber concentration in air, for example, PM2.5, oxygen, sulfur dioxide, carbon dioxide, one
Carbonoxide, formaldehyde or other pernicious gases.
Above-mentioned environmental parameter can be detected by various sensors, and environmental parameter is sent to corresponding detection electricity
Road, to detect whether environmental parameter meets trigger condition.
Step 203: when the environmental parameter of N number of detection circuit input in the M detection circuit meets preset triggering
When condition, N number of triggering command is exported;Wherein, N is the positive integer less than or equal to M;
In practical application, the environmental parameter inputted in the M-N detection circuit is unsatisfactory for preset trigger condition, output
M-N is non-touch to send instructions.
For N number of detection circuit after exporting N number of triggering command, this method can also include: when N number of detection electricity
The environmental parameter of road input is when being unsatisfactory for preset trigger condition, exports and N number of non-touch sends instructions.
That is, there is no new triggering command in M detection circuit after processor has handled all triggering commands
It generates.
Step 204: operating status being entered based on N number of triggering command control processor, is set with generating for N number of electronics
Standby N number of control instruction;
In practical application, this method further include: send N number of control instruction to N number of electronic equipment.Wherein, no
With control instruction for controlling distinct electronic apparatuses.
Here, by taking temperature is adjusted as an example, the first temperature range is less than 35 degrees Celsius, and second temperature range is to take the photograph greater than 35
Family name's degree.When detection circuit detects that environment temperature is changed to second temperature range from the first temperature range, triggering command is generated, is used
Enter operating status in triggering processor, processor runs application code relevant to temperature control, and according to working as front ring
Border temperature generates the control instruction for opening air-conditioning, sends control instruction to air-conditioning to open air-conditioning;Detection circuit detects
When environment temperature is from second temperature range to the first temperature range, triggering command is generated, enters fortune for triggering processor
Row state, processor runs application code relevant to temperature control, and is generated according to current environmental temperature for closing
The control instruction of air-conditioning sends control instruction to air-conditioning to close air-conditioning.
In some embodiments, described that operating status is entered based on N number of triggering command control processor, comprising: base
First triggering command in N number of triggering command controls the processor and enters operating status;Wherein, first touching
Send instructions the triggering command obtained earliest when being in sleep state for the processor.
That is, when there is N number of detection circuit to detect, environmental parameter meets triggering when processor is in sleep state
Condition, the detection circuit by exporting triggering command at first trigger processor and enter operating status from sleep state.
Step 205: controlling the processor and enter sleep state.
In some embodiments, this method can also include: based on the second triggering command in N number of triggering command,
It controls the processor and enters sleep state;Wherein, second triggering command be when the processor is in sleep state most
The triggering command that evening obtains.Here, sleep state is immediately entered after processor has handled the last one triggering command, or worked as
After processor has handled the last one triggering command and has been spaced preset duration, control processor enters sleep state.
In further embodiments, this method can also include: when the environmental parameter of M detection circuit input is discontented
When the preset trigger condition of foot, output M is non-touch to send instructions;When M detection circuit output M is non-touch to send instructions, control
It makes the processor and enters sleep state.
That is, after processor has handled all triggering commands in operating status, and detection circuit does not have at this time
When having newly-generated triggering command, control processor enters sleep state, until new triggering command is waken up again.
In this way, detecting trigger event by detection circuit, processor enters operating status when trigger event occurs, and does not touch
Processor enters sleep state when hair event, detects trigger event without processor, locates processor for a long time as far as possible
In sleep state, wake-up processor trigger event can be responded in time when trigger event occurs, ensure that response speed.
Example IV
The embodiment of the present application also provides a kind of information processing units, as shown in figure 5, the device specifically includes: processor
501 and M detection circuit 502;Wherein, M is positive integer;
Whether the M detection circuit 501, the environmental parameter for detecting input meet preset trigger condition;
The M detection circuit 501, is also used to obtain M environmental parameter;N number of detection in the M detection circuit
When the environmental parameter of circuit input meets preset trigger condition, N number of detection circuit exports N number of triggering command;Wherein, N
For the positive integer less than or equal to M;
The processor 502 is set with generating for N number of electronics for entering operating status based on N number of triggering command
Standby N number of control instruction.
In some embodiments, the processor, specifically for being referred to based on the first triggering in N number of triggering command
It enables, controls the processor and enter operating status;Wherein, when the first triggering command is that the processor is in sleep state
The triggering command obtained earliest.
In some embodiments, the processor is specifically used for triggering the processor fortune based on N number of triggering command
The N number of application program of row;Wherein, different application corresponds to the control operation of distinct electronic apparatuses;Based on N number of detection circuit
The environmental parameter of input generates the N number of control instruction for being directed to N number of electronic equipment.
In some embodiments, it is out of service described N number of using journey to be also used to control the processor for the processor
Sequence.
In some embodiments, the preset trigger condition includes following one: the environmental parameter is from the first parameter
Range is to the second parameter area;Wherein, first parameter variation range is before second parameter variation range;Institute
It states environmental parameter and is changed to the 4th parameter area from the third parameter area;Wherein, the third parameter variation range
After the 4th Parameters variation.
In some embodiments, the processor is also used to control the processor and enters sleep state.
In some embodiments, the M detection circuit is also used to after exporting N number of triggering command when the M
The environmental parameter of detection circuit input is when being unsatisfactory for preset trigger condition, and output M non-touch to send instructions;
Correspondingly, the processor, specifically for when the M detection circuit output M it is non-touch send instructions when, control institute
It states processor and enters sleep state.
Here, electronic equipment can be internet of things equipment, for example, air-conditioning, clarifier, humidifier, refrigerator, lamps and lanterns, massage
The households internet of things equipment such as chair, sweeping robot.
Fig. 6 shows a kind of composed structure schematic diagram of control system, as shown in fig. 6, control system include: sensor,
Information processing unit and electronic equipment.Wherein, information processing unit specifically includes M detection circuit and processor, sensor 1,
Sensor 2 is connected with detection circuit 1, detection circuit 2 to detection circuit M respectively to sensor M, the environment ginseng for will test
Number is converted into voltage signal and is input in the detection circuit respectively connected, detection circuit 1, detection circuit 2 to detection circuit M and place
It manages device to be connected, for output signal to be passed to processor;Processor is for controlling M electronic equipment.Assuming that processor is based on
Earliest detection enters operating status to the triggering command that detection circuit 1 exports, with the corresponding trigger event of processing detection circuit 1,
And it controls electronic equipment 1 corresponding with the trigger event and works.For example, humidity is less than humidity threshold, start humidifier.Processor
After having handled the corresponding trigger event of detection circuit 1, continues to test and generate triggering command either with or without other detection circuits, if having
Then it handles, if entering sleep state without control processor.
In practical application, information processing unit is separated with electronic equipment, and information processing unit and electronic equipment can be in offices
It is carried out wireless communication in the net of domain, local area network can be Ethernet, Token Ring, Fiber Distributed Data Interface (Fiber
Distributed Data Interface, FDDI), asynchronous transfer mode (Asynchronous Transfer Mode, ATM)
Deng communication can be Wi-Fi, bluetooth, ZigBee, wireless mesh network.
In practical application, information processing apparatus controls place by information processing unit setting on some electronic equipment
Electronic equipment and other electronic equipments.
By adopting the above technical scheme, by being examined by detection circuit for the corresponding detection circuit of varying environment parameter configuration
It surveys whether environmental parameter meets trigger condition, when determining that environmental parameter meets trigger condition, can just trigger processor and enter fortune
Row state is generated the control instruction for being directed to electronic equipment, is detected environmental parameter in a manner of poll without processor, not only shortened
The operation duration of processor, and trigger event can be timely responded to.
Example IV
The embodiment of the present application also provides another information processing units, as shown in fig. 7, the information processing 70 includes: place
Reason device 701 and the memory 702 for being configured to the computer program that storage can be run on a processor;
Wherein, when processor 701 is configured to operation computer program, the method and step in previous embodiment is executed.
Certainly, when practical application, as shown in fig. 7, the various components in the information processing unit 70 pass through bus system 703
It is coupled.It is understood that bus system 703 is for realizing the connection communication between these components.Bus system 703 is removed
It further include power bus, control bus and status signal bus in addition except data/address bus.But for the sake of clear explanation, in Fig. 7
It is middle that various buses are all designated as bus system 703.
In practical applications, above-mentioned processor can be application-specific IC (ASIC, Application
Specific Integrated Circuit), digital signal processing device (DSPD, Digital Signal Processing
Device), programmable logic device (PLD, Programmable Logic Device), field programmable gate array
At least one of (Field-Programmable Gate Array, FPGA), controller, microcontroller, microprocessor.It can
To understand ground, for different equipment, the electronic device for realizing above-mentioned processor function can also be other, the application reality
Example is applied to be not especially limited.
Above-mentioned memory can be volatile memory (volatile memory), such as random access memory (RAM,
Random-Access Memory);Or nonvolatile memory (non-volatile memory), such as read-only memory
(ROM, Read-Only Memory), flash memory (flash memory), hard disk (HDD, Hard Disk Drive) or solid
State hard disk (SSD, Solid-State Drive);Or the combination of the memory of mentioned kind, and to processor provide instruction and
Data.
The embodiment of the present application also provides a kind of computer readable storage mediums, for storing computer program.
Optionally, which can be applied to any one information processing apparatus in the embodiment of the present application
It sets, and the computer program makes computer execute the respective streams realized in each method of the embodiment of the present application by processor
Journey, for sake of simplicity, details are not described herein.
In several embodiments provided herein, it should be understood that disclosed device and method can pass through it
Its mode is realized.Apparatus embodiments described above are merely indicative, for example, the division of the unit, only
A kind of logical function partition, there may be another division manner in actual implementation, such as: multiple units or components can combine, or
It is desirably integrated into another system, or some features can be ignored or not executed.In addition, shown or discussed each composition portion
Mutual coupling or direct-coupling or communication connection is divided to can be through some interfaces, the INDIRECT COUPLING of equipment or unit
Or communication connection, it can be electrical, mechanical or other forms.
Above-mentioned unit as illustrated by the separation member, which can be or may not be, to be physically separated, aobvious as unit
The component shown can be or may not be physical unit, it can and it is in one place, it may be distributed over multiple network lists
In member;Some or all of units can be selected to achieve the purpose of the solution of this embodiment according to the actual needs.
In addition, each functional unit in various embodiments of the present invention can be fully integrated into a processing module, it can also
To be each unit individually as a unit, can also be integrated in one unit with two or more units;It is above-mentioned
Integrated unit both can take the form of hardware realization, can also realize in the form of hardware adds SFU software functional unit.This
Field those of ordinary skill, which is understood that, realizes that all or part of the steps of above method embodiment can be by program instruction phase
The hardware of pass is completed, and program above-mentioned can be stored in a computer readable storage medium, which when being executed, holds
Row step including the steps of the foregoing method embodiments;And storage medium above-mentioned include: movable storage device, read-only memory (ROM,
Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic or disk etc. it is various
It can store the medium of program code.
Disclosed method in several embodiments of the method provided herein, in the absence of conflict can be any group
It closes, obtains new embodiment of the method.
Disclosed feature in several product embodiments provided herein, in the absence of conflict can be any group
It closes, obtains new product embodiments.
Disclosed feature in several methods provided herein or apparatus embodiments, in the absence of conflict can be with
Any combination obtains new embodiment of the method or apparatus embodiments.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any
Those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all contain
Lid is within protection scope of the present invention.Therefore, protection scope of the present invention should be based on the protection scope of the described claims.
Claims (10)
1. a kind of information processing method, which is characterized in that the described method includes:
M detection circuit is configured for M environmental parameter;Wherein, M is positive integer, and the detection circuit is used to detect the ring of input
Whether border parameter meets preset trigger condition;
The M environmental parameter is obtained, the M environmental parameter is input in the M detection circuit;
When the environmental parameter of N number of detection circuit input in the M detection circuit meets preset trigger condition, N is exported
A triggering command;Wherein, N is the positive integer less than or equal to M;
Enter operating status based on N number of triggering command control processor, to generate the N number of control for being directed to N number of electronic equipment
Instruction.
2. the method according to claim 1, wherein it is described based on N number of triggering command control processor into
Enter operating status, comprising:
Based on the first triggering command in N number of triggering command, controls the processor and enter operating status;Wherein, described
First triggering command is that the processor is in the triggering command obtained earliest when sleep state.
3. the method according to claim 1, wherein the generation refers to for N number of control of N number of electronic equipment
It enables, comprising:
The processor, which is triggered, based on N number of triggering command runs N number of application program;Wherein, different application is corresponding not
Control with electronic equipment operates;
Based on the environmental parameter of N number of detection circuit input, the N number of control instruction for being directed to N number of electronic equipment is generated.
4. according to the method described in claim 3, it is characterized in that, described generate the N number of control for being directed to N number of electronic equipment
After instruction, the method also includes:
Control the processor N number of application program out of service.
5. method according to claim 1-4, which is characterized in that the preset trigger condition include it is following it
One:
The environmental parameter is changed to the second parameter area from the first parameter area;Wherein, first parameter variation range exists
Before second parameter variation range;
The environmental parameter is changed to the 4th parameter area from the third parameter area;Wherein, the third parameter becomes
Change range after the 4th Parameters variation.
6. the method according to claim 1, wherein described generate the N number of control instruction for being directed to N number of electronic equipment
Later, the method also includes:
It controls the processor and enters sleep state.
7. according to the method described in claim 6, it is characterized in that, described generate the N number of control instruction for being directed to N number of electronic equipment
Later, the method also includes:
When the environmental parameter of M detection circuit input is unsatisfactory for preset trigger condition, output M is non-touch to send instructions;
The control processor enters sleep state, comprising:
When M detection circuit output M is non-touch to send instructions, controls the processor and enter sleep state.
8. a kind of information processing unit, which is characterized in that described device includes: processor and M detection circuit;Wherein, M is positive
Integer;
Whether the M detection circuit, the environmental parameter for detecting input meet preset trigger condition;
The M detection circuit, is also used to obtain M environmental parameter;When N number of detection circuit in the M detection circuit is defeated
When the environmental parameter entered meets preset trigger condition, N number of detection circuit exports N number of triggering command;Wherein, N be less than
Or the positive integer equal to M;
The processor, for entering operating status based on N number of triggering command, to generate for the N number of of N number of electronic equipment
Control instruction.
9. a kind of information processing unit, described device includes: processor and is configured to store the meter that can be run on a processor
The memory of calculation machine program,
Wherein, when the processor is configured to run the computer program, perform claim requires any one of 1 to 7 the method
The step of.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program quilt
The step of claim 1 to 7 described in any item methods are realized when processor executes.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910401679.8A CN110275804B (en) | 2019-05-14 | 2019-05-14 | Information processing method, device and computer readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910401679.8A CN110275804B (en) | 2019-05-14 | 2019-05-14 | Information processing method, device and computer readable storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110275804A true CN110275804A (en) | 2019-09-24 |
CN110275804B CN110275804B (en) | 2023-08-11 |
Family
ID=67960003
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910401679.8A Active CN110275804B (en) | 2019-05-14 | 2019-05-14 | Information processing method, device and computer readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110275804B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111654844A (en) * | 2020-04-23 | 2020-09-11 | 杭州涂鸦信息技术有限公司 | Device pairing method and related device and device |
Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101978748A (en) * | 2008-04-11 | 2011-02-16 | 高通股份有限公司 | Power management using at least one of a special purpose processor and motion sensing |
TW201129900A (en) * | 2010-02-25 | 2011-09-01 | Tatung Co | Method for reducing power consumption in an embedded device |
CN202437097U (en) * | 2012-02-09 | 2012-09-19 | 肖梅华 | Medical temperature tester |
US20130268125A1 (en) * | 2012-04-05 | 2013-10-10 | Yoky Matsuoka | Continuous intelligent-control-system update using information requests directed to user devices |
CN103677984A (en) * | 2012-09-20 | 2014-03-26 | 中国科学院计算技术研究所 | Internet of Things calculation task scheduling system and method |
CN104025095A (en) * | 2011-10-05 | 2014-09-03 | 奥普唐公司 | Methods, apparatus, and systems for monitoring and/or controlling dynamic environments |
CN104503286A (en) * | 2014-12-26 | 2015-04-08 | 上海斐讯数据通信技术有限公司 | Intelligent control system and intelligent control method |
CN106292314A (en) * | 2015-06-26 | 2017-01-04 | 联想(北京)有限公司 | A kind of information processing method and electronic equipment |
US20170201942A1 (en) * | 2015-02-05 | 2017-07-13 | Apple Inc. | Dynamic connection path detection and selection for wireless controllers and accessories |
CN107458418A (en) * | 2017-07-21 | 2017-12-12 | 深圳市亚泰光电技术有限公司 | self-powered train operation state monitoring system |
CN109298637A (en) * | 2017-07-25 | 2019-02-01 | ***通信有限公司研究院 | A kind of intelligent home equipment control method and device |
WO2019033366A1 (en) * | 2017-08-17 | 2019-02-21 | 深圳市优品壹电子有限公司 | Device control method and apparatus |
-
2019
- 2019-05-14 CN CN201910401679.8A patent/CN110275804B/en active Active
Patent Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101978748A (en) * | 2008-04-11 | 2011-02-16 | 高通股份有限公司 | Power management using at least one of a special purpose processor and motion sensing |
TW201129900A (en) * | 2010-02-25 | 2011-09-01 | Tatung Co | Method for reducing power consumption in an embedded device |
CN104025095A (en) * | 2011-10-05 | 2014-09-03 | 奥普唐公司 | Methods, apparatus, and systems for monitoring and/or controlling dynamic environments |
CN202437097U (en) * | 2012-02-09 | 2012-09-19 | 肖梅华 | Medical temperature tester |
US20130268125A1 (en) * | 2012-04-05 | 2013-10-10 | Yoky Matsuoka | Continuous intelligent-control-system update using information requests directed to user devices |
CN103677984A (en) * | 2012-09-20 | 2014-03-26 | 中国科学院计算技术研究所 | Internet of Things calculation task scheduling system and method |
CN104503286A (en) * | 2014-12-26 | 2015-04-08 | 上海斐讯数据通信技术有限公司 | Intelligent control system and intelligent control method |
US20170201942A1 (en) * | 2015-02-05 | 2017-07-13 | Apple Inc. | Dynamic connection path detection and selection for wireless controllers and accessories |
CN106292314A (en) * | 2015-06-26 | 2017-01-04 | 联想(北京)有限公司 | A kind of information processing method and electronic equipment |
CN107458418A (en) * | 2017-07-21 | 2017-12-12 | 深圳市亚泰光电技术有限公司 | self-powered train operation state monitoring system |
CN109298637A (en) * | 2017-07-25 | 2019-02-01 | ***通信有限公司研究院 | A kind of intelligent home equipment control method and device |
WO2019033366A1 (en) * | 2017-08-17 | 2019-02-21 | 深圳市优品壹电子有限公司 | Device control method and apparatus |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111654844A (en) * | 2020-04-23 | 2020-09-11 | 杭州涂鸦信息技术有限公司 | Device pairing method and related device and device |
Also Published As
Publication number | Publication date |
---|---|
CN110275804B (en) | 2023-08-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104423970B (en) | The dynamic programming and control of networked sensor and microcontroller | |
CN110251034A (en) | A kind of control method and dish-washing machine of sterilizing operation | |
US6606670B1 (en) | Circuit serial programming of default configuration | |
CN102213953B (en) | Input module of plc | |
CN107781879A (en) | Apparatus for treating cooking fume and method | |
CN102026524A (en) | Self-cleaning chassis | |
CN110658447B (en) | Relay service life detection method | |
CN105627513B (en) | The control method of air-conditioning, apparatus and system | |
CN108896613A (en) | Water logging detection device and method | |
JP2014085803A (en) | Communication device | |
CN110275804A (en) | A kind of information processing method, device and computer readable storage medium | |
CN104991537A (en) | Control method of smart device | |
CN110427220A (en) | Configuration method, device, electronic equipment and the storage medium of device command | |
CN107390764B (en) | Thermal-shutdown circuit and method, air conditioner | |
CN104252330A (en) | Information processing method and electronic equipment | |
CN109992079A (en) | Terminal device and control method applied to terminal device | |
CN202075060U (en) | Temperature measuring device of numerical control sterilizing cabinet | |
CN105759663B (en) | Industrial device controls treating method and apparatus | |
CN102487277B (en) | Induction installation and inducing method | |
KR20120055811A (en) | Method for detecting switch input in the sleep mode | |
CN105223880B (en) | A kind of programme-control box net synchronization capability detection method and device | |
CN110332673A (en) | The electrical metering system of air-conditioning, the control method of air-conditioning and device | |
CN106527643B (en) | A kind of communication equipment and its method for managing power supply | |
CN207663496U (en) | A kind of intelligent door lock | |
CN111090239A (en) | Control method, control device, intelligent equipment and computer storage 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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |