Nothing Special   »   [go: up one dir, main page]

CN112019445B - Method and device for controlling flow of intelligent equipment and intelligent equipment - Google Patents

Method and device for controlling flow of intelligent equipment and intelligent equipment Download PDF

Info

Publication number
CN112019445B
CN112019445B CN202010762279.2A CN202010762279A CN112019445B CN 112019445 B CN112019445 B CN 112019445B CN 202010762279 A CN202010762279 A CN 202010762279A CN 112019445 B CN112019445 B CN 112019445B
Authority
CN
China
Prior art keywords
data
reported
reporting
priority
historical
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010762279.2A
Other languages
Chinese (zh)
Other versions
CN112019445A (en
Inventor
张澍
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Qingdao Haier Technology Co Ltd
Original Assignee
Qingdao Haier Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Qingdao Haier Technology Co Ltd filed Critical Qingdao Haier Technology Co Ltd
Priority to CN202010762279.2A priority Critical patent/CN112019445B/en
Publication of CN112019445A publication Critical patent/CN112019445A/en
Application granted granted Critical
Publication of CN112019445B publication Critical patent/CN112019445B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/20Traffic policing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/24Traffic characterised by specific attributes, e.g. priority or QoS
    • H04L47/2425Traffic characterised by specific attributes, e.g. priority or QoS for supporting services specification, e.g. SLA
    • H04L47/2433Allocation of priorities to traffic types
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/568Storing data temporarily at an intermediate stage, e.g. caching
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
    • H04L67/61Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources taking into account QoS or priority requirements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
    • H04L67/62Establishing a time schedule for servicing the requests

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The application relates to the technical field of communication, and discloses a method for controlling flow of intelligent equipment, which is applied to an intelligent equipment side and comprises the following steps: generating reporting data; when the reported data is judged to be effective, the reported data is written into a cache; and when the historical reporting number in unit time is smaller than the period limit of the reporting data, sending the data to be reported in the cache to the server, and counting the reported data to update the historical reporting number. In the embodiment of the disclosure, the intelligent device judges the validity of the data before sending the data to be reported to the server, so that the waste of the flow caused by the sending of invalid data is avoided, the communication cost is saved, the server can dynamically adjust the current limiting parameters of the intelligent device according to the valid reported data, and the device can report the data in time or remotely control the device when controlling other interconnection devices or receiving the control of other interconnection devices. The application also discloses a device and equipment for controlling the flow of the intelligent equipment.

Description

Method and device for controlling flow of intelligent equipment and intelligent equipment
Technical Field
The present application relates to the field of communications technologies, and for example, to a method and an apparatus for flow control of an intelligent device, and an intelligent device.
Background
At present, the narrowband internet of things is widely applied due to the characteristics of low power consumption, stable connection, low cost, optimized architecture and the like. When the existing low-power-consumption wide area network equipment is interconnected with remote equipment, a fixed time interval is often set for data reporting, or a simple and rough low-power-consumption mode is used for enabling the equipment to enter a sleep state.
In the process of implementing the embodiments of the present disclosure, it is found that at least the following problems exist in the related art: when data is reported according to fixed time intervals, the device cannot judge the validity of the data, so that a large amount of invalid flow is wasted, and when the low power consumption requirement is considered, the device cannot report the data timely or remotely control the data.
Disclosure of Invention
The following presents a simplified summary in order to provide a basic understanding of some aspects of the disclosed embodiments. This summary is not an extensive overview, and is intended to neither identify key/critical elements nor delineate the scope of such embodiments, but is intended as a prelude to the more detailed description that follows.
The embodiment of the disclosure provides a method and a device for controlling flow of intelligent equipment and the intelligent equipment, so as to solve the technical problem that the prior art cannot report data efficiently and timely or perform remote control.
In some embodiments, the method is applied to the smart device side, and includes:
generating data to be reported;
when the data to be reported is judged to be effective, the data to be reported is written into a cache;
and when the historical reporting number in unit time is smaller than the period limit, sending the data to be reported in the cache to the server, and counting the historical reporting data to update the historical reporting number.
In some embodiments, when the same data as the newly generated data to be reported does not exist in the cache, the newly generated data to be reported is judged to be valid.
In some embodiments, counting historical report data includes:
determining the priority of historical report data;
and counting historical report data according to the priority.
In some embodiments, the historical report data includes status report frame data and alert frame data; the alarm frame data has a higher priority than the status report frame data.
In some embodiments, counting historical report data according to the priority comprises:
when the historical report data is state report frame data, the priority count corresponding to the state report frame data is increased;
when the history report data is alarm frame data, the status report frame data as the highest priority is counted.
In some embodiments, sending data to be reported in the cache to the server includes:
when two or more pieces of data to be reported exist in the cache, the data to be reported is sent according to the priority.
In some embodiments, the method further comprises:
when the historical reporting number in unit time is equal to the period limit, reporting is performed in the next reporting period.
In some embodiments, the method is applied to a server side, comprising:
receiving reporting data sent by intelligent equipment and recording the reporting quantity of the reporting data;
and adjusting the period limit according to the reported number in the set time, and feeding back the adjusted period limit to the intelligent equipment.
In some embodiments, adjusting the period credit according to the number of reports received in the set time includes:
determining the independent reporting quantity of each priority in the set time;
and adjusting the periodic limit of the corresponding priority according to the independent reporting quantity.
In some embodiments, adjusting the period quota of the corresponding priority according to the independent reporting number includes:
acquiring a calculation relation between the period limit before adjustment and the period limit after adjustment;
and determining the adjusted period limit according to the independent reporting quantity, the period limit before adjustment and the calculation relation.
In some embodiments, before adjusting the period credit, further comprising:
acquiring equipment information of the intelligent equipment;
and determining the priority of the reported data according to the equipment information.
In some embodiments, the reporting data includes status report frame data and alert frame data; the alarm frame data has a higher priority than the status report frame data.
In some embodiments, recording the reporting number of the reporting data includes:
when the reporting data is status reporting frame data, the priority reporting number corresponding to the status reporting frame data is increased;
and when the reported data is alarm frame data, counting the state report frame data serving as the highest priority.
In some embodiments, the method further comprises:
and adjusting the heartbeat cycle according to the number of the reports received in the set time.
In some embodiments, the apparatus includes a processor and a memory storing program instructions for application to a smart device side, the processor being configured to perform a method for application to the smart device side when executing the program instructions.
In some embodiments, the apparatus comprises a processor and a memory storing program instructions for application on a server side, the processor being configured to, when executing the program instructions, perform a method for application on the server side.
The method and the device for controlling the flow of the intelligent equipment, and the intelligent equipment provided by the embodiment of the disclosure can realize the following technical effects:
the intelligent device judges the validity of the data before sending the data to be reported to the server, so that the waste of the flow caused by the sending of invalid data is avoided, the communication cost is saved, the server can dynamically adjust the current limiting parameters of the intelligent device according to the effective reported data, and the device can report the data in time or remotely control the device when controlling other interconnection devices or receiving the control of other interconnection devices.
The foregoing general description and the following description are exemplary and explanatory only and are not restrictive of the application.
Drawings
One or more embodiments are illustrated by way of example and not limitation in the figures of the accompanying drawings, in which like references indicate similar elements, and in which like reference numerals refer to similar elements, and in which:
FIG. 1 is a flow diagram of a method for smart device flow control provided by an embodiment of the present disclosure;
FIG. 2 is a flow diagram of another method for smart device flow control provided by an embodiment of the present disclosure;
fig. 3 is a schematic structural diagram of an apparatus for flow control of a smart device according to an embodiment of the present disclosure.
Detailed Description
So that the manner in which the features and techniques of the disclosed embodiments can be understood in more detail, a more particular description of the embodiments of the disclosure, briefly summarized below, may be had by reference to the appended drawings, which are not intended to be limiting of the embodiments of the disclosure. In the following description of the technology, for purposes of explanation, numerous details are set forth in order to provide a thorough understanding of the disclosed embodiments. However, one or more embodiments may still be practiced without these details. In other instances, well-known structures and devices may be shown simplified in order to simplify the drawing.
The terms first, second and the like in the description and in the claims of the embodiments of the disclosure and in the above-described figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate in order to describe embodiments of the present disclosure. Furthermore, the terms "comprise" and "have," as well as any variations thereof, are intended to cover a non-exclusive inclusion.
The term "plurality" means two or more, unless otherwise indicated.
In the embodiment of the present disclosure, the character "/" indicates that the front and rear objects are an or relationship. For example, A/B represents: a or B.
The term "and/or" is an associative relationship that describes an object, meaning that there may be three relationships. For example, a and/or B, represent: a or B, or, A and B.
Fig. 1 is a schematic flow chart of a method for controlling flow of an intelligent device, which is provided by an embodiment of the disclosure and is applied to an intelligent device side, and the method includes the following steps:
s101, generating data to be reported.
The intelligent device generates data to be reported according to the requirements of the user. In order to avoid that the data reported by the intelligent device is too much and reduces the communication or control efficiency, a user can set the information type contained in the reported information of the intelligent device. In addition, the type of the reported data is different according to the different device types. For example: the user sets the air conditioner to report indoor temperature information, outdoor temperature information and set temperature information without reporting wind speed information; the refrigerator is set to report the set temperature information, and indoor temperature information is not required to be reported.
S102, when the data to be reported is judged to be effective, the data to be reported is written into a cache.
In different embodiments, there are various ways to determine that the data to be reported is valid.
In some embodiments, the determination of the validity of the data to be reported is performed according to the reporting rule set by the user.
Reporting information can be generated in the intelligent device at regular time aiming at different components so that a server can monitor and record the state of the intelligent device, and network resources can be occupied when the quantity of the reporting data is too large for the intelligent device with excessive components, and control efficiency and user experience are reduced. In order to avoid that a large amount of reported data reduces user experience, a user can reduce the amount of reported data by setting reporting rules, when the reporting information generated by the intelligent equipment is of a type forbidden in the reporting rules set by the user, the reporting information is judged to be invalid, and when the reporting information generated by the intelligent equipment is of a type allowed to be reported in the reporting rules set by the user, the reporting information is judged to be valid.
In some embodiments, when the data which is the same as the data to be reported does not exist in the cache data of the intelligent device, the data to be reported is judged to be valid.
In order to avoid network congestion caused by simultaneous transmission of a plurality of pieces of information, the intelligent device stores the generated data to be reported in a cache and sequentially transmits the data to the server. And when the network quality is poor or the generation speed of the reported information is too high, the information amount in the cache can be gradually increased, and the cache pressure is gradually increased. When the data which is the same as the newly generated data to be reported does not exist in the cache, the data to be reported is judged to be valid, the cache is carried out, the data to be reported is used as the data to be reported, the server is convenient to record or send the data to a user, when the data which is the same as the newly generated data to be reported exists in the cache, the newly generated data to be reported is judged to be invalid, the cache and the reporting are not carried out, and the cache pressure is reduced to avoid network congestion.
And S103, when the historical reporting number in unit time is smaller than the period limit, sending the historical reporting number to the server, and counting the historical reporting data to update the historical reporting number.
In various embodiments, there are a number of ways to count historical report data.
In some embodiments, when the reported data types of the intelligent device are few or only one, or the requirements of the intelligent device with good network quality on the efficiency or the control efficiency of data reporting are low, the historical reported data are uniformly counted.
In some embodiments, counting historical report data in step S103 includes: determining the priority of historical report data; and counting the historical report data according to the priority. And independently counting the historical report data based on the priority, so that the user can timely acquire emergency information or information with high user attention.
In some embodiments, the historical report data includes status report frame data and alert frame data; the alarm frame data has a higher priority than the status report frame data.
In some embodiments, status report frame data includes: information data and device component data are of interest. The concerned information data is equipment state type data concerned by a user; the device component data is information of system components such as sensors, power supplies, mainboards and the like, and is used for after-sales maintenance or statistics.
In some embodiments, the priority of the information data of interest is higher than the priority of the device component data. In some embodiments, the device component data has a higher priority than the information data of interest.
Alternatively, the priority may be set by the user.
In some embodiments, when judging the type of the status report frame data, analyzing the data to be reported to determine the parameter type corresponding to the set frame character or determining the corresponding type according to the set frame byte number.
In some embodiments, counting historical report data according to priority includes: when the historical report data is state report frame data, the priority count corresponding to the state report frame data is increased; when the history report data is alarm frame data, the status report frame data as the highest priority is counted.
As follows, a specific example is described. Reporting frame data in a state includes: sensor status reporting data, power status reporting data, and motherboard status reporting data. The main board state reporting data priority is one level, the power supply state reporting data priority is two levels, and the sensor state reporting data priority is three levels. The main board state report data priority is higher than the power state report data priority is higher than the sensor state report data.
When the newly added historical report data is sensor state report data, the historical report number of the corresponding priority level three stages is added with 1; when the newly added historical report data is the power state report data, the historical report number of the corresponding priority level two is added with 1; when the newly added historical report data is the main board state report data, the historical report number corresponding to the first priority is increased by 1; when the newly added historical report data is alarm frame data, counting the state report frame data serving as the highest priority, namely adding 1 to the historical report number of the first priority.
The alarm frame data is used for reminding special conditions, for intelligent equipment which normally operates, the sending times of the alarm frame data are limited, the alarm frame data are used as state report frame data with the highest priority to count, the complexity of a method for controlling the flow of the intelligent equipment can be reduced, the efficiency of adjusting the current limiting parameters of the intelligent equipment and the control efficiency of the intelligent equipment are improved, and the user experience is improved.
In some embodiments, the adjustment to the flow restriction parameter includes both user settings and automatic corrections. When the historical report data is alarm frame data, the report frame data serving as the state with the highest priority is counted, so that the complexity of setting the current limiting parameters can be simplified, the adjustment of the current limiting parameters by a user is facilitated, and the user experience is improved.
In some embodiments, the sending the data to be reported in the buffer to the server in step S103 includes: when two or more pieces of data to be reported exist in the cache, the data to be reported is sent according to the priority. The user can acquire important information or information focused by the user in time according to the priority reporting data, so that the user can process the intelligent equipment in time according to the received information. For example: the priority of the alarm frame data is higher than that of the status report frame data, and when the buffer memory comprises one status report frame data and one alarm frame data, the alarm frame data is sent preferentially; when the buffer memory comprises two status report frame data, preferentially sending concerned information data; when there are two pieces of data of the same priority, the previously generated data is preferentially transmitted in time order.
In some embodiments, the method further comprises: when the historical reporting number in unit time is equal to the period limit, reporting is performed in the next reporting period.
The periodic line is used for limiting the reporting number, so that the situation that the processing capacity of the server is limited, and when excessive reporting data are received, the processing cannot be effectively performed is avoided. Alternatively, the unit time is 1 minute, 5 minutes, 10 minutes, 30 minutes, 1 hour, 3 hours, 6 hours, 12 hours, or 1 day. The smart device resumes counting after one period has ended. For example: the unit time is 1 hour, the period limit is 60, and when the historical reporting number in the period is 59, the data to be reported is sent to the server; when the historical reporting number in the period reaches 60, the data to be reported is cached and then sent to the server after the period is over.
In the embodiment of the disclosure, the intelligent device judges the validity of the data before sending the data to be reported to the server, so that the waste of the flow caused by the sending of invalid data is avoided, the communication cost is saved, the server can dynamically adjust the current limiting parameters of the intelligent device according to the valid reported data, and the device can report the data in time or remotely control the device when controlling other interconnection devices or receiving the control of other interconnection devices.
Fig. 2 is a flow chart of another method for controlling flow of a smart device, provided in an embodiment of the present disclosure, applied to a server side, the method includes the following steps:
s201, receiving reporting data sent by the intelligent equipment and recording reporting quantity of historical reporting data.
The processing capacity of the server is limited, so that untimely feedback caused by excessive information is avoided, and the reporting quantity of historical reporting data is recorded in time after the reporting data sent by the intelligent equipment is received, so that the period limit of the reporting data of the intelligent equipment is adjusted.
S202, adjusting the period limit according to the reported number in the set time, and feeding back the adjusted period limit to the intelligent equipment.
In some embodiments, the adjusting the period quota according to the number of reports received in the set time in step S202 includes: determining the independent reporting quantity of each priority in the set time; and adjusting the periodic quota of the corresponding priority according to the independent reporting quantity. Corresponding period limits are set for different priorities, so that when the single reporting quantity is limited, the intelligent device is prevented from sending reporting data with higher priority preferentially, so that the server cannot acquire reporting data with lower priority timely, the type of acquiring intelligent device information by the server can be increased, and the state of the intelligent device can be comprehensively recorded.
In some embodiments, adjusting the period quota of the corresponding priority according to the number of independent reports includes: acquiring a calculation relation between the period limit before adjustment and the period limit after adjustment; and determining the adjusted period limit according to the independent reporting quantity, the period limit before adjustment and the calculation relation. And adjusting the period limit based on the priority, so that the user can timely acquire emergency information or information with high user attention.
In some embodiments, the calculated relationship of the period quota is as follows:
wherein P is t The adjusted period limit; tp is the period limit before adjustment; up is the number of independent reports; t is a unit time; q (Q) v And reporting the data quantity factor for a set time. Alternatively, Q v The range of the value of (2) is 0.5-1.5. Alternatively, Q v The value of (2) is 0.5, 1 or 1.5.
In some embodiments, Q v The value of (2) is determined based on the reported data priority. In some embodiments, Q v The value of (2) is determined based on the number of independent reports for each priority. Adjusting Q v The periodic limit is dynamically adjusted, so that the user can timely acquire urgent information or information with high attention of the user.
In some embodiments, the intelligent device has few reported data types, or the intelligent device has low requirements on the efficiency of reporting data or the control efficiency, and only unified current limiting parameters are set for the system in the process of adjusting the current limiting parameters.
In some embodiments, before adjusting the period quota in step S202, the method further includes: acquiring equipment information of intelligent equipment; and determining the priority of the reported data according to the equipment information. Wherein, the status report frame data in the report data includes: the information data of interest and the device component data are of different priorities. In the practical application process, the types of the intelligent devices are quite various, the contained components are quite different according to the different types of the intelligent devices, and in addition, aiming at the intelligent devices of the same type, the device state data concerned by different users are quite different, so that the priority of the reported data is determined according to the device information of the intelligent devices, the periodic limit of the reported data can be adjusted in a targeted mode, and the reporting efficiency of the effective information is improved.
In some embodiments, the reporting data includes status report frame data and alert frame data; the alarm frame data has a higher priority than the status report frame data.
In some embodiments, recording the number of reports of the reported data includes: when the reporting data is status reporting frame data, the priority reporting number corresponding to the status reporting frame data is increased; when the report data is alarm frame data, the report frame data is counted as the state report frame data with the highest priority.
The alarm frame data is used for reminding special conditions, for intelligent equipment which normally operates, the sending times of the alarm frame data are limited, the alarm frame data are used as state report frame data with the highest priority to count, the complexity of a method for controlling the flow of the intelligent equipment can be reduced, the efficiency of adjusting the current limiting parameters of the intelligent equipment and the control efficiency of the intelligent equipment are improved, and the user experience is improved.
In some embodiments, the adjustment to the flow restriction parameter includes both user settings and automatic corrections. When the reported data is alarm frame data, the state report frame data with the highest priority is used for counting, so that the complexity of setting the current limiting parameters can be simplified, the adjustment of the current limiting parameters by a user is facilitated, and the user experience is improved.
In some embodiments, the method further comprises: and adjusting the heartbeat cycle according to the number of the reports received in the set time. By adjusting the heartbeat period, the intelligent device and the server are ensured to be in a connection state, and meanwhile, network congestion is avoided.
In some embodiments, the relation between the number of reports, the set time and the heartbeat cycle is as follows:
wherein S is up The reporting quantity received in the set time is set; t is t s Setting time; t is the heart cycle. t is t s In seconds. Wherein S is up Reporting number for reporting data for all priorities received in a set timeAmount of the components.
In the embodiment of the disclosure, the intelligent device judges the validity of the data before sending the data to be reported to the server, so that the waste of the flow caused by the sending of invalid data is avoided, the communication cost is saved, the server can dynamically adjust the current limiting parameters of the intelligent device according to the valid reported data, and the device can report the data in time or remotely control the device when controlling other interconnection devices or receiving the control of other interconnection devices.
The embodiment of the disclosure also provides a device for controlling the flow of the intelligent device, which comprises a processor and a memory storing program instructions, wherein the device is applied to the intelligent device side, and the processor is configured to execute the method for controlling the flow of the intelligent device when executing the program instructions.
The embodiment of the disclosure also provides a device for controlling the flow of the intelligent device, which comprises a processor and a memory storing program instructions, wherein the memory is applied to a server side, and the processor is configured to execute the method for controlling the flow of the intelligent device when executing the program instructions.
As shown in connection with fig. 3, an embodiment of the present disclosure provides an apparatus for smart device flow control, including a processor (processor) 300 and a memory (memory) 301. Optionally, the apparatus may further comprise a communication interface (Communication Interface) 302 and a bus 303. The processor 300, the communication interface 302, and the memory 301 may communicate with each other via the bus 303. The communication interface 302 may be used for information transfer. The processor 300 may invoke logic instructions in the memory 301 to perform the method for smart device flow control of the above-described embodiments.
Further, the logic instructions in the memory 301 may be implemented in the form of software functional units and stored in a computer readable storage medium when sold or used as a stand alone product.
The memory 301 is used as a computer readable storage medium for storing a software program, a computer executable program, such as program instructions/modules corresponding to the methods in the embodiments of the present disclosure. The processor 300 performs functional applications and data processing by running program instructions/modules stored in the memory 301, i.e. implements the method for smart device flow control in the above-described embodiments.
The memory 301 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, at least one application program required for a function; the storage data area may store data created according to the use of the terminal device, etc. In addition, the memory 301 may include a high-speed random access memory, and may also include a nonvolatile memory.
The embodiment of the disclosure provides an intelligent device, which comprises the device for the intelligent device side. The intelligent equipment is household appliances such as an air conditioner, a refrigerator and a washing machine or portable electronic equipment such as an intelligent bracelet and an electronic scale with interconnection function.
Embodiments of the present disclosure provide a computer readable storage medium storing computer executable instructions configured to perform the above-described method for smart device flow control.
The disclosed embodiments provide a computer program product comprising a computer program stored on a computer readable storage medium, the computer program comprising program instructions which, when executed by a computer, cause the computer to perform the above-described method for smart device flow control.
The computer readable storage medium may be a transitory computer readable storage medium or a non-transitory computer readable storage medium.
Embodiments of the present disclosure may be embodied in a software product stored on a storage medium, including one or more instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of a method according to embodiments of the present disclosure. And the aforementioned storage medium may be a non-transitory storage medium including: a plurality of media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk, or an optical disk, or a transitory storage medium.
The above description and the drawings illustrate embodiments of the disclosure sufficiently to enable those skilled in the art to practice them. Other embodiments may involve structural, logical, electrical, process, and other changes. The embodiments represent only possible variations. Individual components and functions are optional unless explicitly required, and the sequence of operations may vary. Portions and features of some embodiments may be included in, or substituted for, those of others. Moreover, the terminology used in the present application is for the purpose of describing embodiments only and is not intended to limit the claims. As used in the description of the embodiments and the claims, the singular forms "a," "an," and "the" (the) are intended to include the plural forms as well, unless the context clearly indicates otherwise. Similarly, the term "and/or" as used in this application is meant to encompass any and all possible combinations of one or more of the associated listed. Furthermore, when used in this application, the terms "comprises," "comprising," and/or "includes," and variations thereof, mean that the stated features, integers, steps, operations, elements, and/or components are present, but that the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof is not precluded. Without further limitation, an element defined by the phrase "comprising one …" does not exclude the presence of other like elements in a process, method or apparatus comprising such elements. In this context, each embodiment may be described with emphasis on the differences from the other embodiments, and the same similar parts between the various embodiments may be referred to each other. For the methods, products, etc. disclosed in the embodiments, if they correspond to the method sections disclosed in the embodiments, the description of the method sections may be referred to for relevance.
Those of skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. The skilled artisan may use different methods for each particular application to achieve the described functionality, but such implementation should not be considered to be beyond the scope of the embodiments of the present disclosure. It will be clearly understood by those skilled in the art that, for convenience and brevity of description, specific working procedures of the above-described systems, apparatuses and units may refer to corresponding procedures in the foregoing method embodiments, which are not repeated herein.
In the embodiments disclosed herein, the disclosed methods, articles of manufacture (including but not limited to devices, apparatuses, etc.) may be practiced in other ways. For example, the apparatus embodiments described above are merely illustrative, and for example, the division of the units may be merely a logical function division, and there may be additional divisions when actually implemented, for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not performed. In addition, the coupling or direct coupling or communication connection shown or discussed with each other may be through some interface, device or unit indirect coupling or communication connection, which may be in electrical, mechanical or other form. The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to implement the present embodiment. In addition, each functional unit in the embodiments of the present disclosure may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit.
The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). In some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. In the description corresponding to the flowcharts and block diagrams in the figures, operations or steps corresponding to different blocks may also occur in different orders than that disclosed in the description, and sometimes no specific order exists between different operations or steps. For example, two consecutive operations or steps may actually be performed substantially in parallel, they may sometimes be performed in reverse order, which may be dependent on the functions involved. Each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.

Claims (13)

1. A method for intelligent device flow control, applied to an intelligent device side, comprising:
generating data to be reported;
when the data to be reported is judged to be effective, the data to be reported is written into a cache;
when the historical reporting number in unit time is smaller than the period limit, sending data to be reported in the cache to a server, and counting the historical reporting data to update the historical reporting number;
after the period quota is received by the server, the report data sent by the intelligent equipment is recorded, the period quota is adjusted according to the report data in the set time, and the adjusted period quota is fed back to the intelligent equipment;
the period limit is used for limiting the reporting number;
adjusting the period quota according to the report number received in the set time, including:
determining the independent reporting quantity of each priority in the set time;
and adjusting the periodic limit of the corresponding priority according to the independent reporting quantity.
2. The method of claim 1, wherein the newly generated data to be reported is determined to be valid when there is no data in the cache that is the same as the newly generated data to be reported.
3. The method of claim 1, wherein counting historical report data comprises:
determining the priority of historical report data;
and counting historical report data according to the priority.
4. A method according to claim 3, wherein the historical report data comprises status report frame data and alert frame data; the alarm frame data has a higher priority than the status report frame data.
5. The method of claim 4, wherein counting historical report data according to the priority comprises:
when the historical report data is state report frame data, the priority count corresponding to the state report frame data is increased;
when the history report data is alarm frame data, the status report frame data as the highest priority is counted.
6. The method according to any one of claims 1 to 5, wherein sending the data to be reported in the cache to the server comprises:
when two or more pieces of data to be reported exist in the cache, the data to be reported is sent according to the priority.
7. The method according to any one of claims 1 to 5, further comprising:
when the historical reporting number in unit time is equal to the period limit, reporting is performed in the next reporting period.
8. A method for intelligent device flow control, applied to a server side, comprising:
receiving reporting data sent by intelligent equipment and recording the reporting quantity of the reporting data;
adjusting the period limit according to the reported number in the set time, and feeding back the adjusted period limit to the intelligent equipment; the period limit is used for limiting the reporting number;
the method comprises the steps that the intelligent equipment generates data to be reported, the data to be reported is written into a cache when judging that the data to be reported is effective, and when the historical reporting number in unit time is smaller than a period limit, the data to be reported in the cache is sent to a server, and the historical reporting data is counted to update the historical reporting number;
adjusting the period quota according to the report number received in the set time, including:
determining the independent reporting quantity of each priority in the set time;
and adjusting the periodic limit of the corresponding priority according to the independent reporting quantity.
9. The method of claim 8, wherein adjusting the period credit of the corresponding priority according to the number of independent reports comprises:
acquiring a calculation relation between the period limit before adjustment and the period limit after adjustment;
and determining the adjusted period limit according to the independent reporting quantity, the period limit before adjustment and the calculation relation.
10. The method of claim 8, further comprising, prior to adjusting the period credit:
acquiring equipment information of the intelligent equipment;
and determining the priority of the reported data according to the equipment information.
11. The method according to any one of claims 8 to 10, further comprising:
and adjusting the heartbeat cycle according to the number of the reports received in the set time.
12. An apparatus for smart device flow control comprising a processor and a memory storing program instructions, characterized in that, applied to the smart device side, the processor is configured to perform the method for smart device flow control of any of claims 1 to 7 when executing the program instructions.
13. An apparatus for smart device flow control comprising a processor and a memory storing program instructions, characterized in that, applied to a server side, the processor is configured to perform the method for smart device flow control of any of claims 8 to 11 when executing the program instructions.
CN202010762279.2A 2020-07-31 2020-07-31 Method and device for controlling flow of intelligent equipment and intelligent equipment Active CN112019445B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010762279.2A CN112019445B (en) 2020-07-31 2020-07-31 Method and device for controlling flow of intelligent equipment and intelligent equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010762279.2A CN112019445B (en) 2020-07-31 2020-07-31 Method and device for controlling flow of intelligent equipment and intelligent equipment

Publications (2)

Publication Number Publication Date
CN112019445A CN112019445A (en) 2020-12-01
CN112019445B true CN112019445B (en) 2024-02-02

Family

ID=73500266

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010762279.2A Active CN112019445B (en) 2020-07-31 2020-07-31 Method and device for controlling flow of intelligent equipment and intelligent equipment

Country Status (1)

Country Link
CN (1) CN112019445B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115175111A (en) * 2022-07-11 2022-10-11 上海庆科信息技术有限公司 Message processing method, device, bluetooth gateway equipment, storage medium and system

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104580424A (en) * 2014-12-26 2015-04-29 珠海格力电器股份有限公司 Data reporting method and device of intelligent home system
CN106534231A (en) * 2015-09-09 2017-03-22 阿里巴巴集团控股有限公司 Method, device and system for controlling use limit of network resources
CN106921506A (en) * 2015-12-25 2017-07-04 北京京东尚科信息技术有限公司 The data acquisition report method and system of mobile device
CN107346280A (en) * 2017-06-26 2017-11-14 乐视致新电子科技(天津)有限公司 A kind of data report the method, apparatus and electronic equipment with data processing
CN108449404A (en) * 2018-03-13 2018-08-24 深圳市中科智联科技有限公司 Reporting terminal information approach, terminal, concentrator and computer readable storage medium
CN108810098A (en) * 2018-05-22 2018-11-13 腾讯科技(深圳)有限公司 A kind of data reporting method, device, terminal and storage medium
CN109067626A (en) * 2018-07-25 2018-12-21 北京小米移动软件有限公司 Report the method, apparatus and storage medium of information
CN109618331A (en) * 2019-02-01 2019-04-12 深圳乐信软件技术有限公司 Data reporting method, device, equipment and storage medium
CN110460676A (en) * 2019-08-22 2019-11-15 腾讯科技(深圳)有限公司 Request amount control method, device, storage medium and computer equipment

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104580424A (en) * 2014-12-26 2015-04-29 珠海格力电器股份有限公司 Data reporting method and device of intelligent home system
CN106534231A (en) * 2015-09-09 2017-03-22 阿里巴巴集团控股有限公司 Method, device and system for controlling use limit of network resources
CN106921506A (en) * 2015-12-25 2017-07-04 北京京东尚科信息技术有限公司 The data acquisition report method and system of mobile device
CN107346280A (en) * 2017-06-26 2017-11-14 乐视致新电子科技(天津)有限公司 A kind of data report the method, apparatus and electronic equipment with data processing
CN108449404A (en) * 2018-03-13 2018-08-24 深圳市中科智联科技有限公司 Reporting terminal information approach, terminal, concentrator and computer readable storage medium
CN108810098A (en) * 2018-05-22 2018-11-13 腾讯科技(深圳)有限公司 A kind of data reporting method, device, terminal and storage medium
CN109067626A (en) * 2018-07-25 2018-12-21 北京小米移动软件有限公司 Report the method, apparatus and storage medium of information
CN109618331A (en) * 2019-02-01 2019-04-12 深圳乐信软件技术有限公司 Data reporting method, device, equipment and storage medium
CN110460676A (en) * 2019-08-22 2019-11-15 腾讯科技(深圳)有限公司 Request amount control method, device, storage medium and computer equipment

Also Published As

Publication number Publication date
CN112019445A (en) 2020-12-01

Similar Documents

Publication Publication Date Title
WO2020078135A1 (en) Resource scheduling method and computer device
CN111522652B (en) Power balancing for increased load density and improved energy efficiency
EP2399183B1 (en) Energy-aware server management
CN102082693A (en) Method and device for monitoring network traffic
CN113688001B (en) Dynamic balancing method and device for power consumption of server hard disk, terminal and storage medium
CN112019445B (en) Method and device for controlling flow of intelligent equipment and intelligent equipment
CN114442794A (en) Server power consumption control method, system, terminal and storage medium
CN110619407B (en) Object sales prediction method and system, electronic device and storage medium
CN115469813A (en) Data processing method and device, storage medium and electronic device
CN103309843A (en) Configuration method and system for servers
EP3622669B1 (en) Automatic shared resource management system and associated methods
CN110619006A (en) Statistical data management method, device, platform and storage medium based on Internet of things
JP2022097617A5 (en)
CN105357026A (en) Resource information collection method and computing node
CN102970183A (en) Cloud monitoring system and data reflow method thereof
CN117097646A (en) Tail delay adjustment method and device
CN113612624B (en) Method and device for processing heartbeat between nodes
CN107710168A (en) Information processor and information processing method
CN112765212B (en) Data processing method and device for transfer equipment
CN115460124A (en) Method, device, equipment and storage medium for cross-machine room transmission link optimization
CN114819950A (en) Method and device for sending early warning signal, computer equipment and storage medium
CN116074774A (en) Network element step length value adjusting method and device, equipment and storage medium
CN117792991B (en) Automatic switching method for router links and multi-link router
CN113010366A (en) Log output method, device and equipment
CN111148200A (en) High-speed transmission method of electronic commerce information and B2B management system

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