Communication control method and device, electronic device, and storage medium
By introducing operator service nodes into near-field communication, and using them to determine suitable relay terminals and manage communication traffic, the problem of unstable service quality of terminal equipment is solved, and high-quality multi-relay terminal selection and communication quality supervision are achieved.
Patent Information
- Application Number
- CN202111593538.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-23
- Publication Date
- 2024-11-12
- Estimated Expiration
- 2041-12-23
AI Technical Summary
In existing near-field communication, the quality of service of terminal equipment cannot be effectively guaranteed, and the quality of service of relay terminals lacks supervision, making signal switching and channel allocation impossible.
By introducing operator service nodes, the signal parameters and bandwidth resource information of relay terminals are obtained to determine suitable target relay terminals, provide network services to terminal devices, and perform traffic aggregation and separation, and monitor communication quality.
It improves the service quality of near-field communication, enables flexible selection of multiple relay terminals and ensures service quality, and enhances the operator's participation and control capabilities in the communication process.
Smart Images

Figure CN114286416B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of communication and blockchain technology, and specifically, to a communication control method and device, an electronic device, and a storage medium. Background Art
[0002] Near-field communication is a new communication mode proposed by the 3GPP (The Third Generation Partnership Project) organization and defined as a new technology that allows LTE (Long Term Evolution) terminals to directly communicate with each other through shared cell network resources without basic network facilities. Based on near-field communication, terminal users can connect to other terminal users (also known as relay terminal users) through wireless technology, and connect to the Internet through the mobile communication network service of the relay terminal users, thereby improving the spectrum efficiency of the communication system. At present, there are some simple applications of near-field communication in the industry, such as opening hotspots on mobile phones to allow other mobile phones to access the Internet. Although these communication methods can meet the user's requirements for Internet access, the quality of service cannot be guaranteed. Summary of the invention
[0003] To solve the above technical problems, the embodiments of the present application provide a communication control method and device, an electronic device, and a storage medium. By introducing an operator service node, the operator service node determines a suitable relay terminal for the terminal device to ensure the service quality during the communication process.
[0004] Other features and advantages of the present application will become apparent from the following detailed description, or may be learned in part by the practice of the present application.
[0005] According to one aspect of an embodiment of the present application, a communication control method is provided, which is applied to a communication network system, wherein the communication network system includes an operator service node, a relay terminal, and a terminal device, and the method is performed by the operator service node, and the method includes:
[0006] Obtaining signal parameter values of at least two relay terminals;
[0007] Determine the location information of the terminal device according to each signal parameter value;
[0008] Acquire first bandwidth resource information required by the terminal device and second bandwidth resource information that can be provided by the at least two relay terminals;
[0009] A target relay terminal is determined from the at least two relay terminals according to the location information, the first bandwidth resource information, and the second bandwidth resource information, so that the target relay terminal provides bandwidth resources for the terminal device.
[0010] According to one aspect of an embodiment of the present application, a communication control device is provided, including:
[0011] A first acquisition module, configured to acquire signal parameter values of at least two relay terminals;
[0012] A calculation module, configured to calculate the location information of the terminal device according to each signal parameter value;
[0013] A second acquisition module, configured to acquire first bandwidth resource information required by the terminal device and second bandwidth resource information that can be provided by the at least two relay terminals;
[0014] The determination module is configured to determine a target relay terminal from the at least two relay terminals according to the location information, the first bandwidth resource information and the second bandwidth resource information, so that the target relay terminal provides bandwidth resources for the terminal device.
[0015] According to one aspect of an embodiment of the present application, an electronic device is provided, comprising: one or more processors; a storage device for storing one or more programs, wherein when the one or more programs are executed by the one or more processors, the electronic device implements the communication control method as described above.
[0016] According to one aspect of an embodiment of the present application, a computer-readable storage medium is provided, on which computer-readable instructions are stored. When the computer-readable instructions are executed by a processor of a computer, the computer executes the communication control method as described above.
[0017] According to one aspect of the embodiments of the present application, a computer program product or a computer program is provided, the computer program product or the computer program includes computer instructions, and the computer instructions are stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the communication control method provided in the above various optional embodiments.
[0018] In the technical solution provided in the embodiment of the present application, an operator service node is provided in the communication network, and the operator service node can determine a suitable target relay terminal for the terminal device through the location information of the terminal device, the first bandwidth resource information, and the second bandwidth resource of the relay terminal. After determining a suitable target relay terminal for the terminal device, the operator service node can aggregate the uplink traffic provided by the target relay terminal in the formed communication link and send it to the Internet, and send the downlink traffic separated for load balancing to the terminal device.
[0019] It should be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] The drawings herein are incorporated into the specification and constitute a part of the specification, showing embodiments consistent with the present application, and together with the specification, are used to explain the principles of the present application. Obviously, the drawings described below are only some embodiments of the present application, and for those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative work. In the drawings:
[0021] Figure 1 It is a schematic diagram of an implementation environment involved in this application;
[0022] Figure 2 is a flow chart of a communication control method involved in the present application;
[0023] Figure 3 This application Figure 2 A flowchart of step S240 in an exemplary embodiment;
[0024] Figure 4 is a flow chart of a communication control method involved in the present application;
[0025] Figure 5 It is a block diagram of the operator service node involved in this application;
[0026] Figure 6 is a block diagram of a network element configuration data storage device involved in the present application;
[0027] Figure 7 A schematic diagram of the structure of a computer system suitable for implementing an electronic device of an embodiment of the present application is shown. DETAILED DESCRIPTION
[0028] Here, exemplary embodiments will be described in detail, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application. Instead, they are only examples of devices and methods consistent with some aspects of the present application as detailed in the attached claims.
[0029] The block diagrams shown in the accompanying drawings are merely functional entities and do not necessarily correspond to physically independent entities. That is, these functional entities may be implemented in software form, or in one or more hardware modules or integrated circuits, or in different networks and / or processor devices and / or microcontroller devices.
[0030] The flowcharts shown in the accompanying drawings are only exemplary and do not necessarily include all the contents and operations / steps, nor must they be executed in the order described. For example, some operations / steps can be decomposed, and some operations / steps can be combined or partially combined, so the actual execution order may change according to actual conditions.
[0031] It should also be noted that the "multiple" mentioned in this application refers to two or more than two. "And / or" describes the association relationship of the associated objects, indicating that there can be three relationships. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the previous and next associated objects are in an "or" relationship.
[0032] First of all, it should be noted that the embodiments of the present application involve blockchain technology, which is a new distributed infrastructure and computing method that uses a block chain data structure to verify and store data, a distributed node consensus algorithm to generate and update data, cryptography to ensure the security of data transmission and access, and smart contracts composed of automated script codes to program and operate data. Blockchain refers to a decentralized infrastructure with distributed storage characteristics. Specifically, it is a data structure that organizes data blocks in a time sequence in a manner similar to a linked list, which can safely store data that has a sequential relationship and can be verified within the system, and cryptography to ensure that the data cannot be tampered with or forged.
[0033] The underlying platform of the blockchain can include processing modules such as user management, basic services, smart contracts, and operation monitoring. Among them, the user management module is responsible for the identity information management of all blockchain participants, including maintaining the generation of public and private keys (account management), key management, and the maintenance of the correspondence between the user's real identity and the blockchain address (authority management), etc., and, under authorization, supervises and audits the transactions of certain real identities and provides risk control rule configuration (risk control audit); the basic service module is deployed on all blockchain node devices to verify the validity of business requests, and records valid requests to storage after consensus is reached. For a new business request, the basic service first adapts the interface for parsing and authentication (interface adaptation), and then encrypts the business information through the consensus algorithm (consensus management). The smart contract module is responsible for the registration and issuance of contracts, as well as contract triggering and contract execution. Developers can define the contract logic in a programming language and publish it to the blockchain (contract registration). According to the logic of the contract terms, the key or other events are called to trigger the execution and complete the contract logic. It also provides the function of contract upgrade and cancellation. The operation monitoring module is mainly responsible for the deployment, configuration modification, contract setting, cloud adaptation and real-time status visualization output of the product during the product release process, such as alarm, network monitoring, node equipment health monitoring, etc.
[0034] See also Figure 1 , Figure 1 It is a schematic diagram of an implementation environment involved in this application. The implementation environment includes the Internet 110, an operator service node 120, three relay terminals 140, a base station 130, a terminal device 150 and a blockchain network 160. The three relay terminals 140 are relay terminals A, B, and C, respectively, and a total of two communication links are displayed. When the terminal device applies for near-field communication, one of the communication links can be formed. Figure 1 As shown, the communication link on the left is provided by relay terminal A to provide communication services for the terminal device, and the communication link on the right is provided by relay terminals B and C to provide communication services for the terminal device. Specifically, the communication link on the right can also be provided by multiple relay terminals to provide communication services for the terminal device.
[0035] The operator service node 120 is located between the base station 130 and the Internet 110, and is used to achieve traffic aggregation and separation: it aggregates or separates the uplink and downlink traffic data of the communication link of the terminal device 150 on the right, and can send the aggregated uplink traffic data to the Internet 110, and can also send the downlink traffic data separated for load balancing to the terminal device 150.
[0036] At the same time, the operator service node 120 can monitor and recommend communication quality: the operator service node 120 can make "relay recommendations" for the terminal device 150 applying for the near-field communication service based on the distribution, bandwidth and historical service quality of the relay terminal 140. At the same time, according to the bandwidth of the relay terminal 140, it will cooperate with the base station controller to reserve sufficient uplink bandwidth for the relay terminal 140.
[0037] Optionally, the operator service node 102 also provides efficient query and record: the service addition of the relay terminal 140, the service application and connection establishment of the terminal device 150, and the metering of the service provided by the relay terminal 140 will be recorded in the form of transactions on the blockchain network 160. The operator service node 120 can become a non-consensus full node of the blockchain network 160, which provides query of the full blockchain ledger transaction on the one hand, and is used to uniformly send all blockchain transactions related to near-domain communication on the other hand.
[0038] The following is a detailed description of various implementation details of the technical solution of the embodiment of the present application:
[0039] Figure 2 is a flow chart of a communication control method according to an exemplary embodiment. The method can be applied to Figure 1 The implementation environment shown in Figure 1 The telecommunication operator service node 120 in the environment of the illustrated embodiment is specifically implemented.
[0040] like Figure 2 As shown, in an exemplary embodiment, the information extraction method may include steps S210 to S240, which are described in detail as follows:
[0041] Step S210, obtaining signal parameter values of at least two relay terminals;
[0042] Step S220, determining the location information of the terminal device according to each signal parameter value;
[0043] Step S230, obtaining first bandwidth resource information required by the terminal device and second bandwidth resource information that can be provided by at least two relay terminals;
[0044] Step S240: determining a target relay terminal from at least two relay terminals according to the location information, the first bandwidth resource information and the second bandwidth resource information, so that the target relay terminal provides bandwidth resources for the terminal device.
[0045] In this embodiment, as in the above step S210, when the terminal device node applies to use the near-field communication service, the operator service node will determine a suitable relay terminal for the terminal device based on the received application to provide network services for the terminal device. When the terminal device applies to join the near-field communication, it will randomly select the signal parameter values of at least two relay terminals as the parameter basis for locating the location information of the terminal device. The terminal device sends the signal parameter values of the at least two selected relay terminals to the operator service node, and the operator service node receives them.
[0046] As in the above step S220, the location of each relay terminal is fixed, and the location information of the terminal device can be calculated based on the acquired signal parameter value.
[0047] In this embodiment, the signal parameter value includes but is not limited to received signal strength (RSSI), received signal quality, etc. Among them, the received signal strength is a measured value of the received radio frequency energy, and the distance between the transmitting end (relay terminal) and the receiving end (terminal device) of the signal parameter value can be obtained by a fitting estimation method, and the location information of the terminal device can be obtained according to the distance between at least two relay terminals and the terminal device.
[0048] As in the above steps S230-S240, after the location information of the terminal device is determined, it is necessary to select a suitable relay terminal to provide network services for the terminal device, and the second bandwidth resource information of the selected relay terminal needs to meet the first bandwidth resource information of the terminal device. Bandwidth usually refers to the frequency bandwidth occupied by a signal; when used to describe a channel, bandwidth refers to the maximum frequency bandwidth of a signal that can effectively pass through the channel. The target relay terminal is determined based on the location information of the terminal device, the first bandwidth resource information, and the second bandwidth resource of the relay terminal.
[0049] In this embodiment, the above method can be applied to scenarios where base station coverage is insufficient in a vast area, where there are dense populations but insufficient base station channels, and where the communication level wants to be improved through near-field communication. An operator service node is provided, and the operator service node determines a suitable target relay terminal for the terminal device through the location information of the terminal device, the first bandwidth resource information, and the second bandwidth resource of the relay terminal. After determining a suitable target relay terminal for the terminal device, the uplink and downlink traffic data of the formed communication link are aggregated or separated. Specifically, the uplink traffic provided by the target relay terminal can be aggregated and sent to the Internet, and the downlink traffic separated for load balancing can be sent to the terminal device.
[0050] In existing near-field communications, terminal devices communicate directly through relay terminals, and the service quality of relay terminals is not supervised and cannot be guaranteed. In addition, user terminals are usually connected to a single relay terminal for communication, and signal switching and channel allocation cannot be performed at will, and operators cannot participate in the near-field communication process. In the embodiment of the present application, an operator service node is set, and the set operator service node can participate in the near-field communication process. The target relay terminal can be determined from multiple relay terminals through the operator service node. The target relay terminal may include multiple target relay terminals, and multiple target relay terminals provide communication for the terminal device. The operator service node performs quality supervision and control during the near-field communication process to ensure the quality of near-field communication.
[0051] See also Figure 3 In an exemplary embodiment, the process of determining the target relay terminal from at least two relay terminals according to the location information, the first bandwidth resource information, and the second bandwidth resource information in step S240 may include steps S310-S330:
[0052] Step S310, determining a relay terminal closest to the location information from at least two relay terminals, and detecting whether the second bandwidth resource information of the relay terminal closest to the location information matches the first bandwidth resource information;
[0053] Step S320: If there is a match, the relay terminal closest to the location information is determined as the target relay terminal;
[0054] Step S330: If there is no match, a preset number of relay terminals are determined as target relay terminals from at least two relay terminals according to the distance relationship between each relay terminal and the location information; wherein the sum of the second bandwidth resource information of the preset number of relay terminals is greater than or equal to the first bandwidth resource information.
[0055] In this embodiment, the second bandwidth resource information of the relay terminal closest to the terminal device is directly matched with the first bandwidth resource information. When the two match, that is, when the second bandwidth resource information satisfies the first bandwidth resource information, the relay terminal closest to the terminal device is directly used as the target relay terminal; when the two do not match, a preset number of relay terminals are re-determined based on the distance relationship to provide network services for the terminal device. In this embodiment, when the relay terminal closest to the terminal device is insufficient to provide network services for the terminal device, multiple relay terminals are used together to provide network services for the terminal device to ensure normal communication. In other embodiments, there may be only one relay terminal in the communication network system. When there is only one relay terminal, there is no need to obtain the location information of the terminal device, and the relay terminal is directly used as the target relay terminal. The operator service node will also perform communication quality supervision, upload network service records to the blockchain network, and other operations in the future.
[0056] In an exemplary embodiment, according to the distance relationship between each relay terminal and the location information, determining a preset number of relay terminals as target relay terminals from at least two relay terminals may include the following steps:
[0057] Calculate the distance between each relay terminal and the terminal device according to the location information;
[0058] Sort each relay terminal in order of all distances from small to large, and obtain a sorting sequence corresponding to each relay terminal;
[0059] A preset number of relay terminals are selected as target relay terminals according to the sorting sequence.
[0060] In this embodiment, when the second bandwidth resource of the relay terminal closest to the terminal device cannot meet the first bandwidth resource, the distance between each relay terminal and the terminal device is calculated according to the location of the relay terminal and the location information of the terminal device; the distances are arranged in descending order, and then a preset number of relay terminals are selected in the order of arrangement. When it is necessary to select from multiple relay terminals with the same distance, the second bandwidth resource information of the multiple relay terminals can be further arranged in descending order, and then the first few relay terminals are selected from the descending order. All selected relay terminals are used as target relay terminals to provide network services for the terminal device.
[0061] For example, in the distance sorting, three relay terminals need to be selected as target relay terminals. However, when selecting the third target relay terminal, there are five relay terminals that have the same distance to the terminal device, but only one relay terminal can be selected from these five relay terminals as the target relay terminal. At this time, the second bandwidth resource information of these five relay terminals is sorted in descending order, and according to the sorting of these five relay terminals, the first relay terminal is selected as the third target relay terminal.
[0062] In an exemplary embodiment, according to the distance relationship between each relay terminal and the location information, determining a preset number of relay terminals as target relay terminals from at least two relay terminals may include the following steps:
[0063] Calculate the distance between each relay terminal and the terminal device according to the location information;
[0064] Sort each relay terminal in descending order of all distances to obtain a sorting sequence corresponding to each relay terminal;
[0065] A preset number of relay terminals are selected as target relay terminals according to the sorting sequence.
[0066] In this embodiment, when the second bandwidth resource of the relay terminal closest to the terminal device cannot meet the first bandwidth resource, the distance between each relay terminal and the terminal device is calculated according to the location of the relay terminal and the location information of the terminal device; the distances are arranged in descending order, and then a preset number of relay terminals are selected in the order of arrangement. Similarly, when a certain number of relay terminals need to be selected from multiple relay terminals at the same distance, the second bandwidth resource information of the multiple relay terminals is sorted, and several relay terminals with larger second bandwidth resource information are selected as target relay terminals.
[0067] See also Figure 4 In an exemplary embodiment, after determining the target relay terminal from at least two relay terminals according to the location information, the first bandwidth resource information, and the second bandwidth resource information in step S240, the method further includes:
[0068] Step S410, obtaining a network service record between the terminal device and the target relay terminal; wherein the network service record is used to represent a record of the target relay terminal providing network services to the terminal device;
[0069] Step S420, uploading the network service record to the blockchain network.
[0070] In this embodiment, when the terminal device uses the network service provided by the target relay terminal, the operator service node can regularly collect network service records from the terminal device and the target relay terminal, and submit these network service records to the blockchain network. The network service measurement includes the ID of the terminal device and the target relay terminal, the service duration, the service volume, etc. These network service records can be used as the basis for the subsequent operator service node to participate in the network service sharing. After the network service records are stored in the blockchain network, blockchain technology can provide security guarantees such as evidence storage, traceability and identity authentication. At the same time, after uploading the network service records to the blockchain network, the subsequent operator service nodes can synchronize the ledger information of the blockchain network in real time, ensuring the fastest response when querying block transactions and performing related data analysis, and can also realize the signing and broadcasting of transaction messages related to near-domain communication.
[0071] In an exemplary embodiment, after uploading the network service record to the blockchain network, the method may further include the following steps:
[0072] receiving billing instructions;
[0073] Obtaining network service records matching the billing instructions from the blockchain network according to the billing instructions;
[0074] The network service charges are calculated based on the network service records.
[0075] In this embodiment, when the operator needs to charge, it generates a billing instruction and sends the billing instruction to the operator service node. After receiving the billing instruction, the operator service node obtains the corresponding network service record in the blockchain network and calculates the network service fee based on the corresponding network service record, so that the operator service node can extract the operator's due value and obtain gains in the near-field communication operation model.
[0076] For example, the network service record includes the traffic data of the terminal devices using the corresponding target relay terminals. The operator service node has a billing policy pre-set, and the network service fee that the operator service node can obtain during this near-field communication is calculated based on the billing policy and traffic data.
[0077] In an exemplary embodiment, after determining the target relay terminal from at least two relay terminals according to the location information, the first bandwidth resource information, and the second bandwidth resource information, the method may further include the following steps:
[0078] Obtain downlink traffic data of the terminal device through the Internet, encrypt the downlink traffic data, and send the encrypted downlink data to the terminal device through the base station;
[0079] Alternatively, the uplink traffic data sent by the terminal device is obtained through the base station, the uplink traffic data is decrypted, and the decrypted uplink data is sent to the Internet.
[0080] In this embodiment, Figure 1 As shown in the figure, during the communication between the terminal device and the Internet, the uplink traffic data is sent from the terminal device to the Internet, and the downlink traffic data is sent from the Internet to the terminal device. The downlink traffic data is first transmitted from the Internet to the operator service node, and the operator service node encrypts the downlink traffic data, and then sends the encrypted downlink traffic data to the terminal device through the base station for decryption.
[0081] The terminal device first encrypts the uplink traffic data sent to the Internet, and then sends the encrypted uplink traffic data to the operator service node for decryption. The operator service node then sends the decrypted uplink traffic data to the Internet. By encrypting the downlink traffic data and decrypting the uplink traffic data, it is ensured that the uplink and downlink traffic data will not be leaked in the target relay terminal.
[0082] In an exemplary embodiment, the method may further include the following steps:
[0083] The operator service node is created by the preset service provider and deployed on the edge computing network of the communication network system.
[0084] In this embodiment, the operator service node is deployed on the edge computing network (Mobile Edge Computing, MEC). Therefore, the data does not need to be transmitted back to the central server, which can greatly reduce the network card delay. At the same time, since edge computing will distribute data processing work among different data centers and devices, it is difficult to be attacked, which can further ensure the security of the data.
[0085] In this embodiment, the operator service node can be set by a certain operator, such as China Mobile, China Unicom, China Telecom, etc., or it can be set by multiple operators. When the operator service node is set by one operator, there are multiple target relay terminals, and the operators of the target relay terminals are different, when the network service fee needs to be calculated, each operator calculates the network service fee in the corresponding operator service node. When the operator service node is set by multiple operator service nodes, the operators of the target relay terminals are different, when each operator needs to calculate the network service fee, they send a billing request to the operator service node respectively, and the operator service node returns the respective network service fees to the corresponding operator.
[0086] Furthermore, both the uplink and downlink traffic data of the terminal device need to pass through the operator service node, so the operator service node can also cache and forward the uplink and downlink traffic data of the terminal device. At the same time, in order to further improve the quality of communication services, the operator service node can provide caching of popular content together with the content delivery network (Content Delivery Network, CDN) or alone, to achieve rapid distribution of content and improve the service experience of terminal device users.
[0087] In one embodiment, the operator service node is a communication node set up by the operator to better provide near-field communication. The operator service node can achieve a bandwidth reservation guarantee state for the wireless bandwidth between the base station and the operator service node, and between the base station and the target relay terminal by configuring the base station. In this state, the operator service node controls the base station to reserve sufficient uplink bandwidth for the target relay terminal. The amount of uplink bandwidth reserved will be determined based on the communication capability of the target relay terminal, the needs of the target relay terminal, the available bandwidth of the base station, etc. The operator service node can enjoy the right to share in the near-field communication service because of the reserved bandwidth service. In order to realize the bandwidth reservation guarantee function, the operator service node and the base station can be deployed on the edge computing network. See Figure 5, the operator service node includes but is not limited to bandwidth guarantee function, routing selection function, service metering function, blockchain wallet function, communication encryption function and content caching function; among them, the operator service node can configure the base station through the bandwidth guarantee function to reserve sufficient uplink bandwidth for the target relay terminal; the operator service node can also determine the appropriate target relay terminal for the terminal device through the routing selection function; the operator service node can also save the network service record in the blockchain network through the service metering function as the basis for calculating the network service fee; the operator service node can also synchronize the ledger information in the blockchain network in real time through the blockchain wallet function, and sign and broadcast the transaction information; the operator service node can also decrypt the uplink traffic data and the downlink traffic data during the communication process; the operator service node can also cache and forward the traffic of the user terminal.
[0088] See also Figure 6 In an exemplary embodiment of the present application, a communication control device is provided, comprising:
[0089] A first acquisition module 610, configured to acquire signal parameter values of at least two relay terminals;
[0090] A calculation module 620, configured to calculate the location information of the terminal device according to each signal parameter value;
[0091] A second acquisition module 630 is configured to acquire first bandwidth resource information required by the terminal device and second bandwidth resource information that can be provided by at least two relay terminals;
[0092] The determination module 640 is configured to determine a target relay terminal from at least two relay terminals according to the location information, the first bandwidth resource information and the second bandwidth resource information, so that the target relay terminal provides bandwidth resources for the terminal device.
[0093] In an exemplary embodiment, the determination module 640 includes:
[0094] A first determining submodule is configured to determine a relay terminal closest to the location information from at least two relay terminals, and detect whether the second bandwidth resource information of the relay terminal closest to the location information matches the first bandwidth resource information;
[0095] A second determination submodule is configured to determine, if there is a match, the relay terminal closest to the location information as the target relay terminal;
[0096] The third determination submodule is configured to, if there is no match, determine a preset number of relay terminals as target relay terminals from at least two relay terminals based on the distance relationship between each relay terminal and the location information; wherein the sum of the second bandwidth resource information of the preset number of relay terminals is greater than or equal to the first bandwidth resource information.
[0097] In an exemplary embodiment, the third configuration submodule includes:
[0098] A calculation unit, configured to calculate the distance between each relay terminal and the terminal device according to the location information;
[0099] A sorting unit, configured to sort each relay terminal in order of all distances from small to large, to obtain a sorting sequence corresponding to each relay terminal;
[0100] The selection unit is configured to select a preset number of relay terminals as target relay terminals according to the sorting sequence.
[0101] In an exemplary embodiment, the communication control device further includes:
[0102] A third acquisition module is configured to acquire a network service record between the terminal device and the target relay terminal; wherein the network service record is used to represent a record of the target relay terminal providing network services to the terminal device;
[0103] The upload module is configured to upload the network service record to the blockchain network.
[0104] In an exemplary embodiment, the communication control device further includes:
[0105] A receiving module configured to receive a charging instruction;
[0106] A fourth acquisition module is configured to acquire a network service record matching the billing instruction from the blockchain network according to the billing instruction;
[0107] The calculation module is configured to calculate the network service fee according to the network service record.
[0108] In an exemplary embodiment, the communication control device further includes:
[0109] an encryption module, configured to obtain downlink traffic data of a terminal device through the Internet, encrypt the downlink traffic data, and send the encrypted downlink data to the terminal device through a base station;
[0110] Alternatively, the decryption module is configured to obtain uplink traffic data sent by the terminal device through the base station, decrypt the uplink traffic data, and send the decrypted uplink data to the Internet.
[0111] In an exemplary embodiment, the communication control device further includes:
[0112] The deployment module is configured as an operator service node which is created by a preset service provider and deployed on the edge computing network of the communication network system.
[0113] It should be noted that the device provided in the above embodiment and the method provided in the above embodiment belong to the same concept, wherein the specific manner in which each module, sub-module and unit performs operations has been described in detail in the method embodiment and will not be repeated here.
[0114] An embodiment of the present application also provides an electronic device, comprising: one or more processors; a storage device for storing one or more programs, when the one or more programs are executed by the one or more processors, the electronic device implements the communication control method provided in the above-mentioned embodiments.
[0115] Figure 7 A schematic diagram of the structure of a computer system suitable for implementing an electronic device of an embodiment of the present application is shown.
[0116] It should be noted that Figure 7 The computer system 700 of the electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.
[0117] like Figure 7 As shown, the computer system 700 includes a central processing unit (CPU) 701, which can perform various appropriate actions and processes according to the program stored in the read-only memory (ROM) 702 or the program loaded from the storage part 708 to the random access memory (RAM) 703, such as executing the method described in the above embodiment. In the RAM 703, various programs and data required for system operation are also stored. The CPU 701, ROM 702 and RAM 703 are connected to each other through a bus 704. An input / output (I / O) interface 705 is also connected to the bus 704.
[0118] The following components are connected to the I / O interface 705: an input section 706 including a keyboard, a mouse, etc.; an output section 707 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 708 including a hard disk, etc.; and a communication section 709 including a network interface card such as a LAN (Local Area Network) card, a modem, etc. The communication section 709 performs communication processing via a network such as the Internet. A drive 710 is also connected to the I / O interface 705 as needed. A removable medium 711, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 710 as needed so that a computer program read therefrom is installed into the storage section 708 as needed.
[0119] In particular, according to an embodiment of the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present application includes a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a computer program for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication section 709, and / or installed from a removable medium 711. When the computer program is executed by a central processing unit (CPU) 701, various functions defined in the system of the present application are executed.
[0120] It should be noted that the computer-readable medium shown in the embodiment of the present application can be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium can be, for example, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media can include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM), a flash memory, an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present application, a computer-readable storage medium can be any tangible medium containing or storing a program, which can be used by an instruction execution system, device or device or used in combination with it. In the present application, a computer-readable signal medium can include a data signal propagated in a baseband or as a part of a carrier wave, wherein a computer-readable computer program is carried. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than computer-readable storage media, which may send, propagate, or transmit programs for use by or in conjunction with an instruction execution system, apparatus, or device. The computer program contained on the computer-readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wired, etc., or any suitable combination of the above.
[0121] The flowchart and block diagram in the accompanying drawings illustrate the possible architecture, functions and operations of the system, method and computer program product according to various embodiments of the present application. Wherein, each box in the flowchart or block diagram can represent a module, a program segment, or a part of the code, and the above-mentioned module, program segment, or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flowchart, and the combination of boxes in the block diagram or flowchart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0122] The units involved in the embodiments described in this application may be implemented by software or hardware, and the units described may also be set in a processor. The names of these units do not, in some cases, constitute limitations on the units themselves.
[0123] Another aspect of the present application also provides a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, the method described above is implemented. The computer-readable storage medium may be included in the electronic device described in the above embodiment, or may exist independently without being assembled into the electronic device.
[0124] Another aspect of the present application also provides a computer program product or a computer program, which includes a computer instruction stored in a computer-readable storage medium. A processor of a computer device reads the computer instruction from the computer-readable storage medium, and the processor executes the computer instruction, so that the computer device executes the method provided in each of the above embodiments.
[0125] The above content is only a preferred exemplary embodiment of the present application and is not intended to limit the implementation scheme of the present application. A person skilled in the art can easily make corresponding changes or modifications based on the main concept and spirit of the present application. Therefore, the scope of protection of the present application shall be based on the scope of protection required by the claims.
Claims
1. A communication control method, It is characterized in that Applied to a communication network system, the communication network system includes an operator service node, a relay terminal and a terminal device, the method is performed by the operator service node, and the method includes: Obtaining signal parameter values of at least two relay terminals; Determine the location information of the terminal device according to each signal parameter value; Acquire first bandwidth resource information required by the terminal device and second bandwidth resource information that can be provided by the at least two relay terminals; determining a target relay terminal from the at least two relay terminals according to the location information, the first bandwidth resource information, and the second bandwidth resource information, so that the target relay terminal provides bandwidth resources for the terminal device; The step of determining a target relay terminal from the at least two relay terminals according to the location information, the first bandwidth resource information, and the second bandwidth resource information includes: Determine a relay terminal closest to the location information from the at least two relay terminals, and detect whether the second bandwidth resource information of the relay terminal closest to the location information matches the first bandwidth resource information; If they match, determining the relay terminal closest to the location information as the target relay terminal; If there is no match, a preset number of relay terminals are determined as the target relay terminals from the at least two relay terminals based on the distance relationship between each relay terminal and the location information, so as to provide bandwidth resources for the terminal device through the preset number of relay terminals; wherein the sum of the second bandwidth resource information of the preset number of relay terminals is greater than or equal to the first bandwidth resource information.
2. The method according to claim 1, It is characterized in that The determining, according to the distance relationship between each relay terminal and the location information, a preset number of relay terminals from the at least two relay terminals as the target relay terminals comprises: Calculate the distance from each relay terminal to the terminal device according to the location information; Sort each relay terminal in order of all distances from small to large, and obtain a sorting sequence corresponding to each relay terminal; A preset number of relay terminals are selected as the target relay terminals according to the sorting sequence.
3. The method according to any one of claims 1 to 2, It is characterized in that After determining the target relay terminal from the at least two relay terminals according to the location information, the first bandwidth resource information, and the second bandwidth resource information, the method further includes: Acquire a network service record between the terminal device and the target relay terminal; wherein the network service record is used to represent a record of the target relay terminal providing network services for the terminal device; The network service record is uploaded to the blockchain network.
4. The method according to claim 3, It is characterized in that After uploading the network service record to the blockchain network, the method further includes: receiving billing instructions; Acquire a network service record matching the billing instruction from the blockchain network according to the billing instruction; The network service fee is calculated according to the network service record.
5. The method according to any one of claims 1 to 2, It is characterized in that After determining the target relay terminal from the at least two relay terminals according to the location information, the first bandwidth resource information, and the second bandwidth resource information, the method further includes: Obtaining downlink traffic data of the terminal device through the Internet, encrypting the downlink traffic data, and sending the encrypted downlink data to the terminal device through a base station; Alternatively, the uplink traffic data sent by the terminal device is obtained through the base station, the uplink traffic data is decrypted, and the decrypted uplink data is sent to the Internet.
6. The method according to any one of claims 1 to 2, It is characterized in that The method further comprises: The operator service node is created by a preset service provider and deployed on the edge computing network of the communication network system.
7. A communication control device, It is characterized in that include: A first acquisition module, configured to acquire signal parameter values of at least two relay terminals; A calculation module, configured to calculate the location information of the terminal device according to each signal parameter value; A second acquisition module, configured to acquire first bandwidth resource information required by the terminal device and second bandwidth resource information that can be provided by the at least two relay terminals; a determination module, configured to determine a target relay terminal from the at least two relay terminals according to the location information, the first bandwidth resource information, and the second bandwidth resource information, so that the target relay terminal provides bandwidth resources for the terminal device; The step of determining a target relay terminal from the at least two relay terminals according to the location information, the first bandwidth resource information, and the second bandwidth resource information includes: Determine a relay terminal closest to the location information from the at least two relay terminals, and detect whether the second bandwidth resource information of the relay terminal closest to the location information matches the first bandwidth resource information; If they match, determining the relay terminal closest to the location information as the target relay terminal; If there is no match, a preset number of relay terminals are determined as the target relay terminals from the at least two relay terminals based on the distance relationship between each relay terminal and the location information, so as to provide bandwidth resources for the terminal device through the preset number of relay terminals; wherein the sum of the second bandwidth resource information of the preset number of relay terminals is greater than or equal to the first bandwidth resource information.
8. An electronic device, It is characterized in that include: one or more processors; A storage device for storing one or more programs, when the one or more programs are executed by the one or more processors, enables the electronic device to implement the communication control method as described in any one of claims 1 to 6.
9. A computer-readable storage medium, It is characterized in that Computer-readable instructions are stored thereon, and when the computer-readable instructions are executed by a processor of a computer, the computer is caused to execute the communication control method according to any one of claims 1 to 6.
