CN113260052B - Access limitation window adjusting method, device and system - Google Patents

Access limitation window adjusting method, device and system Download PDF

Info

Publication number
CN113260052B
CN113260052B CN202010088025.7A CN202010088025A CN113260052B CN 113260052 B CN113260052 B CN 113260052B CN 202010088025 A CN202010088025 A CN 202010088025A CN 113260052 B CN113260052 B CN 113260052B
Authority
CN
China
Prior art keywords
access
type
determining
target
workstation
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
CN202010088025.7A
Other languages
Chinese (zh)
Other versions
CN113260052A (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.)
Hangzhou Ezviz Software Co Ltd
Original Assignee
Hangzhou Ezviz Software 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 Hangzhou Ezviz Software Co Ltd filed Critical Hangzhou Ezviz Software Co Ltd
Priority to CN202010088025.7A priority Critical patent/CN113260052B/en
Publication of CN113260052A publication Critical patent/CN113260052A/en
Application granted granted Critical
Publication of CN113260052B publication Critical patent/CN113260052B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/04Wireless resource allocation
    • H04W72/044Wireless resource allocation based on the type of the allocated resource
    • H04W72/0446Resources in time domain, e.g. slots or frames
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/50Allocation or scheduling criteria for wireless resources
    • H04W72/53Allocation or scheduling criteria for wireless resources based on regulatory allocation policies

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The embodiment of the application provides an access limiting window adjusting method, device, equipment and system, wherein the method comprises the following steps: acquiring access information of a workstation accessed to the AP equipment; wherein the workstations include a first type of workstation that transceives data through an access restriction window; determining whether to adjust an access restriction window parameter of a first type of workstation according to the access information; if so, determining the adjusted access limiting window parameters of the first type of workstation according to the access information and a preset adjusting rule; and sending the adjusted access limiting window parameter to the first type of workstation, so that the first type of workstation updates the currently stored access limiting window parameter into the adjusted access limiting window parameter. The embodiment of the application avoids the problems of data transmission delay, resource waste and the like caused by the change of the number of the workstations in the wireless network.

Description

Access limitation window adjusting method, device and system
Technical Field
The present application relates to the field of wireless network technologies, and in particular, to a method, a device, and a system for adjusting an access restriction window.
Background
An Access restricted Window (RAW) is a time slot consisting of several time slots, and an AP (Access Point, chinese) device assigns a time slot to each station in a wireless network for transmitting data. However, when the number of stations in the wireless network changes, there is a problem that resources are wasted or data transmission is delayed due to resource preemption based on an existing access restriction window. Therefore, how to dynamically adjust the access restriction window to ensure effective data transmission is an urgent problem to be solved.
Disclosure of Invention
An object of the embodiments of the present application is to provide a method, a device, and a system for adjusting an access restriction window, so as to solve the problems of data transmission delay and resource waste caused by a change in the number of workstations in a wireless network.
In order to solve the above technical problem, the embodiment of the present application is implemented as follows:
in a first aspect, an embodiment of the present application provides an access restriction window adjusting method, including:
acquiring access information of a workstation accessed to the AP equipment; wherein the workstations include a first type of workstation that transceives data through an access restriction window;
determining whether to adjust an access limiting window parameter of the first type of workstation according to the access information;
if so, determining the adjusted access limiting window parameters of the first type of workstation according to the access information and a preset adjusting rule;
and sending the adjusted access limiting window parameter to the first type of workstation, so that the first type of workstation updates the currently stored access limiting window parameter to the adjusted access limiting window parameter.
In a second aspect, an embodiment of the present application provides an access restriction window adjustment method, including:
acquiring access information of access equipment of access gateway equipment, wherein the access equipment comprises video input equipment, and the video input equipment receives and transmits data through an access limiting window;
determining whether to adjust the access limiting window parameter of the video recording equipment according to the received information;
if so, determining the adjusted access limiting window parameter of the video input equipment according to the access information and a preset adjusting rule;
and sending the adjusted access limiting window parameter to the video entry equipment so that the video entry equipment updates the currently stored access limiting window parameter to the adjusted access limiting window parameter.
In a third aspect, an embodiment of the present application provides an access restriction window adjustment system, including: an AP device and a workstation; the work station accesses the AP equipment, and comprises a first type work station;
the AP equipment is used for acquiring access information of each accessed workstation and determining whether to adjust the access limiting window parameter of the first type of workstation or not according to the access information; if so, determining the adjusted access limiting window parameter of the workstation of the first type according to the access information and a preset adjusting rule, and sending the adjusted access limiting window parameter to the workstation of the first type;
the first type of station is configured to update the stored access restriction window parameter to the adjusted access restriction window parameter sent by the AP device.
In a fourth aspect, an embodiment of the present application provides an access restriction window adjustment system, including: a gateway device and an access device; the access equipment is accessed to the gateway equipment and comprises video recording equipment;
the gateway equipment is used for acquiring the access information of the access equipment and determining whether to adjust the access limiting window parameter of the video recording equipment or not according to the received information; if so, determining the adjusted access limiting window parameter of the video recording equipment according to the access information and a preset adjusting rule, and sending the adjusted access limiting window parameter to the video recording equipment;
and the video recording equipment is used for updating the currently stored access limiting window parameter into the adjusted access limiting window parameter sent by the gateway equipment.
In a fifth aspect, an embodiment of the present application provides an electronic device, including: a processor, a communication interface, a memory, and a communication bus; the processor, the communication interface and the memory complete mutual communication through a bus; a memory for storing a computer program; and the processor is used for executing the program stored in the memory and realizing the steps of the access limiting window adjusting method.
In a sixth aspect, an embodiment of the present application provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and the computer program, when executed by a processor, implements the steps of the above access restriction window adjustment method.
In the embodiment of the application, when access information of a workstation accessing an AP device is acquired and access limiting window parameters of a workstation of a first type are determined and adjusted according to the access information, the adjusted access limiting window parameters of the workstation of the first type are determined according to the acquired access information and a preset adjustment rule; the adjusted access limiting window parameter is then sent to the first type of workstation, so that the first type of workstation updates the currently saved access limiting window parameter to the adjusted access limiting window parameter. Therefore, based on the acquired access information, the adjustment of the access limiting window is realized, the effective data transmission of each workstation is ensured, and the problems of data transmission delay and resource waste caused by the change of the number of the workstations are effectively avoided.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, it is obvious that the drawings in the following description are only some embodiments described in the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without any creative effort.
Fig. 1 is a first flowchart of an access restriction window adjustment method provided in an embodiment of the present disclosure;
fig. 2 is a second flowchart of an access restriction window adjustment method provided in an embodiment of the present disclosure;
fig. 3 is a third flowchart of an access restriction window adjustment method provided in an embodiment of the present disclosure;
fig. 4 is a fourth flowchart illustrating an access limitation window adjustment method provided in an embodiment of the present disclosure;
fig. 5 is a fifth flowchart of an access restriction window adjustment method provided in an embodiment of the present disclosure;
fig. 6 is a sixth flowchart of an access limitation window adjustment method provided in an embodiment of the present disclosure;
fig. 7 is a schematic block diagram illustrating a first module of an access limiting window adjustment apparatus according to an embodiment of the present disclosure;
fig. 8 is a schematic block diagram illustrating a second module of an access limiting window adjustment apparatus according to an embodiment of the present disclosure;
FIG. 9 is a schematic diagram of a first component of an access limiting window adjustment system provided in an embodiment of the present disclosure;
FIG. 10 is a second schematic diagram illustrating an access restriction window adjustment system according to an embodiment of the present disclosure;
fig. 11 is a schematic composition diagram of an electronic device provided in an embodiment of the present specification.
Detailed Description
In order to make those skilled in the art better understand the technical solutions in the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Fig. 1 is a schematic flowchart of an access restriction window adjustment method applied to an AP device, provided in one or more embodiments of the present disclosure, and referring to fig. 1, the method may specifically include the following steps:
102, acquiring access information of a workstation accessed to AP equipment; the workstations comprise a first type of workstation, and the first type of workstation transmits and receives data through the access limiting window;
in the wireless network of this embodiment, the wireless network includes an AP device and a workstation accessing the AP device, where the workstation includes a first type of workstation and may further include a second type of workstation; a first type of workstation for transceiving data through an access restriction window, such as a TIM station, a Non-TIM station, etc.; a second type of station, such as an unchelated station, does not need to transmit or receive data through the access restricted window. In order to ensure that each workstation in a wireless network can effectively transmit data, in one or more embodiments of the present description, an AP device acquires access information of the accessed workstations at preset time intervals, because the number of workstations accessed to the AP device may change at any time; as one embodiment, as shown in fig. 2, step 102 comprises:
step 102-2, broadcasting a query message so that a workstation accessed to the AP equipment returns response data when acquiring the query message;
specifically, the AP device broadcasts an inquiry message, such as a Beacon message, at preset time intervals; when each workstation in the wireless network acquires the query message, response data is generated according to the type of the workstation, the identification of the workstation and other information, and the generated response data is sent to the AP equipment. The preset time interval can be set automatically according to the requirement in practical application.
102-4, counting the number of the workstations of the target type according to the type information of the workstations included in the response data; wherein the target type comprises at least a first type;
step 102-6, the number of workstations of the target type is determined as access information.
The AP equipment broadcasts the query message through the preset frequency to acquire the access information of the accessed workstations, and can ensure that the access limiting window parameters of the first type of workstations are adjusted in time when the number of the workstations in the wireless network changes.
Step 104, determining whether to adjust the access limiting window parameters of the first type of workstation or not according to the acquired access information;
in order to reasonably and efficiently adjust the access limiting window of the first type of workstation, in one or more embodiments of the present specification, a corresponding relationship between a number range of the workstations and a wake-up period is preset, where the wake-up period is a total duration for each of the first type of workstations to be woken up once, that is, a total duration of each time slot included in the access limiting window; or presetting the corresponding relation between the number range of the workstations and the grade of the awakening period and the corresponding relation between the grade of the awakening period and the awakening period; to determine an adjusted access restriction window parameter based on the correspondence. Further, in order to determine whether to adjust the access limiting window parameter of the first type of workstation, in one or more embodiments of the present specification, a first number of workstations of the target type obtained last time is further saved, so as to determine a change situation of the number of workstations of the target type according to the first number and the number of workstations of the target type obtained currently, and further determine whether to adjust the access limiting window parameter of the workstations of the first type according to the change situation of the number. Specifically, step 104 includes:
step 104', if the number of the workstations of the target type is different from the stored first number and the number of the workstations of the target type and the first number belong to different preset number ranges, determining to adjust the access limiting window parameter of the workstations of the first type; wherein the first number is the number of workstations of the target type acquired last time.
Specifically, the counted number of the workstations of the target type is compared with the stored first number, if the counted number of the workstations of the target type is consistent with the stored first number, it is determined that the access limiting window parameter of the workstation of the first type is not adjusted, and when the time point corresponding to the preset time interval is reached, step 102 is executed; if not, matching the number of the workstations of the target type with the number range included in the preset corresponding relation to obtain the number range to which the number of the workstations of the target type belongs; matching the first quantity with a quantity range included in a preset corresponding relation to obtain a quantity range to which the first quantity belongs; determining whether the number range to which the number of the target type of workstations belongs is the same as the number range to which the first number belongs, if so, determining not to adjust the access limiting window parameter of the first type of workstations, and executing step 102 when a time point corresponding to a preset time interval is reached; if not, determining to adjust the access restriction window parameters for the first type of workstation.
Therefore, whether the access limiting window parameter of the first type of workstation is adjusted or not is determined by presetting the corresponding relation between different quantity ranges and the awakening period and based on the quantity of the target type of workstations, the stored first quantity and the preset quantity range; therefore, when the number of the workstations is changed slightly and the data transmission of the first type of workstations is not influenced, the adjustment operation of the access limiting window is not required, so that the adjustment times are reduced, and the updating operation of the access limiting window parameters of the first type of workstations is reduced.
Step 106, if yes, determining the adjusted access limiting window parameters of the first type of workstation according to the access information and the preset adjusting rule;
in the embodiment of the present specification, the adjusted access restriction window parameter of the first type of workstation is determined in different manners based on the access information and a preset adjustment rule according to different target types in the access information.
As an embodiment, the access limiting window parameter of the first type of workstation is adjusted according to the number of the first type of workstation; correspondingly, the target type is the first type, and as shown in fig. 3, the foregoing step 102-4 includes:
step 102-4-2, a second number of workstations of the first type is counted according to the type information of the workstations included in the response data.
Specifically, first target response data with the type information being a first type is screened from the received response data, and the number of the first target response data is counted and used as a second number of the workstations of the first type.
Correspondingly, as shown in fig. 3, the foregoing step 102-6 includes:
step 102-6-2, determining a second number of workstations of the first type as access information;
further, as shown in fig. 3, step 106 includes:
step 106-2, if yes, determining a target quantity range to which the second quantity belongs in a plurality of preset quantity ranges;
specifically, if the access limiting window parameter of the first type of workstation is determined to be adjusted, matching the second quantity with a quantity range included in a preset corresponding relationship to obtain a target quantity range to which the second quantity belongs;
step 106-4, determining a target awakening period according to the target quantity range;
specifically, when the preset corresponding relationship includes a first corresponding relationship between a quantity range and a wakeup cycle, a corresponding target wakeup cycle is obtained from the first corresponding relationship according to the target quantity range; and when the preset corresponding relation comprises a second corresponding relation of the quantity range and the awakening period grade and a third corresponding relation of the awakening period grade and the awakening period, acquiring a corresponding target awakening period grade from the second corresponding relation according to the target quantity range, and acquiring a corresponding target awakening period from the third corresponding relation according to the target awakening period grade.
Step 106-6, determining the adjusted access restriction window parameter for the first type of workstation based on the second number and the target wake-up period.
Specifically, the duration of the sub-wake-up period of each workstation of the first type is determined according to the second number and the target wake-up period; determining the starting time of the sub-awakening period of each first type of workstation according to a preset allocation rule and the duration of the sub-awakening period; the duration and start time of the sub-wake-up period are determined as the adjusted access restriction window parameters for the first type of workstation.
Optionally, the durations of the sub-wake-up periods of each of the first type of workstations are the same, correspondingly, the target wake-up period is divided by the second number, and the quotient is determined as the duration of the sub-wake-up period of each of the first type of workstations. It should be noted that the determination manner of the duration of the sub-wake-up period may be set in practical application according to needs, which is not specifically limited in this specification.
Further, the allocation rule may be set by itself in practical application as required, for example, the starting time of the sub-wake-up period of each workstation of the first type is determined in a random allocation manner; or determining the awakening sequence of the workstations of each first type according to the service types of the workstations, and determining the starting time of the sub-awakening period of each workstation of the first type according to the determined awakening sequence; this specification is not particularly limited.
As an example, the correspondence includes a first correspondence of the number range and the wake-up period, which is exemplified as follows:
range of quantities(A) Wakeup period (millisecond)
1-5 0.75
6-10 1.50
11-15 2.35
16-20 3.25
The first number of the saved workstations of the first type is 4, the second number of the counted workstations of the first type is 6, the first number is different from the second number, the number range of the first number is 1-5, the number range of the second number is 6-10, and the access limiting window parameters of the workstations of the first type are determined to be adjusted if the first number and the second number belong to different number ranges; acquiring a target wake-up period of 1.50 milliseconds from the first corresponding relation according to a target number range 6-10 to which the second number belongs, and determining that the sub-wake-up period of each first type of workstation is 1.50/6 to 0.25 milliseconds; for convenience of description, the workstations of the first type are denoted as workstation 1, workstation 2, workstation 3, workstation 4, workstation 5, and workstation 6, and if the wakeup sequence of each workstation is determined according to the preset allocation rule, the wakeup sequence of each workstation is as follows: workstation 3, workstation 2, workstation 5, workstation 1, workstation 6, workstation 4; if the start time of a certain wakeup period is 02 hours 03 minutes 5 seconds, the start time of the sub wakeup period of the workstation 3 in the wakeup period is 02 hours 03 minutes 0 seconds, the start time of the sub wakeup period of the workstation 2 is 02 hours 03 minutes 0.00025 seconds, the start time of the sub wakeup period of the workstation 5 is 02 hours 03 minutes 0.0005 seconds, the start time of the sub wakeup period of the workstation 1 is 02 hours 03 minutes 0.00075 seconds, the start time of the sub wakeup period of the workstation 6 is 02 hours 03 minutes 0.001 seconds, and the start time of the sub wakeup period of the workstation 4 is 02 hours 03 minutes 0.00125 seconds.
As can be seen from the above description, when the number of the first type of workstations increases and falls within a different number range from the saved first number, the wake-up period becomes large; determining the adjusted access limiting window parameters of the first type of workstations according to the increased wake-up period, thereby ensuring that the first type of workstations cannot mutually occupy resources due to the increase of the number of the first type of workstations to cause data transmission delay; further, when the number of the first type of workstations decreases and falls within a different number range from the saved first number, the wake-up period becomes smaller; and determining the adjusted access limiting window parameters of the first type of workstations according to the reduced awakening period, so that excessive resources are not occupied on the basis of ensuring the effective data transmission of the first type of workstations, and the waste of resources is avoided.
Further, as another embodiment, the access limiting window parameter of the first type of workstation is adjusted in response to a change in the number of second type of workstations; correspondingly, the target types include a first type and a second type, and as shown in fig. 4, the foregoing step 102-4 includes:
and step 102-4-4, counting the second number of the workstations of the first type and the third number of the workstations of the second type according to the type information of the workstations included in the response data.
Specifically, first target response data with the type information of the first type is screened from the received response data, and the number of the first target response data is counted and used as a second number of the first type of workstations; and screening second target response data with the type information of the second type from the received response data, and counting the quantity of the second target response data to be used as a third quantity of the workstations of the second type.
Correspondingly, as shown in fig. 4, the foregoing step 102-6 includes:
step 102-6-4, determining a second number of workstations of the first type and a third number of workstations of the second type as access information;
further, as shown in fig. 4, step 106 includes:
step 106-8, if yes, determining a target quantity range to which the third quantity belongs in a plurality of preset quantity ranges;
106-10, determining a target awakening period according to the target quantity range;
step 106-12, determining the adjusted access restriction window parameter for the first type of workstation based on the second number and the target wake-up period.
As an example, the correspondence includes a first correspondence of the number range and the wake-up period, which is exemplified as follows:
number range (one) Wakeup period (millisecond)
1-5 3.25
6-10 2.35
11-15 1.50
16-20 0.75
It can be seen that the wake-up period is reduced when the third number of workstations of the second type is increased and falls within a different number range than the saved first number of workstations of the second type. Because the workstation of the second type can receive and transmit data at any time without accessing the limiting window, when the number of the workstations of the second type is increased greatly, resources can be preempted, so that the workstation of the first type can only wait for the next sub-wakeup period to transmit data, namely is in a competition avoidance state, and the data transmission of the workstation of the first type is delayed; by reducing the total wake-up period, the sub-wake-up period of each workstation of the first type is reduced, so that the next sub-wake-up period can be quickly entered without waiting for too long time, and the problem of data transmission delay is solved.
Further, the implementation process of step 106-8 to step 106-12 is similar to the implementation process of step 106-2 to step 106-6, and reference may be made to the foregoing related description, and repeated points are not described herein again.
As yet another embodiment, the adjusted access restriction window parameter for a first type of workstation is determined based on the number of workstations of the first type and the number of workstations of the second type, where the target types are the first type and the second type; correspondingly, as shown in fig. 5, on the basis of the foregoing steps 102-4-4 and 102-6-4, the step 106 includes:
step 106-14, if yes, determining a target quantity range in a plurality of preset quantity ranges according to the second quantity and the third quantity;
specifically, a first quantity range to which the second quantity belongs in a plurality of preset quantity ranges is determined; determining a second quantity range to which the third quantity belongs in a plurality of preset quantity ranges; if the first quantity range is the same as the second quantity range, determining the first quantity range as a target quantity range; if the first quantity range is different from the second quantity range, determining a fourth quantity according to a preset weighting parameter, the second quantity and the third quantity; determining a number range to which the fourth number belongs among a plurality of preset number ranges as a target number range. The process of determining the fourth quantity may be set in practical application according to the preset weighting parameter, the second quantity and the third quantity, and this is not specifically limited in this specification. For example, the fourth quantity + the third quantity, or the fourth quantity + the third quantity; wherein n and m are preset weighting parameters.
106-16, determining a target awakening period according to the target quantity range;
step 106-18, determining the adjusted access restriction window parameter for the first type of workstation based on the second number and the target wake-up period.
The implementation process of steps 106-16 and steps 106-18 can refer to the foregoing related description, and the repetition points are not described herein again.
Therefore, the adjusted access limiting window parameter of the first type of workstation is determined according to the access information and the preset adjusting rule, so that the adjusted access limiting window parameter is sent to the first type of workstation in the subsequent process, the first type of workstation updates the access limiting window parameter, the problem of resource occupation caused by the increase of the number of workstations and further data transmission delay is avoided, and unnecessary resource occupation is avoided when the number of workstations is reduced.
Further, in order to enable the AP device to accurately determine whether to adjust the access limiting window parameter of the first type of station when the AP device acquires the access information of the station next time, after the AP device determines to adjust the access limiting window parameter of the first type of station, the method further includes: the saved first number is replaced with a counted number of workstations of the target type.
And step 108, sending the adjusted access limiting window parameter to the first type of workstation, so that the first type of workstation updates the currently stored access limiting window parameter into the adjusted access limiting window parameter.
Specifically, an association relationship is established between the workstation identification of each first type of workstation and the determined corresponding adjusted access limiting window parameter, a parameter adjustment message is generated according to each established association relationship, and the parameter adjustment message is broadcasted; when each first type workstation acquires the parameter adjusting message, acquiring the associated adjusted access limiting window parameter from the parameter adjusting message according to the workstation identification of the workstation, and updating the currently stored access limiting window parameter into the acquired adjusted access limiting window parameter. Or the response data comprises IP addresses of the workstations, and the AP equipment respectively sends corresponding parameter adjustment messages to the workstations of the first type according to the IP addresses of the workstations of the first type; and when each first type of workstation receives the parameter adjusting message sent by the AP equipment, acquiring the adjusted access limiting window parameter from the received parameter adjusting message, and updating the currently stored access limiting window parameter into the acquired adjusted access limiting window parameter.
In the embodiment of the present specification, access information of a workstation accessing an AP device is acquired, and when determining to adjust an access restriction window parameter of a first type of workstation according to the access information, an adjusted access restriction window parameter of the first type of workstation is determined according to the acquired access information and a preset adjustment rule; the adjusted access limiting window parameter is then sent to the first type of workstation, so that the first type of workstation updates the currently saved access limiting window parameter to the adjusted access limiting window parameter. Therefore, based on the acquired access information, the adjustment of the access limiting window is realized, the effective data transmission of each workstation is ensured, and the problems of data transmission delay, resource waste and the like caused by the change of the number of the workstations are effectively avoided.
Based on the same technical concept, as an extension of the foregoing embodiments, one or more embodiments of the present specification further provide another access limiting window adjusting method, and fig. 6 is a schematic flow chart of the another access limiting window adjusting method provided by one or more embodiments of the present specification, as shown in fig. 6, the method may specifically include the following steps:
step 202, obtaining access information of access equipment of access gateway equipment, wherein the access equipment comprises video recording equipment which receives and transmits data through an access limiting window;
the wireless network of this embodiment includes a gateway device and an access device accessing the gateway device; the access equipment comprises video recording equipment and alarm sensing equipment; when the video recording equipment is in a code stream fetching state, the video recording equipment is equivalent to the TIM station and the Non-TIM station, and a code stream needs to be read through an access limiting window; when the video recording equipment is in a non-code stream fetching state, the video recording equipment is equivalent to the unsccheduled station, and data do not need to be received and transmitted through an access limiting window; the alarm sensing equipment is equivalent to the unsccheduled station, and data is not required to be transmitted and received through an access limiting window. For the sake of convenience, the stream taking state is hereinafter referred to as a first operating state, and the stream not taking state is hereinafter referred to as a second operating state. In order to ensure that the video recording device in the first working state can effectively transmit data, in one or more embodiments of the present description, the gateway device acquires access information of the accessed access device at preset time intervals, because the change time of the working states of different video recording devices may be different, and the number of the video recording devices and the number of the alarm sensing devices may also be changed at any time; for one embodiment, step 202 includes:
step 202-2, broadcasting the query message, so that the access device of the access gateway device returns response data when acquiring the query message;
specifically, the gateway device broadcasts a query message at preset time intervals, and when each device accessing the gateway device acquires the query message, generates response data according to information such as its type and device identification, and sends the generated response data to the gateway device. The preset time interval can be set automatically according to the requirement in practical application.
Step 202-4, counting the number of access devices of a target type according to the device type information included in the response data; the target type access equipment at least comprises video recording equipment;
the number of access devices of the target type is determined as access information, step 202-6.
Step 204, determining whether to adjust the access limiting window parameter of the video recording equipment according to the acquired receiving information;
in order to reasonably and efficiently adjust the access limiting window parameters of the video recording equipment, in one or more embodiments of the present specification, a corresponding relationship between the number range of the access equipment and the wakeup period is preset; or presetting the corresponding relation between the number range of the access equipment and the level of the awakening period and the corresponding relation between the level of the awakening period and the awakening period; to determine an adjusted access restriction window parameter based on the correspondence. Further, in order to determine whether to adjust an access restriction window parameter of the video entry device, in one or more embodiments of the present specification, a first number of access devices of a target type obtained last time is further saved, so as to determine a change situation of the number of access devices of the target type according to the first number and the number of currently obtained access devices of the target type, and further determine whether to adjust the access restriction window parameter of the video entry device according to the change situation of the number. Specifically, step 204 includes:
step 204', if the number of the access devices of the target type is different from the stored first number and the number of the access devices of the target type and the first number belong to different preset number ranges, determining to adjust the access limiting window parameter of the video recording device; wherein the first number is the number of the target devices acquired last time.
The implementation manner of step 204 'is similar to that of step 104', and reference may be made to the foregoing related description, which is not repeated here. Determining whether to adjust the access limiting window parameter of the video recording equipment or not according to the preset corresponding relation between different quantity ranges and the awakening period and based on the quantity of the target type access equipment, the stored first quantity and the preset quantity range; therefore, when the number of the access devices is changed slightly and the code stream transmission of the video recording device is not influenced, the adjustment operation of the access limiting window is not needed, the adjustment times are further reduced, and the updating operation of the access limiting window parameters of the video recording device is reduced.
Step 206, if yes, determining the adjusted access limiting window parameter of the video recording device according to the access information and a preset adjusting rule;
in the embodiment of the present specification, according to different types of targets in the access information, based on the access information and a preset adjustment rule, the adjusted access restriction window parameter of the video entry device is determined in different manners.
As an embodiment, the response data returned by the video entry device further includes working state information, and the access limiting window parameter of the video entry device in the first working state is adjusted according to the number change condition of the video entry devices in the first working state; correspondingly, the target type is a video entry device in the first working state, and the foregoing step 202-4 may include:
step 202-4-2, counting a second number of video recording devices in the first working state according to the device type information and the working state information included in the response data;
correspondingly, step 206 may include:
step 206-2, if yes, determining a target quantity range to which the second quantity belongs in a plurality of preset quantity ranges;
step 206-4, determining a target wake-up period according to the target number range;
and step 206-6, determining the adjusted access limiting window parameters of the video recording equipment in the first working state according to the second quantity and the target awakening period.
Specifically, a first quantity range to which the second quantity belongs in a plurality of preset quantity ranges is determined; determining a second quantity range to which the third quantity belongs in a plurality of preset quantity ranges; if the first quantity range is the same as the second quantity range, determining the first quantity range as a target quantity range; if the first quantity range is different from the second quantity range, determining a fourth quantity according to a preset weighting parameter, the second quantity and the third quantity; determining a number range to which the fourth number belongs among a plurality of preset number ranges as a target number range.
The implementation manner of the step 204-4-2 is similar to the implementation manner of the step 104-4-2, and the implementation manners of the step 206-2 to the step 206-6 are similar to the implementation manners of the step 106-2 to the step 106-6, which can be referred to the foregoing related description and are not repeated herein. Therefore, when the number of the video recording devices in the first working state is increased and is in a different number range from the stored first number, the awakening period is increased; determining the adjusted access limiting window parameters of the video input equipment in the first working state according to the increased awakening period, so that the video input equipment in the first working state cannot mutually occupy resources due to the increase of the number of the video input equipment in the first working state, and data transmission delay is caused; further, when the number of the video recording devices in the first working state is reduced and the number of the video recording devices in the first working state is different from the stored first number, the awakening period is shortened; and determining the adjusted access limiting window parameters of the video recording equipment in the first working state according to the reduced awakening period, so that excessive resources cannot be occupied on the basis of ensuring the effective data transmission of the video recording equipment in the first working state, and the resource waste is avoided.
As another embodiment, the response data returned by the video entry device further includes working state information, and the access limiting window parameter of the video entry device in the first working state is adjusted according to the change condition of the total number of the video entry device in the second working state and the alarm sensing device; correspondingly, the target types include a video input device in a first working state, a video input device in a second working state, and an alarm sensing device, and the foregoing step 202-4 may include:
step 202-4-4, counting the second number of the video recording devices in the first working state, the total third number of the video recording devices in the second working state and the alarm sensing devices according to the device type information and the working state information included in the response data;
correspondingly, step 206 may include:
step 206-8, if yes, determining a target quantity range to which the third quantity belongs in a plurality of preset quantity ranges;
step 206-10, determining a target wake-up period according to the target number range;
and step 206-12, determining the adjusted access limiting window parameter of the video recording equipment in the first working state according to the second quantity and the target awakening period.
The implementation manner of the step 202-4-4 is similar to the implementation manner of the step 102-4-4, and the implementation manner of the step 206-8 to the step 206-12 is similar to the implementation manner of the step 106-8 to the step 106-12, which can refer to the related description, and is not repeated here. Thus, when the third number is increased and falls within a different number range than the saved first number, the wake-up period is decreased. Because the video recording equipment and the alarm sensing equipment in the second working state can receive and transmit data at any time without accessing the limiting window, when the total number of the video recording equipment and the alarm sensing equipment in the second working state is increased a lot, resources can be occupied, so that the video recording equipment in the first working state can only wait for the next sub-wakeup period to perform data transmission, namely, is in a competition avoidance state, and the data transmission of the video recording equipment in the first working state is delayed; by reducing the total awakening period, the sub-awakening period of each video recording device in the first working state is reduced, so that the next sub-awakening period can be rapidly entered without waiting for too long time, and the problem of data transmission delay is solved.
As another embodiment, the response data returned by the video entry device further includes working state information, and the access limitation window parameter of the video entry device in the first working state is adjusted according to the number of the video entry devices in the first working state and the change condition of the total number of the video entry devices in the second working state and the alarm sensing device; correspondingly, the target types include a video input device in a first working state, a video input device in a second working state and an alarm sensing device, and on the basis of the foregoing steps 202-4-4, the step 206 may include:
step 206-14, determining a target quantity range in a plurality of preset quantity ranges according to the second quantity and the third quantity;
step 206-16, determining a target wake-up period according to the target number range;
and 206-18, determining the adjusted access limiting window parameter of the video recording equipment in the first working state according to the second quantity and the target awakening period.
The implementation of the above step 206-14 to step 206-18 is similar to the implementation of the above step 106-14 to step 106-18, and reference may be made to the foregoing related description, which is not repeated herein.
Therefore, according to the access information and the preset regulation rule, the regulated access limiting window parameter of the video recording equipment in the first working state is determined, the regulated access limiting window parameter is sent to the video recording equipment in the first working state in the subsequent process, the video recording equipment in the first working state updates the access limiting window parameter, the problem that resource preemption is caused due to the increase of the number of the access equipment, and further data transmission delay is caused is solved, and unnecessary resource occupation is avoided when the number of the access equipment is reduced.
Further, in order to enable the gateway device to accurately determine whether to adjust the access limiting window parameter of the video entry device when the gateway device next obtains the access information of the access device, after the gateway device determines to adjust the access limiting window parameter of the video entry device, the method further includes: replacing the saved first number with a counted number of access devices of the target type.
And step 208, sending the adjusted access limiting window parameter to the video entry equipment, so that the video entry equipment updates the currently stored access limiting window parameter into the adjusted access limiting window parameter.
The implementation process of step 208 is similar to the implementation process of step 108, and reference may be made to the foregoing related description, which is not described here again.
In the embodiment of the present specification, when access information of an access device of an access gateway device is acquired and an access restriction window parameter of a video recording device is determined and adjusted according to the access information, an adjusted access restriction window parameter of the video recording device is determined according to the acquired access information and a preset adjustment rule; and sending the adjusted access limiting window parameter to the video recording equipment so that the video recording equipment updates the currently stored access limiting window parameter into the adjusted access limiting window parameter. Therefore, based on the acquired access information, the adjustment of the access limiting window is realized, the effective data transmission of each video recording device is ensured, and the problems of data transmission delay, resource waste and the like caused by the change of the number of the access devices are effectively avoided.
Based on the same technical concept, one or more embodiments of the present specification further provide an access restriction window adjusting apparatus, fig. 7 one or more embodiments of the present specification further provide a module composition schematic diagram of the access restriction window adjusting apparatus, as shown in fig. 7, the apparatus includes:
an obtaining module 301, configured to obtain access information of a workstation accessing the AP device; wherein the workstations comprise workstations of a first type;
a first determining module 302, configured to determine whether to adjust an access limiting window parameter of the first type of workstation according to the access information;
a second determining module 303, configured to determine, if the determination result of the first determining module is yes, an adjusted access restriction window parameter of the first type of workstation according to the access information and a preset adjustment rule;
a sending module 304, configured to send the adjusted access limiting window parameter to the first type of workstation, so that the first type of workstation updates the currently stored access limiting window parameter to the adjusted access limiting window parameter.
Optionally, the obtaining module 301 includes:
a broadcasting unit, configured to broadcast an inquiry packet, so that a workstation accessing the AP device returns response data when acquiring the inquiry packet;
the counting unit is used for counting the number of the workstations of a target type according to the type information of the workstations included in the response data; wherein the target type comprises at least the first type;
a determining unit, configured to determine the number of workstations of the target type as the access information.
Optionally, the first determining module 302 determines to adjust the access limiting window parameter of the workstation of the first type if it is determined that the number of workstations of the target type is different from the stored first number and the number of workstations of the target type is within a preset number range different from the first number; wherein the first number is the number of workstations of the target type acquired last time.
Optionally, the apparatus further comprises: a storage module;
a saving module for replacing the saved first number with the counted number of workstations of the target type
Optionally, a counting unit for counting a second number of workstations of the first type;
correspondingly, the second determining module 303 is specifically configured to:
determining a target quantity range to which the second quantity belongs in a plurality of preset quantity ranges;
determining a target awakening period according to the target quantity range;
and determining the adjusted access limiting window parameter of the first type of workstation according to the second number and the target wake-up period.
Optionally, the counting unit is configured to count a second number of the workstations of the first type and a third number of the workstations of the second type;
correspondingly, the second determining module 303 is specifically configured to:
determining a target quantity range to which the third quantity belongs in a plurality of preset quantity ranges; or determining a target number range in the preset number ranges according to the second number and the third number;
determining a target awakening period according to the target quantity range;
and determining the adjusted access limiting window parameter of the first type of workstation according to the second number and the target wake-up period.
Optionally, the second determining module 303 is further specifically configured to:
determining a first quantity range to which the second quantity belongs in a plurality of preset quantity ranges;
determining a second quantity range to which the third quantity belongs in a plurality of preset quantity ranges;
if the first quantity range is the same as the second quantity range, determining the first quantity range as a target quantity range;
if the first quantity range is different from the second quantity range, determining a fourth quantity according to a preset weighting parameter, the second quantity and the third quantity; and determining a number range to which the fourth number belongs in a plurality of preset number ranges as a target number range.
Optionally, the second determining module 303 is further specifically configured to:
determining the duration of each sub-wakeup period of the first type of workstation according to the second number and the target wakeup period;
determining the starting time of the sub-awakening period of each workstation of the first type according to a preset allocation rule and the duration of the sub-awakening period;
and determining the duration of the sub-wake-up period and the starting time as the adjusted access limiting window parameter of the first type of workstation.
The access limiting window adjusting apparatus provided in the embodiment of the present specification determines an adjusted access limiting window parameter of a first type of workstation according to acquired access information and a preset adjusting rule when acquiring access information of a workstation accessing an AP device and determining to adjust the access limiting window parameter of the first type of workstation according to the access information; the adjusted access limiting window parameter is then sent to the first type of workstation, so that the first type of workstation updates the currently saved access limiting window parameter to the adjusted access limiting window parameter. Therefore, based on the acquired access information, the adjustment of the access limiting window is realized, the effective data transmission of each workstation is ensured, and the problems of data transmission delay, resource waste and the like caused by the change of the number of the workstations are effectively avoided.
Based on the same technical concept, one or more embodiments of the present specification further provide another access limiting window adjusting apparatus, fig. 8 is a schematic block diagram of another access limiting window adjusting apparatus provided by one or more embodiments of the present specification, as shown in fig. 8, the apparatus includes:
an obtaining module 401, configured to obtain access information of an access device accessing the gateway device, where the access device includes a video recording device, and the video recording device receives and sends data through an access limiting window;
a first determining module 402, configured to determine whether to adjust an access limiting window parameter of the video entry device according to the received information;
a second determining module 403, configured to determine, if the determination result of the first determining module is yes, an adjusted access restriction window parameter of the video entry device according to the access information and a preset adjustment rule;
a sending module 404, configured to send the adjusted access limiting window parameter to the video entry device, so that the video entry device updates the currently stored access limiting window parameter to the adjusted access limiting window parameter.
Optionally, the obtaining module 401 includes:
a broadcasting unit, configured to broadcast an inquiry packet, so that an access device accessing the gateway device returns response data when acquiring the inquiry packet;
a counting unit, configured to count the number of access devices of a target type according to the device type information included in the response data; wherein the access device of the target type comprises at least the video entry device;
a determining unit, configured to determine the number of the target type of access devices as the access information.
Optionally, the first determining module 402 is specifically configured to:
if the number of the target type access devices is different from the stored first number and the number of the target type access devices and the first number belong to different preset number ranges, determining to adjust an access limiting window parameter of the video recording device; wherein the first number is the number of the target devices acquired last time.
Optionally, the apparatus further comprises: a storage module;
and the storage module is used for replacing the stored first quantity with the counted quantity of the access equipment of the target type.
Optionally, the response data returned by the video entry device further includes: working state information;
the counting unit is used for counting the second number of the video recording devices in the first working state according to the device type information and the working state information which are included in the response data;
correspondingly, the second determining module 403 is specifically configured to:
determining a target quantity range to which the second quantity belongs in a plurality of preset quantity ranges;
determining a target awakening period according to the target quantity range;
and determining the adjusted access limiting window parameters of the video recording equipment in the first working state according to the second quantity and the target awakening period.
Optionally, the response data returned by the video entry device further includes: working state information; the access device further comprises: an alarm sensing device;
the counting unit is used for counting the second number of the video input devices in the first working state, the total third number of the video input devices in the second working state and the alarm sensing devices according to the device type information and the working state information which are included in the response data;
correspondingly, the second determining module 403 is specifically configured to:
determining a target quantity range to which the third quantity belongs in a plurality of preset quantity ranges; or determining a target quantity range in a plurality of preset quantity ranges according to the second quantity and the third quantity;
determining a target awakening period according to the target quantity range;
and determining the adjusted access limiting window parameters of the video recording equipment in the first working state according to the second quantity and the target awakening period.
Optionally, the second determining module 403 is further specifically configured to:
determining a first quantity range to which the second quantity belongs in a plurality of preset quantity ranges;
determining a second quantity range to which the third quantity belongs in a plurality of preset quantity ranges;
if the first quantity range is the same as the second quantity range, determining the first quantity range as a target quantity range;
if the first quantity range is different from the second quantity range, determining a fourth quantity according to a preset weighting parameter, the second quantity and the third quantity; and determining a number range to which the fourth number belongs in a plurality of preset number ranges as a target number range.
Optionally, the second determining module 403 is further specifically configured to:
determining the duration of each sub-wakeup period of the video entry equipment in the first working state according to the second number and the target wakeup period;
determining the starting time of each sub-wakeup period of the video recording equipment in the first working state according to a preset distribution rule and the duration of the sub-wakeup period;
and determining the duration of the sub-awakening period and the starting time as the adjusted access limiting window parameter of the video recording equipment in the first working state.
The access limiting window adjusting device provided in the embodiment of the present specification determines an adjusted access limiting window parameter of a video entry device according to acquired access information and a preset adjustment rule when acquiring access information of an access device of an access gateway device and determining to adjust the access limiting window parameter of the video entry device according to the access information; and sending the adjusted access limiting window parameter to the video recording equipment so that the video recording equipment updates the currently stored access limiting window parameter into the adjusted access limiting window parameter. Therefore, based on the acquired access information, the adjustment of the access limiting window is realized, the effective data transmission of each video recording device is ensured, and the problems of data transmission delay, resource waste and the like caused by the change of the number of the access devices are effectively avoided.
In addition, for the above device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and for the relevant points, reference may be made to partial description of the method embodiment. Further, it should be noted that, among the respective components of the apparatus of the present invention, the components thereof are logically divided according to the functions to be realized, but the present invention is not limited thereto, and the respective components may be newly divided or combined as necessary.
Based on the same technical concept, one or more embodiments of the present specification further provide an adjustment system for an access restriction window, and fig. 9 is a schematic composition diagram of the adjustment system for an access restriction window according to one or more embodiments of the present specification; as shown in fig. 9, the system includes: AP device 501 and workstation 502; the workstation 502 accesses the AP device 501, and the workstation 502 includes a first type of workstation 502-1;
the AP device 501 is configured to acquire access information of each accessed workstation, and determine whether to adjust an access restriction window parameter of the first type of workstation according to the access information; if so, determining the adjusted access limiting window parameter of the workstation of the first type according to the access information and a preset adjusting rule, and sending the adjusted access limiting window parameter to the workstation of the first type;
the first type of station 502-1 is configured to update the saved access restriction window parameter to the adjusted access restriction window parameter sent by the AP device.
In the access limiting window adjusting system provided in the embodiment of the present specification, access information of a workstation accessing an AP device is acquired, and when an access limiting window parameter of a first type of workstation is determined to be adjusted according to the access information, an adjusted access limiting window parameter of the first type of workstation is determined according to the acquired access information and a preset adjusting rule; the adjusted access limiting window parameter is then sent to the first type of workstation, so that the first type of workstation updates the currently saved access limiting window parameter to the adjusted access limiting window parameter. Therefore, based on the acquired access information, the adjustment of the access limiting window is realized, the effective data transmission of each workstation is ensured, and the problems of data transmission delay, resource waste and the like caused by the change of the number of the workstations are effectively avoided.
Based on the same technical concept, one or more embodiments of the present specification further provide another access limiting window adjustment system, and fig. 10 is a schematic composition diagram of another access limiting window adjustment system provided by one or more embodiments of the present specification; as shown in fig. 10, the system includes: a gateway device 601 and an access device 602; the access device 602 accesses the gateway device 601, where the access device 602 includes a video entry device 602-1;
the gateway device 601 is configured to obtain access information of the access device, and determine whether to adjust an access restriction window parameter of the video entry device according to the received information; if so, determining the adjusted access limiting window parameter of the video recording equipment according to the access information and a preset adjusting rule, and sending the adjusted access limiting window parameter to the video recording equipment;
the video entry device 602-1 is configured to update the currently stored access restriction window parameter to the adjusted access restriction window parameter sent by the gateway device.
In the access limiting window adjusting system provided in the embodiment of the present specification, access information of an access device accessing a gateway device is acquired, and when an access limiting window parameter of a video entry device is determined and adjusted according to the access information, an adjusted access limiting window parameter of the video entry device is determined according to the acquired access information and a preset adjusting rule; and sending the adjusted access limiting window parameter to the video recording equipment so that the video recording equipment updates the currently stored access limiting window parameter into the adjusted access limiting window parameter. Therefore, based on the acquired access information, the adjustment of the access limiting window is realized, the effective data transmission of each video recording device is ensured, and the problems of data transmission delay, resource waste and the like caused by the change of the number of the access devices are effectively avoided.
In addition, for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and for relevant points, reference may be made to partial description of the method embodiment.
Fig. 11 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure, and referring to fig. 11, the electronic device includes a processor, an internal bus, a network interface, a memory, and a non-volatile memory, and may also include hardware required by other services. The processor reads the corresponding computer program from the nonvolatile memory into the memory and then runs the computer program to form the access limiting window adjusting device on the logic level. Of course, besides the software implementation, the present application does not exclude other implementations, such as logic devices or a combination of software and hardware, and the like, that is, the execution subject of the following processing flow is not limited to each logic unit, and may also be hardware or logic devices.
The network interface, the processor and the memory may be interconnected by a bus system. The bus may be an ISA (Industry Standard Architecture) bus, a PCI (Peripheral Component Interconnect) bus, an EISA (Extended Industry Standard Architecture) bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one double-headed arrow is shown in FIG. 11, but this does not indicate only one bus or one type of bus.
The memory is used for storing programs. In particular, the program may include program code comprising computer operating instructions. The memory may include both read-only memory and random access memory, and provides instructions and data to the processor. The Memory may include a Random-Access Memory (RAM) and may also include a non-volatile Memory (non-volatile Memory), such as at least 1 disk Memory.
The processor is used for executing the program stored in the memory and specifically executing:
acquiring access information of a workstation accessed to the AP equipment; wherein the workstations comprise workstations of a first type;
determining whether to adjust an access limiting window parameter of the first type of workstation according to the access information;
if so, determining the adjusted access limiting window parameters of the first type of workstation according to the access information and a preset adjusting rule;
and sending the adjusted access limiting window parameter to the first type of workstation, so that the first type of workstation updates the currently stored access limiting window parameter to the adjusted access limiting window parameter.
The method performed by the access restriction window adjusting apparatus according to the embodiment shown in fig. 11 of the present application may be applied to or implemented by a processor. The processor may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware in a processor or instructions in the form of software. The Processor may be a general-purpose Processor, including a Central Processing Unit (CPU), a Network Processor (NP), and the like; but also Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components. The various methods, steps, and logic blocks disclosed in the embodiments of the present application may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in connection with the embodiments of the present application may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software module may be located in ram, flash memory, rom, prom, or eprom, registers, etc. storage media as is well known in the art. The storage medium is located in a memory, and a processor reads information in the memory and completes the steps of the method in combination with hardware of the processor.
The computer device may further execute the method shown in fig. 6, and implement the function of the access restriction window adjusting apparatus in the embodiment shown in fig. 6, which is not described herein again in this embodiment of the present application.
Based on the same technical concept, embodiments of the present application also provide a computer-readable storage medium storing one or more programs, which when executed by an electronic device including a plurality of application programs, cause the electronic device to perform the access restriction window adjustment method provided in any one of corresponding embodiments of fig. 1 to 6.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the system embodiment, since it is substantially similar to the method embodiment, the description is simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
The foregoing description has been directed to specific embodiments of this disclosure. Other embodiments are within the scope of the following claims. In some cases, the actions or steps recited in the claims may be performed in a different order than in the embodiments and still achieve desirable results. In addition, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing may also be possible or may be advantageous.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The above description is only an example of the present application and is not intended to limit the present application. Various modifications and changes may occur to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

Claims (14)

1. An access restriction window adjustment method, comprising:
acquiring access information of a workstation accessed to the AP equipment; wherein the workstations include a first type of workstation that transceives data through an access restriction window;
determining whether to adjust an access limiting window parameter of the first type of workstation according to the access information;
if so, determining the adjusted access limiting window parameters of the first type of workstation according to the access information and a preset adjusting rule;
sending the adjusted access limiting window parameter to the first type of workstation, so that the first type of workstation updates the currently stored access limiting window parameter to the adjusted access limiting window parameter;
the acquiring access information of the workstation accessing the AP device includes:
broadcasting an inquiry message so that a workstation accessed to the AP equipment returns response data when acquiring the inquiry message;
counting the number of the workstations of the target type according to the type information of the workstations included in the response data; wherein the target type comprises at least the first type;
determining the number of the workstations of the target type as the access information;
the counting of the number of the workstations of the target type comprises the following steps:
counting a second number of workstations of the first type and a third number of workstations of the second type;
the determining the adjusted access limiting window parameter of the first type of workstation according to the access information and a preset adjustment rule includes:
determining a target quantity range to which the third quantity belongs in a plurality of preset quantity ranges; or determining a target number range in the preset number ranges according to the second number and the third number;
determining a target awakening period according to the target quantity range;
and determining the adjusted access limiting window parameter of the first type of workstation according to the second number and the target wake-up period.
2. The method of claim 1, wherein the determining whether to adjust the access restriction window parameter of the first type of station based on the access information comprises:
if the number of the workstations of the target type is different from the stored first number and the number of the workstations of the target type and the first number belong to different preset number ranges, determining to adjust the access limiting window parameter of the workstations of the first type; wherein the first number is the number of workstations of the target type acquired last time.
3. The method of claim 2, wherein after determining to adjust the access restriction window parameters for the first type of workstation, further comprising:
replacing the saved first number with a counted number of workstations of the target type.
4. The method of claim 1, wherein determining a target number range among a preset number range according to the second number and the third number comprises:
determining a first quantity range to which the second quantity belongs in a plurality of preset quantity ranges;
determining a second quantity range to which the third quantity belongs in a plurality of preset quantity ranges;
if the first quantity range is the same as the second quantity range, determining the first quantity range as a target quantity range;
if the first quantity range is different from the second quantity range, determining a fourth quantity according to a preset weighting parameter, the second quantity and the third quantity; and determining a number range to which the fourth number belongs in a plurality of preset number ranges as a target number range.
5. The method according to claim 1 or 4, wherein determining the adjusted access restriction window parameter for the first type of workstation based on the second number and the target wake-up period comprises:
determining the duration of each sub-wakeup period of the first type of workstation according to the second number and the target wakeup period;
determining the starting time of the sub-awakening period of each workstation of the first type according to a preset allocation rule and the duration of the sub-awakening period;
and determining the duration of the sub-wake-up period and the starting time as the adjusted access limiting window parameter of the first type of workstation.
6. An access restriction window adjustment method, comprising:
acquiring access information of access equipment of access gateway equipment, wherein the access equipment comprises video input equipment, and the video input equipment receives and transmits data through an access limiting window;
determining whether to adjust the access limiting window parameter of the video recording equipment according to the access information;
if so, determining the adjusted access limiting window parameter of the video recording equipment according to the access information and a preset adjusting rule;
sending the adjusted access limiting window parameter to the video entry equipment so that the video entry equipment updates the currently stored access limiting window parameter to the adjusted access limiting window parameter;
the acquiring access information of the access device of the access gateway device includes:
broadcasting an inquiry message so that an access device of the access gateway device returns response data when acquiring the inquiry message;
counting the number of access devices of a target type according to the device type information included in the response data; wherein the access device of the target type comprises at least the video entry device;
determining the number of the target type of access equipment as the access information;
the response data returned by the video entry device further comprises: working state information; the access device further comprises: an alarm sensing device;
the counting the number of the access devices of the target type according to the device type information included in the response data includes:
according to the equipment type information and the working state information which are included in the response data, counting a second number of video recording equipment in the first working state, a total third number of the video recording equipment in the second working state and the alarm sensing equipment;
determining the adjusted access limiting window parameter of the video recording device according to the access information and a preset adjusting rule, wherein the determining comprises:
determining a target quantity range to which the third quantity belongs in a plurality of preset quantity ranges; or determining a target quantity range in a plurality of preset quantity ranges according to the second quantity and the third quantity;
determining a target awakening period according to the target quantity range;
and determining the adjusted access limiting window parameters of the video recording equipment in the first working state according to the second quantity and the target awakening period.
7. The method of claim 6, wherein the determining whether to adjust an access restriction window parameter of the video entry device based on the access information comprises:
if the number of the target type access devices is different from the stored first number and the number of the target type access devices and the first number belong to different preset number ranges, determining to adjust an access limiting window parameter of the video recording device; wherein the first number is the number of the access devices of the target type acquired last time.
8. The method of claim 7, wherein the determining to adjust the access restriction window parameter of the video entry device further comprises:
replacing the saved first number with the counted number of access devices of the target type.
9. The method of claim 6, wherein determining a target number range among a preset number range according to the second number and the third number comprises:
determining a first quantity range to which the second quantity belongs in a plurality of preset quantity ranges;
determining a second quantity range to which the third quantity belongs in a plurality of preset quantity ranges;
if the first quantity range is the same as the second quantity range, determining the first quantity range as a target quantity range;
if the first quantity range is different from the second quantity range, determining a fourth quantity according to a preset weighting parameter, the second quantity and the third quantity; and determining a number range to which the fourth number belongs in a plurality of preset number ranges as a target number range.
10. The method according to claim 6 or 9, wherein determining the adjusted access restriction window parameter of the video entry device in the first operational state according to the second number and the target wake-up period comprises:
determining the duration of each sub-wakeup period of the video entry equipment in the first working state according to the second number and the target wakeup period;
determining the starting time of each sub-wakeup period of the video recording equipment in the first working state according to a preset distribution rule and the duration of the sub-wakeup period;
and determining the duration of the sub-wakeup period and the starting time as the adjusted access limiting window parameter of the video recording equipment in the first working state.
11. An access limiting window adjustment system, comprising: an AP device and a workstation; the work station accesses the AP equipment, and comprises a first type work station;
the AP equipment is used for acquiring access information of each accessed workstation and determining whether to adjust the access limiting window parameter of the first type of workstation or not according to the access information; if so, determining the adjusted access limiting window parameter of the workstation of the first type according to the access information and a preset adjusting rule, and sending the adjusted access limiting window parameter to the workstation of the first type;
the first type of workstation is configured to update the stored access restriction window parameter to the adjusted access restriction window parameter sent by the AP device;
the acquiring access information of each accessed workstation includes:
broadcasting an inquiry message so that a workstation accessed to the AP equipment returns response data when acquiring the inquiry message;
counting the number of the workstations of the target type according to the type information of the workstations included in the response data; wherein the target type comprises at least the first type;
determining the number of the workstations of the target type as the access information;
the counting of the number of the workstations of the target type comprises the following steps:
counting a second number of workstations of the first type and a third number of workstations of the second type;
the determining whether to adjust the access limiting window parameter of the first type of workstation according to the access information includes:
determining a target quantity range to which the third quantity belongs in a plurality of preset quantity ranges; or determining a target number range in the preset number ranges according to the second number and the third number;
determining a target awakening period according to the target quantity range;
and determining the adjusted access limiting window parameter of the first type of workstation according to the second number and the target wake-up period.
12. An access limiting window adjustment system, comprising: a gateway device and an access device; the access equipment is accessed to the gateway equipment and comprises video recording equipment;
the gateway equipment is used for acquiring access information of the access equipment and determining whether to adjust the access limiting window parameter of the video recording equipment or not according to the access information; if so, determining the adjusted access limiting window parameter of the video recording equipment according to the access information and a preset adjusting rule, and sending the adjusted access limiting window parameter to the video recording equipment;
the video recording device is used for updating the currently stored access limiting window parameter to the adjusted access limiting window parameter sent by the gateway device;
the acquiring the access information of the access device includes:
broadcasting an inquiry message so that an access device of the access gateway device returns response data when acquiring the inquiry message;
counting the number of access devices of a target type according to the device type information included in the response data; wherein the access device of the target type comprises at least the video entry device;
determining the number of the target type of access equipment as the access information;
the response data returned by the video entry device further comprises: working state information; the access device further comprises: an alarm sensing device;
the counting the number of the access devices of the target type according to the device type information included in the response data includes:
according to the equipment type information and the working state information which are included in the response data, counting a second number of video recording equipment in the first working state, a total third number of the video recording equipment in the second working state and the alarm sensing equipment;
determining the adjusted access limiting window parameter of the video recording device according to the access information and a preset adjusting rule, wherein the determining comprises:
determining a target quantity range to which the third quantity belongs in a plurality of preset quantity ranges; or determining a target quantity range in a plurality of preset quantity ranges according to the second quantity and the third quantity;
determining a target wake-up period according to the target quantity range;
and determining the adjusted access limiting window parameters of the video recording equipment in the first working state according to the second quantity and the target awakening period.
13. An electronic device, comprising: a processor, a communication interface, a memory, and a communication bus; the processor, the communication interface and the memory complete mutual communication through a bus; a memory for storing a computer program; a processor for executing a program stored on a memory to perform the steps of the method of any of claims 1 to 5 or to perform the steps of the method of any of claims 6 to 10.
14. A computer-readable storage medium, characterized in that a computer program is stored thereon, which computer program, when being executed by a processor, carries out the steps of the method of one of the preceding claims 1 to 5 or carries out the steps of the method of one of the preceding claims 6 to 10.
CN202010088025.7A 2020-02-12 2020-02-12 Access limitation window adjusting method, device and system Active CN113260052B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010088025.7A CN113260052B (en) 2020-02-12 2020-02-12 Access limitation window adjusting method, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010088025.7A CN113260052B (en) 2020-02-12 2020-02-12 Access limitation window adjusting method, device and system

Publications (2)

Publication Number Publication Date
CN113260052A CN113260052A (en) 2021-08-13
CN113260052B true CN113260052B (en) 2022-08-02

Family

ID=77219671

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010088025.7A Active CN113260052B (en) 2020-02-12 2020-02-12 Access limitation window adjusting method, device and system

Country Status (1)

Country Link
CN (1) CN113260052B (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105376834A (en) * 2015-11-17 2016-03-02 天津大学 Improved channel access method based on IOT protocol

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE112013000133B4 (en) * 2012-09-03 2019-10-02 Lg Electronics Inc. A method and apparatus for transmitting and receiving a power-save frame and a response frame in a wireless LAN system
EP4188001A1 (en) * 2013-01-11 2023-05-31 InterDigital Patent Holdings, Inc. Method and apparatus for communication in a network of wlan overlapping basic service set

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105376834A (en) * 2015-11-17 2016-03-02 天津大学 Improved channel access method based on IOT protocol

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
"New KI for determining 5G entities serving an area of interest.";Huawei等;《SA WG2 Meeting #136 S2-1911189》;20191108;全文 *

Also Published As

Publication number Publication date
CN113260052A (en) 2021-08-13

Similar Documents

Publication Publication Date Title
CN109041250B (en) SSB transmission method, client and base station
CN116546442B (en) Communication method and device based on non-simultaneous transceiving multilink equipment
CN108401037B (en) Binding method, device and system of user terminal and equipment
US20140274082A1 (en) System and method for improving network access in machine to machine communication
CN108401500B (en) Paging processing method and device
CN108770045B (en) Network access method, related equipment and network system
CN112311628B (en) Network speed measuring method, system, network equipment and storage medium
US20220394594A1 (en) Access Method and Apparatus
TW202110241A (en) Method for indicating energy saving information, base station and user terminal
EP3709727A1 (en) Information transmission method, device and computer readable medium
WO2020087506A1 (en) Method and apparatus for setting transmission time advance
CN108834200B (en) Access method and device
CN113543359A (en) Data transmission method, device, system and storage medium based on channel competition
CN113260052B (en) Access limitation window adjusting method, device and system
CN108834130B (en) Identification distribution method, device, terminal and computer readable storage medium
US8855693B2 (en) Method and apparatus for controlling wireless devices
CN114661433A (en) Event task scheduling method and device, storage medium and electronic equipment
CN113316230B (en) Method and device for scheduling data sending task, electronic equipment and storage medium
CN113556219B (en) Transmission method and related equipment for Multimedia Broadcast Multicast Service (MBMS)
CN109309717B (en) Data transmission method and device, electronic equipment and storage medium
CN109471663B (en) Method and device for executing single chip microcomputer program
CN112600730B (en) Data transmission method, device, system and storage medium based on channel detection
CN114786276B (en) Service terminal access method and device, electronic equipment and storage medium
CN116916295B (en) Resident base station determining method and device and electronic equipment
CN112600702B (en) Data transmission method, device, system and storage medium based on competition mechanism

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