Communication scheduling method and device and electronic equipment

By directly establishing direct data transmission routes between terminals in the mobile network, the problems of reduced transmission rate and high delay are solved, and more efficient data transmission path optimization is achieved.

CN120499768APending Publication Date: 2025-08-15CHINA TELECOM CORP LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510735230.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-06-03
Publication Date
2025-08-15

AI Technical Summary

Technical Problem

The data transmission between users in the mobile network adopts the service communication mode from the terminal to the base station, the core network, and then from the core network to the base station, and the terminal, resulting in the problem of lower transmission rate and higher delay.

Method used

The direct-transmission service routing application message is sent to the core network element through the source base station, and a direct-transmission service route is received and established with the target base station based on the direct-transmission service routing response message, and data transmission is directly carried out between terminals, and routing switching and release is performed when the terminal moves to optimize the data transmission path.

Benefits of technology

It realizes direct data transmission between terminals, reduces transmission delay and improves data transmission rate, and meets the requirements of shorter delay in future communications.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120499768A_ABST
    Figure CN120499768A_ABST
Patent Text Reader

Abstract

The invention discloses a communication scheduling method and device and electronic equipment. The method comprises the following steps: a source base station corresponding to a first terminal sends a direct transmission service routing application message to a network element of a core network; the source base station receives a direct transmission service routing response message corresponding to the direct transmission service routing application message returned by the core network element, the direct transmission service routing response message at least comprising routing information of a target base station corresponding to the second terminal and an encryption and decryption protocol between the first terminal and the second terminal; the second terminal is a terminal performing service communication with the first terminal; and the source base station determines a direct transmission service application message according to the direct transmission service routing response message, and sends the direct transmission service application message to the target base station. The technical problems of low transmission rate and high time delay caused by the fact that data transmission between users in a mobile network adopts a service communication mode from a terminal to a base station and a core network and then from the core network to the base station and the terminal are solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of communication technology, and in particular to a method, device and electronic equipment for communication scheduling. Background Art

[0002] In mobile network systems, when data is transmitted or communicated between users, it first originates from the user's terminal device, travels through a wireless interface to the base station closest to the user's terminal device, is then uploaded to the core network, and then returns along the reverse path, ultimately reaching the recipient's terminal device. While this layered network stack ensures data security and service quality, it also introduces inevitable latency and technical overhead, reducing data transmission rates. The increasing diversification of mobile network services is driving demands for faster speeds and shorter latency.

[0003] To address the above-mentioned problems, no effective solutions have been proposed so far. Summary of the Invention

[0004] The embodiments of the present application provide a communication scheduling method, device, and electronic device to at least solve the technical problem of reduced transmission rate and high latency caused by the service communication mode from terminal to base station, core network, and then from core network to base station and terminal when data transmission between users in a mobile network is carried out.

[0005] According to one aspect of an embodiment of the present application, a method for communication scheduling is provided, including: a source base station corresponding to a first terminal sends a direct transfer service routing application message to a core network network element; the source base station receives a direct transfer service routing response message corresponding to the direct transfer service routing application message returned by the core network network element, wherein the direct transfer service routing response message includes at least routing information of a target base station corresponding to a second terminal and an encryption and decryption protocol between the first terminal and the second terminal, and the second terminal is a terminal that conducts service communication with the first terminal; the source base station determines a direct transfer service application message based on the direct transfer service routing response message, and sends a direct transfer service application message to the target base station, wherein the direct transfer service application message is used to instruct the source base station to apply to establish a first service route with the target base station for direct data transmission of services between the first terminal and the second terminal.

[0006] According to some embodiments of the present application, the direct transfer service routing response message includes at least routing information of the source base station, an encryption and decryption protocol between the first terminal and the second terminal, and a service modulation and demodulation method between the first terminal and the second terminal.

[0007] According to some embodiments of the present application, the method further includes: the source base station receives a direct transfer service application confirmation message corresponding to the direct transfer service application message returned by the target base station, wherein the direct transfer service application confirmation message is used to indicate that the target base station and the source base station have successfully established a first service route.

[0008] According to some embodiments of the present application, the method also includes: after the first terminal and the second terminal complete the service communication through the first service route, the source base station and the first terminal perform air interface de-linking, and after the source base station and the first terminal perform air interface de-linking, a direct transfer service route release message is sent to the target base station, wherein the direct transfer service route release message is used to notify the target base station to release the first service route.

[0009] According to some embodiments of the present application, the method also includes: when the base station coverage area of the first terminal moves from the base station coverage area of the source base station to the coverage area of the switching base station, the source base station sends a direct transfer service routing message to the switching base station and releases the first service route, wherein the direct transfer service routing message is used to indicate the parameter information of the second service route for direct data transfer of the service between the first terminal and the second terminal to the target base station and the switching base station.

[0010] According to some embodiments of the present application, the parameter information of the second service route for direct data transmission between the first terminal and the second terminal established by the target base station and the switching base station includes at least the routing information of the target base station, the encryption and decryption protocol between the first terminal and the second terminal, and the service modulation and demodulation method between the first terminal and the second terminal.

[0011] According to some embodiments of the present application, the method also includes: when the base station coverage area of the second terminal moves from the coverage area of the target base station to the coverage area of the switching base station, the source base station receives a direct service route change message sent by the target base station and releases the first service route, wherein the direct service route change message is used to indicate the routing information of the switching base station; the source base station sends a first direct service route switching message to the switching base station, wherein the first direct service route switching message is used to indicate the source base station to apply for establishing a third service route for direct data transmission between the first terminal and the second terminal with the switching base station; the source base station receives a first direct service route switching confirmation message corresponding to the first direct service route switching message returned by the switching base station, and the first direct service route switching confirmation message is used to indicate that the source base station and the switching base station have successfully established the third service route.

[0012] According to another aspect of an embodiment of the present application, a method for communication scheduling is also provided, including: when the base station coverage area of the first terminal moves from the coverage area of the source base station to the coverage area of the switching base station, the switching base station receives a direct transfer service routing message sent by the source base station, wherein the direct transfer service routing message is used to indicate parameter information of the target base station corresponding to the second terminal and the switching base station to establish a second service route, and the second service route is used to perform direct data transmission of the service between the first terminal and the second terminal; the switching base station sends a second direct transfer service routing switching message to the target base station, wherein the second direct transfer service routing switching message is used to indicate that the first service route is switched to the second service route, and the first service route is the service route established by the target base station and the source base station; the switching base station receives a second direct transfer service routing switching confirmation message corresponding to the second direct transfer service routing switching message sent by the target base station.

[0013] According to some embodiments of the present application, the method also includes: when the base station coverage area of the second terminal moves from the coverage area of the target base station to the coverage area of the switching base station, the switching base station receives a first direct service route switching message sent by the source base station, wherein the first direct service route switching message is used to indicate that the source base station applies to establish a third service route for direct data transmission between the first terminal and the second terminal with the switching base station; the switching base station sends a first direct service route switching confirmation message corresponding to the first direct service route switching message to the source base station, wherein the first direct service route switching confirmation message is used to indicate that the source base station and the switching base station have successfully established the third service route.

[0014] According to another aspect of an embodiment of the present application, a communication scheduling method is also provided, including: a target base station corresponding to the second terminal receives a direct transfer service application message sent by a source base station corresponding to the first terminal, wherein the direct transfer service application message is used to indicate that the source base station applies to establish a first service route with the target base station for direct data transfer between the first terminal and the second terminal; the target base station sends a direct transfer service application confirmation message corresponding to the direct transfer service application message to the source base station, wherein the direct transfer service application confirmation message is used to indicate that the target base station and the source base station have successfully established the first service route.

[0015] According to some embodiments of the present application, after the target base station sends a direct transfer service application confirmation message corresponding to the direct transfer service application message to the source base station, the method also includes: the target base station sends a link release message to the core network network element, and the link release message is used to notify the core network to release the service route between the first terminal and the second terminal, and the service between the first terminal and the second terminal is transmitted through the first service route.

[0016] According to some embodiments of the present application, the method also includes: after the first terminal and the second terminal complete service communication through the first service route, the target base station receives a direct transfer service route release message sent by the source base station and releases the first service route, wherein the direct transfer service route release message is used to notify the target base station to release the first service route.

[0017] According to some embodiments of the present application, when the base station coverage area of the first terminal moves from the coverage area of the source base station to the coverage area of the switching base station, the target base station receives a second direct transfer service route switching message sent by the switching base station, wherein the second direct transfer service route switching message is used to indicate that the first service route is switched to the second service route, and the second service route is a service route established between the target base station and the switching base station for direct data transmission of services between the first terminal and the second terminal; the target base station sends a second direct transfer service route switching confirmation message corresponding to the second direct transfer service route switching message to the switching base station.

[0018] According to some embodiments of the present application, the method also includes: when the base station coverage area of the second terminal moves from the coverage area of the target base station to the coverage area of the switching base station, the target base station sends a direct service route change message to the source base station and releases the first service route, wherein the direct service route change message is used to indicate the routing information of the switching base station.

[0019] According to another aspect of an embodiment of the present application, a method for communication scheduling is also provided, including: a first terminal performs service communication with a second terminal through a first service route, wherein the first service route is a service route established between a source base station corresponding to the first terminal and a target base station corresponding to the second terminal, and is used for direct transmission of service data between the first terminal and the second terminal.

[0020] According to another aspect of an embodiment of the present application, a communication scheduling device is also provided, including: a first sending module, used for the source base station corresponding to the first terminal to send a direct transfer service routing application message to the core network network element; a receiving module, used for the source base station to receive a direct transfer service routing response message corresponding to the direct transfer service routing application message returned by the core network network element, wherein the direct transfer service routing response message includes at least the routing information of the target base station corresponding to the second terminal and the encryption and decryption protocol between the first terminal and the second terminal, and the second terminal is a terminal that conducts service communication with the first terminal; a second sending module, used for the source base station to determine the direct transfer service application message based on the direct transfer service routing response message, and send the direct transfer service application message to the target base station, wherein the direct transfer service application message is used to instruct the source base station to apply to establish a first service route with the target base station for direct data transmission of services between the first terminal and the second terminal.

[0021] According to another aspect of an embodiment of the present application, a non-volatile storage medium is provided, in which a program is stored. When the program is running, the device where the non-volatile storage medium is located is controlled to execute the above communication scheduling method.

[0022] According to another aspect of an embodiment of the present application, an electronic device is provided, including: a memory and a processor, wherein the processor is configured to run a program stored in the memory, wherein the above communication scheduling method is executed when the program is run.

[0023] According to another aspect of an embodiment of the present application, a computer program product is provided, including computer instructions, which implement the above communication scheduling method when executed by a processor.

[0024] In an embodiment of the present application, a source base station corresponding to the first terminal is used to send a direct transfer service routing application message to a core network network element; the source base station receives a direct transfer service routing response message corresponding to the direct transfer service routing application message returned by the core network network element, wherein the direct transfer service routing response message includes at least routing information of the target base station corresponding to the second terminal and an encryption and decryption protocol between the first terminal and the second terminal, and the second terminal is a terminal that performs service communication with the first terminal; the source base station determines a direct transfer service routing application message based on the direct transfer service routing response message, and sends a direct transfer service routing application message to the target base station, wherein the direct transfer service routing application message is used to indicate a method for the source base station to apply to establish a first service routing for direct data transmission between the first terminal and the second terminal with the target base station. By establishing a first service routing for direct data transmission between the first terminal and the second terminal with the source base station and the target base station, the purpose of directly transmitting data and performing service communication between the first terminal and the second terminal through the first service routing is achieved, thereby solving the technical problem of reduced transmission rate and high latency caused by the service communication mode from terminal to base station, core network, and then from core network to base station and terminal for data transmission between users in the mobile network. BRIEF DESCRIPTION OF THE DRAWINGS

[0025] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:

[0026] Figure 1 This is a hardware structure block diagram of a computer terminal for implementing a communication scheduling method provided in an embodiment of the present application;

[0027] Figure 2 This is a flowchart of a first communication scheduling method provided in an embodiment of the present application;

[0028] Figure 3This is a network structure diagram of a mobile network provided according to an embodiment of the present application;

[0029] Figure 4 is a schematic diagram of a first network mode provided according to an embodiment of the present application;

[0030] Figure 5 This is a flowchart of the first data direct transmission service process provided in an embodiment of the present application;

[0031] Figure 6 is a schematic diagram of a second network mode provided according to an embodiment of the present application;

[0032] Figure 7 This is a flowchart of the second data direct transmission service process provided in an embodiment of the present application;

[0033] Figure 8 is a schematic diagram of a third network mode provided according to an embodiment of the present application;

[0034] Figure 9 This is a flowchart of the third data direct transmission service process provided in an embodiment of the present application;

[0035] Figure 10 is a schematic diagram of a fourth network mode provided according to an embodiment of the present application;

[0036] Figure 11 This is a flowchart of the fourth data direct transmission service process provided in an embodiment of the present application;

[0037] Figure 12 is a flowchart of a second communication scheduling method provided according to an embodiment of the present application;

[0038] Figure 13 is a flowchart of a third communication scheduling method provided in an embodiment of the present application;

[0039] Figure 14 is a flowchart of a fourth communication scheduling method provided according to an embodiment of the present application;

[0040] Figure 15 It is a structural diagram of a communication scheduling device provided according to an embodiment of the present application. DETAILED DESCRIPTION

[0041] In order to enable those skilled in the art to better understand the present invention, the following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments in the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts should fall within the scope of protection of this application.

[0042] The information collected in the embodiments of the present application is information and data authorized by the user or fully authorized by all parties, and the collection, storage, use, processing, transmission, provision, disclosure and application of the relevant data comply with the relevant laws, regulations and standards of the relevant regions, take necessary confidentiality measures, do not violate public order and good morals, and provide corresponding operation entrances for users to choose to authorize or reject the automated decision results; if the user chooses to reject, the expert decision-making process will be entered.

[0043] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or sequential order. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in a sequence other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0044] In order to better understand the embodiments of the present application, the technical terms involved in the embodiments of the present application are explained as follows:

[0045] Mobile Station (MS): It is a terminal device used by users in a mobile communication system. It can communicate with the base station through a wireless interface while on the move to implement various communication functions such as voice calls, text message sending, data transmission, etc.

[0046] Base Station (BS): is one of the most basic infrastructures in a mobile communication network. It is a radio station that communicates with mobile stations through wireless signals and is connected to the core network to achieve communication connections between mobile users or between mobile users and fixed network users.

[0047] Core Network (CN): The core part of the mobile communication network, responsible for user authentication, call control, mobility management, data transmission, and other functions. It connects multiple base stations and processes and forwards signals from the base stations, enabling communication between different users and between users and other networks.

[0048] In related technologies, when data is transmitted or communicated between users, it first departs from the user's terminal device, reaches the base station closest to the user's terminal device via a wireless interface, is uploaded to the core network, and then returns along the opposite path, ultimately arriving at the recipient's terminal device. Consequently, there exists a technical problem of reduced transmission rates and high latency caused by the use of a service communication model where data is transmitted between users in a mobile network, from the terminal to the base station, to the core network, and then from the core network to the base station, and finally to the terminal. To address this issue, a relevant solution is provided in the embodiments of the present application, which is described in detail below.

[0049] According to an embodiment of the present application, an embodiment of a method for communication scheduling is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0050] The method embodiments provided in the embodiments of the present application can be executed in a computer terminal or a similar computing device. Figure 1 FIG1 shows a hardware structure block diagram of a computer terminal for implementing a communication scheduling method. Figure 1 As shown, the computer terminal 10 may include one or more (illustrated as 102a, 102b, ..., 102n in the figure) processors 102 (the processor 102 may include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA), a memory 104 for storing data, and a transmission device 106 for communication functions. In addition, it may also include: a display, an input / output interface (I / O interface), a universal serial bus (USB) port (which may be included as one of the ports of the BUS bus), a network interface, a power supply and / or a camera. It will be understood by those skilled in the art that Figure 1 The structure shown is only for illustration and does not limit the structure of the above electronic device. Figure 1 More or fewer components than shown, or with Figure 1 Different configurations shown.

[0051] It should be noted that the one or more processors 102 and / or other data processing circuits described above may generally be referred to herein as "data processing circuitry." The data processing circuitry may be embodied in whole or in part as software, hardware, firmware, or any other combination thereof. Furthermore, the data processing circuitry may be a single, independent processing module, or may be incorporated in whole or in part into any of the other components of the computer terminal 10. As described in the embodiments of the present application, the data processing circuitry serves as a processor control (e.g., selection of a variable resistor terminal path connected to an interface).

[0052] The memory 104 can be used to store software programs and modules of application software, such as the program instructions / data storage device corresponding to the communication scheduling method in the embodiment of the present application. The processor 102 executes various functional applications and data processing by running the software programs and modules stored in the memory 104, that is, implementing the above-mentioned communication scheduling method. The memory 104 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory 104 may further include a memory remotely located relative to the processor 102, and these remote memories may be connected to the computer terminal 10 via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0053] The transmission device 106 is used to receive or send data via a network. A specific example of the aforementioned network may include a wireless network provided by the communications provider of the computer terminal 10. In one embodiment, the transmission device 106 includes a network interface controller (NIC), which can be connected to other network devices via a base station to enable communication with the Internet. In another embodiment, the transmission device 106 may be a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.

[0054] The display may be, for example, a touch screen liquid crystal display (LCD) that enables a user to interact with a user interface of the computer terminal 10 .

[0055] In the above-mentioned operating environment, an embodiment of the present application provides an embodiment of a communication scheduling method. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions, and although the logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0056] like Figure 2FIG. 1 is a flow chart of a communication scheduling method provided according to an embodiment of the present application, including:

[0057] Step S202: The source base station corresponding to the first terminal sends a direct transfer service routing request message to a core network element.

[0058] As some optional embodiments of this application:

[0059] like Figure 3 As shown in FIG. 1 , a network structure diagram of a mobile network provided according to an embodiment of the present application is shown. Figure 3 The figure shows the network structure of a mobile network in related art, illustrating the complete path of data from one terminal MS, through a series of network nodes, and ultimately to another terminal MS. Dashed lines represent signaling links, and solid lines represent service links. Base stations (BS) establish communication links with each terminal MS within their coverage area. A terminal MS, or mobile station, refers to various mobile communication devices used by users, such as mobile phones, laptops, and tablets. The bearer network is the transmission network connecting the base stations (BS) and the core network. The bearer network's mission is to ensure smooth data transmission from the base stations to the core network, and vice versa. When different MSs (such as the two MSs shown in the figure) need to transmit data for service communications, the data is sent via the base station (BS) corresponding to one MS to the corresponding bearer network, which then sends the data to the core network. The core network then sends the data to the bearer network of the base station (BS) corresponding to the other MS, and then to the base station (BS) corresponding to the other MS, ultimately reaching the other MS.

[0060] The method of the present application provides a network mode with centralized path scheduling and direct data transmission based on the networking structure of the above mobile network. Figure 4 This is a schematic diagram of the first network mode provided according to an embodiment of the present application, in which the terminal MS1 (i.e. the first terminal mentioned above) MS2 (i.e. the second terminal) in the process of business communication, firstly establish a business link through the signaling process, when the terminal MS1 Through the source base station BS (ie the above-mentioned source base station), through the core network CN (ie the above-mentioned core network element), and the target base station BS (ie the above-mentioned target base station) and the terminal MS2 After the service link is established, the source base station BS obtains the routing address information of the target BS from the core network CN through the signaling link, and then the source base station BS directly establishes the first service route for direct data transmission with the target base station BS based on the address information of the target base station BS; the terminal MS1 Directly through the first service route, with the terminal MS2This allows for business communications, thereby shortening data transmission latency. This network model, without requiring hardware adjustments to the network architecture, shifts some of the core network's routing, scheduling, and management capabilities to the base station. By establishing a business routing and scheduling process for direct data transmission between mobile terminals (MSs), data transmission latency is shortened, meeting the goal of even shorter latency in future communications.

[0061] Before the source base station corresponding to the first terminal sends a direct service route request message to the core network element, the first terminal and the second terminal first establish a service. That is, the first terminal establishes a service link with the second terminal through the source base station, the core network, and the target base station: the first terminal first connects to the source base station via a wireless interface, and the source base station transmits the communication request to the core network via the bearer network. After the core network performs the necessary authentication, permission checks, and routing policies, it forwards the data or communication request via the bearer network to the base station corresponding to the second terminal (i.e., the target base station). The target base station then transmits the data to the second terminal via the wireless interface, thus establishing a complete communication path from the first terminal to the second terminal. The source base station corresponding to the first terminal refers to the base station to which the first terminal (e.g., a mobile phone, tablet, or other mobile device) connects when it wants to initiate communication or data transmission. Then, the source base station corresponding to the first terminal sends a direct service route request message to the core network element, requesting to establish a first service route for direct data with the target base station. The direct transfer service routing request message includes, but is not limited to, key information required by the core network to make decisions and initiate the direct transfer service scheduling process, such as the source base station identifier, the first terminal identifier, the target base station identifier, and a service requirement description (describing the requirements for direct transfer services between terminals, such as service type (e.g., video streaming, voice calls, file transfers, etc.), expected data volume, quality of service requirements (e.g., minimum bandwidth, maximum allowed latency), and other specific service parameters). Upon receiving the direct transfer service routing request message, the core network parses it and evaluates network resource availability, checking for sufficient bandwidth and spectrum resources to support the direct transfer service. If network resources are available and the security assessment passes, the core network queries the target base station for routing information, including the IP address, port number, and any other necessary network location data. Simultaneously, based on service requirements and current network security policies, the core network determines the encryption and decryption protocol between the first and second terminals to ensure the security of data transmission between the first and second terminals. After information integration and packaging, the core network obtains a direct transfer service routing response message corresponding to the direct transfer service routing request message and returns it to the source base station. The direct transfer service routing response message includes at least the routing information of the target base station corresponding to the second terminal and the encryption and decryption protocol between the first terminal and the second terminal. The second terminal is the terminal that conducts service communications with the first terminal. It can also include modulation and demodulation methods, service quality requirement parameters and other configuration information related to the direct transfer service.

[0062] Step S204: The source base station receives a direct transfer service routing response message corresponding to the direct transfer service routing request message returned by the core network network element.

[0063] In the technical solution provided in step S204, the direct service routing response message includes at least routing information of the target base station corresponding to the second terminal and the encryption and decryption protocol between the first terminal and the second terminal, where the second terminal is a terminal performing service communication with the first terminal.

[0064] The direct service routing response message includes at least the routing information of the source base station (for example, the IP address and port number of the source base station), the encryption and decryption protocol between the first terminal and the second terminal, and the service modulation and demodulation method between the first terminal and the second terminal. Modulation and demodulation is the process of converting a digital signal into an analog signal suitable for transmission on a wireless channel during data transmission, and converting the analog signal back into a digital signal at the receiving end. The encryption and decryption protocol between the first terminal and the second terminal is a series of technologies and specifications adopted to ensure communication security in a direct data transmission scenario. It defines how the data is encrypted for confidential transmission when the first terminal and the second terminal communicate through the first service route, and how the data is decrypted and restored.

[0065] Step S206: The source base station determines a direct transfer service application message according to the direct transfer service route response message, and sends the direct transfer service application message to the target base station.

[0066] In the technical solution provided in step S206, the direct transfer service application message is used to instruct the source base station to apply to establish a first service route with the target base station for direct data transfer between the first terminal and the second terminal. The source base station receives a direct transfer service application confirmation message corresponding to the direct transfer service application message returned by the target base station. The direct transfer service application confirmation message is used to indicate that the target base station and the source base station have successfully established the first service route.

[0067] As some optional embodiments of this application:

[0068] The source base station first receives a direct transfer service routing response message from the core network. This message contains the target base station's routing information (such as IP address and port number) and details of the encryption and decryption protocol between the two terminals. After receiving this information, the source base station encapsulates the target base station's routing information, the encryption and decryption protocol details between the first and second terminals, and the service modulation and demodulation method between the first and second terminals (which describes the modulation and demodulation technology to be used for data transmission between the first and second terminals, ensuring that the target base station can use the same or compatible modulation and demodulation method to process data) into a direct transfer service request message. The direct transfer service request message also includes the source base station's routing information (which the target base station uses to determine the return path for data) and quality of service requirements (such as bandwidth and latency limits). Based on these information, the source base station determines the direct transfer service request message. The source base station then sends the direct transfer service request message to the target base station. Upon receiving this message, the target base station performs resource assessment and security checks. During the resource assessment, it checks its available resources to ensure that the required quality of service indicators (QoS) for the direct transfer service, such as bandwidth and latency, are met. During the security check, the encryption and decryption protocols and the configuration of the modulation and demodulation modes are verified to ensure the security of data transmission and prevent unauthorized access. If both the resource assessment and security check meet the requirements, the target base station confirms that the establishment of the first service route is feasible. The target base station returns a direct transfer service application confirmation message corresponding to the direct transfer service application message to the source base station. The direct transfer service application confirmation message is used to indicate that the target base station and the source base station have successfully established the first service route. The target base station then sends a link release message to the core network element. The link release message is used to notify the core network to release the service route between the first terminal and the second terminal, and to transmit the service between the first terminal and the second terminal via the first service route. After receiving the link release message from the target base station, the core network performs a link release, releasing the service route for the first terminal and the second terminal. After the source base station receives the direct transfer service application confirmation message sent by the target base station, the first service route is successfully established, and the first terminal and the second terminal initiate the service process, that is, the first terminal conducts service communication with the second terminal via the first service route.

[0069] Figure 5 This is a flowchart of the first data direct transmission service process provided by the embodiment of the present application, which describes the above process and shows the process of establishing a data direct transmission service process for the terminal in the future 6G network according to the goal of shorter latency in the future 6G network: 1. Service establishment (terminal MS1 (ie the first terminal mentioned above) and terminal MS2(i.e. the above-mentioned second terminal) establishes the service); 2. Direct transfer service routing application (i.e. the source base station corresponding to the above-mentioned first terminal (the source base station BS in the figure) sends a direct transfer service routing application message to the core network element (the core network CN in the figure)); 3. Direct transfer service routing response (i.e. the above-mentioned source base station receives the direct transfer service routing response message corresponding to the direct transfer service routing application message returned by the core network element); 4. Direct transfer service application (i.e. the above-mentioned source base station determines the direct transfer service application message based on the direct transfer service routing response message, and sends the direct transfer service application message to the target base station); 5. Direct transfer service application confirmation (i.e. the source base station receives the direct transfer service application confirmation message corresponding to the direct transfer service application message returned by the target base station); 6. Link release (i.e. the above-mentioned target base station sends a link release message to the core network element); 7. Service process (i.e. the above-mentioned first terminal and the second terminal start the service process, and the first terminal communicates with the second terminal through the first service route).

[0070] Because the terminal moves with the user carrying the terminal device, when the terminal moves, the area where it is located may no longer belong to the coverage area of the terminal being connected (that is, the area after the first terminal moves no longer belongs to the coverage area of the source base station or the area after the second terminal moves no longer belongs to the coverage area of the target base station). In the case where the base station coverage area of the first terminal moves from the coverage area of the source base station to the coverage area of the switching base station, the source base station sends a direct transfer service route message to the switching base station and releases the first service route. The switching base station receives the direct transfer service route message sent by the source base station, and then the switching base station sends a second direct transfer service route switching message to the target base station, and the second direct transfer service route switching message is used to indicate that the first service route is switched to the second service route. The target base station receives the second direct transfer service route switching message sent by the switching base station, wherein the second direct transfer service route switching message is used to indicate that the first service route is switched to the second service route, and the second service route is a service route established by the target base station and the switching base station for direct data transmission between the first terminal and the second terminal; thereafter, the target base station sends a second direct transfer service route switching confirmation message corresponding to the second direct transfer service route switching message to the switching base station. The direct service route for service communication between the first and second terminals is now switched from the first service route to the second service route. The parameter information for establishing the second service route for direct data transmission between the first and second terminals by the target base station and the handover base station includes at least routing information of the target base station, the encryption and decryption protocol between the first and second terminals, and the service modulation and demodulation method between the first and second terminals.

[0071] As some optional embodiments of this application:

[0072] When the base station coverage area of the first terminal moves from the base station coverage area of the source base station to the coverage area of the switching base station, first, an air interface handover process is performed. When the first terminal detects that its signal quality has degraded and is about to leave the service range of the source base station, it will start scanning the surrounding environment to find a candidate base station with a stronger signal (i.e., the switching base station mentioned above), and generate a test report, which is then sent to the source base station. The test report contains the signal strength and quality information of the switching base station. After receiving the measurement report, the source base station will combine the network load and the speed, direction and other parameters of the first terminal to decide whether to trigger the handover. If the handover conditions are met, the source base station will initiate a handover request to the core network, requesting the core network to prepare to switch the connection between the base station and the first terminal. After the core network evaluates the handover request, the source base station sends an instruction to the handover base station, requesting it to reserve resources (including wireless resources, frequency and channel, etc.) for the first terminal. After receiving the command, the handover base station starts to pre-allocate resources and prepare to receive the first terminal. Once the resource reservation is completed, the source base station sends a handover command to the first terminal via the wireless interface. Based on the received handover command, the first terminal adjusts its wireless parameters, disconnects from the source base station, and establishes a connection with the handover base station. At this point, the base station connected to the first terminal changes from the source base station to the handover base station, completing the air interface handover process. Subsequently, the source base station sends a direct service routing message to the handover base station and releases the first service route. The direct service routing message is used to instruct the target base station and the handover base station to establish parameter information for a second service route for direct data transmission between the first and second terminals. This parameter information includes at least routing information of the target base station, the encryption and decryption protocol between the first and second terminals, the service modulation and demodulation method between the first and second terminals, and quality of service parameters, signal strength and quality information, etc.

[0073] After the switching base station receives the direct service route message sent by the source base station, it parses the message and reserves wireless resources, frequencies, channels, etc. for the services involved based on the message to prepare for the establishment of a new data direct transmission link (i.e., the second service route). Afterwards, the switching base station sends a second direct service route switching message to the target base station, wherein the second direct service route switching message is used to indicate that the first service route is switched to the second service route, the first service route is the service route established between the target base station and the source base station, and the second direct service route switching message includes a terminal identifier, encryption and decryption protocol, routing information of the switching base station, and resource reservation information. After the target base station receives the second direct service route switching message sent by the switching base station, it parses the message and verifies whether it can meet the requirements for establishing the second service route. If the requirements are met, the target base station sends a second direct service route switching confirmation message corresponding to the second direct service route switching message to the switching base station. The switching base station receives the second direct transfer service route switching confirmation message (including the confirmation status of the target base station, and additional parameters or requirements, such as the actual allocated resource information, link quality assessment results, etc.) corresponding to the second direct transfer service route switching message sent by the target base station. The second service route is successfully established and the first route is switched to the second route. When the first terminal and the second terminal carry out the service process, the service process between the first terminal and the second terminal is completed by the second service route, that is, the data for service communication is directly transmitted in the second service route.

[0074] Figure 6 This is a schematic diagram of the second network mode provided in accordance with an embodiment of the present application. The signaling link (used for transmitting signaling data) is shown by the dotted line in the figure, and the service link (used for transmitting actual service data) is shown by the solid line in the figure. MS1 When (the first terminal) moves from the coverage area of the source base station BS (the source base station) to the coverage area of the switching base station BS (the switching base station), in addition to the normal service switching process of the air interface, the terminal MS1 With Terminal MS2 The service channel between the source base station BS and the target base station BS needs to adjust the data direct transmission service route (i.e. the above-mentioned first service route) between the source base station BS and the target base station BS to the data direct transmission service route (i.e. the above-mentioned second service route) between the switching base station BS and the target base station BS (i.e. the above-mentioned target base station).

[0075] Figure 7 This is a flowchart of the second data direct transmission service process provided in an embodiment of the present application, which shows the data direct transmission service process when the base station coverage area of the first terminal moves from the coverage area of the source base station to the coverage area of the switching base station. 1. Service process (corresponding to Figure 57. Business process, at this time the base station coverage area of the first terminal is still in the coverage area of the source base station); 2. Air interface switching process (that is, the above-mentioned air interface switching process); 3. Direct transfer business routing message (that is, the above-mentioned source base station sends a direct transfer business routing message to the switching base station); 4. Direct transfer business routing switching (that is, the above-mentioned switching base station will send a second direct transfer business routing switching message to the target base station); 5. Direct transfer business routing switching confirmation (that is, the above-mentioned target base station sends a second direct transfer business routing switching confirmation message corresponding to the second direct transfer business routing switching message to the switching base station); 6. Business process (that is, when the base station coverage area of the first terminal moves from the base station coverage area of the source base station to the coverage area of the switching base station, when the first terminal and the second terminal carry out the business process, the business process between the first terminal and the second terminal is completed by the second business routing).

[0076] When the base station coverage area of the second terminal moves from the coverage area of the target base station to the coverage area of the switching base station, the target base station sends a direct service route change message to the source base station and releases the first service route. The direct service route change message indicates the routing information of the switching base station. The source base station receives the direct service route change message sent by the target base station and releases the first service route. The source base station sends a first direct service route switch message to the switching base station, wherein the first direct service route switch message instructs the source base station to apply to the switching base station to establish a third service route for direct data transmission between the first terminal and the second terminal, and to switch the first route to the third route. The switching base station receives the first direct service route message sent by the source base station; the switching base station sends a first direct service route switch confirmation message corresponding to the first direct service route switch message to the source base station. The source base station receives a first direct service route switch confirmation message corresponding to the first direct service route switch message returned by the switching base station. The first direct service route switch confirmation message indicates that the source base station has successfully established the third service route with the switching base station and has successfully switched the first route to the third route. At this point, when the first terminal and the second terminal start the service process, service communication is performed through the third route, and data is directly transmitted through the third route.

[0077] As some optional embodiments of this application:

[0078] When the base station coverage area of the second terminal moves from the coverage area of the target base station to the coverage area of the handover base station, an air interface handover process is first performed. After the air interface handover process is completed, the base station connected to the second terminal changes from the target base station to the handover base station. The target base station then sends a direct service route change message to the source base station and releases the first service route. The direct service route change message contains at least the routing information of the handover base station to ensure that the source base station understands and adapts to the communication requirements of the new service route. After receiving the direct service route change message from the target base station, the source base station prepares to initiate a direct service route handover with the handover base station based on the handover base station routing information provided therein. The source base station constructs and sends a first direct service route handover message to the handover base station. The first direct service route handover message contains parameter information required to establish a third service route, such as the encryption and decryption protocols and modulation and demodulation methods for the first and second terminals. The handover base station receives the first direct service route message from the source base station, parses the parameter information therein, checks resource availability, and reserves wireless resources, frequencies, and channels for establishing the third service route based on the information in the first direct service route handover message. Afterwards, the switching base station sends a first direct service route switching confirmation message (for example, including allocated resource information and link quality assessment results, etc.) corresponding to the first direct service route switching message to the source base station. After the source base station receives the first direct service route switching confirmation message corresponding to the first direct service route switching message returned by the switching base station, the third route is successfully established and the service route used for service communication between the first terminal and the second terminal is switched from the first service route to the third service route.

[0079] Figure 8 This is a schematic diagram of a third network mode provided according to an embodiment of the present application. As shown in the figure, when the terminal MS2 When moving from the coverage area of the target base station BS to the coverage area of the switching base station BS, in addition to the normal service switching process of the air interface, the terminal MS1 With Terminal MS2 The service channel between the source base station BS and the target base station BS needs to adjust the data direct transmission service route (ie the first service route) between the source base station BS and the target base station BS to the data direct transmission service route (ie the third service route) between the source base station BS and the switching base station BS. Figure 9 This is a flowchart of the third data direct transmission service process provided in an embodiment of the present application, which shows the data direct transmission service process when the base station coverage area of the second terminal moves from the coverage area of the target base station to the coverage area of the switching base station. 1. Service process (corresponding to Figure 57. Business process, at this time the base station coverage area of the second terminal is still in the coverage area of the target base station); 2. Air interface switching process; 3. Direct business route change message (that is, the above-mentioned target base station sends a direct business route change message to the source base station); 4. Direct business route switching (that is, the above-mentioned source base station sends a first direct business route switching message to the switching base station); 5. Direct business route switching confirmation (that is, the above-mentioned source base station receives the first direct business route switching confirmation message corresponding to the first direct business route switching message returned by the switching base station); 6. Business process (that is, when the base station coverage area of the second terminal moves from the coverage area of the target base station to the coverage area of the switching base station, when the first terminal and the second terminal carry out the business process, the business process between the first terminal and the second terminal is completed by the third business route).

[0080] After the first terminal and the second terminal complete service communication via the first service route, the source base station performs air interface disconnection with the first terminal and sends a direct service route release message to the target base station after the air interface disconnection with the first terminal. The direct service route release message is used to notify the target base station to release the first service route. The target base station receives the direct service route release message sent by the source base station, releases the first service route, and performs air interface disconnection with the second terminal. Afterwards, the target base station notifies the core network of the end of the service, wherein the direct service route release message is used to notify the target base station to release the first service route.

[0081] As some optional embodiments of this application:

[0082] After the first terminal and the second terminal complete service communication via the first service route between the source base station and the target base station, in order to optimize resource allocation and maintain healthy network operation, it is necessary to perform an air interface disconnection and service route release process. The air interface disconnection process is as follows: the first terminal sends a release request to the source base station. After receiving the release request, the source base station immediately terminates the wireless connection with the first terminal, including but not limited to closing the channel carrying the service, stopping data transmission, and releasing wireless resources. After the disconnection is completed, the source base station sends an air interface disconnection confirmation message to the first terminal to ensure that both parties are aware of the end of the wireless connection. After the source base station disconnects the air interface with the first terminal, it sends a direct service route release message (for example, including the identifiers of the first terminal and the second terminal, and a request to release the first service route) to the target base station. The target base station receives the direct service route release message sent by the source base station and releases the first service route. It then disconnects the air interface with the second terminal, releasing all related resources, including but not limited to the configuration of the wireless spectrum, encoding format, encryption and decryption protocol, etc. Finally, the target base station sends a service termination notification to the core network to confirm that the service process between the first terminal and the second terminal is completely completed, including the release of all direct service routes. The method of the present application can reduce the delay of the service process and reduce the burden on the core network, meeting the lower delay requirements required by future network development.

[0083] Figure 10 This is a schematic diagram of the fourth network mode provided according to an embodiment of the present application. MS1 With Terminal MS2 After completing the business process, it is necessary to release the business channel for direct transmission of related data (the business link in the figure). Figure 11 It is a flowchart of the fourth data direct transmission service process provided according to an embodiment of the present application, which shows the process after the first terminal and the second terminal complete the service communication through the first service route, 1. Service process (that is, the first terminal and the second terminal perform service communication through the first service route); 2. Air interface delinking (that is, the above-mentioned source base station and the first terminal perform air interface delinking); 3. Direct transmission service route release (that is, after the above-mentioned source base station and the first terminal perform air interface delinking, a direct transmission service route release message is sent to the target base station); 4. Air interface delinking (that is, the target base station and the second terminal perform air interface delinking); 5. Service end.

[0084] Figure 12 1 is a flowchart of a second communication scheduling method provided according to an embodiment of the present application, including:

[0085] Step S1202: When the base station coverage area of the first terminal moves from the coverage area of the source base station to the coverage area of the switching base station, the switching base station receives a direct transfer service routing message sent by the source base station.

[0086] In the technical solution provided in step S1202, the direct service routing message is used to indicate parameter information of the target base station corresponding to the second terminal and the switching base station to establish a second service routing, and the second service routing is used to directly transmit service data between the first terminal and the second terminal.

[0087] Step S1204: The switching base station sends a second direct service route switching message to the target base station.

[0088] In the technical solution provided in step S1204, the second direct service route switching message is used to instruct to switch the first service route to the second service route, where the first service route is a service route established between the target base station and the source base station.

[0089] Step S1206: The switching base station receives a second direct service route switching confirmation message corresponding to the second direct service route switching message sent by the target base station.

[0090] When the base station coverage area of the second terminal moves from the coverage area of the target base station to the coverage area of the switching base station, the switching base station receives a first direct service route switching message sent by the source base station, wherein the first direct service route switching message is used to indicate that the source base station applies to establish a third service route for direct data transmission between the first terminal and the second terminal with the switching base station; the switching base station sends a first direct service route switching confirmation message corresponding to the first direct service route switching message to the source base station, wherein the first direct service route switching confirmation message is used to indicate that the source base station and the switching base station have successfully established the third service route.

[0091] It should be noted that Figure 12 The flowchart of the second communication scheduling method shown is used to illustrate Figure 2 In the first communication scheduling method shown, the execution action of switching the base station side is performed, so Figure 2 The relevant explanations in the first communication scheduling method also apply to the second communication scheduling method and will not be repeated here.

[0092] Figure 13 1 is a flowchart of a third communication scheduling method provided in an embodiment of the present application, including:

[0093] Step S1302: The target base station corresponding to the second terminal receives a direct transfer service request message sent by the source base station corresponding to the first terminal.

[0094] In the technical solution provided in step S1302, the direct transfer service application message is used to instruct the source base station to apply to establish a first service route for direct data transfer between the first terminal and the second terminal with the target base station.

[0095] Step S1304: The target base station sends a direct transfer service application confirmation message corresponding to the direct transfer service application message to the source base station, wherein the direct transfer service application confirmation message is used to indicate that the target base station and the source base station have successfully established the first service route.

[0096] After the target base station sends a direct transfer service application confirmation message corresponding to the direct transfer service application message to the source base station, it sends a link release message to the core network network element. The link release message is used to notify the core network to release the service route between the first terminal and the second terminal, and the service between the first terminal and the second terminal is transmitted through the first service route.

[0097] When the base station coverage area of the first terminal moves from the coverage area of the source base station to the coverage area of the switching base station, the target base station receives a second direct service route switching message sent by the switching base station, wherein the second direct service route switching message is used to instruct the first service route to be switched to a second service route, where the second service route is a service route established between the target base station and the switching base station for direct data transmission between the first terminal and the second terminal; the target base station sends a second direct service route switching confirmation message corresponding to the second direct service route switching message to the switching base station. When the base station coverage area of the second terminal moves from the coverage area of the target base station to the coverage area of the switching base station, the target base station sends a direct service route change message to the source base station and releases the first service route, wherein the direct service route change message is used to indicate routing information of the switching base station.

[0098] It should be noted that Figure 13 The flowchart of the third communication scheduling method shown is used to illustrate Figure 2 The execution action of the target base station side in the first communication scheduling method shown is as follows: Figure 2 The relevant explanations in the first communication scheduling method also apply to the third communication scheduling method and will not be repeated here.

[0099] Figure 14 4 is a flowchart of a fourth communication scheduling method provided in an embodiment of the present application, including:

[0100] In step S1402, the first terminal performs service communication with the second terminal through a first service route, wherein the first service route is a service route established between a source base station corresponding to the first terminal and a target base station corresponding to the second terminal, and is used for direct transmission of service data between the first terminal and the second terminal.

[0101] It should be noted that Figure 14 The flowchart of the fourth communication scheduling method shown is used to illustrate Figure 2 The execution action of the first terminal side in the first communication scheduling method shown is as follows: Figure 2The relevant explanations in the first communication scheduling method also apply to the fourth communication scheduling method and will not be repeated here.

[0102] The embodiment of the present application also provides a communication scheduling device, such as Figure 15 Shown, including:

[0103] The first sending module 1502 is configured to send a direct transfer service routing request message to a core network element via a source base station corresponding to the first terminal.

[0104] Receiving module 1504 is used for the source base station to receive the direct transfer service routing response message corresponding to the direct transfer service routing application message returned by the core network network element, wherein the direct transfer service routing response message includes at least the routing information of the target base station corresponding to the second terminal and the encryption and decryption protocol between the first terminal and the second terminal, and the second terminal is a terminal that conducts service communications with the first terminal.

[0105] The second sending module 1506 is used for the source base station to determine the direct transfer service application message based on the direct transfer service route response message, and send the direct transfer service application message to the target base station, wherein the direct transfer service application message is used to instruct the source base station to apply to establish a first service route for direct data transfer between the first terminal and the second terminal with the target base station.

[0106] It should be noted that Figure 15 The communication scheduling device shown is used to perform Figure 2 The first communication scheduling method shown is thus Figure 2 The relevant explanations in the first communication scheduling method also apply to the communication scheduling device and will not be repeated here.

[0107] It should be noted that the various modules in the above-mentioned communication scheduling device can be program modules (for example, a set of program instructions that implement a certain specific function) or hardware modules. For the latter, it can be expressed in the following forms, but is not limited to this: the expression form of each of the above-mentioned modules is a processor, or the functions of each of the above-mentioned modules are implemented by a processor.

[0108] An embodiment of the present application further provides a non-volatile storage medium, which includes a stored program, wherein when the program is running, the device where the non-volatile storage medium is located is controlled to execute the communication scheduling method in any one of the above embodiments.

[0109] An embodiment of the present application further provides an electronic device, which includes a processor, and the processor is used to run a program, wherein the communication scheduling method in any one of the above embodiments is executed when the program is running.

[0110] According to another aspect of the embodiments of the present application, a computer program product is further provided, including a computer program, which implements the communication scheduling method in any one of the above embodiments when executed by a processor.

[0111] In the above embodiments of the present application, the description of each embodiment has its own focus. For parts that are not described in detail in a certain embodiment, please refer to the relevant description of other embodiments.

[0112] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only exemplary. For example, the division of the units can be a logical function division. In actual implementation, there may be other division methods, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.

[0113] The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.

[0114] In addition, the functional units in the various embodiments of the present application may be integrated into a single processing unit, or each unit may exist physically separately, or two or more units may be integrated into a single unit. The aforementioned integrated units may be implemented in the form of hardware or software functional units.

[0115] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the relevant technology or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for enabling a computer device (which can be a personal computer, a server or a network device, etc.) to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk or an optical disk.

[0116] The above is only a preferred embodiment of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.

Claims

1. A communication scheduling method, characterized in that: include: The source base station corresponding to the first terminal sends a direct transfer service routing request message to the core network element; The source base station receives a direct transfer service routing response message corresponding to the direct transfer service routing request message returned by the core network network element, wherein the direct transfer service routing response message includes at least routing information of a target base station corresponding to the second terminal and an encryption and decryption protocol between the first terminal and the second terminal, where the second terminal is a terminal performing service communication with the first terminal; The source base station determines a direct transfer service application message based on the direct transfer service route response message, and sends the direct transfer service application message to the target base station, wherein the direct transfer service application message is used to instruct the source base station to apply to establish a first service route with the target base station for direct data transfer between the first terminal and the second terminal.

2. The method according to claim 1, characterized in that The direct transfer service routing response message includes at least routing information of the source base station, an encryption and decryption protocol between the first terminal and the second terminal, and a service modulation and demodulation mode between the first terminal and the second terminal.

3. The method according to claim 1, characterized in that The method further comprises: The source base station receives a direct transfer service application confirmation message corresponding to the direct transfer service application message returned by the target base station, wherein the direct transfer service application confirmation message is used to indicate that the target base station and the source base station have successfully established the first service route.

4. The method according to claim 1, wherein The method further comprises: After the first terminal and the second terminal complete service communication through the first service route, the source base station and the first terminal perform air interface link removal, and after the source base station and the first terminal perform air interface link removal, send a direct transfer service route release message to the target base station, wherein the direct transfer service route release message is used to notify the target base station to release the first service route.

5. The method according to claim 2, characterized in that The method further comprises: When the base station coverage area of the first terminal moves from the base station coverage area of the source base station to the coverage area of the switching base station, the source base station sends a direct transfer service routing message to the switching base station and releases the first service route, wherein the direct transfer service routing message is used to indicate the parameter information of the second service route for direct data transfer between the first terminal and the second terminal established by the target base station and the switching base station.

6. The method according to claim 5, characterized in that The parameter information of the second service route for direct data transmission between the first terminal and the second terminal established by the target base station and the switching base station includes at least the routing information of the target base station, the encryption and decryption protocol between the first terminal and the second terminal, and the service modulation and demodulation method between the first terminal and the second terminal.

7. The method according to claim 2, characterized in that The method further comprises: When the base station coverage area of the second terminal moves from the coverage area of the target base station to the coverage area of the switching base station, the source base station receives a direct service route change message sent by the target base station and releases the first service route, wherein the direct service route change message is used to indicate the routing information of the switching base station; The source base station sends a first direct service route switching message to the switching base station, wherein the first direct service route switching message is used to instruct the source base station to apply to establish a third service route for direct data transmission of a service between the first terminal and the second terminal with the switching base station; The source base station receives a first direct service route switching confirmation message corresponding to the first direct service route switching message returned by the switching base station, where the first direct service route switching confirmation message is used to indicate that the source base station and the switching base station have successfully established the third service route.

8. A communication scheduling method, characterized in that: include: When the base station coverage area of the first terminal moves from the coverage area of the source base station to the coverage area of the switching base station, the switching base station receives a direct transfer service routing message sent by the source base station, wherein the direct transfer service routing message is used to indicate parameter information of a second service route established between the target base station corresponding to the second terminal and the switching base station, and the second service route is used to perform direct data transfer of the service between the first terminal and the second terminal; The switching base station sends a second direct transfer service route switching message to the target base station, wherein the second direct transfer service route switching message is used to indicate that the first service route is switched to the second service route, where the first service route is a service route established between the target base station and the source base station; The switching base station receives a second direct service route switching confirmation message corresponding to the second direct service route switching message sent by the target base station.

9. The method according to claim 8, characterized in that The method further comprises: When the base station coverage area of the second terminal moves from the coverage area of the target base station to the coverage area of the switching base station, the switching base station receives a first direct transfer service route switching message sent by the source base station, wherein the first direct transfer service route switching message is used to instruct the source base station to apply for establishing a third service route for direct data transfer of service between the first terminal and the second terminal with the switching base station; The switching base station sends a first direct service route switching confirmation message corresponding to the first direct service route switching message to the source base station, wherein the first direct service route switching confirmation message is used to indicate that the source base station and the switching base station have successfully established the third service route.

10. A communication scheduling method, characterized in that: include: The target base station corresponding to the second terminal receives a direct transfer service application message sent by the source base station corresponding to the first terminal, wherein the direct transfer service application message is used to instruct the source base station to apply to establish a first service route for direct data transfer between the first terminal and the second terminal with the target base station; The target base station sends a direct transfer service application confirmation message corresponding to the direct transfer service application message to the source base station, wherein the direct transfer service application confirmation message is used to indicate that the target base station and the source base station have successfully established the first service route.

11. The method according to claim 10, characterized in that After the target base station sends a direct transfer service application confirmation message corresponding to the direct transfer service application message to the source base station, the method further includes: The target base station sends a link release message to the core network element, where the link release message is used to notify the core network to release the service route between the first terminal and the second terminal, and the service between the first terminal and the second terminal is transmitted through the first service route.

12. The method according to claim 10, characterized in that The method further comprises: After the first terminal and the second terminal complete service communication through the first service route, the target base station receives the direct transfer service route release message sent by the source base station and releases the first service route, wherein the direct transfer service route release message is used to notify the target base station to release the first service route.

13. The method according to claim 10, characterized in that The method further comprises: When the base station coverage area of the first terminal moves from the coverage area of the source base station to the coverage area of the switching base station, the target base station receives a second direct transfer service route switching message sent by the switching base station, wherein the second direct transfer service route switching message is used to indicate that the first service route is switched to a second service route, and the second service route is a service route established by the target base station and the switching base station for direct transfer of service data between the first terminal and the second terminal; The target base station sends a second direct service route switching confirmation message corresponding to the second direct service route switching message to the switching base station.

14. The method according to claim 10, characterized in that The method further comprises: When the base station coverage area of the second terminal moves from the coverage area of the target base station to the coverage area of the switching base station, the target base station sends a direct service route change message to the source base station and releases the first service route, wherein the direct service route change message is used to indicate the routing information of the switching base station.

15. A communication scheduling method, characterized in that: include: The first terminal communicates with the second terminal through a first service route, wherein the first service route is a service route established between a source base station corresponding to the first terminal and a target base station corresponding to the second terminal, and is used for direct transmission of service data between the first terminal and the second terminal.

16. A communication scheduling device, characterized in that: include: A first sending module is configured to send a direct transfer service routing request message from a source base station corresponding to the first terminal to a core network element; a receiving module, configured to receive, by the source base station, a direct transfer service routing response message corresponding to the direct transfer service routing application message returned by the core network network element, wherein the direct transfer service routing response message includes at least routing information of the target base station corresponding to the second terminal and an encryption and decryption protocol between the first terminal and the second terminal, where the second terminal is a terminal performing service communication with the first terminal; The second sending module is used for the source base station to determine the direct transfer service application message based on the direct transfer service route response message, and send the direct transfer service application message to the target base station, wherein the direct transfer service application message is used to instruct the source base station to apply to establish a first service route for direct data transfer between the first terminal and the second terminal with the target base station.

17. A non-volatile storage medium, characterized in that: A program is stored in the non-volatile storage medium, wherein when the program is running, the device where the non-volatile storage medium is located is controlled to execute the communication scheduling method described in any one of claims 1 to 7, the communication scheduling method described in any one of claims 8 to 9, the communication scheduling method described in any one of claims 10 to 14, or the communication scheduling method described in claim 15.

18. An electronic device, characterized in that: include: A memory and a processor, the processor being configured to run a program stored in the memory, wherein when the program is run, the method for communication scheduling described in any one of claims 1 to 7, the method for communication scheduling described in any one of claims 8 to 9, the method for communication scheduling described in any one of claims 10 to 14, or the method for communication scheduling described in claim 15 is executed.