Communication method and apparatus, computer readable storage medium, terminal device, routing device
By using bit values carried by user equipment, the security risks of PRAS or eRG seeing plaintext data are resolved, enabling accurate data forwarding without decryption and ensuring the security and reliability of data transmission.
Patent Information
- Application Number
- CN202110875837.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-07-30
- Publication Date
- 2026-01-27
- Estimated Expiration
- 2041-07-30
AI Technical Summary
In existing technologies, PRAS or eRG can see plaintext data during the decryption and re-encryption process, which poses a security risk. Furthermore, after end-to-end encryption, IP data packets are encrypted, making effective routing and addressing impossible.
The user equipment obtains the first bit value corresponding to the first address and sends it in the data. The intermediate node determines the target address through the bit value, so that the data can be forwarded without decryption.
It ensures the security and reliability of data transmission without decryption, and intermediate nodes can accurately forward data to the correct address.
Smart Images

Figure CN115696316B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of communication technology, and in particular to a communication method and apparatus, a computer-readable storage medium, a terminal device, and a routing device. Background Technology
[0002] Mobile communication operators have been trying to enhance indoor mobile communication network coverage by deploying equipment indoors, so that users will switch from using WIFI and fixed broadband to using mobile communication networks for indoor internet access, thereby seizing the indoor traffic market.
[0003] Currently, the 3rd Generation Partnership Project (3GPP) standard includes a research project on Residential 5G (5th generation mobile networks or 5th generation wireless systems). In this project, indoor equipment may include Premises Radio Access Stations (PRAS) and Evolved Residential Gateways (eRGs). PRASs and eRGs may be purchased by the user or deployed by the mobile operator. A PRAS is essentially a base station similar to those in current mobile networks, primarily providing network access via a Uu interface. An eRG provides broadband access northbound (to the 5G core network or to the Internet), and southbound, in addition to providing an interface with the PRAS, it can also directly provide Wi-Fi network access to traditional Wi-Fi devices. Regardless of whether the communication protocol is Uu or Wi-Fi, due to protocol conversion, data passing through the PRAS or eRG will undergo decryption and re-encryption. Here, decryption and encryption refer to access-layer encryption and decryption, not application-layer security mechanisms.
[0004] However, in the existing decryption and re-encryption process, PRAS or eRG can see the plaintext data, posing a security risk. If end-to-end encryption is performed, the Internet Protocol (IP) data packets will be encrypted, and PRAS or eRG will not be able to see the IP address, making effective routing impossible. Summary of the Invention
[0005] The technical problem solved by this invention is how to achieve effective routing under end-to-end secure encryption.
[0006] To address the aforementioned technical problems, embodiments of the present invention provide a communication method, the communication method comprising: acquiring a first bit value, the first bit value corresponding to a first address; and sending first data, the first data including the first bit value.
[0007] Optionally, the first address is an Internet Protocol address.
[0008] Optionally, the first bit value is the bit value of the packet data aggregation protocol layer.
[0009] Optionally, the first address and the first bit value have a mapping relationship, and obtaining the first bit value includes: determining the first bit value according to the mapping relationship between the first address and the first bit value and the first address.
[0010] Optionally, the mapping relationship can be determined by: determining at least one communication address and available bits; assigning a corresponding bit value to each communication address to obtain the mapping relationship.
[0011] Optionally, the communication method further includes: determining the number of communicable addresses based on the number of available bits, wherein the number of the at least one communicable address is less than or equal to the number of communicable addresses.
[0012] Optionally, the communication method further includes: determining the number of newly added communication addresses and the number of newly added addresses; selecting a communication address from the at least one communication address and releasing the selected communication address and its corresponding bit value, wherein the number of selected communication addresses is greater than or equal to the number of newly added addresses; assigning a corresponding released bit value to each newly added IP address and adding it to the mapping relationship.
[0013] Optionally, the first data includes a first address, and sending the first data includes performing a security operation on the first address.
[0014] This invention also provides a communication method, which includes: receiving first data, the first data including a first bit value, the first bit value corresponding to a first address; determining the first address corresponding to the first bit value; and forwarding the first data to the first address.
[0015] Optionally, the first address and the first bit value have a mapping relationship, and determining the first address corresponding to the first bit value includes: determining the first address based on the mapping relationship between the first address and the first bit value, and the first bit value.
[0016] Optionally, before determining the first address, the method further includes: determining the source device and its identifier based on the data wireless bearer carrying the first data; determining the mapping relationship based on the identifier of the source device, wherein the identifier of the source device corresponds one-to-one with the mapping relationship.
[0017] This invention also provides a communication device, comprising: a bit value determination module for acquiring a first bit value, the first bit value corresponding to a first address; and a sending module for sending first data, the first data including the first bit value.
[0018] This invention also provides a communication device, comprising: a receiving module for receiving first data, the first data including a first bit value corresponding to a first address; a first address determining module for determining the first address corresponding to the first bit value; and a forwarding module for forwarding the first data to the first address.
[0019] This invention also provides a computer-readable storage medium storing a computer program thereon, wherein the computer program is executed by a processor to perform the steps of the communication method.
[0020] This invention also provides a terminal device, including a memory and a processor, wherein the memory stores a computer program that can run on the processor, and the processor executes the steps of the communication method when running the computer program.
[0021] This invention also provides a routing device, including a memory and a processor, wherein the memory stores a computer program that can run on the processor, and the processor executes the steps of the communication method when running the computer program.
[0022] Compared with the prior art, the technical solution of the embodiments of the present invention has the following beneficial effects:
[0023] In the technical solution of this invention, the user equipment can obtain the first bit value corresponding to the first address and send it out along with the first data. For the intermediate node, it can determine the first address, i.e., the target address to be forwarded, through the first bit value in the first data, thereby enabling the first data to be forwarded to the correct address without decryption, thus achieving the security and reliability of data transmission.
[0024] Furthermore, the first bit value is the bit value of the packet data aggregation protocol layer. When the user equipment encrypts the first data, it does not need to encrypt the bit value of the packet data aggregation protocol layer. Therefore, carrying the first bit value in the first data enables intermediate nodes to obtain the first address without decrypting the data, thus realizing data relay. Attached Figure Description
[0025] Figure 1 This is a flowchart of a communication method according to an embodiment of the present invention;
[0026] Figure 2 This is a flowchart of another communication method according to an embodiment of the present invention;
[0027] Figure 3 This is a schematic diagram of a specific application scenario of an embodiment of the present invention;
[0028] Figure 4 This is a schematic diagram of the structure of a communication device according to an embodiment of the present invention;
[0029] Figure 5 This is a schematic diagram of the structure of another communication device according to an embodiment of the present invention. Detailed Implementation
[0030] As described in the background section, in the existing decryption and re-encryption process, PRAS or eRG can see the plaintext data, posing a security risk. If end-to-end encryption is performed, the Internet Protocol (IP) data packets will be encrypted, and PRAS or eRG will not be able to see the IP address, making effective routing impossible.
[0031] In the technical solution of this invention, the user equipment can obtain the first bit value corresponding to the first address and send it out along with the first data. For the intermediate node, it can determine the first address, i.e., the target address to be forwarded, through the first bit value in the first data, thereby enabling the first data to be forwarded to the correct address without decryption, thus achieving the security and reliability of data transmission.
[0032] The technical solution of this invention is applicable to 5G (5 Generation) communication systems, as well as 4G and 3G communication systems, and can also be applied to various new communication systems in the future, such as 6G and 7G.
[0033] To make the above-mentioned objects, features and advantages of the present invention more apparent and understandable, specific embodiments of the present invention will be described in detail below with reference to the accompanying drawings.
[0034] Figure 1 This is a flowchart of a communication method according to an embodiment of the present invention.
[0035] The communication method of this invention can be used on the user equipment side or the PRAS side, that is, the user equipment or PRAS can execute the various steps of the communication method.
[0036] Specifically, the communication method may include the following steps:
[0037] Step S101: Obtain the first bit value, which corresponds to the first address;
[0038] Step S102: Send first data, the first data including the first bit value.
[0039] It should be noted that the sequence number of each step in this embodiment does not represent a limitation on the execution order of each step.
[0040] In a specific implementation of step S101, the user equipment (UE) can obtain a first bit value, which corresponds to a first address, or in other words, the first bit value indicates the first address.
[0041] In practice, the UE needs to send first data and be able to know the target address of the first data, i.e., the first address. The UE determines the first bit value corresponding to the first address based on the first address and the mapping relationship between each address and bit value. The mapping relationship between bit values and addresses can be pre-configured or predetermined.
[0042] Specifically, the mapping relationship between bit values and addresses can be stored on the UE side or on the intermediate node side of the network architecture, such as in PRAS and eRG.
[0043] In the specific implementation of step S102, the UE can carry the first bit value in the first data and send the data. That is, when the UE sends the data, it also carries the bit value corresponding to the target address of the data. Then, for the intermediate node, it can determine the first address, that is, the target address to be forwarded, through the first bit value in the first data. This enables the first data to be forwarded to the correct address without decryption, thus achieving the security and reliability of data transmission.
[0044] The embodiments of the present invention can achieve secure communication between end-to-end.
[0045] In a non-limiting embodiment of the present invention, the first address is an Internet Protocol (IP) address.
[0046] In a non-limiting embodiment of the present invention, the first bit value is the bit value of the packet data aggregation protocol layer.
[0047] In this embodiment, the first bit value can be the bit value of a reserved bit in the Packet Data Convergence Protocol (PDCP) layer, or it can be the bit value of a newly added bit in the Packet Data Convergence Protocol layer.
[0048] Specifically, the first bit value can be the value of the reserved bits in the PDCP header. Specifically, when the PDCP serial number (SN) is 12 bits long, 3 bits are reserved; when the PDCP serial number is 18 bits long, 5 bits are reserved. Therefore, this reserved bit value can be used as the first bit value. Since the encryption object during PDCP layer encryption includes the generated integrity check code and the data portion of the PDCP Packet Data Unit (PDU), excluding the header, using the reserved bits in the PDCP header as the first bit value allows intermediate nodes to obtain the first address without decrypting the data.
[0049] Accordingly, the UE can determine the bit value corresponding to the target IP address based on the target IP address of the first data and the mapping relationship between each IP address and bit value; fill the bit value corresponding to the target IP address into the reserved bits of the PDCP header, and send out the PDCP header and the encrypted data.
[0050] It should be noted that the first bit value can also be a bit value from the Radio Link Control (RLC) layer, or the first bit value can also be a bit value from the Media Access Control (MAC) layer. This embodiment of the invention does not limit this.
[0051] In a non-limiting embodiment of the present invention, the first address and the first bit value have a mapping relationship. Figure 1 The step S101 shown may specifically include the following steps: determining the first bit value based on the mapping relationship between the first address and the first bit value and the first address.
[0052] Furthermore, the UE can determine the mapping relationship by: determining at least one communication address and available bits; and assigning a corresponding bit value of the available bits to each communication address to obtain the mapping relationship.
[0053] In this embodiment of the invention, the UE can establish the above mapping relationship based on the communication address it needs to communicate with and the number of available bits. The communication address can be an IP address.
[0054] For example, if there are 3 available bits and 3 communication addresses (IP address 1, IP address 2, and IP address 3), assign bit value 000 to IP address 1, bit value 001 to IP address 2, and bit value 010 to IP address 3. If a new IP address is added later, bit value 011 is assigned to the new IP address, and so on.
[0055] In specific implementation, the number of communicable addresses is determined based on the number of available bits, and the number of the at least one communicable address is less than or equal to the number of communicable addresses.
[0056] In this embodiment, with a limited number of available bits, the number of addresses that a bit value can indicate is also limited.
[0057] For example, when the number of available bits is 3, the mapping relationship can include a maximum of 8 bit values and their corresponding communication addresses; when the number of available bits is 5, the mapping relationship can include a maximum of 32 bit values and their corresponding communication addresses.
[0058] In a non-limiting embodiment of the present invention, the UE may determine the new communication address and the number of new addresses; select a communication address from the at least one communication address and release the selected communication address and its corresponding bit value, wherein the number of selected communication addresses is greater than or equal to the number of new addresses; assign a corresponding released bit value to each new IP address and add it to the mapping relationship.
[0059] In this embodiment of the invention, when all available bit values have been allocated and a new communication address is available, the allocated bit values need to be reallocated. Specifically, a communication address can be selected from at least one of the communication addresses with allocated bit values, and its corresponding bit values can be released. The released bit values are then allocated to the new IP address.
[0060] Specifically, the number of selected communication addresses must be greater than or equal to the number of newly added communication addresses. For example, when the number of newly added communication addresses is 3, at least 3 bits can be released in the mapping relationship.
[0061] In a non-limiting embodiment of the present invention, the first data includes a first address. Figure 1 Step S102 shown may include the following steps: performing a security operation on the first address.
[0062] In specific implementation, the security operations performed on the first address include, but are not limited to, encrypting, decrypting, or verifying the integrity of the first address.
[0063] Please refer to Figure 2This invention discloses another communication method. This communication method can be used on the intermediate node side of a network architecture, such as the PRAS or eRG side; that is, the various steps of the method can be executed by the PRAS or eRG.
[0064] Specifically, the communication method may include the following steps:
[0065] Step S201: Receive first data, the first data including a first bit value, the first bit value corresponding to a first address;
[0066] Step S202: Determine the first address corresponding to the first bit value;
[0067] Step S203: Forward the first data to the first address.
[0068] It should be noted that the sequence number of each step in this embodiment does not represent a limitation on the execution order of each step.
[0069] In this embodiment of the invention, the intermediate node can obtain the first bit value upon receiving the first data and determine the first address corresponding to the first bit value based on the mapping relationship. The first address represents the destination address of the first data, which means that if the intermediate node knows how to forward the first data, it can forward the first data to the first address.
[0070] In one specific embodiment, the first address can be determined based on the mapping relationship between the first address and the first bit value, as well as the first bit value.
[0071] In a non-limiting embodiment, the method may further include the following steps before determining the first address: determining a source device and its identifier based on a data radio bearer carrying the first data; and determining the mapping relationship based on the identifier of the source device, wherein the identifier of the source device corresponds one-to-one with the mapping relationship. The source device may be a device that transmits the first data.
[0072] In this embodiment, since the same intermediate node, such as PRAS or eRG, may be connected to multiple user equipments, and different user equipments use different mapping relationships, the intermediate node needs to determine the mapping relationship before determining the first address. Specifically, the identifier of the user equipment can correspond to the mapping relationship, for example, UE1 corresponds to mapping relationship 1, and UE2 corresponds to mapping relationship 2.
[0073] The intermediate node can determine the source device of the first data, i.e., which user equipment the first data comes from, based on the data radio bearer carrying the first data. Then, the intermediate node determines the final mapping relationship based on the identifier of the source device.
[0074] The embodiments of the present invention ensure the accuracy of the determination of the first address by using the identifier of the source device and its correspondence with the mapping relationship, thereby ensuring the accuracy of the first data routing.
[0075] In a specific application scenario, on the UE / PRAS side, for each UE requiring secure communication, before header compression and encryption, reserved bits in the PDCP header are used to map and correspond to the IP address, and this mapping is stored. The UE then fills in the reserved bits in the PDPC header based on the target IP address and the mapping between the target IP address and the reserved bits in the PDCP header.
[0076] When PRAS receives an encrypted PDCP packet, it does not decrypt the packet. Instead, it determines the target IP address based on the mapping between the reserved bits in the PDCP header and the IP address.
[0077] In a specific application scenario, embodiments of the present invention can also support end-to-end secure activation or deactivation. Specifically, when a user equipment sending data needs to perform end-to-end communication, it can send a security activation instruction to the device indicated by the target IP address in advance. Conversely, when end-to-end communication is not required, it can send a deactivation instruction to the device indicated by the target IP address.
[0078] For example, please refer to Figure 3 When UE1 needs to communicate end-to-end with UE3, it can send a security activation instruction to UE3 in advance, so that UE1 and UE3 can communicate end-to-end.
[0079] In a specific application scenario, please refer to Figure 3 UE1 pre-assigns bit values to each IP address. Specifically, the bit value corresponding to IP address 10.1.0.24 is 000, the bit value corresponding to IP address 10.1.0.27 is 001, and the bit value corresponding to IP address 10.1.0.28 is 010.
[0080] UE1 needs to send the first data to UE3. UE1 determines the target IP address to be 10.1.0.27. UE1 determines the bit value corresponding to the target IP address 10.1.0.27 to be 001 based on the mapping relationship. UE1 sends the encrypted first data containing the bit value 001 to access station PRAS1. PRAS1 does not need to decrypt the first data and determines the target IP address to be 10.1.0.27 based on the bit value 001. PRAS1 forwards the first data to gateway eRG1. Correspondingly, eRG1 determines the target IP address to be 10.1.0.27 based on the bit value and forwards the first data to access station PRAS2. Access station PRAS2 determines the target IP address to be 10.1.0.27 based on the bit value and forwards the first data to UE3.
[0081] In another embodiment of the present invention, another communication method is disclosed, which includes the following steps:
[0082] The process involves acquiring data to be sent, which includes PDCP service data unit (SDU) data, IP packet headers, robust header compression (ROHC) headers, and EHC headers; encrypting the PDCP service data unit (SDU) data; and then sending the encrypted data.
[0083] In this embodiment of the invention, since no security operations are required on the IP packet header or ROHC / EHC header, the intermediate node can obtain the target IP address without decrypting the data and forward the data. Furthermore, traditional PDCP layer security operations between the UE and PRAS can still be performed between the UE and PRAS via the Uu interface.
[0084] Please refer to Figure 4 The present invention also discloses a communication device 40, which may include:
[0085] Bit value determination module 401 is used to obtain a first bit value, which corresponds to a first address;
[0086] The transmitting module 402 is used to transmit first data, the first data including the first bit value.
[0087] In specific implementations, the aforementioned communication device 40 may correspond to a chip with communication function in a user equipment or PRAS, such as a SOC (System-On-a-Chip), a baseband chip, etc.; or correspond to a chip module in a user equipment or PRAS that includes a chip with communication function; or correspond to a chip module with a chip with data processing function; or correspond to a user equipment or PRAS.
[0088] Please refer to Figure 5 The present invention also discloses a communication device 50, which may include:
[0089] The receiving module 501 is used to receive first data, the first data including a first bit value, the first bit value corresponding to a first address;
[0090] The first address determination module 502 is used to determine the first address corresponding to the first bit value;
[0091] The forwarding module 503 is used to forward the first data to the first address.
[0092] In specific implementations, the aforementioned communication device 50 may correspond to a chip with communication function in a PRAS or eRG, such as a SOC (System-On-a-Chip), a baseband chip, etc.; or correspond to a chip module in a PRAS or eRG that includes a chip with communication function; or correspond to a chip module with a chip with data processing function; or correspond to a PRAS or eRG.
[0093] For more information on the working principle and operation mode of the communication device 40 or communication device 50, please refer to [link / reference needed]. Figures 1 to 3 The relevant descriptions in the text will not be repeated here.
[0094] Regarding the modules / units included in the various devices and products described in the above embodiments, they can be software modules / units, hardware modules / units, or a combination of both. For example, for various devices and products applied to or integrated into a chip, all of their modules / units can be implemented using hardware methods such as circuits, or at least some modules / units can be implemented using software programs that run on a processor integrated within the chip, while the remaining (if any) modules / units can be implemented using hardware methods such as circuits; for various devices and products applied to or integrated into a chip module, all of their modules / units can be implemented using hardware methods such as circuits, and different modules / units can be located in the same component (e.g., chip, circuit module, etc.) or different components of the chip module, or at least some modules / units can be implemented using hardware methods such as circuits. The components can be implemented using software programs that run on the processor integrated within the chip module. The remaining (if any) modules / units can be implemented using hardware methods such as circuits. For various devices and products applied to or integrated into the terminal, each of its components / units can be implemented using hardware methods such as circuits. Different modules / units can be located in the same component (e.g., chip, circuit module, etc.) or in different components within the terminal. Alternatively, at least some modules / units can be implemented using software programs that run on the processor integrated within the terminal, while the remaining (if any) modules / units can be implemented using hardware methods such as circuits.
[0095] This invention also discloses a storage medium, which is a computer-readable storage medium storing a computer program thereon, the computer program being executable during runtime. Figure 1 or Figure 2 The steps of the communication method shown are illustrated. The storage medium may include ROM, RAM, disk, or optical disk, etc. The storage medium may also include non-volatile memory or non-transitory memory, etc.
[0096] This invention also discloses a terminal device, which may include a memory and a processor. The memory stores a computer program that can run on the processor. When the processor runs the computer program, it can execute... Figure 1 The steps of the access control method shown are illustrated. The terminal device includes, but is not limited to, mobile phones, computers, tablets, and other terminal devices.
[0097] This invention also discloses a routing device, which may include a memory and a processor. The memory stores a computer program that can run on the processor. When the processor runs the computer program, it can execute... Figure 2 The steps of the access control method shown are illustrated.
[0098] This technical solution is also applicable to different network architectures, including but not limited to relay network architecture, dual-link architecture, and Vehicle-to-Everything (V2X) architecture.
[0099] In this application, the term "terminal" can refer to various forms of user equipment (UE), access terminal, user unit, user station, mobile station, mobile station (MS), remote station, remote terminal, mobile device, user terminal, terminal equipment, wireless communication equipment, user agent, or user device. Terminal equipment can also be a cellular phone, cordless phone, Session Initiation Protocol (SIP) phone, Wireless Local Loop (WLL) station, Personal Digital Assistant (PDA), handheld device with wireless communication capabilities, computing device, or other processing device connected to a wireless modem, in-vehicle device, wearable device, terminal equipment in future 5G networks, or terminal equipment in future evolved Public Land Mobile Networks (PLMNs), etc. This application does not limit the scope of these terminal equipment.
[0100] In the embodiments of this application, "multiple" refers to two or more.
[0101] The descriptions of "first," "second," etc., appearing in the embodiments of this application are for illustrative purposes and to distinguish the objects being described. They have no order and do not indicate any special limitation on the number of devices in the embodiments of this application, nor do they constitute any limitation on the embodiments of this application.
[0102] In this application embodiment, "connection" refers to various connection methods such as direct connection or indirect connection to realize communication between devices. This application embodiment does not limit this in any way.
[0103] It should be understood that in the embodiments of this application, the processor can be a central processing unit (CPU), or it can be other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor can be a microprocessor or any conventional processor.
[0104] The above embodiments can be implemented, in whole or in part, by software, hardware, firmware, or any other combination thereof. When implemented using software, the above embodiments can be implemented, in whole or in part, as a computer program product. The computer program product includes one or more computer instructions or computer programs. When the computer instructions or computer programs are loaded or executed on a computer, all or part of the processes or functions described in the embodiments of this application are generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer instructions can be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via wired or wireless means. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more sets of available media.
[0105] It should be understood that in the various embodiments of this application, the order of the above-mentioned processes does not imply the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this application.
[0106] In the several embodiments provided in this application, it should be understood that the disclosed methods, apparatuses, and systems can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for example, the division of units is merely a logical functional division, and other division methods may exist in actual implementation; for example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection between devices or units may be electrical, mechanical, or other forms.
[0107] The units described as separate components may or may not be physically separate. 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 network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0108] Furthermore, the functional units in the various embodiments of the present invention can be integrated into one processing unit, or each unit can be physically comprised separately, or two or more units can be integrated into one unit. The integrated unit described above can be implemented in hardware or in the form of hardware plus software functional units.
[0109] The integrated unit implemented as a software functional unit described above can be stored in a computer-readable storage medium. This software functional unit, stored in a storage medium, includes several instructions to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to execute some steps of the methods described in the various embodiments of the present invention.
[0110] While the present invention has been disclosed above, it is not limited thereto. Any person skilled in the art can make various modifications and alterations without departing from the spirit and scope of the invention; therefore, the scope of protection of the present invention should be determined by the scope defined in the claims.
Claims
1. A communication method, characterized in that, include: Obtain the first bit value, which corresponds to the first address; Send first data, which includes the first bit value; the first address is the target address corresponding to the first data, and the first bit value is the bit value of the header reserved bits of the packet data aggregation protocol layer; The first data includes a first address, and sending the first data includes performing a security operation on the first address.
2. The communication method according to claim 1, characterized in that, The first address and the first bit value have a mapping relationship, and obtaining the first bit value includes: The first bit value is determined based on the mapping relationship between the first address and the first bit value, and the first address.
3. The communication method according to claim 2, characterized in that, The mapping relationship is determined in the following manner: Determine at least one communication address and the available bits; Assign a corresponding available bit value to each communication address to obtain the mapping relationship.
4. The communication method according to claim 3, characterized in that, Also includes: The number of communicable addresses is determined based on the number of available bits, wherein the number of at least one communicable address is less than or equal to the number of communicable addresses.
5. The communication method according to claim 3, characterized in that, Also includes: Determine the new communication addresses and their quantity; A communication address is selected from the at least one communication address, and the selected communication address and its corresponding bit value are released. The number of selected communication addresses is greater than or equal to the number of new addresses. Assign a corresponding released bit value to each newly added IP address and add it to the mapping relationship.
6. A communication method, characterized in that, include: Receive first data, the first data including a first bit value, the first bit value corresponding to a first address; the first address is the target address corresponding to the first data, the first bit value is the bit value of the header reserved bits of the packet data aggregation protocol layer; the first data includes the first address, and the first address has undergone a security operation before transmission; Determine the first address corresponding to the first bit value; Forward the first data to the first address.
7. The communication method according to claim 6, characterized in that, The first address and the first bit value have a mapping relationship, and determining the first address corresponding to the first bit value includes: The first address is determined based on the mapping relationship between the first address and the first bit value, and the first bit value.
8. The communication method according to claim 7, characterized in that, Before determining the first address, the process also includes: The source device and its identifier are determined based on the data wireless bearer carrying the first data; The mapping relationship is determined based on the identifier of the source device, and the identifier of the source device corresponds one-to-one with the mapping relationship.
9. A communication device, characterized in that, include: A bit value determination module is used to obtain a first bit value, which corresponds to a first address; The sending module is used to send first data, the first data including the first bit value; the first address is the target address corresponding to the first data, and the first bit value is the bit value of the header reserved bits of the packet data aggregation protocol layer; The first data includes a first address, and sending the first data includes performing a security operation on the first address.
10. A communication device, characterized in that, include: A receiving module is used to receive first data, the first data including a first bit value, the first bit value corresponding to a first address; the first address is the target address corresponding to the first data, the first bit value is the bit value of the header reserved bits of the packet data aggregation protocol layer; the first data includes the first address, and the first address has undergone a security operation before transmission; The first address determination module is used to determine the first address corresponding to the first bit value; The forwarding module is used to forward the first data to the first address.
11. A computer-readable storage medium having a computer program stored thereon, characterized in that, The computer program, when run by a processor, performs the steps of the communication method according to any one of claims 1 to 5.
12. A terminal device, comprising a memory and a processor, wherein the memory stores a computer program executable on the processor, characterized in that, When the processor runs the computer program, it performs the steps of the communication method according to any one of claims 1 to 5.
13. A routing device comprising a memory and a processor, wherein the memory stores a computer program executable on the processor, characterized in that, When the processor runs the computer program, it performs the steps of the communication method according to any one of claims 6 to 8.
Citation Information
Patent Citations
Request processing method and device based on microservice
CN110519379A
Data communication method and apparatus
WO2008114004A1