CN116996572B - Proxy node balancing method, system, terminal and storage medium - Google Patents

Proxy node balancing method, system, terminal and storage medium Download PDF

Info

Publication number
CN116996572B
CN116996572B CN202311253497.3A CN202311253497A CN116996572B CN 116996572 B CN116996572 B CN 116996572B CN 202311253497 A CN202311253497 A CN 202311253497A CN 116996572 B CN116996572 B CN 116996572B
Authority
CN
China
Prior art keywords
service type
proxy
change request
coordinator
station
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
CN202311253497.3A
Other languages
Chinese (zh)
Other versions
CN116996572A (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.)
Beijing Sunshine Carrier Technology Co ltd
Original Assignee
Beijing Sunshine Carrier Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Sunshine Carrier Technology Co ltd filed Critical Beijing Sunshine Carrier Technology Co ltd
Priority to CN202311253497.3A priority Critical patent/CN116996572B/en
Publication of CN116996572A publication Critical patent/CN116996572A/en
Application granted granted Critical
Publication of CN116996572B publication Critical patent/CN116996572B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/566Grouping or aggregating service requests, e.g. for unified processing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1001Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
    • H04L67/1004Server selection for load balancing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
    • H04L67/61Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources taking into account QoS or priority requirements

Abstract

The application relates to a proxy node balancing method, a system, a terminal and a storage medium, and relates to the field of intelligent power grid technology; determining a reference service type according to the service type of the proxy coordinator, the service type of the station and the priority of the service type, wherein the reference service type is the service type of the proxy coordinator and the service type of the station with higher priority; and shielding or accepting the change request according to the reference service type. When receiving a change request sent by a station, the central coordinator acquires the service types currently processed by the proxy coordinator and the station, determines the service type with higher priority, and then carries out targeted processing on the change request so as to avoid the condition that the message is lost when the proxy coordinator is changed during the execution of some services.

Description

Proxy node balancing method, system, terminal and storage medium
Technical Field
The present application relates to the field of smart power grid technologies, and in particular, to a proxy node balancing method, a proxy node balancing system, a proxy node balancing terminal, and a proxy node balancing storage medium.
Background
The distribution transformer area is typically a tree structure consisting of a central coordinator (central coordinator, CCO), a proxy coordinator (proxy coordinator, PCO) and Stations (STAs). The station mainly reports data of various services to the proxy coordinator and detects signal quality of the nearby proxy coordinator.
It will be appreciated that when a station detects a proxy coordinator surrounding a better signal quality than the currently connected proxy coordinator, a request to change the proxy coordinator of the connection will be reported to the central coordinator. However, when the connected proxy coordinator is executing the service, if the proxy coordinator is changed at the same time, a message is lost.
Disclosure of Invention
The application aims to provide a proxy node balancing method which has the characteristic of balancing the contradiction between processing service and changing request.
The first object of the present application is achieved by the following technical solutions:
a proxy node balancing method, comprising:
when receiving a change request sent by a station, acquiring the service type of the proxy coordinator and the service type of the station;
determining a reference service type according to the service type of the proxy coordinator, the service type of the station and the priority of the service type, wherein the reference service type is the service type of the proxy coordinator and the service type of the station with higher priority;
and shielding or accepting the change request according to the reference service type.
By adopting the technical scheme, when receiving the change request sent by the station, the central coordinator acquires the service types currently processed by the proxy coordinator and the station, determines the service type with higher priority as the reference service type, and then carries out targeted processing on the change request according to the reference service type so as to avoid the condition that the message is lost when the proxy coordinator is changed during executing some services.
The present application may be further configured in a preferred example to: the step of shielding or accepting the change request according to the reference service type includes:
and if the reference service type is the persistent service, shielding or receiving the change request according to the acquired signal quality of the proxy coordinator.
By adopting the technical scheme, the persistent service needs to be processed for a period of time, the central coordinator needs to further judge according to the signal quality of the current proxy coordinator so as to receive the change request when the proxy coordinator needs to be changed, and the change request is shielded when the proxy coordinator does not need to be changed, so that the condition that the proxy coordinator is changed to cause message loss when some services are executed is avoided as much as possible.
The present application may be further configured in a preferred example to: the step of shielding or accepting the change request according to the acquired signal quality of the proxy coordinator comprises the following steps:
and if the signal quality of the proxy coordinator is lower than a threshold value, accepting the change request.
By adopting the technical scheme, if the signal quality of the current proxy coordinator is lower than the threshold value, the signal quality of the current proxy coordinator is not capable of maintaining the communication requirement, and more messages are lost, so that the central coordinator needs to accept a change request, and the proxy coordinator of the current communication connection is changed first, so that the situation of more messages loss is avoided.
The present application may be further configured in a preferred example to: the shielding or accepting the change request according to the acquired signal quality of the proxy coordinator further comprises:
and if the signal quality of the proxy coordinator is not lower than a threshold value, shielding the change request.
By adopting the technical scheme, if the signal quality of the current proxy coordinator is not lower than the threshold value, the signal quality of the current proxy coordinator is indicated to be capable of maintaining the communication requirement and temporarily preventing the message from being lost, so that the central coordinator can shield the change request firstly to avoid the condition that the message is lost when the proxy coordinator is changed during the execution of some services.
The present application may be further configured in a preferred example to: the shielding or accepting the change request according to the reference service type further includes:
and if the reference service type is a timeliness service, shielding the change request.
By adopting the technical scheme, the timeliness service has higher requirement on the timeliness of the data, and the central coordinator is required to shield the change request so as to avoid the condition that the message is lost when the proxy coordinator is changed during the execution of some services.
The present application may be further configured in a preferred example to: the shielding or accepting the change request according to the reference service type further includes:
and if the service type is random service, receiving the change request.
By adopting the technical scheme, if the service type is random service, the service does not need to be processed within a period of time like the persistent service, and the requirement on timeliness is not so high, so that the central coordinator receives a change request and changes the proxy coordinator of the current communication connection first.
The present application may be further configured in a preferred example to: before the service type of the proxy coordinator and the service type of the station are obtained, the method further comprises the following steps:
judging whether the proxy coordinator or the station is processing business or not;
if yes, acquiring the service type of the proxy coordinator and the service type of the station;
if not, the change request is accepted.
By adopting the technical scheme, the service states of the proxy coordinator and the site are judged first, and the condition that the message is lost when the proxy coordinator is changed can be indicated to be absent when the proxy coordinator and the site do not process the service, so that the change request can be directly accepted.
The application also provides a proxy node balancing system which has the characteristic of balancing the contradiction between processing service and changing request.
The second object of the present application is achieved by the following technical solutions:
a proxy node balancing system includes, in a network,
the acquisition module is used for acquiring the service type of the proxy coordinator and the service type of the station when receiving a change request sent by the station;
the determining module is used for determining a reference service type according to the service type of the proxy coordinator, the service type of the station and the priority of the service type, wherein the reference service type is the service type of the proxy coordinator and the service type with higher priority in the service types of the station; the method comprises the steps of,
and the processing module is used for shielding or receiving the change request according to the reference service type.
By adopting the technical scheme, when receiving the change request sent by the station, the central coordinator acquires the service types currently processed by the proxy coordinator and the station, determines the service type with higher priority as the reference service type, and then carries out targeted processing on the change request according to the reference service type so as to avoid the condition that the message is lost when the proxy coordinator is changed during executing some services.
The application aims at providing an intelligent terminal which has the characteristic of balancing the contradiction between processing service and changing request.
The third object of the present application is achieved by the following technical solutions:
an intelligent terminal comprises a memory and a processor, wherein the memory stores a computer program which can be loaded by the processor and execute the agent node balancing method.
By adopting the technical scheme, when receiving the change request sent by the station, the central coordinator acquires the service types currently processed by the proxy coordinator and the station, determines the service type with higher priority as the reference service type, and then carries out targeted processing on the change request according to the reference service type so as to avoid the condition that the message is lost when the proxy coordinator is changed during executing some services.
The fourth object of the present application is to provide a computer storage medium capable of storing a corresponding program, which has the characteristic of facilitating the realization of contradiction between the balanced processing service and the change request.
The fourth object of the present application is achieved by the following technical solutions:
a computer readable storage medium storing a computer program capable of being loaded by a processor and executing any one of the above proxy node balancing methods.
By adopting the technical scheme, when receiving the change request sent by the station, the central coordinator acquires the service types currently processed by the proxy coordinator and the station, determines the service type with higher priority as the reference service type, and then carries out targeted processing on the change request according to the reference service type so as to avoid the condition that the message is lost when the proxy coordinator is changed during executing some services.
In summary, the present application includes at least one of the following beneficial technical effects:
when a change request sent by a station is received, the central coordinator acquires the service types currently processed by the proxy coordinator and the station, determines the service type with higher priority as a reference service type, and then carries out targeted processing on the change request according to the reference service type so as to avoid the condition that the message is lost when the proxy coordinator is changed during the execution of some services;
the persistent service needs to be processed for a period of time, and the central coordinator needs to further judge according to the signal quality of the current proxy coordinator so as to receive a change request when the proxy coordinator needs to be changed, and shield the change request when the proxy coordinator does not need to be changed, so that the condition that the proxy coordinator is changed to cause message loss when some services are executed is avoided as much as possible.
Drawings
FIG. 1 is a flow chart of a proxy node balancing method according to an embodiment of the application.
FIG. 2 is a system diagram of a proxy node balancing system according to one embodiment of the present application.
Fig. 3 is a schematic structural diagram of an intelligent terminal according to an embodiment of the present application.
In the figure, 21, an acquisition module; 22. a determining module; 23. a processing module; 301. a CPU; 302. a ROM; 303. a RAM; 304. a bus; 305. an I/O interface; 306. an input section; 307. an output section; 308. a storage section; 309. a communication section; 310. a driver; 311. removable media.
Detailed Description
The present application will be described in further detail with reference to the accompanying drawings.
The present embodiment is only for explanation of the present application and is not to be construed as limiting the present application, and modifications to the present embodiment, which may not creatively contribute to the present application as required by those skilled in the art after reading the present specification, are all protected by patent laws within the scope of claims of the present application.
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present application more apparent, the technical solutions of the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application, and it is apparent that the described embodiments are some embodiments of the present application, but not all embodiments of the present application. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
In addition, the term "and/or" herein is merely an association relationship describing an association object, and means that three relationships may exist, for example, a and/or B may mean: a exists alone, A and B exist together, and B exists alone. In this context, unless otherwise specified, the term "/" generally indicates that the associated object is an "or" relationship.
The embodiment of the application provides a proxy node balancing method which is applied to a power distribution station. The topology consisting of a central coordinator, a proxy coordinator and a site may be: a central coordinator is in communication connection with a plurality of proxy coordinators, each proxy coordinator is in direct communication connection with a plurality of stations, or can be used as a first layer proxy coordinator to be in communication connection with a plurality of second layer proxy coordinators, and each second layer proxy coordinator is in communication connection with a plurality of stations. Before establishing a communication connection, a station needs to report a network access request. The station detects whether a central coordinator exists around, if so, the station reports a network access request to the central coordinator, so that communication connection is established between the station and the central coordinator. If the stations do not detect that the central coordinator exists around, the stations closest to the stations around are detected, and network access requests are reported to the stations, so that communication connection is established between the two stations. The site receiving the network access request serves as a proxy coordinator, so that the site in communication connection with the proxy coordinator establishes communication connection with the central coordinator.
After the communication connection is established, the stations report corresponding data according to various services issued by the central coordinator, and the signal quality of surrounding stations is still detected in real time. When detecting that a station with better signal quality exists around, a request for replacing the proxy coordinator is reported to the central coordinator.
In the application, the central coordinator is used for executing the proxy node balancing method, and when receiving the change request, the change request can be processed according to different processing modes according to the service states of each site and each proxy coordinator, so as to avoid the problem of message loss caused by changing the proxy coordinator while processing the service.
Embodiments of the application are described in further detail below with reference to the drawings.
The main flow of the proxy node balancing method provided by the embodiment of the application is described as follows.
As shown in fig. 1:
step S100: and when receiving a change request sent by the station, acquiring the service type of the proxy coordinator and the service type of the station.
It will be appreciated that when a site reports a change request, the change request is received by a proxy coordinator communicatively coupled to the site and reported to the central coordinator. Of course, if there are multiple layers of proxy coordinators between the site and the central coordinator, the change request is reported to the central coordinator layer by the proxy coordinator. Therefore, the change request carries the MAC address of the proxy coordinator to be changed and the MAC address of the original proxy coordinator. When the central coordinator receives the change request, the corresponding current service type of the proxy coordinator and the service type of the service currently processed by the station can be obtained according to the MAC address in the change request.
The service types include, but are not limited to, meter reading service, calibration service, event reporting service, and upgrade service.
The meter reading service needs a site to collect and report the data of the electric meter. The frequency of collecting and reporting the ammeter data according to actual demands is different. For example, the central coordinator may require the site to report meter data once every minute, or may require the site to report meter data once every five minutes. Obviously, meter reading service is a continuous service.
The calibration service requires the site to report the current time to calibrate the time. It will be appreciated that the requirement for timeliness by the calibration service is relatively high, but in practice factors such as network delay or communication speed may cause errors in the time at which the station receives the service instruction and the time at which the central coordinator transmits the service instruction. Therefore, the station should avoid the environment interfering with the calibration service as much as possible when performing it.
The event reporting service requires the station to trigger a reporting function when a specified event occurs, and report the event to the central coordinator. Since the occurrence of a specified event at a site is not predictable, event reporting traffic is triggered randomly. For example, when a station fails or reports an error, the failure or the error is sudden, and the failure or the error reporting problem should be reported.
The upgrade service requires the site to upgrade its own firmware. It will be appreciated that the site is typically a smart meter. The intelligent ammeter generally adopts MCU chips, PLC chips or other programmable chips such as singlechip chips as processor chips. These processor chips require a programming program to implement the functions of the smart meter. With the change of the actual demand, the programs in the processor chips also need to be upgraded, i.e. the firmware is upgraded. The firmware is generally upgraded in an offline mode, that is, the smart meter is required to be in a shutdown state in the upgrading process. Obviously, a longer time is required for the upgrading process, and the intelligent ammeter cannot work in the upgrading process.
It should be noted that when the central coordinator acquires the service type of the service currently processed by the proxy coordinator and the site, the proxy coordinator and the site do not necessarily process the service, and therefore when the central coordinator does not acquire the service type, it is indicated that the proxy coordinator and the site do not process the service.
Step S200: and determining the reference service type according to the service type of the proxy coordinator, the service type of the station and the priority of the service type.
The reference service type is the service type of the proxy coordinator and the service type of the station with higher priority. It will be appreciated that the change request should be targeted to the service type in which the priority is higher, whether or not the proxy coordinator is processing the service, whether or not the site is processing the service. If the change request is processed according to the service type with lower priority, the change request can conflict with the service requirement of the service type with higher priority, so that the message is lost.
When the central coordinator acquires the service types of the service currently processed by the proxy coordinator and the site, as the service types are various, the change request can be processed differently for different types of services, the change of the proxy coordinator can be realized without affecting the message, and the contradiction between the service and the change request can be effectively balanced.
According to the above description of service types, all services can be classified into three types, namely random service, persistent service and timeliness service. Random traffic includes, but is not limited to, event reporting traffic. Persistent services include, but are not limited to, meter reading services and upgrade services. Timeliness services include, but are not limited to, calibration services.
In the application, the priority of the timeliness service is higher than the priority of the persistence service, and the priority of the persistence service is higher than the priority of the random service. Of course, in other specific embodiments, the adjustment may be adaptively adjusted according to actual requirements.
Step S300: and shielding or accepting the change request according to the reference service type.
Firstly, it can be clear that when the central coordinator does not acquire the service type, the proxy coordinator and the station are not processing the service at the moment, that is, the condition that the message is lost is not present, namely, the change of the proxy coordinator can be performed.
Because of this, it is necessary to determine whether the proxy coordinator or the site is handling traffic before acquiring the traffic type and the site type of the proxy coordinator. If yes, the service type of the proxy coordinator and the service type of the station are obtained. If not, receiving a change request, and performing communication connection by the proxy coordinator with better replacement signal quality.
Further, since the persistent service requires the proxy coordinator and the station to be in an operating state for a long time, if the proxy coordinator is changed when the persistent service is executed by the proxy coordinator and the station, a part of messages may be lost. If the proxy coordinator is not changed, the signal quality of the current proxy coordinator cannot be guaranteed, and a large amount of messages are lost. Therefore, the change condition and the mask change request cannot be selected and accepted at a satisfactory rate. Therefore, when the reference service type is the persistent service, the change request needs to be masked or accepted according to the acquired signal quality of the proxy coordinator.
When the reference service type is the persistent service, the signal quality of the current proxy coordinator needs to be acquired, and then whether the signal quality of the current proxy coordinator is lower than a threshold value is judged. It will be appreciated that persistent traffic requires that either the proxy coordinator or the station operate for a period of time, and that if the signal quality of the proxy coordinator is poor, it may result in more messages being lost, so that it is necessary to prioritize the signal quality of the current proxy coordinator. When the signal quality of the proxy coordinator is lower than the threshold value, the signal quality of the proxy coordinator is indicated to have no good communication function, and the central coordinator receives a change request and changes the proxy coordinator. Otherwise, when the signal quality of the proxy coordinator is not lower than the threshold value, the signal quality of the proxy coordinator is indicated to be capable of continuously communicating, and the central coordinator shields the change request at the moment so as to avoid the condition that the message is lost due to the change of the proxy coordinator. The threshold is a preset value, and in some other embodiments, the threshold may be adaptively adjusted according to the actual situation.
For the case that the reference service type is the timeliness service, considering that the timeliness of the data is more important, on one hand, the service does not need to be processed in a period of time like the sustainable service, so that the proxy coordinator can be changed after the service is processed, and the central coordinator can directly shield the change request at the moment.
Further, when the reference service type is a random service, the random service does not need to process the service for a period of time like the persistent service, and the requirement on timeliness is not so high, so that the central coordinator receives the change request.
When the central coordinator masks the change request, the central coordinator may choose to reject the change request or may choose to disregard the change request. In contrast, for the former, the station can receive the feedback result sent by the central coordinator, and for the latter, when the station does not receive the feedback result sent by the central coordinator within a certain time, the station can be considered as that the central coordinator does not receive the change request, and at this time, the change request can be retransmitted after a preset time period until the feedback result sent by the central coordinator is received.
The proxy node balancing method provided by the embodiment of the application can be used for acquiring the service types currently processed by the proxy coordinator and the site when receiving the change request sent by the site, determining the service type with higher priority as the reference service type, and then carrying out targeted processing on the change request according to the reference service type so as to avoid the condition that the message is lost when the proxy coordinator is changed during executing some services.
Fig. 2 is a schematic diagram of a proxy node balancing system according to an embodiment of the present application, which can execute the proxy node balancing method described above, and reference may be made to the previous embodiment, and repeated descriptions thereof will not be repeated here.
The proxy node balancing system as shown in fig. 2 includes an acquisition module 21, a determination module 22, and a processing module 23, where:
the acquiring module 21 is configured to acquire a service type of the proxy coordinator and a service type of the station when receiving a change request sent by the station.
And the determining module 22 is configured to determine a reference service type according to the service type of the proxy coordinator, the service type of the station, and the priority of the service type, where the reference service type is the service type of the proxy coordinator and the service type of the station with higher priority.
And a processing module 23, configured to mask or accept the change request according to the reference service type.
Fig. 3 shows a schematic structural diagram of a smart terminal suitable for implementing an embodiment of the present application.
As shown in fig. 3, the smart terminal includes a Central Processing Unit (CPU) 301 that can perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM) 302 or a program loaded from a storage section into a Random Access Memory (RAM) 303. In the RAM 303, various programs and data required for the system operation are also stored. The CPU 301, ROM 302, and RAM 303 are connected to each other through a bus 304. An input/output (I/O) interface 305 is also connected to bus 304.
The following components are connected to the I/O interface 305: an input section 306 including a keyboard, a mouse, and the like; an output portion 307 including a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, a speaker, and the like; a storage section 308 including a hard disk or the like; and a communication section 309 including a network interface card such as a LAN card, a modem, or the like. The communication section 309 performs communication processing via a network such as the internet. The drive 310 is also connected to the I/O interface 305 as needed. A removable medium 311 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is installed on the drive 310 as needed, so that a computer program read out therefrom is installed into the storage section 308 as needed.
In particular, the process described above with reference to flowchart fig. 1 may be implemented as a computer software program according to an embodiment of the application. For example, embodiments of the application include a computer program product comprising a computer program embodied on a machine-readable medium, the computer program comprising program code for performing the method shown in the flowcharts. In such an embodiment, the computer program may be downloaded and installed from a network via the communication portion 309, and/or installed from the removable medium 311. The above-described functions defined in the system of the present application are performed when the computer program is executed by a Central Processing Unit (CPU) 301.
The computer readable medium shown in the present application may be a computer readable signal medium or a computer readable storage medium, or any combination of the two. The computer readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples of the computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In the present application, however, the computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, with the computer-readable program code embodied therein. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, fiber optic cable, RF, etc., or any suitable combination of the foregoing.
The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units or modules involved in the embodiments of the present application may be implemented in software or in hardware. The described units or modules may also be provided in a processor, for example, as: a processor comprising: an acquisition module 21, a determination module 22 and a processing module 23. The names of these units or modules do not limit the units or modules themselves in some cases, and the acquisition module 21 may also be described as "a module for acquiring the service type of the proxy coordinator and the service type of the station when receiving a change request sent by the station", for example.
As another aspect, the present application also provides a computer-readable storage medium, which may be included in the intelligent terminal described in the above embodiment; or may exist alone without being assembled into the smart terminal. The computer readable storage medium stores one or more programs that when executed by one or more processors perform the proxy node balancing method described in the present application.
The above description is only illustrative of the preferred embodiments of the present application and of the principles of the technology employed. It will be appreciated by persons skilled in the art that the scope of the application is not limited to the specific combinations of the features described above, but also covers other embodiments which may be formed by any combination of the features described above or their equivalents without departing from the spirit of the application. Such as the above-mentioned features and the technical features having similar functions (but not limited to) applied for in the present application are replaced with each other.

Claims (7)

1. A proxy node balancing method, comprising:
when receiving a change request sent by a station, acquiring the service type of the proxy coordinator and the service type of the station;
determining a reference service type according to the service type of the proxy coordinator, the service type of the station and the priority of the service type, wherein the reference service type is the service type of the proxy coordinator and the service type of the station with higher priority;
shielding or receiving the change request according to the reference service type;
the step of shielding or accepting the change request according to the reference service type includes:
if the reference service type is the persistent service, shielding or receiving the change request according to the acquired signal quality of the proxy coordinator;
the step of shielding or accepting the change request according to the acquired signal quality of the proxy coordinator comprises the following steps:
if the signal quality of the proxy coordinator is lower than a threshold value, accepting the change request;
the shielding or accepting the change request according to the acquired signal quality of the proxy coordinator further comprises:
and if the signal quality of the proxy coordinator is not lower than a threshold value, shielding the change request.
2. The proxy node balancing method of claim 1, wherein the masking or accepting the change request according to the reference service type further comprises:
and if the reference service type is a timeliness service, shielding the change request.
3. The proxy node balancing method according to claim 2, wherein the masking or accepting the change request according to the reference service type further comprises:
and if the service type is random service, receiving the change request.
4. The proxy node balancing method according to claim 1, wherein before acquiring the service type of the proxy coordinator and the service type of the station, further comprising:
judging whether the proxy coordinator or the station is processing business or not;
if yes, acquiring the service type of the proxy coordinator and the service type of the station;
if not, the change request is accepted.
5. A proxy node balancing system, comprising,
the acquisition module (21) is used for acquiring the service type of the proxy coordinator and the service type of the station when receiving a change request sent by the station;
a determining module (22) for determining a reference service type according to the service type of the proxy coordinator, the service type of the station and the priority of the service type, wherein the reference service type is the service type of the proxy coordinator and the service type of the station with higher priority; the method comprises the steps of,
a processing module (23) for masking or accepting the change request according to the reference service type;
the proxy node balancing system is further configured to:
if the reference service type is the persistent service, shielding or receiving the change request according to the acquired signal quality of the proxy coordinator;
if the signal quality of the proxy coordinator is lower than a threshold value, accepting the change request;
and if the signal quality of the proxy coordinator is not lower than a threshold value, shielding the change request.
6. An intelligent terminal comprising a memory and a processor, wherein the memory has stored thereon a computer program that can be loaded by the processor and that performs the proxy node balancing method according to any of claims 1 to 4.
7. A computer readable storage medium, characterized in that a computer program is stored which can be loaded by a processor and which performs the proxy node balancing method according to any one of claims 1 to 4.
CN202311253497.3A 2023-09-27 2023-09-27 Proxy node balancing method, system, terminal and storage medium Active CN116996572B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311253497.3A CN116996572B (en) 2023-09-27 2023-09-27 Proxy node balancing method, system, terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311253497.3A CN116996572B (en) 2023-09-27 2023-09-27 Proxy node balancing method, system, terminal and storage medium

Publications (2)

Publication Number Publication Date
CN116996572A CN116996572A (en) 2023-11-03
CN116996572B true CN116996572B (en) 2023-12-08

Family

ID=88521743

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311253497.3A Active CN116996572B (en) 2023-09-27 2023-09-27 Proxy node balancing method, system, terminal and storage medium

Country Status (1)

Country Link
CN (1) CN116996572B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101742601A (en) * 2009-12-24 2010-06-16 中国科学技术大学 Switch method for guaranteeing business service quality in relay system
CN101801034A (en) * 2010-01-22 2010-08-11 西安电子科技大学 Service-guaranteeing fast switching method of wireless sensor network
WO2013086934A1 (en) * 2011-12-16 2013-06-20 华为技术有限公司 Central coordinator switch processing method and coordinator
CN113923748A (en) * 2021-11-12 2022-01-11 重庆邮电大学 Method for forming cluster network based on proxy change
CN115348318A (en) * 2022-10-20 2022-11-15 北京智芯微电子科技有限公司 Proxy changing method, control device and multimode communication system for multimode communication

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101742601A (en) * 2009-12-24 2010-06-16 中国科学技术大学 Switch method for guaranteeing business service quality in relay system
CN101801034A (en) * 2010-01-22 2010-08-11 西安电子科技大学 Service-guaranteeing fast switching method of wireless sensor network
WO2013086934A1 (en) * 2011-12-16 2013-06-20 华为技术有限公司 Central coordinator switch processing method and coordinator
CN113923748A (en) * 2021-11-12 2022-01-11 重庆邮电大学 Method for forming cluster network based on proxy change
CN115348318A (en) * 2022-10-20 2022-11-15 北京智芯微电子科技有限公司 Proxy changing method, control device and multimode communication system for multimode communication

Also Published As

Publication number Publication date
CN116996572A (en) 2023-11-03

Similar Documents

Publication Publication Date Title
CN110149298B (en) Hijacking detection method and device
CN104834602A (en) Program issuing method, device and system
CN112637326B (en) Old server upgrading method and system based on gateway
CN112672440A (en) Instruction execution method, system, network device and storage medium
CN112035344A (en) Multi-scenario test method, device, equipment and computer readable storage medium
CN115604171A (en) Network line selection method, system, terminal and storage medium
CN116996572B (en) Proxy node balancing method, system, terminal and storage medium
CN112887355B (en) Service processing method and device for abnormal server
CN114286376B (en) Method, device, medium and communication base station for measuring cross link interference
CN114070889A (en) Configuration method, traffic forwarding method, device, storage medium, and program product
CN113824686A (en) GNSS time service defense system, method, device and computer readable storage medium
CN110417461B (en) Optical cable positioning method and device for multiple fault points and terminal equipment
CN111459514B (en) Terminal upgrading processing method, server and base station
CN117858030A (en) Wireless communication calibration method, system, terminal and storage medium
CN109547552A (en) API request processing method, device, storage medium and electronic equipment
CN111338824B (en) Gray release method and device, electronic equipment and storage medium
CN103583062B (en) Network settings change method and system thereof and the terminal being used together with described system
CN111625442B (en) Mock testing method and device
CN114338525B (en) Automatic route aggregation method and device, electronic equipment and storage medium
CN112422305B (en) Upgrading method and device of communication equipment
CN116049319B (en) Method and device for acquiring out-of-chain data based on prestige reputation value
CN115604113B (en) FAN network equipment rapid upgrading method, system, equipment and medium
CN116760743A (en) Message missing detection method, device, equipment and medium
CN114089712B (en) Data processing method and device
CN113760745A (en) Interface automation test case generation method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant