CN114786276A - Service terminal access method, device, electronic equipment and storage medium - Google Patents

Service terminal access method, device, electronic equipment and storage medium Download PDF

Info

Publication number
CN114786276A
CN114786276A CN202210276066.8A CN202210276066A CN114786276A CN 114786276 A CN114786276 A CN 114786276A CN 202210276066 A CN202210276066 A CN 202210276066A CN 114786276 A CN114786276 A CN 114786276A
Authority
CN
China
Prior art keywords
terminal
service
priority
target
time slot
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202210276066.8A
Other languages
Chinese (zh)
Other versions
CN114786276B (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.)
State Grid Smart Grid Research Institute Co ltd
State Grid Corp of China SGCC
State Grid Jiangsu Electric Power Co Ltd
State Grid Fujian Electric Power Co Ltd
Information and Telecommunication Branch of State Grid Fujian Electric Power Co Ltd
Original Assignee
State Grid Smart Grid Research Institute Co ltd
State Grid Corp of China SGCC
State Grid Jiangsu Electric Power Co Ltd
State Grid Fujian Electric Power Co Ltd
Information and Telecommunication Branch of State Grid Fujian Electric Power 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 State Grid Smart Grid Research Institute Co ltd, State Grid Corp of China SGCC, State Grid Jiangsu Electric Power Co Ltd, State Grid Fujian Electric Power Co Ltd, Information and Telecommunication Branch of State Grid Fujian Electric Power Co Ltd filed Critical State Grid Smart Grid Research Institute Co ltd
Priority to CN202210276066.8A priority Critical patent/CN114786276B/en
Publication of CN114786276A publication Critical patent/CN114786276A/en
Application granted granted Critical
Publication of CN114786276B publication Critical patent/CN114786276B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W74/00Wireless channel access
    • H04W74/08Non-scheduled access, e.g. ALOHA
    • H04W74/0833Random access procedures, e.g. with 4-step access
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/30Services specially adapted for particular environments, situations or purposes
    • H04W4/38Services specially adapted for particular environments, situations or purposes for collecting sensor information
    • 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/56Allocation or scheduling criteria for wireless resources based on priority criteria
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

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

Abstract

The application discloses an access method and device of a service terminal, electronic equipment and a storage medium. The method comprises the following steps: acquiring a terminal access request, wherein the terminal access request comprises a target service; determining a target service priority corresponding to the target service, and determining the target service priority and determining a target terminal priority corresponding to the service terminal based on the corresponding relation; allocating a target time slot corresponding to the priority of a target terminal and a target access mechanism to a service terminal; and determining the load condition of the target time slot of the service terminal after the service terminal accesses the network, and adjusting the time slot number corresponding to the target time slot and the terminal access amount in the time slot by using the load condition. According to the method and the device, different time slots and access mechanisms are allocated to the service terminals according to the terminal priority of the service terminals, so that lower power consumption can be kept, and different service requirements can be met. And after the service terminal accesses the network, the number of the time slots and the access amount of the terminal in the time slot can be dynamically adjusted according to the load condition of the target time slot, so that the overall performance of the network is improved.

Description

Service terminal access method, device, electronic equipment and storage medium
Technical Field
The present application relates to the field of communications technologies, and in particular, to an access method and apparatus for a service terminal, an electronic device, and a storage medium.
Background
In a large-scale micropower wireless sensor network, the importance of an excellent random access protocol is further enlarged because the terminals have the characteristics of long service generation period, strict requirements on terminal power, large number of access terminals, different service priorities and the like. However, in the existing random access protocol, the utilization rate of an ALOHA protocol channel is low, the information timeliness is poor, and the channel utilization rate is almost 0 in the random access process of a large-scale micropower wireless sensor; compared with the ALOHA protocol, the slotted ALOHA protocol has improved performance, but still cannot cope with large-scale terminal access; the CSMA protocol can be divided into non-adherence CSMA, p-adherence CSMA and 1-adherence CSMA, wherein, the utilization ratio of partial protocol channels can approach 100%, and if the protocol channels are in dormancy at the back-off time, the power consumption is low, but the access timeliness is not high, and the timeliness requirements of different priority level services are difficult to meet; the channel utilization rate of the CSMA/CA protocol is close to 100 percent, the timeliness is high under the condition of small-scale terminal access, but the power consumption is slightly high because the channel needs to be continuously monitored in the backoff process.
Disclosure of Invention
In order to solve the above technical problems, or at least partially solve the above technical problems, the present application provides an access method, an access apparatus, an electronic device, and a storage medium for a service terminal.
According to an aspect of an embodiment of the present application, an access method for a service terminal is provided, including:
acquiring a terminal access request, wherein the terminal access request comprises a target service of a home in a service terminal to be accessed;
determining a target service priority corresponding to the target service, and determining the target service priority to determine a target terminal priority corresponding to the service terminal based on a corresponding relation between a preset service priority and a terminal priority;
allocating a target time slot and a target access mechanism corresponding to the target terminal priority to the service terminal so that the service terminal accesses the network by using the target time slot and the target access mechanism;
and determining the load condition of the target time slot of the service terminal after the service terminal accesses the network, and adjusting the time slot number corresponding to the target time slot and the terminal access amount in the time slot by using the load condition.
In this embodiment of the present application, the determining a service priority corresponding to the target service includes:
acquiring service delay data corresponding to the target service;
and determining a service priority corresponding to the target service based on the variance of the service delay data, wherein when the variance is smaller than a preset delay mean value, the service priority is a first service priority, or when the variance is greater than or equal to the preset delay mean value, the service priority is a second service priority, and the first service priority is higher than the second service priority.
In this embodiment, the determining the target service priority based on the correspondence between the preset service priority and the terminal priority determines the target terminal priority corresponding to the service terminal, including:
determining that the target terminal priority corresponding to the first service priority is the first terminal priority based on the corresponding relation between the preset service priority and the terminal priority under the condition that the service priority is the first service priority;
determining that the target terminal priority corresponding to the second service priority is the second terminal priority based on the corresponding relation between the preset service priority and the terminal priority under the condition that the service priority is the second service priority;
wherein the first terminal priority is higher than the second terminal priority.
In this embodiment of the present application, the determining a load condition of a target timeslot where the service terminal is located after accessing the network includes:
acquiring the current load in a target time slot in which a service terminal is positioned after the service terminal accesses the network, and calculating the optimal load of the target time slot;
and obtaining the load condition based on a comparison result of the current load and the optimal load, wherein the load condition is non-overload when the current load is smaller than the optimal load, and the load condition is overload when the current load is larger than or equal to the optimal load.
In the embodiment of the present application, a formula for calculating the optimal load of the target timeslot is as follows:
Figure BSA0000269107250000031
in the formula, TtAverage time period, T, for generating traffic for a traffic terminalpWhen it is a targetThe time length of the time slot is N is the number of the first terminal with priority corresponding to the service terminal or the second terminal with priority corresponding to the service terminal, TaFor transmission time, T, of single service datasIs the slot length of the target slot.
In this embodiment, the adjusting the number of timeslots corresponding to the target timeslot and the access amount of the terminal in the timeslot by using the load condition includes:
when the target time slot is the time slot corresponding to the priority of the first terminal and the load condition is overload, calculating the terminal access amount of a single time slot in the target time slot by using the optimal load, and configuring the time slot number of the single time slot in the target time slot and the total terminal access amount in the target time slot based on the terminal access amount;
and when the target time slot is the time slot corresponding to the priority of the first terminal and the load condition is non-overload, all the service terminals which currently belong to the priority of the first terminal are allocated to the same time slot in the target time slot.
In this embodiment, the adjusting the number of timeslots corresponding to the target timeslot and the access amount of the terminal in the timeslot by using the load condition includes:
when the target time slot is the time slot corresponding to the priority of the second terminal and the load condition is overload, calculating the terminal access amount of a single time slot in the target time slot by using the optimal load, and configuring the time slot number of the single time slot in the target time slot and the total terminal access amount in the target time slot based on the terminal access amount;
and distributing all the service terminals currently belonging to the priority of the first terminal to the same time slot in the target time slot when the target time slot is the time slot corresponding to the priority of the second terminal and the load condition is non-overload.
According to another aspect of the embodiments of the present application, there is also provided an access apparatus for a service terminal, including:
the system comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is used for acquiring a terminal access request, and the terminal access request comprises a target service of a deployed service in a service terminal to be accessed;
the determining module is used for determining a target service priority corresponding to the target service, and determining the target service priority and determining a target terminal priority corresponding to the service terminal based on the corresponding relation between a preset service priority and a terminal priority;
the distribution module is used for distributing a target time slot and a target access mechanism corresponding to the priority of the target terminal to the service terminal so that the service terminal accesses the network by using the target time slot and the target access mechanism;
and the processing module is used for determining the load condition of the target time slot of the service terminal after the service terminal accesses the network, and adjusting the time slot number corresponding to the target time slot and the terminal access amount in the time slot by using the load condition.
According to another aspect of the embodiments of the present application, there is also provided a storage medium including a stored program that executes the above steps when the program is executed.
According to another aspect of the embodiments of the present application, there is also provided an electronic apparatus, including a processor, a communication interface, a memory, and a communication bus, where the processor, the communication interface, and the memory complete communication with each other through the communication bus; wherein: a memory for storing a computer program; a processor for executing the steps of the method by running the program stored in the memory.
Embodiments of the present application further provide a computer program product containing instructions, which when executed on a computer, cause the computer to perform the steps of the above method.
Compared with the prior art, the technical scheme provided by the embodiment of the application has the following advantages: according to the embodiment of the application, different time slots and access mechanisms are allocated to the service terminals according to the terminal priority of the service terminals, so that the average sending time can be reduced, and the lower power consumption can be kept to meet different service requirements. Meanwhile, after the service terminal accesses the network, the time slot number and the terminal access amount in the time slot can be dynamically adjusted according to the load condition of the target time slot, and the overall performance of the network can be improved.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the application and, together with the description, serve to explain the principles of the application.
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious for those skilled in the art to obtain other drawings without inventive labor.
Fig. 1 is a flowchart of an access method of a service terminal according to an embodiment of the present application;
fig. 2 is a schematic diagram of an access system of a service terminal according to an embodiment of the present application;
fig. 3 is a schematic diagram of a timeslot provided in an embodiment of the present application;
FIG. 4 is a diagram of comparison of the simulated average access time of the terminal with the ALOHA protocol and the non-adherence to the CSMA protocol according to the embodiment of the present invention;
FIG. 5 is a graph comparing high and low priority emulated power consumption with emulated power consumption of the ALOHA protocol and the non-stick CSMA protocol in accordance with an embodiment of the present invention;
fig. 6 is a block diagram of an access apparatus of a service terminal according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
In order to make the purpose, technical solutions and advantages of the embodiments of the present application clearer and more fully described below with reference to the accompanying drawings in the embodiments of the present application, it is obvious that the described embodiments are some, but not all, embodiments of the present application, and the exemplary embodiments and descriptions thereof in the present application are used for explaining the present application and do not constitute an undue limitation on the present application. 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.
It is noted that, in this document, relational terms such as "first" and "second," and the like, are used solely to distinguish one entity or action from another similar entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, 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 described by the phrase "comprising a. -" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The embodiment of the application provides an access method and device of a service terminal, electronic equipment and a storage medium. The method provided by the embodiment of the present invention may be applied to any required electronic device, for example, the electronic device may be an electronic device such as a server and a terminal, and the method is not specifically limited herein, and for convenience of description, the method is hereinafter simply referred to as an electronic device.
According to an aspect of an embodiment of the present application, an embodiment of a method for accessing a service terminal is provided. Fig. 1 is a flowchart of an access method of a service terminal according to an embodiment of the present application, and as shown in fig. 1, the method includes:
step S11, a terminal access request is obtained, wherein, the terminal access request comprises the assigned target service in the service terminal to be accessed.
The method provided by the embodiment of the application is applied to the access node, the access node can acquire the terminal access request, and the terminal access request can be initiated by a service terminal near the access node. When a service terminal initiates a terminal access request, a target service deployed in the service terminal is carried in the terminal access request, and the target service may be: trip detection, data sampling, etc.
In the embodiment of the application, the service terminal can be a micropower wireless sensor, and the wireless sensor is a micropower wireless sensor which is applied to smart power grids, smart agriculture, modern industry and smart city environments and used for sensing the environment and detecting the operation quality of the terminal. The access node is an access terminal which is responsible for transmitting terminal service data to a network platform in a large-scale micro-power wireless sensor network, communicates with a service terminal in a wireless mode, and is connected with core network equipment in a wired or wireless mode.
It should be noted that, when a service terminal connects to a network where an access node is located for the first time, the access node needs to perform operations such as dynamic address allocation, channel allocation, and time synchronization on different terminals according to terminal characteristics, and perform allocation of time slots and random access mechanisms of different terminals according to a scheduling algorithm. After the first configuration is completed, the service terminal can access the network randomly according to the allocated time slot and the random access mechanism as required.
Step S12, determining a target service priority corresponding to the target service, and determining the target service priority and determining a target terminal priority corresponding to the service terminal based on the correspondence between the preset service priority and the terminal priority.
In the embodiment of the present application, determining the service priority corresponding to the target service includes the following steps a1-a 2:
step A1, service time delay data corresponding to the target service is obtained.
Step A2, determining a service priority corresponding to the target service based on the variance of the service delay data, wherein the service priority is a first service priority when the variance is smaller than a preset delay mean value, or the service priority is a second service priority when the variance is greater than or equal to the preset delay mean value, wherein the first service priority is higher than the second service priority.
In the embodiment of the present application, when the access node determines the service priority corresponding to the target service, the service priority may be divided according to information such as importance of data, timeliness requirements, and the like. Specifically, the variance may be calculated according to the service delay data corresponding to the target service, and the variance is used to determine the dispersion degree, where if the variance is smaller and the distance from the delay average is longer, it indicates that the dispersion degree is higher, and the service priority corresponding to the target service is the first service priority (i.e., high priority). Conversely, if the variance is larger, it indicates that the degree of dispersion is smaller, and the service priority corresponding to the target service is the second service priority (i.e. low priority).
In addition, the target service with a smaller dispersion degree may be divided secondarily, specifically, the importance degree corresponding to the target service may be queried, and if the dispersion degree is smaller and the importance degree corresponding to the target service is greater than the preset importance degree, the service priority corresponding to the target service is the first service priority (i.e., high priority).
As an example, in a smart grid scenario, data services for ensuring the operation safety of a terminal, such as trip detection, switch change, and terminal operation sampling values, are high priority, and environment detection services for temperature and humidity detection, weather detection, and the like are low priority.
In the embodiment of the present application, determining a target service priority based on a correspondence between a preset service priority and a terminal priority, and determining a target terminal priority corresponding to a service terminal by using the target service priority, includes:
and under the condition that the service priority is the first service priority, determining that the target terminal priority corresponding to the first service priority is the first terminal priority based on the corresponding relation between the preset service priority and the terminal priority.
And under the condition that the service priority is a second service priority, determining that the target terminal priority corresponding to the second service priority is the second terminal priority based on the corresponding relation between the preset service priority and the terminal priority, wherein the first terminal priority is higher than the second terminal priority.
It should be noted that the correspondence between the preset service priority and the terminal priority is: when the service priority is the first service priority (i.e., high priority), the corresponding target terminal priority is the first terminal priority (i.e., high priority). When the service priority is a second service priority (i.e., low priority), the corresponding target terminal priority is the second terminal priority (i.e., low priority).
Step S13, allocating a target time slot and a target access mechanism corresponding to the priority of the target terminal to the service terminal, so that the service terminal accesses the network by using the target time slot and the target access mechanism.
In the embodiment of the present application, after determining the terminal priority of the service terminal, the access node allocates a target timeslot and a target access mechanism corresponding to the target terminal priority to the service terminal. The access mechanisms are different because the terminals with different priorities allocate different time slots to them. For example: the first terminal priority (high priority) corresponds to a high priority time slot and access mechanism, the second terminal priority (low priority) corresponds to a low priority time slot and access mechanism, wherein the high priority access mechanism is more time efficient than the low priority access mechanism.
It should be noted that, as shown in fig. 3, one time slot includes multiple high-priority time slots and low-priority time slots, the target time slot may be all the high-priority time slots in one time slot or all the low-priority time slots in one time slot, each high-priority time slot includes multiple high-priority services, and each low-priority time slot includes multiple low-priority services.
Step S14, determining the load condition of the target time slot where the service terminal is located after accessing the network, and adjusting the time slot number corresponding to the target time slot and the terminal access amount in the time slot by using the load condition.
In the embodiment of the present application, determining the load condition of the target timeslot where the service terminal is located after accessing the network includes the following steps B1-B2:
and step B1, acquiring the current load of the service terminal in the target time slot after the service terminal is accessed to the network, and calculating the optimal load of the target time slot.
In the embodiment of the present application, a formula for calculating the optimal load of the target timeslot is as follows:
Figure BSA0000269107250000111
in the formula, G0For optimum load, TtAverage time period, T, for generating traffic for a traffic terminalpThe time length of the time period of the target time slot, N is the number of the service terminals corresponding to the priority of the first terminal or the number of the service terminals corresponding to the priority of the second terminal, TaFor transmission time, T, of single service datasIs the slot length of the target slot.
And step B2, obtaining the load condition based on the comparison result of the current load and the optimal load.
In the embodiment of the application, the current load and the optimal load are compared, if the current load is smaller than the optimal load, the load condition is non-overload, and if the current load is larger than or equal to the optimal load, the load condition is overload.
In the embodiment of the present application, when the target timeslot is a timeslot corresponding to the priority of the first terminal, the load condition is used to adjust the timeslot number corresponding to the target timeslot and the terminal access amount in the timeslot, including the following conditions:
(1) and under the condition that the load condition is overload, calculating the terminal access amount of a single time slot in the target time slot by using the optimal load, and configuring the time slot number of the single time slot in the target time slot and the total terminal access amount in the target time slot on the basis of the terminal access amount.
(2) And under the condition that the load condition is not overloaded, all the service terminals which currently belong to the priority of the first terminal are allocated to the same time slot in the target time slot.
In this embodiment, when the target timeslot is a timeslot corresponding to the priority of the second terminal, and the number of timeslots corresponding to the target timeslot and the terminal access amount in the timeslot are adjusted according to the load condition, the method includes the following steps:
(1) under the condition that the load condition is overload, calculating the terminal access amount of a single time slot in the target time slot by using the optimal load, and configuring the time slot number of the single time slot in the target time slot and the total terminal access amount in the target time slot on the basis of the terminal access amount;
(2) and under the condition that the load condition is not overloaded, all the service terminals which currently belong to the priority of the first terminal are allocated to the same time slot in the target time slot.
As an example, in the case that the target timeslot is a high-priority timeslot, if it is determined that the current load condition of the target timeslot is overload, the terminal access amount of a single timeslot in the target timeslot is calculated by using the optimal load, and the calculation process is as follows:
Figure BSA0000269107250000121
where N' is the number of access terminals in a single slot at optimum load, G0For optimum load, TpThe time period of the average generation of traffic for the traffic terminal.
In the embodiment of the application, the number of the access terminals in a single time slot can be half of the number of the access terminals in the optimal load, and the number of the time slots is determined according to the number of the access terminals in the single time slot. Under the overload condition, the number of access terminals in a single time slot is small, the number of time slots is increased, and the reduction of the power consumption of the terminals is facilitated.
Meanwhile, the time slot size can also be set to be a reasonable value which is several times of the service transmission time, the sending time of a single service is multiplied by the reasonable value of the number of all high-priority terminals in the time slot, and the specific calculation formula is as follows: t's>TbX N, wherein, T'sTime slot size, T, for high priority time slotsbN is the number of terminals of the high priority terminal in the time slot, which is the transmission time of a single service when the random access mechanism of the high priority terminal is used.
As another example, in the case that the target timeslot is a high priority timeslot, if it is determined that the current load condition of the target timeslot is not overloaded, all traffic terminals currently belonging to the priority of the first terminal are allocated to the same timeslot in the target timeslot.
According to the embodiment of the application, different time slots and access mechanisms are allocated to the service terminals according to the terminal priority of the service terminals, so that the average sending time can be reduced, and the lower power consumption can be kept to meet different service requirements. Meanwhile, after the service terminal accesses the network, the time slot number and the terminal access amount in the time slot can be dynamically adjusted according to the load condition of the target time slot, and the overall performance of the network can be improved.
In the embodiment of the present application, when a service terminal is accessed for the first time, if a large-scale service terminal initiates the first configuration at the same time, so that a channel is congested, the following method may be adopted to reduce collisions:
and during the first configuration of the service terminal, if the channel is busy or a reply is not received, carrying out a common backoff process. And when the backoff times reach a certain threshold, performing backoff according to the backoff time T1 set by the service terminal. After the time T2 is over, the configuration request and normal back-off process continue for a fixed time T2. If the service terminal has not finished the first configuration, it needs to wait for the backoff time T3 again, and after the backoff is finished, it still sends the request within the time range of T2, so as to repeat this. By setting the T1 of different terminals and the same T2 and T3 in the service terminal placement stage, the terminals in different batches can realize the time slot division access within the approximate range, so as to reduce the signaling collision of different terminals. Where T1 is the slot size, T3 is the repeatable time period, and T1 is the length of time from the beginning of a time period to the time slot in which the terminal is located.
The following provides an example of performing specific scheduling based on a target timeslot. Assuming that the service priority is divided in advance, the system consists of 40 high-priority micropower wireless sensing terminals, 50 low-priority micropower wireless sensing terminals and an access node. The terminals are randomly distributed in a field.
The service transmission period of each terminal is about 0.5s, the transmission and reception rate is 250kbps, the sleep power consumption is 144nW, the transmission power consumption is 26.334mW, the reception power consumption is 35.28mW, the idle power consumption is 0.712mW, and the service data length is 1064 b.
Simulation shows that the timeliness of the CSMA/CA mechanism is better, but the power consumption of the non-adherence CSMA mechanism is lower, so that the CSMA/CA mechanism is adopted for the time slot of the high-priority terminal, the non-adherence CSMA mechanism is adopted for the time slot of the low-priority terminal, and the timing dormancy is carried out when the time slot is retreated so as to reduce the power consumption.
Firstly, the optimal load of two random access mechanisms under the condition of time division is obtained. Only two time slots are allocated, wherein a high-priority terminal and a low-priority terminal respectively occupy one time slot, the time slot length is self-determined, the number of the high-priority terminal and the low-priority terminal is adjusted by simulating the actual packet sending condition, the overall channel utilization rate is higher, the average service sending time of the high-priority terminal is shorter, the power consumption of the low-priority terminal is lower, at the moment, the number of the terminals in the time slot is exactly 40 when the service sending period is about 0.5s and the CSMA/CA mechanism is under the optimal load, and the time length T of the time slot in the simulation is at the moments1s, the time period T of the terminal generating the service averagely in the scenep0.5s, the number N of terminals of the high priority terminal in the time slot is 40, and the time slot length T of the time slot in which the terminal is positioneds0.5s, transmission time T of single service dataaApproximately 0.004156s, the optimum load is calculated according to the formula:
Figure BSA0000269107250000151
the optimum load is about 0.66.
The non-persistent CSMA mechanism has 55 terminals in the time slot when the optimal load is achieved, and the optimal load is about 0.9 according to the formula. The scene belongs to a medium-low load scene, two time slots are divided, 40 terminals are arranged in the high-priority time slot, and 50 terminals are arranged in the low-priority time slot.
Wherein, the time slot size can be set to be larger than the reasonable value of the transmission time of single service multiplied by the number of all high priority terminals in the time slot when the high priority terminal uses the random access mechanism, wherein, the transmission time T of single service is in the random access of the CSMA/CA mechanismbApproximately 5.26ms, the number of terminals N in the high priority slot is 40, thus the slot size of the high priority slot T'sThe method comprises the following steps: t's>TbXn, and thus the slot size is set to 0.25 s.
In the embodiment of the present application, as shown in fig. 4 and 5, fig. 4 is a comparison between the simulated average access time of the high-priority service terminal and the simulated average access time of the low-priority service terminal and the ALOHA protocol and the average access time of the non-persistent CSMA protocol. The average access time refers to the average time from the generation of the service, including the queuing waiting time, the sending time and the backoff retransmission time until the access node successfully receives the service. Fig. 5 is a comparison of power consumption of high and low priority traffic terminals obtained by simulation with power consumption of ALOHA protocol, non-adherence to CSMA protocol.
Fig. 6 is a block diagram of an access apparatus of a service terminal according to an embodiment of the present application, where the apparatus may be implemented as part or all of an electronic device through software, hardware, or a combination of the two. As shown in fig. 6, the apparatus includes:
an obtaining module 61, configured to obtain a terminal access request, where the terminal access request includes a target service of a home service in a service terminal to be accessed;
the determining module 62 is configured to determine a target service priority corresponding to the target service, and determine the target service priority based on a correspondence between a preset service priority and a terminal priority, where the target service priority determines a target terminal priority corresponding to the service terminal;
the allocating module 63 is configured to allocate a target time slot and a target access mechanism corresponding to a target terminal priority to the service terminal, so that the service terminal accesses a network by using the target time slot and the target access mechanism;
and the processing module 64 is configured to determine a load condition of a target timeslot where the service terminal is located after accessing the network, and adjust the timeslot number corresponding to the target timeslot and the terminal access amount in the timeslot by using the load condition.
In this embodiment of the present application, the determining module 62 is configured to obtain service delay data corresponding to a target service; and determining a service priority corresponding to the target service based on the variance of the service delay data, wherein when the variance is smaller than a preset delay average value, the service priority is a first service priority, or when the variance is larger than or equal to the preset delay average value, the service priority is a second service priority, and the first service priority is higher than the second service priority.
In this embodiment of the present application, the determining module 62 is configured to determine, based on a correspondence between a preset service priority and a terminal priority, that a target terminal priority corresponding to a first service priority is the first terminal priority when the service priority is the first service priority; when the service priority is the second service priority, determining that the target terminal priority corresponding to the second service priority is the second terminal priority based on the corresponding relation between the preset service priority and the terminal priority; wherein the first terminal priority is higher than the second terminal priority.
In this embodiment, the processing module 64 is configured to obtain a current load in a target time slot where a service terminal is located after accessing a network, and calculate an optimal load of the target time slot to obtain a load condition based on a comparison result between the current load and the optimal load, where the load condition is a non-overload condition when the current load is less than the optimal load, and the load condition is an overload condition when the current load is greater than or equal to the optimal load.
In the embodiment of the present application, a formula for calculating the optimal load of the target timeslot is as follows:
Figure BSA0000269107250000171
in the formula, TtGenerating an average time period, T, of a service for a service terminalpThe time length of the time period of the target time slot is N, T is the number of the service terminals corresponding to the priority of the first terminal or the number of the service terminals corresponding to the priority of the second terminalaFor transmission time, T, of single service datasIs the slot length of the target slot.
In this embodiment of the present application, the processing module 64 is configured to calculate a terminal access amount of a single time slot in a target time slot by using an optimal load when the target time slot is a time slot corresponding to a priority of a first terminal and a load condition is an overload condition, and configure a number of time slots of the single time slot in the target time slot and a total terminal access amount in the target time slot based on the terminal access amount; and distributing all the service terminals currently belonging to the priority of the first terminal to the same time slot in the target time slot when the target time slot is the time slot corresponding to the priority of the first terminal and the load condition is non-overload.
In this embodiment of the present application, the processing module 64 is configured to calculate a terminal access amount of a single time slot in the target time slot by using the optimal load when the target time slot is a time slot corresponding to the priority of the second terminal and the load condition is an overload condition, and configure the number of time slots of the single time slot in the target time slot and a total terminal access amount in the target time slot based on the terminal access amount; and distributing all the service terminals currently belonging to the priority of the first terminal to the same time slot in the target time slot under the conditions that the target time slot is the time slot corresponding to the priority of the second terminal and the load condition is not overloaded.
An embodiment of the present application further provides an electronic device, as shown in fig. 7, the electronic device may include: a processor 1501, a communication interface 1502, a memory 1503 and a communication bus 1504, wherein the processor 1501, the communication interface 1502 and the memory 1503 complete communication with each other through the communication bus 1504.
A memory 1503 for storing a computer program;
the processor 1501 is configured to implement the steps of the above embodiments when executing the computer program stored in the memory 1503.
The communication bus mentioned in the above terminal may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The communication bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown, but this is not intended to represent only one bus or type of bus.
The communication interface is used for communication between the terminal and other devices.
The Memory may include a Random Access Memory (RAM) or a non-volatile Memory (non-volatile Memory), such as at least one disk Memory. Alternatively, the memory may be at least one memory device located remotely from the processor.
The Processor may be a general-purpose Processor, and includes a Central Processing Unit (CPU), a Network Processor (NP), and the like; the Integrated Circuit may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, a discrete Gate or transistor logic device, or a discrete hardware component.
In another embodiment provided by the present application, a computer-readable storage medium is further provided, where instructions are stored in the computer-readable storage medium, and when the instructions are executed on a computer, the computer is caused to execute the service terminal access method described in any one of the foregoing embodiments.
In a further embodiment provided by the present application, there is also provided a computer program product containing instructions which, when run on a computer, cause the computer to perform the method for accessing a service terminal as described in any of the above embodiments.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, it may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. The procedures or functions described in accordance with the embodiments of the application are all or partially generated when the computer program instructions are loaded and executed on a computer. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another computer readable storage medium, for example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center by wire (e.g., coaxial cable, fiber optic, digital subscriber line) or wirelessly (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that includes one or more available media. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., Solid State Disk), among others.
The above description is only for the preferred embodiment of the present application, and is not intended to limit the scope of the present application. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application are included in the scope of protection of the present application.
The previous description is only an example of the present application, and is provided to enable any person skilled in the art to understand or implement the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. An access method for a service terminal, comprising:
acquiring a terminal access request, wherein the terminal access request comprises a target service of a home in a service terminal to be accessed;
determining a target service priority corresponding to the target service, and determining the target service priority to determine a target terminal priority corresponding to the service terminal based on a corresponding relation between a preset service priority and a terminal priority;
allocating a target time slot and a target access mechanism corresponding to the target terminal priority to the service terminal so that the service terminal accesses the network by using the target time slot and the target access mechanism;
and determining the load condition of the target time slot in which the service terminal is positioned after accessing the network, and adjusting the time slot number corresponding to the target time slot and the terminal access amount in the time slot by using the load condition.
2. The method of claim 1, wherein the determining the service priority corresponding to the target service comprises:
acquiring service delay data corresponding to the target service;
and determining a service priority corresponding to the target service based on the variance of the service delay data, wherein the service priority is a first service priority when the variance is smaller than a preset delay average value, or the service priority is a second service priority when the variance is larger than or equal to the preset delay average value, wherein the first service priority is higher than the second service priority.
3. The method according to claim 2, wherein the determining the target service priority based on the correspondence between the preset service priority and the terminal priority determines the target terminal priority corresponding to the service terminal, and includes:
determining a target terminal priority corresponding to the first service priority as a first terminal priority based on a corresponding relation between a preset service priority and a terminal priority under the condition that the service priority is the first service priority;
determining that the target terminal priority corresponding to the second service priority is the second terminal priority based on the corresponding relation between the preset service priority and the terminal priority under the condition that the service priority is the second service priority;
wherein the first terminal priority is higher than the second terminal priority.
4. The method of claim 1, wherein the determining the load condition of the target timeslot where the service terminal is located after accessing the network comprises:
acquiring the current load in a target time slot of a service terminal after the service terminal accesses the network, and calculating the optimal load of the target time slot;
and obtaining the load condition based on a comparison result of the current load and the optimal load, wherein the load condition is non-overload when the current load is smaller than the optimal load, and the load condition is overload when the current load is larger than or equal to the optimal load.
5. The method of claim 4, wherein the optimal load of the target timeslot is calculated by the formula:
Figure FSA0000269107240000021
in the formula, TtGenerating an average time period, T, of a service for a service terminalpThe time length of the time period of the target time slot is N, T is the number of the service terminals corresponding to the priority of the first terminal or the number of the service terminals corresponding to the priority of the second terminalaFor transmission time of single service data, TsIs the slot length of the target slot.
6. The method of claim 4, wherein the adjusting the number of timeslots corresponding to the target timeslot and the access amount of the terminal in the timeslot by using the load condition comprises:
when the target time slot is the time slot corresponding to the priority of the first terminal and the load condition is overload, calculating the terminal access amount of a single time slot in the target time slot by using the optimal load, and configuring the time slot number of the single time slot in the target time slot and the total terminal access amount in the target time slot based on the terminal access amount;
and when the target time slot is the time slot corresponding to the priority of the first terminal and the load condition is non-overload, all the service terminals which currently belong to the priority of the first terminal are allocated to the same time slot in the target time slot.
7. The method of claim 4, wherein the adjusting the number of timeslots corresponding to the target timeslot and the access amount of the terminal in the timeslot by using the load condition comprises:
when the target time slot is the time slot corresponding to the priority of the second terminal and the load condition is overload, calculating the terminal access amount of a single time slot in the target time slot by using the optimal load, and configuring the time slot number of the single time slot in the target time slot and the total terminal access amount in the target time slot based on the terminal access amount;
and when the target time slot is the time slot corresponding to the priority of the second terminal and the load condition is non-overload, all the service terminals currently belonging to the priority of the first terminal are allocated to the same time slot in the target time slot.
8. An access device for a service terminal, comprising:
the terminal access request comprises the assigned target service in the service terminal to be accessed;
the determining module is used for determining a target service priority corresponding to the target service, and determining the target service priority and determining a target terminal priority corresponding to the service terminal based on the corresponding relation between a preset service priority and a terminal priority;
the distribution module is used for distributing a target time slot and a target access mechanism corresponding to the priority of the target terminal to the service terminal so that the service terminal accesses the network by using the target time slot and the target access mechanism;
and the processing module is used for determining the load condition of the target time slot of the service terminal after the service terminal accesses the network, and adjusting the time slot number corresponding to the target time slot and the terminal access amount in the time slot by using the load condition.
9. A storage medium, characterized in that the storage medium comprises a stored program, wherein the program when executed performs the method steps of any of the preceding claims 1 to 7.
10. The electronic equipment is characterized by comprising a processor, a communication interface, a memory and a communication bus, wherein the processor and the communication interface are used for realizing the communication between the processor and the memory through the communication bus; wherein:
a memory for storing a computer program;
a processor for performing the method steps of any of claims 1 to 7 by executing a program stored on a memory.
CN202210276066.8A 2022-03-21 2022-03-21 Service terminal access method and device, electronic equipment and storage medium Active CN114786276B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210276066.8A CN114786276B (en) 2022-03-21 2022-03-21 Service terminal access method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210276066.8A CN114786276B (en) 2022-03-21 2022-03-21 Service terminal access method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN114786276A true CN114786276A (en) 2022-07-22
CN114786276B CN114786276B (en) 2023-07-04

Family

ID=82425478

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210276066.8A Active CN114786276B (en) 2022-03-21 2022-03-21 Service terminal access method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114786276B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116633998A (en) * 2023-07-24 2023-08-22 广东电网有限责任公司佛山供电局 Power distribution network equipment access scheduling method and device

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106455073A (en) * 2016-08-23 2017-02-22 国网冀北电力有限公司信息通信分公司 Channel distribution method of security services in power wireless private network and central base station
US20180191541A1 (en) * 2015-06-25 2018-07-05 Zte Corporation Slotted ofdma based random access
CN109309524A (en) * 2018-09-25 2019-02-05 中国人民解放军空军工程大学 A kind of cut-in method based on the low-orbit satellite of IEEE802.11 to synchronous orbit data relay satellite
CN109548156A (en) * 2018-12-24 2019-03-29 西安空间无线电技术研究所 A kind of single channel time division multiple acess star cluster ad hoc network time-slot resource distribution method
EP3468262A1 (en) * 2017-10-09 2019-04-10 Orta Dogu Teknik Universitesi Energy efficient scheduling method and algorithm for the non-deterministic traffic in ieee 802.15.4e time slotted channel hopping (tsch) medium access control
US20190289633A1 (en) * 2016-11-17 2019-09-19 Yonggang Fang Slotted ofdma based channel access
CN112565442A (en) * 2020-12-10 2021-03-26 中国电子科技集团公司第二十研究所 Time slot resource adjusting method based on load assessment
CN113766658A (en) * 2021-09-02 2021-12-07 上海交通大学 Self-organizing network for guaranteeing reliable transmission of high-priority time-sensitive service
CN113810883A (en) * 2021-07-01 2021-12-17 中铁二院工程集团有限责任公司 Internet of things large-scale random access control method
WO2022046441A1 (en) * 2020-08-28 2022-03-03 Qualcomm Incorporated Prioritized channel access for sidelink communication in shared channel

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180191541A1 (en) * 2015-06-25 2018-07-05 Zte Corporation Slotted ofdma based random access
CN106455073A (en) * 2016-08-23 2017-02-22 国网冀北电力有限公司信息通信分公司 Channel distribution method of security services in power wireless private network and central base station
US20190289633A1 (en) * 2016-11-17 2019-09-19 Yonggang Fang Slotted ofdma based channel access
EP3468262A1 (en) * 2017-10-09 2019-04-10 Orta Dogu Teknik Universitesi Energy efficient scheduling method and algorithm for the non-deterministic traffic in ieee 802.15.4e time slotted channel hopping (tsch) medium access control
CN109309524A (en) * 2018-09-25 2019-02-05 中国人民解放军空军工程大学 A kind of cut-in method based on the low-orbit satellite of IEEE802.11 to synchronous orbit data relay satellite
CN109548156A (en) * 2018-12-24 2019-03-29 西安空间无线电技术研究所 A kind of single channel time division multiple acess star cluster ad hoc network time-slot resource distribution method
WO2022046441A1 (en) * 2020-08-28 2022-03-03 Qualcomm Incorporated Prioritized channel access for sidelink communication in shared channel
CN112565442A (en) * 2020-12-10 2021-03-26 中国电子科技集团公司第二十研究所 Time slot resource adjusting method based on load assessment
CN113810883A (en) * 2021-07-01 2021-12-17 中铁二院工程集团有限责任公司 Internet of things large-scale random access control method
CN113766658A (en) * 2021-09-02 2021-12-07 上海交通大学 Self-organizing network for guaranteeing reliable transmission of high-priority time-sensitive service

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
楼晓明: "空间网络中的接入算法研究", 《中国优秀硕士学位论文全文数据库-信息科技辑》, no. 2 *
江丽琼: "基于业务优先级的天基动态网络用户 接入技术研究", 《中国优秀硕士学位论文全文数据库-工程科技II辑》, no. 2 *
陆阳等: "面向电力业务接入的跨频段融合与宽窄一体无线专网", 《电信科学》 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116633998A (en) * 2023-07-24 2023-08-22 广东电网有限责任公司佛山供电局 Power distribution network equipment access scheduling method and device

Also Published As

Publication number Publication date
CN114786276B (en) 2023-07-04

Similar Documents

Publication Publication Date Title
JP6696637B2 (en) Channel access method and apparatus
KR101711464B1 (en) System and methods for differentiated association service provisioning in wifi networks
CN106793133B (en) Scheduling method for guaranteeing multi-service QoS in electric power wireless communication system
CN110248417B (en) Resource allocation method and system for communication service in power Internet of things
CN106982467B (en) Access congestion control method based on dynamic allocation of PRACH resources
CN109327911B (en) Reputation system-based spectrum switching method in cognitive heterogeneous wireless network
US20110182178A1 (en) Randomization Management For Carrier Sensing Multiple Access with Collision Avoidance (CSMA-CA)
JP3484390B2 (en) Wireless packet priority control method
CN112996116A (en) Resource allocation method and system for guaranteeing quality of power time delay sensitive service
CN108184270B (en) Resource scheduling method and system based on TDMA system
CN107147586B (en) Dynamic competition window adjusting method, device and equipment based on random game theory
CN114786276A (en) Service terminal access method, device, electronic equipment and storage medium
CN109195194B (en) Channel access method, device and equipment
CN114286447A (en) Method, device and storage medium for adjusting scheduling priority
CN109644502A (en) A kind of point-to-multipoint method for channel allocation, apparatus and system
CN107613570B (en) Service quality optimization method and system based on ZigBee network
CN117354931A (en) Resource allocation method, device, equipment and storage medium
WO2024021860A1 (en) Data transmission method and apparatus, storage medium, and program product
CN110225594B (en) Method and device for adjusting scheduling request period
CN117032977A (en) Mixed part application resource allocation method and device, computer equipment and storage medium
Dugar et al. Priority and fair scheduling in a wireless LAN
CN110602747A (en) Method for scheduling wide-band and narrow-band mixed service channel resources of power wireless communication system
CN110912744B (en) Bandwidth allocation method, bandwidth allocation system, wireless access device and storage medium
CN114339980A (en) Method, device, unit, equipment and storage medium for synchronizing downlink data
CN110958717A (en) Contention-free random medium access control method and system for centralized wireless local area network

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