CN108566320A - A kind of method and electronic equipment of information reporting - Google Patents

A kind of method and electronic equipment of information reporting Download PDF

Info

Publication number
CN108566320A
CN108566320A CN201810267219.6A CN201810267219A CN108566320A CN 108566320 A CN108566320 A CN 108566320A CN 201810267219 A CN201810267219 A CN 201810267219A CN 108566320 A CN108566320 A CN 108566320A
Authority
CN
China
Prior art keywords
information
sequence information
state
value
sequence
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.)
Pending
Application number
CN201810267219.6A
Other languages
Chinese (zh)
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.)
Qingdao Hisense Smart Home System Ltd By Share Ltd
Original Assignee
Qingdao Hisense Smart Home System Ltd By Share 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 Qingdao Hisense Smart Home System Ltd By Share Ltd filed Critical Qingdao Hisense Smart Home System Ltd By Share Ltd
Priority to CN201810267219.6A priority Critical patent/CN108566320A/en
Publication of CN108566320A publication Critical patent/CN108566320A/en
Pending legal-status Critical Current

Links

Classifications

    • 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/2823Reporting information sensed by appliance or service execution status of appliance services in a home automation network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0604Management of faults, events, alarms or notifications using filtering, e.g. reduction of information by using priority, element types, position or time
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/06Generation of reports
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0805Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
    • H04L43/0817Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking functioning

Abstract

The invention discloses a kind of method of information reporting and electronic equipments, to solve intelligent appliance equipment existing in the prior art larger technical problem of volume of transmitted data in uploaded state information, and due to there is a problem of that volume of transmitted data is larger, to also further draw transmission power increase when sending out transmission data causes the energy consumption of electronic equipment to rise, and the problem of need to occupy more network bandwidth.Including:Collect the current state sequence information of the electronic equipment;Wherein, the current state sequence information is stored the corresponding state value of various states of the electronic equipment by intrinsic sequence;The current state sequence information is compared with initiation sequence information, obtains comparison result;Wherein, the initiation sequence information is the corresponding normality value of the various states by the intrinsic sequence storage;The comparison result is packaged by specified data format, determines information to be sent;And the information to be sent is sent to server.

Description

A kind of method and electronic equipment of information reporting
Technical field
The present invention relates to Smart Home technical fields, more particularly, to the method and electronic equipment of a kind of information reporting.
Background technology
With the rise and development of artificial intelligence technology, also showed between the intelligent appliance equipment of smart home industry mutually Join intercommunication and the intelligentized feature of height.
For example, user can understand the use state of intelligent appliance equipment, and the intelligent family of control by intelligent terminal The operation of electric equipment;Enterprise of manufacturer can also be monitored and analyzed by the status log uploaded to intelligent appliance equipment, into And grasp whether intelligent appliance equipment breaks down and provide maintenance service to user immediately.
When intelligent appliance device-to-server uploads status log, typically periodically by the status information of regular length It is transmitted in server.Such as:The every 5 minutes open and close states for collecting and reporting a refrigerator doors, freeze indoor temperature etc..
However, in this process, since there are many amount of state information that intelligent appliance equipment is collected.For example, refrigerator is received The information content of collection has reached more or less a hundred, and this quantitative value also has the trend continued growing.Due in majority of case Under, the status information of intelligent appliance equipment seldom changes, and its variation range also very little, such as refrigerator doors open and close shape State corresponds to 0 and 1 the two values respectively, and is closed in most of time refrigerator doors.If at this time still every 5 Minute reports all status informations of a refrigerator, the stl status information for leading to bulk redundancy is uploaded, and then cause intelligence Energy household appliance needs to expend more electric energy to send these redundancies, and increases network load.
Therefore, in uploaded state information, how to effectively reduce the transmission quantity of data becomes a technology urgently to be resolved hurrily Problem, and due to there is a problem of that volume of transmitted data is larger, will also further draw transmission power increase when sending data and lead The problem of causing the energy consumption of electronic equipment to rise, and needing to occupy more network bandwidth.
Invention content
The present invention provides a kind of method and electronic equipment of information reporting, to solve intelligent family existing in the prior art Electric equipment is in uploaded state information, the larger technical problem of volume of transmitted data, and larger since there are volumes of transmitted data Further initiation transmission power increase is also caused the energy consumption of electronic equipment to rise, and needs to occupy by problem when sending data The problem of more network bandwidth.
In a first aspect, in order to solve the above technical problems, a kind of technology of information uploading method provided in an embodiment of the present invention Scheme is as follows:
Collect the current state sequence information of the electronic equipment;Wherein, the current state sequence information presses intrinsic sequence Row store the corresponding state value of various states of the electronic equipment;
The current state sequence information is compared with initiation sequence information, obtains comparison result;Wherein, described first Beginning sequence information is the corresponding normality value of the various states by the intrinsic sequence storage;
The comparison result is packaged by specified data format, determines information to be sent;And it pending delivers letters described Breath is sent to server.
By will have the current state sequence information of identical intrinsic sequence to be compared with initiation sequence information, that is, The state value of state in current state sequence information is compared with corresponding normality value, and comparison result is encapsulated as waiting for The server that information is sent to distal end is sent, it is as current state sequence information so that electronic equipment is sent to the data of server In state value and the comparison result of corresponding normality value this sub-fraction data, and not all current state sequence letter Breath, to effectively reduce the data volume that electronic equipment reports information;Further, since the data volume for needing to transmit reduces So that the working time of the transmitter of electronic equipment also consequently reduces, and is uploaded so as to effectively reduce electronic equipment The electricity consumed when information, and network load can also be effectively reduced.
Optionally, the current state sequence information is compared with initiation sequence information, obtains comparison result, packet It includes:
If the current state sequence information is identical as the initiation sequence information, using specified particular value as the ratio Relatively result.
Optionally, it after whether the current state sequence information and the initiation sequence information are identical, also wraps It includes:
If the current state sequence information is differed with the initiation sequence information, it is determined that the current state sequence State value in the information abnormality different from the normality value of initiation sequence information;
The corresponding state value of the abnormality and the location information in the intrinsic sequence are recorded, difference letter is obtained Breath;By all differences information, as the comparison result.
In current state sequence information and initiation sequence information difference, by by the state value of abnormality and intrinsic Location information in sequence is found out from current state sequence information, and as comparative result so that reports electronic equipment When status information, comparison result only need to be sent, without current state sequence information is all sent to server, can effectively be subtracted The data volume to be sent less.
Optionally, the normality value of the state value and the initiation sequence information in the current state sequence information is determined not Same abnormality, including:
The state value of each state is obtained from the current state sequence information;
By location information of each state in the intrinsic sequence, institute is obtained from the initiation sequence information State the normality value of each state;
If the state value of each state is differed with the normality value, it is determined that be the abnormality.
Optionally, the comparison result is packaged by specified data format, obtains information to be sent, including:
Take out the corresponding state value of each difference status and the location information in the intrinsic sequence;
By the corresponding state value of each difference status and the location information in the intrinsic sequence, it is stored in new sequence In row;
Until by the corresponding state value of all differences state in the comparison result and the position in the intrinsic sequence Confidence breath is stored in the new sequence, obtains the information to be sent.
Second aspect, an embodiment of the present invention provides a kind of electronic equipments for information reporting, including:
Collector unit, for collecting current state sequence information;Wherein, the current state sequence information presses intrinsic sequence The corresponding state value of various states of storage;
Comparing unit, for the current state sequence information to be compared with initiation sequence information, knot is compared in acquisition Fruit;Wherein, the initiation sequence information is the corresponding normality value of the various states by the intrinsic sequence storage;
Transmission unit determines information to be sent for the comparison result to be packaged by specified data format;And it will The information to be sent is sent to server.
Optionally, the comparing unit is specifically used for:
If the current state sequence information is identical as the initiation sequence information, using specified particular value as the ratio Relatively result.
Optionally, the comparing unit is additionally operable to:
If the current state sequence information is differed with the initiation sequence information, it is determined that the current state sequence State value in the information abnormality different from the normality value of initiation sequence information;
The corresponding state value of the abnormality and the location information in the intrinsic sequence are recorded, difference letter is obtained Breath;By all differences information, as the comparison result.
Optionally, the comparing unit is specifically used for:
The state value of each state is obtained from the current state sequence information;
By location information of each state in the intrinsic sequence, institute is obtained from the initiation sequence information State the normality value of each state;
If the state value of each state is differed with the normality value, it is determined that be the abnormality.
Optionally, the transmission unit is specifically used for:
Take out the corresponding state value of each difference status and the location information in the intrinsic sequence;
By the corresponding state value of each difference status and the location information in the intrinsic sequence, it is stored in new sequence In row;
Until by the corresponding state value of all differences state in the comparison result and the position in the intrinsic sequence Confidence breath is stored in the new sequence, obtains the information to be sent.
The third aspect, the embodiment of the present invention also provide a kind of electronic equipment for information reporting, including:
At least one processor, and
The memory being connect at least one processor;
Wherein, the memory is stored with the instruction that can be executed by least one processor, at least one place The instruction that device is stored by executing the memory is managed, the method as described in above-mentioned first aspect is executed.
The technical solution in said one or multiple embodiments through the embodiment of the present invention, the embodiment of the present invention at least have There is following technique effect:
In embodiment provided by the invention, by will have the current state sequence information of identical intrinsic sequence with it is initial Sequence information is compared, that is, the state value of the state in current state sequence information is compared with corresponding normality value Compared with, and comparison result is encapsulated as the server that information to be sent is sent to distal end, so that electronic equipment is sent to the number of server According to being this sub-fraction data as state value and the comparison result of corresponding normality value in current state sequence information, and Not all current state sequence information, to effectively reduce the data volume that electronic equipment reports information;Further, by In needing the data volume transmitted to reduce, the power consumption of data transmission is also just reduced accordingly, so as to effectively reduce electronics The electricity consumed when equipment upload information, and network load can also be effectively reduced.
Description of the drawings
Fig. 1 is a kind of flow chart of information uploading method provided in an embodiment of the present invention;
Fig. 2 is a kind of schematic diagram of intrinsic sequence provided in an embodiment of the present invention;
Fig. 3 is the schematic diagram of relatively current state sequence information and initiation sequence information provided in an embodiment of the present invention;
Fig. 4 is the structural schematic diagram of a kind of electronic equipment provided in an embodiment of the present invention;
Fig. 5 is a kind of electronic equipment provided in an embodiment of the present invention.
Specific implementation mode
Implementation column of the present invention provides a kind of method of information reporting, to solve intelligent appliance equipment existing in the prior art In uploaded state information, the larger technical problem of volume of transmitted data, and due to there is a problem of that volume of transmitted data is larger, Also cause the energy consumption of electronic equipment to rise further initiation transmission power increase when transmission data, and needs to occupy more network The problem of bandwidth.
In order to solve the above technical problems, general thought is as follows for technical solution in the embodiment of the present application:
A kind of method of information reporting is provided, including:Collect the current state sequence information of electronic equipment;Wherein, currently Status switch information is stored the corresponding state value of various states of electronic equipment by intrinsic sequence;By current state sequence information with Initiation sequence information is compared, and obtains comparison result;Wherein, initiation sequence information is the various states stored by intrinsic sequence Corresponding normality value;Comparison result is packaged by specified data format, obtains information to be sent;And information to be sent is sent out It is sent to server.
Due in the above scheme, by that will have the current state sequence information of identical intrinsic sequence to believe with initiation sequence Breath is compared, that is, the state value of the state in current state sequence information is compared with corresponding normality value, and Comparison result is encapsulated as the server that information to be sent is sent to distal end, it is to make so that electronic equipment is sent to the data of server For this sub-fraction data of state value and the comparison result of corresponding normality value in current state sequence information, and it is not all Current state sequence information, to effectively reduce the data volume that electronic equipment reports information;Further, due to needing The data volume of transmission reduces, and the power consumption of data transmission is also just reduced accordingly, so as to effectively reduce on electronic equipment The electricity that communication is consumed when ceasing, and network load can also be effectively reduced.
In order to better understand the above technical scheme, below by attached drawing and specific embodiment to technical solution of the present invention It is described in detail, it should be understood that the specific features in the embodiment of the present invention and embodiment are to the detailed of technical solution of the present invention Thin explanation, rather than to the restriction of technical solution of the present invention, in the absence of conflict, the embodiment of the present invention and embodiment In technical characteristic can be combined with each other.
Referring to FIG. 1, the embodiment of the present invention provides a kind of method of information reporting, the processing procedure of this method is as follows.
Step 101:Collect the current state sequence information of electronic equipment;Wherein, current state sequence information presses intrinsic sequence The corresponding state value of various states of row storage electronic equipment.
Intrinsic sequence can be queue, storehouse, chained list etc., allow each state of electronic equipment can be with consolidating in intrinsic sequence Positioning is set corresponding, can determine corresponding state categories by the location information of intrinsic sequence.
For example, Fig. 2 is referred to, intrinsic sequence is the sequence that a length is n, and n is positive integer.Assuming that intrinsic sequence In position 1 represent the switches (state 1) of refrigerator doors, indicated out with 1, indicate to close with 0;Position 2 represents refrigerating chamber set temperature It is worth (state 2), value range is 0-8 degrees Celsius;Position 3 represents cold compartment of refrigerator Reflector (state 3), is indicated without reason with 0 Barrier indicates that there are failures with 1;Position 4 indicates freezing chamber Reflector (state 4), indicates fault-free with 0, indicates there is event with 1 Barrier, position n represents the actual temperature value of freezer compartment of refrigerator, and (state n), value range are -20-20 degrees Celsius, as use -2 indicates -2 ℃。
The value range of the state value of each state may be used the mode enumerated and be indicated, for example, state 1 value Ranging from { 0,1 } illustrates that state 1 has 2 kinds of state values 0 and 1;The value range of state 2 be { 0,1,2,3,4,5,6,7,8 } then Illustrate that state 2 there are 9 kinds of state values 0,1,2,3,4,5,6,7,8;The state value of state n is { actual temperature value }, then illustrates state n State value directly indicated with actual temperature value.
It is to be appreciated that the value mode of above-mentioned state value is a kind of simple citing, and the value side of state value Formula can determine according to actual needs, not limited herein using what mode specifically.
So, according to fig. 2 in intrinsic sequence schematic diagram be known that the state of refrigerator be refrigerator doors be closed, Refrigerating chamber set temperature value is 2 DEG C, refrigerating chamber there are failure, the temperature of freezing chamber is -2 DEG C.
After gathering current state sequence information, step 102 can be executed.
Step 102:Current state sequence information is compared with initiation sequence information, obtains comparison result;Wherein, just Beginning sequence information is the corresponding normality value of various states stored by intrinsic sequence.
Initiation sequence information is used to store in the various states of the electronic equipment of acquisition, the highest state value of the frequency of occurrences, The corresponding normality value of i.e. various states.And the storage of these normality values is also to be carried out according to the intrinsic sequential manner in step 101 Storage.
For example, refrigerator doors are (state values 0) being closed under normal conditions, according to people's use habit Empirical analysis, and to collected refrigerator relevant information it is for statistical analysis after, it was concluded that 0 occur frequency Highest, this belongs to the normality of refrigerator doors, therefore by the 0 normality value as refrigerator doors.
Assuming that refrigerator is stateful 1, state 2, state 3, state 4 and state 5, their corresponding normality values are followed successively by:0、2、 1,1,0, it can be denoted as { 0,2,1,1,0 }.
In the embodiment of the present application, initiation sequence information is stored in the transmitter of electronic equipment (such as:Wifi modules, 3G are logical Believe module, bluetooth module, Zigbee module etc.) and the server of distal end on.When electronic equipment dispatches from the factory, initial information meeting It is cured on transmitter.
Current state sequence information is compared with initiation sequence information, if current state sequence information and initiation sequence Information is identical, then using specified particular value as the comparison result.
The mode compared can be one by one or simultaneously to the state value of each state in current state sequence information with it is corresponding Normality value is compared, and then is reached and compared current state sequence information and the whether identical purpose of initiation sequence information;Also may be used To carry out Hash calculation, corresponding acquisition the first cryptographic Hash and second respectively to current state sequence information and initiation sequence information Cryptographic Hash, it is then whether identical by comparing the first cryptographic Hash and the second cryptographic Hash, compare current state sequence information to reach The purpose whether different from initiation sequence information.
As an example it is assumed that initiation sequence information be { 0,2,1,1,0 }, the current state sequence information being collected into be 0, 2,1,1,1 }, hash algorithm is using md5 algorithms.
Then, Hash calculation is carried out to initiation sequence information and current state sequence information:
Md5 ({ 0,2,1,1,0 })=c5d5d33b4899c416cb39344a856418d7, obtains the first cryptographic Hash;
Md5 ({ 0,2,1,1,1 })=08071b1513b430a987b89415801ee503, obtains the second cryptographic Hash.
By comparing, the first cryptographic Hash c5d5d33b4899c416cb39344a856418d7 and the second cryptographic Hash are found 08071b1513b430a987b89415801ee503 is different, then illustrates current state sequence information with initiation sequence information not Together.
By carrying out Hash calculation to initiation sequence information and current state sequence information, and then obtains corresponding first and breathe out Uncommon value and the second cryptographic Hash, then by judging whether the first cryptographic Hash is identical as the second cryptographic Hash, can reach quick judgement Initiation sequence information and the whether identical technique effect of current state sequence information.
It is to be appreciated that md5 algorithms are one kind in hash algorithm, which kind of Hash is specifically used in practical applications Algorithm does not limit herein.
If current state sequence information is identical as initiation sequence information, as comparative result by specified particular value.Its In, specified particular value is a particular value preset, such as can be NULL.If that is, current state sequence information with it is initial Sequence information is identical, then comparison result is NULL, can be denoted as { NULL }.
If current state sequence information is different from initiation sequence information, it is determined that the state in current state sequence information The value abnormality different from the normality value of initiation sequence information.It specifically can first be obtained from current state sequence information every The state value of a state, then the location information by each state in intrinsic sequence, obtains every from initiation sequence information The normality value of a state;If the state value of last any state is differed with normality value, it is determined that be abnormality.
From in current state sequence information determine abnormality after, you can the corresponding state value of recording exceptional state and Location information in intrinsic sequence obtains different information;Then by all differences information, as comparative result.
As an example it is assumed that initiation sequence information is { 0,2,1,1,0 }, the current state sequence information being collected into for the first time For { 0,2,1,1,1 }, the current state sequence information being collected into for the second time is { 0,1,0,1,0 }, and what is be collected into for the third time is current Status switch information is { 0,2,1,1,0 }.
Fig. 3 is referred to, provides and compares current state sequence information and initiation sequence information, obtains the signal of comparison result Figure.
After being collected into the current state sequence information of first time, opsition dependent compares state value and normality value Compared with comparison result is that the state value of only position 5 is different from normality value, and then can determine that abnormality is that position 5 is corresponding State, it is { 5 to obtain comparison result:1}.
After being collected into secondary current state sequence information, opsition dependent compares state value and normality value Compared with comparison result is that the only state value of position 2 and position 3 is different from normality value, and then can determine that abnormality is position 2 With 3 corresponding state of position, it is { 2 to obtain comparison result:1,3:0}.
After being collected into the current state sequence information of third time, opsition dependent compares state value and normality value Compared with comparison result is identical, and it is { NULL } to obtain comparison result.
In current state sequence information and initiation sequence information difference, by by the state value of abnormality and intrinsic Location information in sequence is found out from current state sequence information, and as comparative result so that reports electronic equipment When status information, comparison result only need to be sent, it, can be effective from without current state sequence information is all just sent to server The reduction data volume to be sent.
After obtaining comparison result of the current state sequence information with initiation sequence information, step 103 can be executed.
Step 103:Comparison result is packaged by specified data format, determines information to be sent;And it delivers letters pending Breath is sent to server.
Since electronic equipment needs that comparison result is sent to the server of distal end by network, such as internet, 3G net, And to carry out the transmission of network data, it is necessary to follow corresponding Data Transport Protocol, usual Data Transport Protocol, which all has, to be referred to Fixed data format, therefore need comparison result being packaged by specified data format, to obtain data to be sent, Zhi Houtong Cross the server that data to be sent are sent to distal end by the network equipment (such as router).
Based on same inventive concept, a kind of electronic equipment for information reporting, the electricity are provided in one embodiment of the invention The specific implementation mode of the information uploading method of sub- equipment can be found in the description of embodiment of the method part, and it is no longer superfluous to repeat place It states, refers to Fig. 4, which includes:
Collector unit 401, for collecting current state sequence information;Wherein, the current state sequence information is by intrinsic The corresponding state value of various states of sequence storage;
Comparing unit 402 is compared for the current state sequence information to be compared with initiation sequence information As a result;Wherein, the initiation sequence information is the corresponding normality value of the various states by the intrinsic sequence storage;
Transmission unit 403 determines information to be sent for the comparison result to be packaged by specified data format; And the information to be sent is sent to server.
Optionally, the comparing unit 402 is specifically used for:
If the current state sequence information is identical as the initiation sequence information, using specified particular value as the ratio Relatively result.
Optionally, the comparing unit 402 is additionally operable to:
If the current state sequence information is differed with the initiation sequence information, it is determined that the current state sequence State value in the information abnormality different from the normality value of initiation sequence information;
The corresponding state value of the abnormality and the location information in the intrinsic sequence are recorded, difference letter is obtained Breath;By all differences information, as the comparison result.
Optionally, the comparing unit 402 is additionally operable to:
The state value of each state is obtained from the current state sequence information;
By location information of each state in the intrinsic sequence, institute is obtained from the initiation sequence information State the normality value of each state;
If the state value of each state is differed with the normality value, it is determined that be the abnormality.
Optionally, the transmission unit 402 is specifically used for:
Take out the corresponding state value of each difference status and the location information in the intrinsic sequence;
By the corresponding state value of each difference status and the location information in the intrinsic sequence, it is stored in new sequence In row;
Until by the corresponding state value of all differences state in the comparison result and the position in the intrinsic sequence Confidence breath is stored in the new sequence, obtains the information to be sent.
Based on same inventive concept, a kind of electronic equipment for information reporting is provided in the embodiment of the present invention, please be join See Fig. 5, including:At least one processor, and
The memory being connect at least one processor;
Wherein, the memory is stored with the instruction that can be executed by least one processor, at least one place The instruction that device is stored by executing the memory is managed, information uploading method as described above is executed.Input and output in Fig. 5 connect Mouth can be used for transmission data and above-metioned instruction by bus.
In embodiment provided by the invention, by will have the current state sequence information of identical intrinsic sequence with it is initial Sequence information is compared, that is, the state value of the state in current state sequence information is compared with corresponding normality value Compared with, and comparison result is encapsulated as the server that information to be sent is sent to distal end, so that electronic equipment is sent to the number of server According to being this sub-fraction data as state value and the comparison result of corresponding normality value in current state sequence information, and Not all current state sequence information, to effectively reduce the data volume that electronic equipment reports information;Further, by In needing the data volume transmitted to reduce, the power consumption of data transmission is also just reduced accordingly, so as to effectively reduce electronics The electricity consumed when equipment upload information, and network load can also be effectively reduced.
It should be understood by those skilled in the art that, the embodiment of the present invention can be provided as method, system or computer program production Product.Therefore, in terms of the embodiment of the present invention can be used complete hardware embodiment, complete software embodiment or combine software and hardware Embodiment form.Moreover, it wherein includes computer available programs generation that the embodiment of the present invention, which can be used in one or more, The meter implemented in the computer-usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) of code The form of calculation machine program product.
The embodiment of the present invention be with reference to according to the method for the embodiment of the present invention, equipment (system) and computer program product Flowchart and/or the block diagram describe.It should be understood that can be realized by computer program instructions in flowchart and/or the block diagram The combination of flow and/or box in each flow and/or block and flowchart and/or the block diagram.These calculating can be provided Processing of the machine program instruction to all-purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices Device is to generate a machine so that the instruction executed by computer or the processor of other programmable data processing devices generates For realizing the function of being specified in one flow of flow chart or multiple flows and/or one box of block diagram or multiple boxes Device.
These computer program instructions, which may also be stored in, can guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works so that instruction generation stored in the computer readable memory includes referring to Enable the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one box of block diagram or The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device so that count Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, in computer or The instruction executed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram one The step of function of being specified in a box or multiple boxes.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art God and range.In this way, if these modifications and changes of the present invention belongs to the range of the claims in the present invention and its equivalent technologies Within, then the present invention is also intended to include these modifications and variations.

Claims (10)

1. a kind of method of information reporting is applied to electronic equipment, which is characterized in that including:
Collect the current state sequence information of the electronic equipment;Wherein, the current state sequence information is deposited by intrinsic sequence Put the corresponding state value of various states of the electronic equipment;
The current state sequence information is compared with initiation sequence information, obtains comparison result;Wherein, the initial sequence Column information is the corresponding normality value of the various states by the intrinsic sequence storage;
The comparison result is packaged by specified data format, determines information to be sent;And the information to be sent is sent out It is sent to server.
2. the method as described in claim 1, which is characterized in that by the current state sequence information and initiation sequence information into Row compares, and obtains comparison result, including:
If the current state sequence information is identical as the initiation sequence information, relatively tied using specified particular value as described Fruit.
3. the method as described in claim 1, which is characterized in that by the current state sequence information and initiation sequence information into Row compares, and obtains comparison result, further includes:
If the current state sequence information is differed with the initiation sequence information, it is determined that the current state sequence information In the state value abnormality different from the normality value of initiation sequence information;
The corresponding state value of the abnormality and the location information in the intrinsic sequence are recorded, different information is obtained;It will All differences information, as the comparison result.
4. method as claimed in claim 3, which is characterized in that determine the state value in the current state sequence information and institute The different abnormality of the normality value of initiation sequence information is stated, including:
The state value of each state is obtained from the current state sequence information;
By location information of each state in the intrinsic sequence, obtained from the initiation sequence information described every The normality value of a state;
If the state value of each state is differed with the normality value, it is determined that be the abnormality.
5. method as claimed in claim 4, which is characterized in that the comparison result is packaged by specified data format, Information to be sent is obtained, including:
Take out the corresponding state value of each difference status and the location information in the intrinsic sequence;
By the corresponding state value of each difference status and the location information in the intrinsic sequence, it is stored in new sequence In;
Believe until by the corresponding state value of all differences state in the comparison result and the position in the intrinsic sequence Breath is stored in the new sequence, obtains the information to be sent.
6. a kind of electronic equipment, which is characterized in that including:
Collector unit, for collecting current state sequence information;Wherein, the current state sequence information is stored by intrinsic sequence The corresponding state value of various states;
Comparing unit obtains comparison result for the current state sequence information to be compared with initiation sequence information;Its In, the initiation sequence information is the corresponding normality value of the various states by the intrinsic sequence storage;
Transmission unit determines information to be sent for the comparison result to be packaged by specified data format;And it will be described Information to be sent is sent to server.
7. electronic equipment as claimed in claim 6, which is characterized in that the comparing unit is specifically used for:
If the current state sequence information is identical as the initiation sequence information, relatively tied using specified particular value as described Fruit.
8. electronic equipment as claimed in claim 6, which is characterized in that the comparing unit is additionally operable to:
If the current state sequence information is differed with the initiation sequence information, it is determined that the current state sequence information In the state value abnormality different from the normality value of initiation sequence information;Record the corresponding state of the abnormality Value and the location information in the intrinsic sequence obtain different information;By all differences information, as the comparison result.
9. electronic equipment as claimed in claim 8, which is characterized in that the comparing unit is additionally operable to:
The state value of each state is obtained from the current state sequence information;
By location information of each state in the intrinsic sequence, obtained from the initiation sequence information described every The normality value of a state;
If the state value of each state is differed with the normality value, it is determined that be the abnormality.
10. a kind of electronic equipment, which is characterized in that including:
At least one processor, and
The memory being connect at least one processor;
Wherein, the memory is stored with the instruction that can be executed by least one processor, at least one processor By executing the instruction of the memory storage, method as described in any one in claim 1-5 is executed.
CN201810267219.6A 2018-03-28 2018-03-28 A kind of method and electronic equipment of information reporting Pending CN108566320A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810267219.6A CN108566320A (en) 2018-03-28 2018-03-28 A kind of method and electronic equipment of information reporting

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810267219.6A CN108566320A (en) 2018-03-28 2018-03-28 A kind of method and electronic equipment of information reporting

Publications (1)

Publication Number Publication Date
CN108566320A true CN108566320A (en) 2018-09-21

Family

ID=63533214

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810267219.6A Pending CN108566320A (en) 2018-03-28 2018-03-28 A kind of method and electronic equipment of information reporting

Country Status (1)

Country Link
CN (1) CN108566320A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111078755A (en) * 2019-12-19 2020-04-28 远景智能国际私人投资有限公司 Time sequence data storage query method and device, server and storage medium
CN112256527A (en) * 2020-10-19 2021-01-22 杭州萤石软件有限公司 Method, device and storage medium for protecting equipment safety during operation

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101170593A (en) * 2007-11-26 2008-04-30 华为技术有限公司 A VoIP phone terminal and online failure detection device and method
CN102043893A (en) * 2009-10-13 2011-05-04 北京大学 Disease pre-warning method and system
US20110224891A1 (en) * 2010-03-10 2011-09-15 Nokia Corporation Method and apparatus for aggregating traffic information using rich trip lines
CN103325387A (en) * 2012-03-23 2013-09-25 三菱电机株式会社 Abnormal sound diagnostic device
CN104135530A (en) * 2014-08-06 2014-11-05 上海斐讯数据通信技术有限公司 Increment reporting method and device
CN105262647A (en) * 2015-11-27 2016-01-20 广州神马移动信息科技有限公司 Abnormal index detection method and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101170593A (en) * 2007-11-26 2008-04-30 华为技术有限公司 A VoIP phone terminal and online failure detection device and method
CN102043893A (en) * 2009-10-13 2011-05-04 北京大学 Disease pre-warning method and system
US20110224891A1 (en) * 2010-03-10 2011-09-15 Nokia Corporation Method and apparatus for aggregating traffic information using rich trip lines
CN103325387A (en) * 2012-03-23 2013-09-25 三菱电机株式会社 Abnormal sound diagnostic device
CN104135530A (en) * 2014-08-06 2014-11-05 上海斐讯数据通信技术有限公司 Increment reporting method and device
CN105262647A (en) * 2015-11-27 2016-01-20 广州神马移动信息科技有限公司 Abnormal index detection method and device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111078755A (en) * 2019-12-19 2020-04-28 远景智能国际私人投资有限公司 Time sequence data storage query method and device, server and storage medium
CN112256527A (en) * 2020-10-19 2021-01-22 杭州萤石软件有限公司 Method, device and storage medium for protecting equipment safety during operation
CN112256527B (en) * 2020-10-19 2023-08-25 杭州萤石软件有限公司 Method, device and storage medium for protecting equipment operation safety

Similar Documents

Publication Publication Date Title
US11373505B2 (en) Alert system for internet of things (IOT) devices
CN105629790B (en) A kind of data management platform and its data managing method based on industrial Internet of Things
CN103363776B (en) The appliance system of long-range Automatic adjusument temperature and temperature control method
CN111163181B (en) Lightweight intelligent agricultural heterogeneous Internet of things management system
KR20050014786A (en) Home network system
CN103218310A (en) Cache device, communication apparatus, and computer program product
CN103138980A (en) Equipment failure feed-back system and method
CN108566320A (en) A kind of method and electronic equipment of information reporting
CN107861392A (en) The data management platform and method of a kind of intelligent appliance
CN105721564A (en) Data acquisition method and system based on industrial Internet of things
EP3871399A1 (en) Household appliance data management method and apparatus, and household appliance
US10841169B2 (en) Storage area network diagnostic data
JP2022535442A (en) Methods and apparatus for facilitating storage of data from industrial automation control systems or power systems
US11799983B2 (en) Ranking internet of things (IoT) data based on IoT analytics services
JP6798035B2 (en) How to realize value-added services, equipment, and cloud servers
US9647886B2 (en) Update appliance communication settings to compensate for temperature fluctuations
CN207922688U (en) A kind of refrigeration for refrigerator Performance Match device
CN107302554A (en) A kind of intelligent appliance off-line data processing method
US11822981B2 (en) Common gateway platform
CN107392325B (en) Data processing method, data processing apparatus, and computer-readable storage medium
CN108243232B (en) Industrial network information interconnection method and system
CN106020090B (en) Data packet generating device and Internet of things system
CN112003753B (en) Expected value judgment, acquisition, transmission and monitoring system and method based on configurable gateway
CN113595555B (en) Energy consumption data predictive coding compression acquisition method and system
CN107248944B (en) Performance optimization system of intelligent household system control bus

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20180921