Execution method of power business, electronic equipment and computer readable storage medium
By introducing a mechanism of service request frames and service response frames in the power service system, the problems of low power service execution stability and real-time performance are solved, and the effect of improving the base station load capacity and power service data transmission stability is achieved.
Patent Information
- Application Number
- CN202510372811.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-27
- Publication Date
- 2025-04-25
- Estimated Expiration
- 2045-03-27
AI Technical Summary
In the prior art, the stability and real-time performance of power services are low, especially within the coverage range of the 25kHz bandwidth standard. Some power services points cannot carry loads, resulting in low execution stability and real-time performance.
By introducing service request frames and service response frames between the base station and the communication terminal, the base station receives the service request data of the power main station and generates service request frames and sends them to the communication terminal. After the communication terminal detects that the target service terminal has completed the service, it generates service response frames and returns to the base station, and the base station then sends the service response data to the power main station.
This method reduces the number of data frames of target power service transmission between the base station and the communication terminal, saves the occupation of air interface resources, improves the load capacity of the base station and the stability of power service data transmission, meets the real-time requirements of power service, and reduces service response delay.
Smart Images

Figure CN119893587A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of electric power wireless private network communication technology, and in particular to a method for executing electric power services, an electronic device, and a computer-readable storage medium. Background Art
[0002] At present, the Electrical-power Professional Data Transmission (EPDT) protocol supports bandwidth formats such as 25kHz, 50kHz, and 100kHz. Among them, the 25kHz bandwidth format is the most preferred bandwidth format for power business due to its wide coverage and strong anti-interference ability.
[0003] However, the current power business has high real-time requirements, especially the remote control business. In addition, due to the wide coverage of the 25kHz bandwidth standard, there are many power business points that need to be connected within the coverage area, so it is easy for some power business points within the coverage area to fail to carry load, making the stability and real-time performance of power business execution low. Therefore, how to improve the stability and real-time performance of power business execution has become a technical problem that needs to be solved urgently. Summary of the invention
[0004] The present application provides a method for executing an electric power business, an electronic device, and a computer-readable storage medium to solve the problem of low stability and real-time performance of electric power business execution in related technologies.
[0005] In a first aspect, an embodiment of the present application provides a method for executing a power service, which is applied to a base station, and the method includes: Receiving service request data corresponding to a target power service sent by a power master station, wherein the service request data includes a plurality of data frames; In response to the service request data, a service request frame is generated, and the service request frame is sent to the communication terminal, so that the communication terminal obtains the service response status of the target service terminal, and returns a service response frame to the base station based on the service response status, wherein the service request frame is used to request the target service terminal to perform the target power service, the service response frame is generated after the communication terminal detects that the target service terminal has completed the execution of the target power service, and the service response status is obtained by the communication terminal performing periodic detection on the target service terminal; When the service response frame is received, the preset service response data corresponding to the target power service is sent to the power master station, so that the power master station obtains the execution result of the target power service from the service response data.
[0006] Optionally, the generating a service request frame in response to the service request data includes: In response to the service request data, modify the value of a first field in a control signaling frame to generate the service request frame, wherein the first field includes at least one of a control signaling frame operation code and a reserved field; or, In response to the service request data, the value of the second field in the status message frame is modified to generate the service request frame, wherein the second field is a status or precoding field.
[0007] Optionally, before sending the preset service response data corresponding to the target power service to the power master station, the method further includes: The service response data corresponding to the target power service is pre-set in the base station.
[0008] Optionally, the target power service includes at least one of a heartbeat service, a remote signaling service, a telemetry service, a remote control service and a data collection service.
[0009] In a second aspect, an embodiment of the present application further provides a method for executing a power service, which is applied to a communication terminal, and the method includes: Receiving a service request frame sent by a base station, wherein the service request frame is generated by the base station in response to service request data corresponding to a target power service sent by a power master station, the service request data includes a plurality of data frames, and the service request frame is used to request a target service terminal to execute the target power service; In response to the service request frame, the service response status of the target service terminal is obtained, and a service response frame is returned to the base station based on the service response status, so that the base station, upon receiving the service response frame, sends the pre-set service response data corresponding to the target power service to the power master station, and the power master station obtains the execution result of the target power service from the service response data, wherein the service response frame is generated after the communication terminal detects that the target service terminal has executed the target power service, and the service response status is obtained by the communication terminal performing periodic detection on the target service terminal.
[0010] Optionally, the method further comprises: The service request data corresponding to the target power service is sent to the target service terminal at target preset time intervals to detect the service response status and save the service response status, wherein the target preset time interval is less than or equal to the execution period of the target power service.
[0011] Optionally, before sending the service request data corresponding to the target power service to the target service terminal at target preset time intervals, the method further includes: The service request data corresponding to the target power service is pre-set in the communication terminal.
[0012] Optionally, returning a service response frame to the base station based on the service response status includes: Based on the service response status, modify the value of the first field in the control signaling frame to generate the service response frame, and return the service response frame to the base station, wherein the first field includes at least one of a control signaling frame operation code and a reserved field; or, Based on the service response status, the value of the second field in the status message frame is modified to generate the service response frame, and the service response frame is returned to the base station, wherein the second field is a status or precoding field.
[0013] In a third aspect, an embodiment of the present application further provides an electronic device, including a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory communicate with each other via the communication bus; Memory, used to store computer programs; The processor is used to implement the method for executing the power business described in the first aspect, or the method for executing the power business described in the second aspect, when executing the program stored in the memory.
[0014] In a fourth aspect, an embodiment of the present application further provides a computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the method for executing the power business described in the first aspect is implemented, or the method for executing the power business described in the second aspect is implemented.
[0015] The above-mentioned technical solution provided by the embodiment of the present application has the following advantages over the prior art: the method provided by the embodiment of the present application, by receiving the business request data corresponding to the target power service sent by the power master station, wherein the business request data includes multiple data frames; in response to the business request data, a business request frame is generated, and the business request frame is sent to the communication terminal, so that the communication terminal obtains the business response status of the target business terminal, and returns a business response frame to the base station based on the business response status, wherein the business request frame is used to request the target business terminal to execute the target power service, and the business response frame is generated after the communication terminal detects that the target business terminal has completed the execution of the target power service, and the business response status is obtained by the communication terminal performing periodic detection on the target business terminal; when the business response frame is received, the business response data corresponding to the pre-set target power service is sent to the power master station, so that the power master station obtains the execution result of the target power service from the business response data. Through the above method, the base station can use the service request frame to replace the service request data corresponding to the target power service and send it to the communication terminal. At the same time, the communication terminal can also use the service response frame to replace the service response data corresponding to the target power service and send it to the base station, thereby reducing the number of transmission data frames of the target power service between the base station and the communication terminal, thereby saving the occupation of air interface resources, effectively improving the base station's carrying capacity and the stability of power service data transmission. In addition, the communication terminal can periodically obtain the service response status of the target service terminal, avoiding the communication terminal from accessing the target service terminal in real time after receiving the service request frame, thereby shortening the interaction time between the communication terminal and the target service terminal, meeting the real-time requirements of the power service, and greatly reducing the service response delay. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0017] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0018] One or more embodiments are exemplarily described by pictures in the corresponding drawings, and these exemplified descriptions do not constitute limitations on the embodiments. Elements with the same reference numerals in the drawings represent similar elements, and unless otherwise stated, the figures in the drawings do not constitute proportional limitations.
[0019] Figure 1 A schematic diagram of a flow chart of a method for executing an electric power service provided in an embodiment of the present application; Figure 2 A schematic diagram of the structure of a power system provided in an embodiment of the present application; Figure 3 A schematic diagram of a sudden structure provided in an embodiment of the present application; Figure 4 A schematic diagram of the structure of a data frame provided in an embodiment of the present application; Figure 5 A schematic diagram of interaction between a communication terminal and a base station in the prior art; Figure 6 It is a timing diagram of the heartbeat service interaction between a communication terminal and a base station in the prior art; Figure 7 A schematic diagram of interaction between a communication terminal and a base station provided in an embodiment of the present application; Figure 8 A heartbeat service interaction timing diagram between a communication terminal and a base station provided in an embodiment of the present application; Fig. 9 A flowchart of another method for executing a power service provided in an embodiment of the present application; Fig.10 A schematic diagram of the structure of an execution device for an electric power service provided in an embodiment of the present application; Fig.11 A schematic diagram of the structure of another power service execution device provided in an embodiment of the present application; Fig.12 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0020] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.
[0021] The disclosure below provides many different embodiments or examples to realize the different structures of the present application. In order to simplify the disclosure of the present application, the parts and settings of specific examples are described below. Of course, they are only examples, and the purpose is not to limit the present application. In addition, the present application can repeat reference numbers and / or letters in different examples. This repetition is for the purpose of simplification and clarity, and does not itself indicate the relationship between the various embodiments and / or settings discussed.
[0022] In order to solve the problem of low stability and real-time performance of power business execution in related technologies, the present application provides a method for executing power business, an electronic device and a computer-readable storage medium, which can improve the stability and real-time performance of power business execution.
[0023] See also Figure 1 , Figure 1 A flowchart of a method for executing a power service provided in an embodiment of the present application. Figure 1 As shown, the method for executing the electric power service is applied to a base station, and the method for executing the electric power service may include the following steps: Step S101: receiving service request data corresponding to a target power service sent by a power master station, wherein the service request data includes a plurality of data frames.
[0024] It should be noted that the execution method of the power service provided in the embodiment of the present application can be applied to the power system, which may include a power master station 201, a core network 202, a base station 203, a communication terminal 204 and a service terminal 205, such as Figure 2As shown. Among them, the power master station 201 is responsible for monitoring, managing and controlling the operation of the entire power grid. Its main functions include: 1. Data collection and processing: The power master station 201 can collect data from each business terminal 205 in real time, process and analyze it in order to understand the operating status and performance of the power grid. 2. Instruction issuance: Based on the results of data analysis, the power master station 201 will issue instructions to each business terminal 205 to adjust the strategy of power production and distribution to ensure the stable operation of the power grid. 3. Fault detection and processing: The power master station 201 also has powerful fault detection and processing capabilities. Once an abnormality or fault is detected in the power grid, it will respond quickly and issue instructions to repair or isolate the fault point to ensure the safety of the power grid. The base station 203 communicates with the power station 201 through the core network 202, and the base station communicates with the communication terminal 204 through the air interface resources. The base station 203, the core network 202 and the power station 201 can communicate using the Transmission Control Protocol / Internet Protocol (TCP / IP), and the communication terminal 204 can communicate with each service terminal 205 through a serial port or a network port. The communication terminal 204 here can be understood as a customer terminal equipment (Customer Premises Equipment, referred to as CPE), which is a wireless terminal access device that can receive wireless signals such as wireless routers, wireless APs, and wireless base stations 203. The service terminal 205 here can include but is not limited to a remote terminal unit (RTU), a feeder terminal unit (FTU), a data transfer unit (DTU), a transformer terminal unit (TTU), etc.
[0025] Specifically, the above-mentioned target power business may include but is not limited to heartbeat business, telesignaling business, telemetry business, remote control business and collection business, etc., and this application does not make specific limitations. Among them, the processing cycle of telesignaling business, telemetry business, remote control business and collection business is usually measured in minutes, for example, the telemetry business is called once every 5 minutes, etc.; the processing cycle of the heartbeat business is usually measured in seconds, for example, the heartbeat data is sent once every 10S, etc. Of course, the processing cycle of the above-mentioned power business can also be other values, which can be set specifically through the power master station. The above-mentioned service request data refers to the service request data of the target power business containing multiple data frames. Taking the target power business as the heartbeat business as an example, the service request data can be the heartbeat business request data. When sending the heartbeat business request data in the EPDT protocol, it is necessary to send a frame of data header, followed by a frame of data block. When the control channel is used as a single time slot, it takes 120ms to send the heartbeat business request data.
[0026] It should be noted that in the EPDT protocol, each burst of the 25kHz bandwidth standard includes two 192-bit payload areas, a 48-bit synchronization area or embedded signaling area, a 16-bit time slot status area divided into two parts on both sides of the synchronization area, and two protection areas. Its structure is as follows: Figure 3 As shown in the figure, the total duration of each burst is 30ms, of which the effective 448-bit content lasts for 28ms, which can carry a 192-bit net load. Since the EPDT protocol is divided into two time slots, a data frame contains 2 bursts, as shown in the figure. Figure 4 As shown in the figure, the total duration of each data frame is 60ms. Therefore, the net throughput of the base station is 192bit÷30ms = 6.4K, and the net throughput of a single time slot is 6.4K÷2=3.2K.
[0027] Step S102, in response to the service request data, generate a service request frame, and send the service request frame to the communication terminal, so that the communication terminal obtains the service response status of the target service terminal, and returns the service response frame to the base station based on the service response status, wherein the service request frame is used to request the target service terminal to execute the target power service, the service response frame is generated after the communication terminal detects that the target service terminal has completed the execution of the target power service, and the service response status is obtained by the communication terminal performing periodic detection on the target service terminal.
[0028] Specifically, the above-mentioned service request frame and the above-mentioned service response frame can be implemented based on control signaling frames, status message frames or other frames. Each service request frame or each service response frame only requires one frame of data. Therefore, when the control channel is used as a single time slot, it only takes 60ms to send a service request frame or a service response frame.
[0029] After receiving the service request data corresponding to the target power service, the base station generates a service request frame in response to the service request data, and sends the service request frame to the communication terminal, so that the communication terminal can obtain the service response status of the target service terminal in real time, and return the service response frame to the base station based on the service response status. It should be noted that the communication terminal can periodically send the service request data corresponding to the target power service to the target service terminal to detect the service response status of the target service terminal and save the service response status, so that when the communication terminal receives the service request frame, it can directly obtain the latest service response status of the target service terminal.
[0030] Step S103: when receiving the service response frame, sending the service response data corresponding to the preset target power service to the power master station, so that the power master station obtains the execution result of the target power service from the service response data.
[0031] After receiving the service response frame, the base station can send the service response data corresponding to its pre-set target power service to the power master station based on the service response frame. In this way, the power master station can obtain the execution result of the target power service from the service response data.
[0032] For ease of understanding, the target power business is taken as an example for explanation. In the related art, after receiving the heartbeat service request data sent by the power master station, the base station will forward the heartbeat service request data to the communication terminal. Since the heartbeat service request data is sent in the EPDT protocol, it is necessary to send a frame of heartbeat request header, followed by a frame of heartbeat data block. When the control channel is used in a single time slot, it takes 120ms to send the heartbeat service request data. After receiving the heartbeat service request data, the communication terminal needs to parse the heartbeat service request data, and after the parsing is completed, the heartbeat service request data must be passed to the target service terminal, and the target service terminal will feedback the heartbeat response data to the communication terminal. The time of this process is about several hundred milliseconds, and the typical time is 300ms (this time will fluctuate when it is realized). After receiving the heartbeat response data fed back by the service terminal, the communication terminal needs to send a frame of heartbeat response header, followed by a frame of heartbeat response data block for uplink transmission, and the duration requires 120ms.
[0033] It can be seen that when the control channel is configured as a single time slot, the base station sends downlink heartbeat service request data (6 bytes, but the data may fluctuate for different power station manufacturers), which requires sending 2 data frames and takes 120ms. It takes 300ms for the communication terminal to interact with the service terminal. The communication terminal sends uplink heartbeat response data (6 bytes, but the data may fluctuate for different power station manufacturers), which requires sending 2 data frames and takes 120ms. Therefore, a heartbeat service takes a total of 540ms, of which the uplink and downlink air interfaces take 240ms. Figure 5 and Figure 6 As shown. Therefore, when the control channel is configured as a single time slot, if the heartbeat service is processed in a cycle of 10S (this time can be flexibly configured, but it is a second-level service), the number of terminals that the base station can carry is 10000÷240=41 (the wired network transmission time is negligible at this time). If the base station uses a single carrier and two time slots, all of which are used to carry the heartbeat service, the number of terminals that the base station can carry is 82, but time must be left for service delivery. If a single carrier is reserved at 50%, only 41 terminals can be carried. Under the EPDT system, the 25kHz channel covers about 15 kilometers, which cannot meet the access problem of the number of service points within the coverage area. The typical delay of the power service has exceeded 500 milliseconds, and the interaction between the communication terminal and the service terminal sometimes even exceeds a few seconds, and the real-time performance cannot be guaranteed.
[0034] However, in the embodiment of the present application, after receiving the heartbeat service request data from the power master station, the base station will not directly send the heartbeat service request data, but will use a service request frame to replace the heartbeat service request data to send to the communication terminal. Since the service request frame only occupies one time slot, the control channel takes up 60ms when configured as a single time slot. After receiving the service request frame, the communication terminal checks whether the target service terminal is online. If the target service terminal is online, it directly replies with a service response frame to the base station, thereby saving the time delay for the interaction between the communication terminal and the service terminal. Since the service response frame only occupies one time slot, the control channel takes up 60ms when configured as a single time slot. It can be seen that in the embodiment of the present application, the complete heartbeat service only takes up 120ms when used in a single time slot. Figure 7 and Figure 8As shown. If the heartbeat service is processed in a 10S processing cycle (this time can be flexibly configured, but it is a second-level service), the number of terminals that the base station can carry is 10000÷120=83 (the wired network transmission time is negligible at this time). If the base station uses a single carrier and two time slots, all of which are used to carry the heartbeat service, the number of terminals that the base station can carry is 166, but time must be left for service delivery. If a single carrier is reserved at 50%, it can carry 83 terminals. Under the EPDT system, the 25kHz channel covers about 15 kilometers, which cannot meet the access problem of the number of service points within the coverage area. Therefore, in the case of a single carrier and two time slots, 50% service reservation, the number of terminals that can be carried is 83 terminals. In the case of two carriers and two time slots, 50% service reservation, the number of terminals that can be carried is 166. The carrying capacity is doubled compared to the existing technology, which can effectively meet the problem of service carrying capacity. The power service delay is only the delay introduced by the air interface, eliminating the interaction delay between the communication terminal and the service terminal, and is only 120ms, which greatly improves the real-time performance of the service, meets the power service with high real-time requirements, and strongly promotes the development of EPDT power private network communication.
[0035] In an optional embodiment, the above step S102, generating a service request frame in response to the service request data, includes: In response to the service request data, modify the value of the first field in the control signaling frame to generate a service request frame, wherein the first field includes at least one of a control signaling frame operation code and a reserved field; or, In response to the service request data, the value of the second field in the status message frame is modified to generate a service request frame, wherein the second field is a status or precoding field.
[0036] As an optional implementation, the above service request frame can be implemented using a control signaling frame (Control Signaling Block, referred to as CSBK). Specifically, after receiving the service request data corresponding to the target power service sent by the power master station, the base station can modify the value of the first field in the control signaling frame to obtain a service request frame. Among them, the first field here can include at least one of a control signaling frame operation code and a reserved field. For example, when the control signaling frame operation code is used as the first field, the field information of the service request frame is shown in Table 1 below: Table 1
[0037] As another optional implementation, the above-mentioned service request frame can be implemented using a status message frame. Specifically, after receiving the service request data corresponding to the target power service sent by the power master station, the base station can modify the value of the second field in the status message frame to obtain a service request frame. The second field here can be a status or precoding field. For example, when the status or precoding field is used as the second field, the field information of the service request frame is shown in Table 2 below: Table 2
[0038] Through the above method, the base station can use control signaling frames or status message frames to replace the service request data corresponding to the target power service to send to the communication terminal, which effectively saves the occupation of air interface resources and achieves the purpose of improving the base station carrying capacity.
[0039] In an optional embodiment, before the above step S103, sending the business response data corresponding to the preset target power business to the power master station, the method further includes: The service response data corresponding to the target power service is pre-set in the base station.
[0040] Specifically, the business response data corresponding to the target power business can be pre-configured in the base station. In this way, when the base station receives the business response frame, it can directly send the pre-configured business response data corresponding to the target power business to the power master station, so that the power master station can obtain the business response data corresponding to the target power business and ensure that the target power business can proceed normally.
[0041] In an optional embodiment, the target power service includes at least one of a heartbeat service, a remote signaling service, a telemetry service, a remote control service, and a data collection service.
[0042] Specifically, the target power service can be a combination of one or more of the heartbeat service, telesignaling service, telemetering service, remote control service and collection service, which is not specifically limited in this application. Among them, the processing cycle of telesignaling service, telemetering service, remote control service and collection service is usually measured in minutes, for example, the telemetering service calls for measurement once every 5 minutes, etc.; the processing cycle of the heartbeat service is usually measured in seconds, for example, the heartbeat data is sent once every 10 seconds, etc. Of course, the processing cycle of the above-mentioned power services can also be other values, which can be set by the power master station.
[0043] It can be seen that when the base station and the communication terminal need to transmit request / service response data for heartbeat service, telesignaling service, telemetry service, remote control service and / or collection service, the base station can use a service request frame to replace the service request data corresponding to the above-mentioned target power service and send it to the communication terminal. At the same time, the communication terminal can also use a service response frame to replace the service response data corresponding to the above-mentioned target power service and send it to the base station, thereby reducing the number of transmission data frames of the above-mentioned target power service between the base station and the communication terminal, thereby saving the occupancy of air interface resources and effectively improving the base station's carrying capacity.
[0044] See also Fig. 9 , Fig. 9 A flowchart of another method for executing a power service provided in an embodiment of the present application is shown below. Fig. 9 As shown, the method for executing the power service is applied to a communication terminal, and the method for executing the power service may include the following steps: Step S901, receiving a service request frame sent by a base station, wherein the service request frame is generated by the base station in response to service request data corresponding to a target power service sent by a power master station, the service request data includes multiple data frames, and the service request frame is used to request a target service terminal to execute a target power service.
[0045] Specifically, after receiving the service request data corresponding to the target power service sent by the power master station, the base station will respond to the service request data, generate a service request frame, and send the service request frame to the communication terminal. In this way, the communication terminal can receive the service request frame sent by the base station. Among them, the service request frame can be implemented based on a control signaling frame, a status message frame or other frames. Each service request frame only requires one frame of data. Therefore, when the control channel is used in a single time slot, it only takes 60ms to send a service request frame.
[0046] Step S902, in response to the service request frame, obtain the service response status of the target service terminal, and return the service response frame to the base station based on the service response status, so that when the base station receives the service response frame, it sends the service response data corresponding to the preset target power service to the power master station, and enables the power master station to obtain the execution result of the target power service from the service response data, wherein the service response frame is generated after the communication terminal detects that the target service terminal has executed the target power service, and the service response status is obtained by the communication terminal performing periodic detection on the target service terminal.
[0047] The communication terminal can send the service request data corresponding to the target power service preset by itself to the target service terminal in real time or at a fixed time, and thereby obtain the service response data corresponding to the target power service returned by the target service terminal, and save it. In this way, after receiving the service request frame, the communication terminal can obtain the service response status of the target service terminal in real time, and return the service response frame to the base station in time, so that the base station can send the service response data corresponding to the target power service to the power main station in time. Among them, the service response frame here can be implemented based on the control signaling frame, the status message frame or other frames, and each service response frame only needs one frame of data. Therefore, when the control channel is used according to a single time slot, it only takes 60ms to send a service response frame.
[0048] Through the above method, the base station can use the service request frame to replace the service request data corresponding to the target power service and send it to the communication terminal. At the same time, the communication terminal can also use the service response frame to replace the service response data corresponding to the target power service and send it to the base station, thereby reducing the number of transmission data frames of the target power service between the base station and the communication terminal, thereby saving the occupation of air interface resources, effectively improving the base station's carrying capacity and the stability of power service data transmission. In addition, the communication terminal can periodically obtain the service response status of the target service terminal, avoiding the communication terminal from accessing the target service terminal in real time after receiving the service request frame, thereby shortening the interaction time between the communication terminal and the target service terminal, meeting the real-time requirements of the power service, and greatly reducing the service response delay.
[0049] In an optional embodiment, the method further comprises: The service request data corresponding to the target power service is sent to the target service terminal at target preset time intervals to detect the service response status and save the service response status, wherein the target preset time interval is less than or equal to the execution cycle of the target power service.
[0050] Specifically, the above-mentioned target preset duration can be set according to actual needs, and this application does not make any specific limitation.
[0051] Here we take the heartbeat service as an example. Since the communication terminal can periodically detect the service response status of the target service terminal and identify the latest connection status of the target service terminal, when the communication terminal receives the service request frame sent by the base station, it can directly reply without the need to detect the connection status of the target service terminal in real time, which greatly reduces the interaction time and meets the power demand for high real-time services. If the communication terminal does not have this cyclic detection mechanism, it will introduce a delay of seconds after receiving the service request frame sent by the base station, which greatly reduces the real-time performance.
[0052] In an optional embodiment, before the above step of sending the service request data corresponding to the target power service to the target service terminal every target preset time period, the method further includes: The service request data corresponding to the target power service is pre-set in the communication terminal.
[0053] Specifically, the service request data corresponding to the target power service can be pre-configured in the communication terminal. In this way, the communication terminal can periodically send the pre-configured service request data corresponding to the target power service to the target service terminal, so that the target service terminal can periodically send the service response data corresponding to the target power service to the communication terminal, so that the subsequent communication terminal can obtain the service response status of the target service terminal in real time when receiving the service request frame sent by the base station.
[0054] In an optional embodiment, the above step S902, returning a service response frame to the base station based on the service response status, includes: Based on the service response status, modify the value of the first field in the control signaling frame to generate a service response frame, and return the service response frame to the base station, wherein the first field includes at least one of a control signaling frame operation code and a reserved field; or, Based on the service response status, the value of the second field in the status message frame is modified to generate a service response frame, and the service response frame is returned to the base station, wherein the second field is a status or precoding field.
[0055] As an optional implementation, the above-mentioned service response frame can be implemented using a control signaling frame (Control Signaling Block, referred to as CSBK). Specifically, after receiving the service response data corresponding to the target power service sent by the target service terminal, the communication terminal can modify the value of the first field in the control signaling frame to obtain a service response frame. Among them, the first field here can include at least one of a control signaling frame operation code and a reserved field. For example, when the control signaling frame operation code is used as the first field, the field information of the service response frame is shown in Table 3 below: Table 3
[0056] As another optional implementation, the above-mentioned service response frame can be implemented using a status message frame. Specifically, after receiving the service response data corresponding to the target power service sent by the target service terminal, the communication terminal can modify the value of the second field in the status message frame to obtain a service response frame. The second field here can be a status or precoding field. For example, when the status or precoding field is used as the second field, the field information of the service response frame is shown in Table 4 below: Table 4
[0057] Through the above method, the communication terminal can use control signaling frames or status message frames to replace the service response data corresponding to the target power service to send to the base station, which effectively saves the occupation of air interface resources and achieves the purpose of improving the base station carrying capacity.
[0058] See also Fig.10 , Fig.10 This is a schematic diagram of the structure of a power business execution device provided in an embodiment of the present application. Fig.10 As shown, the power service execution device 1000 is applied to a base station, and the power service execution device 1000 includes: The first receiving module 1001 is used to receive service request data corresponding to the target power service sent by the power master station, wherein the service request data includes multiple data frames; The generating module 1002 is used to generate a service request frame in response to the service request data, and send the service request frame to the communication terminal so that the communication terminal obtains the service response status of the target service terminal, and returns the service response frame to the base station based on the service response status, wherein the service request frame is used to request the target service terminal to perform the target power service, the service response frame is generated after the communication terminal detects that the target service terminal has completed the execution of the target power service, and the service response status is obtained by the communication terminal performing periodic detection on the target service terminal; The first sending module 1003 is used to send the business response data corresponding to the preset target power business to the power master station when receiving the business response frame, so that the power master station can obtain the execution result of the target power business from the business response data.
[0059] Furthermore, the generating module 1002 includes: a first generating submodule, configured to modify the value of a first field in a control signaling frame in response to the service request data to generate a service request frame, wherein the first field includes at least one of a control signaling frame operation code and a reserved field; or The second generating submodule is used to modify the value of the second field in the status message frame in response to the service request data to generate a service request frame, wherein the second field is a status or precoding field.
[0060] Furthermore, the power service execution device 1000 also includes: The first setting module is used to pre-set the service response data corresponding to the target power service in the base station.
[0061] Further, the target power service includes at least one of a heartbeat service, a remote signaling service, a remote measurement service, a remote control service and a collection service.
[0062] It should be noted that the power service execution device 1000 provided in the embodiment of the present application can implement the above Figure 1 The steps of the method for executing the power business in the method embodiment shown in the figure achieve the same technical effect and will not be repeated here.
[0063] See also Fig.11 , Fig.11 A schematic diagram of the structure of another power service execution device provided in an embodiment of the present application. Fig.11 As shown, the power service execution device 1100 is applied to a communication terminal, and the power service execution device 1100 includes: The second receiving module 1101 is used to receive a service request frame sent by the base station, wherein the service request frame is generated by the base station in response to service request data corresponding to the target power service sent by the power master station, the service request data includes multiple data frames, and the service request frame is used to request the target service terminal to perform the target power service; Return module 1102 is used to respond to the service request frame, obtain the service response status of the target service terminal, and return the service response frame to the base station based on the service response status, so that when the base station receives the service response frame, it will send the service response data corresponding to the preset target power service to the power master station, and enable the power master station to obtain the execution result of the target power service from the service response data, wherein the service response frame is generated after the communication terminal detects that the target service terminal has executed the target power service, and the service response status is obtained by the communication terminal performing periodic detection on the target service terminal.
[0064] Furthermore, the power service execution device 1100 also includes: The second sending module is used to send the business request data corresponding to the target power business to the target business terminal every target preset time to detect the business response status and save the business response status, wherein the target preset time is less than or equal to the execution cycle of the target power business.
[0065] Furthermore, the power service execution device 1100 also includes: The second setting module is used to pre-set the service request data corresponding to the target power service in the communication terminal.
[0066] Further, the return module 1102 includes: a first return submodule, configured to modify the value of a first field in a control signaling frame based on a service response state, generate a service response frame, and return the service response frame to a base station, wherein the first field includes at least one of a control signaling frame operation code and a reserved field; or The second return submodule is used to modify the value of the second field in the status message frame based on the service response status, generate a service response frame, and return the service response frame to the base station, wherein the second field is a status or precoding field.
[0067] It should be noted that the power service execution device 1100 provided in the embodiment of the present application can implement the above Fig. 9 The steps of the method for executing the power business in the method embodiment shown in the figure achieve the same technical effect and will not be repeated here.
[0068] like Fig.12 As shown, the embodiment of the present application further provides an electronic device, including a processor 1211, a communication interface 1212, a memory 1213 and a communication bus 1214, wherein the processor 1211, the communication interface 1212, and the memory 1213 communicate with each other through the communication bus 1214. Memory 1213, used for storing computer programs; In one embodiment of the present application, the processor 1211 is used to implement the method for executing the power service provided by any one of the aforementioned method embodiments when executing the program stored in the memory 1213.
[0069] An embodiment of the present application further provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the method for executing the power business provided by any one of the aforementioned method embodiments is implemented.
[0070] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, i.e., they may be located in one place, or may be distributed over multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0071] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a general hardware platform, and of course, by hardware. Based on this understanding, the above technical solution, in essence, or the part that contributes to the relevant technology, can be embodied in the form of a software product, which can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiment.
[0072] It should be understood that the terms used herein are only for the purpose of describing specific example embodiments and are not intended to be limiting. Unless the context clearly indicates otherwise, the singular forms "one", "an" and "said" as used herein may also be meant to include plural forms. The terms "include", "comprise", "contain", and "have" are inclusive, and therefore specify the existence of stated features, steps, operations, elements and / or parts, but do not exclude the existence or addition of one or more other features, steps, operations, elements, parts, and / or combinations thereof. The method steps, processes, and operations described herein are not interpreted as necessarily requiring them to be performed in the specific order described or illustrated, unless the execution order is clearly indicated. It should also be understood that additional or alternative steps may be used.
[0073] The above description is only a specific implementation of the present application, so that those skilled in the art can understand or implement the present application. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein can be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to the embodiments shown herein, but will conform to the widest range consistent with the principles and novel features applied for herein.
Claims
1. A method for executing electric power business, characterized in that: Applied to a base station, the method comprises: Receiving service request data corresponding to a target power service sent by a power master station, wherein the service request data includes a plurality of data frames; In response to the service request data, a service request frame is generated, and the service request frame is sent to the communication terminal, so that the communication terminal obtains the service response status of the target service terminal, and returns a service response frame to the base station based on the service response status, wherein the service request frame is used to request the target service terminal to perform the target power service, the service response frame is generated after the communication terminal detects that the target service terminal has completed the execution of the target power service, and the service response status is obtained by the communication terminal performing periodic detection on the target service terminal; When the service response frame is received, the preset service response data corresponding to the target power service is sent to the power master station, so that the power master station obtains the execution result of the target power service from the service response data.
2. The method for executing electric power business according to claim 1, characterized in that: The generating a service request frame in response to the service request data comprises: In response to the service request data, modify the value of a first field in a control signaling frame to generate the service request frame, wherein the first field includes at least one of a control signaling frame operation code and a reserved field; or, In response to the service request data, the value of the second field in the status message frame is modified to generate the service request frame, wherein the second field is a status or precoding field.
3. The method for executing electric power business according to claim 1, characterized in that: Before sending the preset service response data corresponding to the target power service to the power master station, the method further includes: The service response data corresponding to the target power service is pre-set in the base station.
4. The method for executing electric power business according to any one of claims 1 to 3, characterized in that: The target power service includes at least one of a heartbeat service, a remote signaling service, a remote measurement service, a remote control service and a collection service.
5. A method for executing electric power business, characterized in that: Applied to a communication terminal, the method comprises: Receiving a service request frame sent by a base station, wherein the service request frame is generated by the base station in response to service request data corresponding to a target power service sent by a power master station, the service request data includes a plurality of data frames, and the service request frame is used to request a target service terminal to execute the target power service; In response to the service request frame, the service response status of the target service terminal is obtained, and a service response frame is returned to the base station based on the service response status, so that the base station, upon receiving the service response frame, sends the pre-set service response data corresponding to the target power service to the power master station, and the power master station obtains the execution result of the target power service from the service response data, wherein the service response frame is generated after the communication terminal detects that the target service terminal has executed the target power service, and the service response status is obtained by the communication terminal performing periodic detection on the target service terminal.
6. The method for executing electric power business according to claim 5, characterized in that: The method further comprises: The service request data corresponding to the target power service is sent to the target service terminal at target preset time intervals to detect the service response status and save the service response status, wherein the target preset time interval is less than or equal to the execution period of the target power service.
7. The method for executing electric power business according to claim 6, characterized in that: Before sending the service request data corresponding to the target power service to the target service terminal at target preset time intervals, the method further includes: The service request data corresponding to the target power service is pre-set in the communication terminal.
8. The method for executing electric power business according to claim 5, characterized in that: The returning a service response frame to the base station based on the service response state comprises: Based on the service response status, modify the value of the first field in the control signaling frame to generate the service response frame, and return the service response frame to the base station, wherein the first field includes at least one of a control signaling frame operation code and a reserved field; or, Based on the service response status, the value of the second field in the status message frame is modified to generate the service response frame, and the service response frame is returned to the base station, wherein the second field is a status or precoding field.
9. An electronic device, characterized in that: It includes a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other through the communication bus; Memory, used to store computer programs; The processor is used to implement the method for executing the power business described in any one of claims 1 to 4, or implement the method for executing the power business described in any one of claims 5 to 8 when executing the program stored in the memory.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, it implements the method for executing the power business described in any one of claims 1 to 4, or implements the method for executing the power business described in any one of claims 5 to 8.
Citation Information
Patent Citations
Method and device for transmitting data and method and device for receiving data
CN101605266A
Scanning method in wireless lan system and supporting device therefor
CN104396312A
Apparatus and methods for improved frames
CN105229957A
Cloud desktop and cloud application communication method and system
CN115150111A
Electric power communication method, computing device and readable storage medium
CN117177099A