CN112019445A - Method and device for intelligent device flow control and intelligent device - Google Patents

Method and device for intelligent device flow control and intelligent device Download PDF

Info

Publication number
CN112019445A
CN112019445A CN202010762279.2A CN202010762279A CN112019445A CN 112019445 A CN112019445 A CN 112019445A CN 202010762279 A CN202010762279 A CN 202010762279A CN 112019445 A CN112019445 A CN 112019445A
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.)
Granted
Application number
CN202010762279.2A
Other languages
Chinese (zh)
Other versions
CN112019445B (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

Images

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 reported data; when the reported data is judged to be valid, writing the reported data into a cache; and when the historical reporting quantity in unit time is less than the cycle limit of the reported data, sending the data to be reported in the cache to a server, and counting the reported data so as to update the historical reporting quantity. 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 as to avoid the sending of invalid data to waste flow, save communication cost, facilitate the server to dynamically adjust the current limiting parameter of the intelligent device according to the valid reported data, and ensure that the device can report the data in time or perform remote control when controlling other interconnected devices or receiving the control of other interconnected devices. The application also discloses a device and equipment for intelligent equipment flow control.

Description

Method and device for intelligent device flow control and intelligent device
Technical Field
The present application relates to the field of communications technologies, and in particular, to a method and an apparatus for controlling flow 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 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 mode is used, so that the equipment enters 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 a fixed time interval, the equipment cannot judge the validity of the data, a large amount of invalid flow is wasted, and when the requirement of low power consumption is considered, the equipment cannot report the data in time or carry out remote control.
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 nor is intended to identify key/critical elements or to delineate the scope of such embodiments but rather as a prelude to the more detailed description that is presented later.
The embodiment of the disclosure provides a method and a device for controlling flow of an intelligent device and the intelligent device, so as to solve the technical problem that the prior art cannot efficiently and timely report data or perform remote control.
In some embodiments, the method is applied to the smart device side, and comprises the following steps:
generating data to be reported;
when the data to be reported is judged to be valid, writing the data to be reported into a cache;
and when the historical reporting quantity in unit time is less than the period limit, sending the data to be reported in the cache to a server, and counting the historical reporting data so as to update the historical reporting quantity.
In some embodiments, when the same data as the newly generated data to be reported does not exist in the buffer, the newly generated data to be reported is determined to be valid.
In some embodiments, counting the historical reporting data comprises:
determining the priority of historical reported data;
and counting the historical reported data according to the priority.
In some embodiments, the historical reporting data includes status reporting frame data and alarm frame data; the alarm frame data has a higher priority than the status report frame data.
In some embodiments, counting historical reporting data according to the priority comprises:
when the historical reported data is state report frame data, the priority count corresponding to the state report frame data is increased;
and when the historical reported data is alarm frame data, counting the state reported frame data serving as the highest priority.
In some embodiments, sending the data to be reported in the buffer to the server includes:
and when two or more pieces of data to be reported exist in the cache, sending the data to be reported according to the priority.
In some embodiments, the method further comprises:
when the historical reporting quantity in unit time is equal to the period limit, reporting is carried out in the next reporting period.
In some embodiments, the method is applied to a server side, and comprises the following steps:
receiving reported data sent by intelligent equipment, and recording the reported quantity of the reported data;
and adjusting the cycle limit according to the reported quantity within the set time, and feeding back the adjusted cycle limit to the intelligent equipment.
In some embodiments, adjusting the period limit according to the reported number received within the set time includes:
determining the independent reporting quantity of each priority in set time;
and adjusting the period limit corresponding to the priority according to the independent reporting quantity.
In some embodiments, adjusting the period quota corresponding to the priority according to the independent report number includes:
obtaining a calculation relation between the period limit before adjustment and the period limit after adjustment;
and determining the adjusted cycle limit according to the independent report quantity, the cycle limit before adjustment and the calculation relation.
In some embodiments, before adjusting the period quota, the method further includes:
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 reporting frame data and alarm 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 reported data is state report frame data, the reported number of the priority levels corresponding to the state report 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 period according to the reported number received in the set time.
In some embodiments, the apparatus includes a processor and a memory storing program instructions for application to the smart device side, the processor 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 to the server side, the processor being configured to perform a method for application to the server side when executing the program instructions.
The method and the device for controlling the flow of the intelligent device and the intelligent device provided by the embodiment of the disclosure can achieve the following technical effects:
the intelligent equipment judges the validity of the data before sending the data to be reported to the server, avoids the sending of invalid data to waste flow, saves communication cost, is convenient for the server to dynamically adjust the current-limiting parameters of the intelligent equipment according to the valid reported data, and ensures that the equipment can report the data in time or carry out remote control when controlling other interconnected equipment or receiving the control of other interconnected equipment.
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 in the accompanying drawings, which correspond to the accompanying drawings and not in limitation thereof, in which elements having the same reference numeral designations are shown as like elements and not in limitation thereof, and wherein:
fig. 1 is a schematic flow chart of a method for controlling flow of an intelligent device according to an embodiment of the present disclosure;
fig. 2 is a schematic flow chart of another method for controlling flow of an intelligent device according to an embodiment of the present disclosure;
fig. 3 is a schematic structural diagram of an apparatus for controlling flow of an intelligent device according to an embodiment of the present disclosure.
Detailed Description
So that the manner in which the features and elements of the disclosed embodiments can be understood in detail, a more particular description of the disclosed embodiments, briefly summarized above, may be had by reference to the embodiments, some of which are illustrated in the appended drawings. 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 be practiced without these details. In other instances, well-known structures and devices may be shown in simplified form in order to simplify the drawing.
The terms "first," "second," and the like in the description and in the claims, and the above-described drawings of embodiments of the present disclosure, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It should be understood that the data so used may be interchanged under appropriate circumstances such that embodiments of the present disclosure described herein may be made. Furthermore, the terms "comprising" and "having," as well as any variations thereof, are intended to cover non-exclusive inclusions.
The term "plurality" means two or more unless otherwise specified.
In the embodiment of the present disclosure, the character "/" indicates that the preceding and following objects are in an or relationship. For example, A/B represents: a or B.
The term "and/or" is an associative relationship that describes objects, meaning that three relationships may exist. For example, a and/or B, represents: a or B, or A and B.
Fig. 1 is a schematic flowchart of a method for controlling flow of an intelligent device according to an embodiment of the present disclosure, where the method is applied to an intelligent device side, and includes the following steps:
and S101, generating data to be reported.
The intelligent equipment generates data to be reported according to the requirements of the user. In order to avoid that the communication or control efficiency is reduced due to excessive data reported by the intelligent equipment, a user can set the information type contained in the reported information of the intelligent equipment. In addition, the types of the reported data are different according to different types of the devices. For example: a 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 without reporting the indoor temperature information.
S102, when the data to be reported is judged to be valid, the data to be reported is written into a cache.
In different embodiments, there are various ways to determine the effectiveness of the data to be reported.
In some embodiments, the validity of the data to be reported is determined according to a reporting rule set by a user.
The reporting information can be generated regularly for different components in the intelligent equipment, so that the server can monitor and record the state of the intelligent equipment, and for the intelligent equipment with too many components, the reporting data quantity is too large, so that network resources are occupied, and the control efficiency and the user experience are reduced. In order to avoid that the user experience is reduced by a large amount of reported data, a user can set a reporting rule to reduce the reported data amount, when the reporting information generated by the intelligent equipment is a forbidden type in the reporting rule set by the user, the reporting information is judged to be invalid, and when the reporting information generated by the intelligent equipment is a type which is allowed to be reported in the reporting rule set by the user, the reporting information is judged to be valid.
In some embodiments, when the same data as the data to be reported does not exist in the cache data of the intelligent device, it is determined that the data to be reported is valid.
In order to avoid network congestion caused by sending multiple pieces of information at the same time, the intelligent equipment stores the generated data to be reported into a cache and sends the data to be reported to the server in sequence. And under the condition of poor network quality or when the generation speed of the reported information is too high, the information amount in the cache is 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 data to be reported is cached and serves as the data to be reported for being convenient for a server to record or send 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, caching and reporting are not carried out, and the cache pressure is reduced to avoid network congestion.
S103, when the historical report quantity in unit time is less than the periodic limit, sending the historical report quantity to a server, and counting the historical report data to update the historical report quantity.
In different embodiments, there are various ways to count the historical reported data.
In some embodiments, when there is only one or less reported data type of the smart device, or the requirement of the smart device with good network quality on the efficiency of data reporting or the control efficiency is low, the historical reported data is counted uniformly.
In some embodiments, the counting the historical reported data in step S103 includes: determining the priority of historical reported data; and counting the historical reported data according to the priority. And independently counting the historical reported data based on the priority, so that the user can timely obtain the emergency information or the information with high user attention.
In some embodiments, the historical reporting data includes status reporting frame data and alarm frame data; the alarm frame data has a higher priority than the status report frame data.
In some embodiments, the status report frame data includes: focus information data and device component data. Wherein, the concerned information data is the equipment state data concerned by the user; the device component data is information about system components such as sensors, power supplies, motherboards, etc. for after-market 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 is prioritized over the information data of interest.
Alternatively, the priority may be set by the user.
In some embodiments, when the type of the status report frame data is determined, the data to be reported is analyzed to determine a parameter type corresponding to a set frame character or determine a corresponding type according to the number of bytes of the set frame.
In some embodiments, counting the historical reporting data according to priority includes: when the historical reported data is state report frame data, the priority count corresponding to the state report frame data is increased; and when the historical reported data is alarm frame data, counting the state reported frame data serving as the highest priority.
As described below in one embodiment. Reporting frame data in a state includes: sensor status report data, power status report data, and motherboard status report data. The priority of the mainboard state report data is first level, the priority of the power state report data is second level, and the priority of the sensor state report data is third level. The priority of the motherboard status report data is higher than that of the power status report data, and the priority of the power status report data is higher than that of the sensor status report data.
When the newly-added historical report data is sensor state report data, adding 1 to the historical report quantity corresponding to the third level of the priority; when the newly-added historical report data is power state report data, adding 1 to the historical report quantity of the corresponding priority level two levels; when the newly-added historical report data is the mainboard state report data, adding 1 to the historical report quantity corresponding to the first priority level; and when the newly-added historical report data is alarm frame data, counting the state report frame data with the highest priority, namely adding 1 to the historical report number of the first priority.
The alarm frame data is used for reminding of special conditions, the sending times of the alarm frame data are limited for the intelligent equipment which normally runs, the alarm frame data are used as state report frame data with the highest priority to be counted, 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 of the current limiting parameter includes both user settings and automatic modifications. When the historical reported data is alarm frame data, the state reported frame data with the highest priority is counted, so that the complexity of setting the current limiting parameter can be simplified, the adjustment of the current limiting parameter by a user is facilitated, and the user experience is improved.
In some embodiments, the sending, in step S103, the data to be reported in the buffer to the server includes: and when two or more pieces of data to be reported exist in the cache, sending the data to be reported according to the priority. The data reported according to the priority can enable the user to obtain important information or information concerned by the user in time, 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 state report frame data, and when the cache comprises one state report frame data and one alarm frame data, the alarm frame data is preferentially sent; when the cache comprises two pieces of state report frame data, preferentially sending the concerned information data; when there are two pieces of data of the same priority, the previously generated data is preferentially transmitted in chronological order.
In some embodiments, the method further comprises: when the historical reporting quantity in unit time is equal to the period limit, reporting is carried out in the next reporting period.
The period limit is used for limiting the reporting quantity, so that the problem that the server has limited processing capacity and cannot effectively process the excessive reporting data when the server receives the excessive reporting data 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 restarts 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 are sent to the server; when the historical reporting quantity in the period reaches 60, the data to be reported is cached, and the data to be reported is sent to the server after the period is finished.
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 as to avoid the sending of invalid data to waste flow, save communication cost, facilitate the server to dynamically adjust the current limiting parameter of the intelligent device according to the valid reported data, and ensure that the device can report the data in time or perform remote control when controlling other interconnected devices or receiving the control of other interconnected devices.
Fig. 2 is a schematic flowchart of another method for controlling flow of an intelligent device according to an embodiment of the present disclosure, which is applied to a server side, and the method includes the following steps:
s201, receiving reported data sent by the intelligent equipment, and recording the reported quantity of historical reported data.
The server has limited processing capacity, and in order to avoid untimely feedback caused by receiving excessive messages, the reporting quantity of the historical reported data is recorded in time after the reported data sent by the intelligent equipment is received, so that the period limit of the reported data of the intelligent equipment can be adjusted subsequently.
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 limit according to the reported number received in the step S202 within the set time includes: determining the independent reporting quantity of each priority in set time; and adjusting the period limit corresponding to the priority according to the independent reporting quantity. The corresponding cycle limit is set according to different priorities, the problem that when a single reporting quantity is limited, the server cannot timely acquire the reporting data with lower priority due to the fact that the intelligent equipment preferentially transmits the reporting data with higher priority is avoided, the type of the intelligent equipment information acquired by the server can be increased, and the state of the intelligent equipment is comprehensively recorded.
In some embodiments, adjusting the period quota corresponding to the priority according to the independent reporting number includes: obtaining a calculation relation between the period limit before adjustment and the period limit after adjustment; and determining the adjusted cycle limit according to the independent report quantity, the cycle 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 calculation of the periodic quota is as follows:
Figure BDA0002613407780000081
wherein, PtThe adjusted period limit; tp is the period limit before adjustment; up is the independent reporting quantity; t is a unit time; qvReporting a data volume factor within a set time. Optionally, QvThe value range of (A) is 0.5-1.5. Optionally, QvHas a value of 0.5, 1 or 1.5.
In some embodiments, QvThe value of (2) is determined according to the priority of the reported data. In some embodiments, QvThe value of (2) is determined according to the independent reporting quantity of each priority. Adjusting QvThe value of the time limit is dynamically adjusted, so that the user can timely obtain emergency information or information with high user attention.
In some embodiments, the reported data types of the intelligent device are few, or the requirement of the intelligent device on the efficiency of data reporting or the control efficiency is low, then only uniform 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 reporting the state report frame data in the data comprises: the information data of interest and the device component data are of different priorities. In the practical application process, the types of the intelligent equipment are many, the contained components are different according to different types of the intelligent equipment, and in addition, the equipment state class data concerned by different users are different for the intelligent equipment of the same type, so that the priority of the reported data is determined according to the equipment information of the intelligent equipment, the periodic limit of the reported data can be adjusted in a targeted manner, and the reporting efficiency of the effective information is improved.
In some embodiments, the reporting data includes status reporting frame data and alarm frame data; the alarm frame data has a higher priority than the status report frame data.
In some embodiments, recording the reporting amount of the reported data includes: when the reported data is state report frame data, the reported number of the priority levels corresponding to the state report frame data is increased; and when the reported data is alarm frame data, counting the state report frame data with the highest priority.
The alarm frame data is used for reminding of special conditions, the sending times of the alarm frame data are limited for the intelligent equipment which normally runs, the alarm frame data are used as state report frame data with the highest priority to be counted, 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 of the current limiting parameter includes both user settings and automatic modifications. When the reported data is alarm frame data, the state report frame data with the highest priority is counted, so that the complexity of setting the current limiting parameter can be simplified, the adjustment of the current limiting parameter by a user is facilitated, and the user experience is improved.
In some embodiments, the method further comprises: and adjusting the heartbeat period according to the reported number received in the set time. Through the adjustment of the heartbeat cycle, the intelligent device and the server are ensured to be in a connection state, and meanwhile, network congestion is avoided.
In some embodiments, the relationship between the reporting number, the setting time and the heartbeat period is as follows:
Figure BDA0002613407780000091
wherein S isupThe report quantity received in the set time is the report quantity received in the set time; t is tsSetting time; t is the heartbeat cycle. t is tsIn seconds. Wherein S isupThe reporting quantity of all priority reporting data received in a set time is obtained.
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 as to avoid the sending of invalid data to waste flow, save communication cost, facilitate the server to dynamically adjust the current limiting parameter of the intelligent device according to the valid reported data, and ensure that the device can report the data in time or perform remote control when controlling other interconnected devices or receiving the control of other interconnected devices.
The embodiment of the present disclosure further provides an apparatus for controlling a flow rate of an intelligent device, which includes a processor and a memory storing program instructions, and is applied to an intelligent device side, where the processor is configured to execute the foregoing method for controlling a flow rate of an intelligent device when executing the program instructions.
The embodiment of the present disclosure further provides an apparatus for controlling a flow of an intelligent device, which includes a processor and a memory storing program instructions, and is applied to a server side, where the processor is configured to execute the foregoing method for controlling a flow of an intelligent device when executing the program instructions.
As shown in fig. 3, an apparatus for controlling flow of a smart device according to an embodiment of the present disclosure includes a processor (processor)300 and a memory (memory) 301. Optionally, the apparatus may also include a Communication Interface 302 and a bus 303. The processor 300, the communication interface 302 and the memory 301 may communicate with each other via a bus 303. The communication interface 302 may be used for information transfer. The processor 300 may call logic instructions in the memory 301 to perform the method for intelligent device flow control of the above embodiments.
In addition, 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 the logic instructions are sold or used as independent products.
The memory 301 is a computer-readable storage medium, and can be used for storing software programs, computer-executable programs, such as program instructions/modules corresponding to the methods in the embodiments of the present disclosure. The processor 300 executes functional applications and data processing by executing program instructions/modules stored in the memory 301, i.e. implements the method for intelligent 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, an application program required for at least one function; the storage data area may store data created according to the use of the terminal device, and the like. Further, 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 an interconnection function.
Embodiments of the present disclosure provide a computer-readable storage medium storing computer-executable instructions configured to perform the above-mentioned method for flow control of an intelligent device.
Embodiments of the present disclosure 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 intelligent device flow control.
The computer-readable storage medium described above may be a transitory computer-readable storage medium or a non-transitory computer-readable storage medium.
The technical solution of the embodiments of the present disclosure may be embodied in the form of a software product, where the computer software product is stored in a storage medium and includes one or more instructions to enable a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method of the embodiments of the present disclosure. And the aforementioned storage medium may be a non-transitory storage medium comprising: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes, and may also be a transient storage medium.
The above description and drawings sufficiently illustrate embodiments of the disclosure to enable those skilled in the art to practice them. Other embodiments may incorporate structural, logical, electrical, process, and other changes. The examples merely typify 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. Furthermore, the words used in the specification are words of description only and are not intended to limit the claims. As used in the description of the embodiments and the claims, the singular forms "a", "an" and "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, the terms "comprises" and/or "comprising," when used in this application, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof. Without further limitation, an element defined by the phrase "comprising an …" does not exclude the presence of other like elements in a process, method or apparatus that comprises the element. In this document, each embodiment may be described with emphasis on differences from other embodiments, and the same and similar parts between the respective embodiments may be referred to each other. For methods, products, etc. of the embodiment disclosures, reference may be made to the description of the method section for relevance if it corresponds to the method section of the embodiment disclosure.
Those of skill in the art would 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 may depend upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the disclosed embodiments. It can be clearly understood by the skilled person that, for convenience and brevity of description, the specific working processes of the system, the apparatus and the unit described above may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the embodiments disclosed herein, the disclosed methods, products (including but not limited to devices, apparatuses, etc.) may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units may be merely a logical division, and in actual implementation, there may be another division, for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form. The units described as separate parts may or may not be physically separate, and parts displayed 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 can be selected according to actual needs to implement the present embodiment. In addition, functional units in the embodiments of the present disclosure may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The flowchart 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 disclosed in the description, and sometimes there is no specific order between the different operations or steps. For example, two sequential operations or steps may in fact be executed substantially concurrently, or they may sometimes be executed in the reverse order, depending upon the functionality involved. Each block of the block diagrams and/or flowchart illustrations, and combinations of blocks in the block diagrams and/or flowchart illustrations, can be implemented by special purpose hardware-based systems that perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.

Claims (14)

1. A method for flow control of intelligent equipment is applied to the intelligent equipment side and comprises the following steps:
generating data to be reported;
when the data to be reported is judged to be valid, writing the data to be reported into a cache;
and when the historical reporting quantity in unit time is less than the period limit, sending the data to be reported in the cache to a server, and counting the historical reporting data so as to update the historical reporting quantity.
2. The method of claim 1, wherein when there is no data in the buffer that is the same as the newly generated data to be reported, the newly generated data to be reported is determined to be valid.
3. The method of claim 1, wherein counting historical reporting data comprises:
determining the priority of historical reported data;
and counting the historical reported data according to the priority.
4. The method of claim 3, wherein the historical reporting data comprises status reporting frame data and alarm 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 reporting data according to the priority comprises:
when the historical reported data is state report frame data, the priority count corresponding to the state report frame data is increased;
and when the historical reported data is alarm frame data, counting the state reported frame data serving as the highest priority.
6. The method according to any one of claims 1 to 5, wherein sending the data to be reported in the buffer to the server comprises:
and when two or more pieces of data to be reported exist in the cache, sending the data to be reported according to the priority.
7. The method of any of claims 1 to 5, further comprising:
when the historical reporting quantity in unit time is equal to the period limit, reporting is carried out in the next reporting period.
8. A method for intelligent device flow control is applied to a server side, and comprises the following steps:
receiving reported data sent by intelligent equipment, and recording the reported quantity of the reported data;
and adjusting the cycle limit according to the reported quantity within the set time, and feeding back the adjusted cycle limit to the intelligent equipment.
9. The method of claim 8, wherein adjusting the period limit according to the reported amount received within a predetermined time comprises:
determining the independent reporting quantity of each priority in set time;
and adjusting the period limit corresponding to the priority according to the independent reporting quantity.
10. The method of claim 9, wherein adjusting the period quota corresponding to the priority according to the independent reporting number comprises:
obtaining a calculation relation between the period limit before adjustment and the period limit after adjustment;
and determining the adjusted cycle limit according to the independent report quantity, the cycle limit before adjustment and the calculation relation.
11. The method of claim 9, further comprising, before adjusting the amount of cycles:
acquiring equipment information of the intelligent equipment;
and determining the priority of the reported data according to the equipment information.
12. The method of any of claims 8 to 11, further comprising:
and adjusting the heartbeat period according to the reported number received in the set time.
13. An apparatus for smart device flow control, comprising a processor and a memory storing program instructions, wherein the apparatus is applied to a smart device side, and the processor is configured to execute the method for smart device flow control according to any one of claims 1 to 7 when executing the program instructions.
14. An apparatus for smart device flow control, comprising a processor and a memory storing program instructions, wherein the processor is configured to execute the method for smart device flow control according to any one of claims 8 to 12 when executing the program instructions, and the memory is applied to a server side.
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 true CN112019445A (en) 2020-12-01
CN112019445B 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)

Cited By (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

Cited By (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

Also Published As

Publication number Publication date
CN112019445B (en) 2024-02-02

Similar Documents

Publication Publication Date Title
WO2020078135A1 (en) Resource scheduling method and computer device
CN103095691A (en) Method of controlling access to Internet of things nodes
CN108540568B (en) Computing capacity sharing method and intelligent equipment
CN107276799B (en) Mobile terminal flow prediction method and device
CN106921506A (en) The data acquisition report method and system of mobile device
CN110990138A (en) Resource scheduling method, device, server and storage medium
CN103561354A (en) Method and device for calculating and processing video smoothness
CN111277640B (en) User request processing method, device, system, computer equipment and storage medium
CN109756372B (en) Elastic expansion method and device for telecommunication charging system
CN110166529A (en) It keeps logging in state method, apparatus, equipment and storage medium
EP4030708A1 (en) Method and apparatus for bandwidth allocation
CN112035066B (en) Log reservation time length calculation method and device
CN111756589A (en) Cloud resource management method and device, cloud server and storage medium
CN105611074B (en) A kind of method and system optimizing the pushed information time according to alarm time
CN109450804A (en) A kind of network resource control method
CN112019445B (en) Method and device for controlling flow of intelligent equipment and intelligent equipment
JP2005018120A (en) Method for collecting apparatus information in network management system
CN105357026B (en) A kind of resource information collection method and calculate node
CN103309843A (en) Configuration method and system for servers
CN109639586A (en) A kind of data transmission method, apparatus and system
CN100589417C (en) System and method for processing a large number reporting message on topology interface in telecommunication network management system
CN104980209A (en) Dynamic information sending and adjusting method based on Beidou real-time feedback
CN112715040A (en) Method for reducing power consumption, terminal equipment and storage medium
CN103828294A (en) Credit based power management
CN110928586B (en) APP background keep-alive method and device

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