Search

CN-121771697-B - Service data transmission method and device and processor readable storage medium

CN121771697BCN 121771697 BCN121771697 BCN 121771697BCN-121771697-B

Abstract

The embodiment of the disclosure relates to a service data transmission method, a device and a processor readable storage medium, wherein the method comprises the steps of sending a communication tunnel establishment request to a service management end through a network card based on a first IP address pre-allocated by a core network, acquiring a second IP address fed back by a tunnel server through the communication tunnel after the communication tunnel is established with the tunnel server, wherein the second IP address is allocated by a DHCP server to wireless terminal access equipment, generating a service data packet comprising the second IP address and the service data under the condition that the service data sent by a first production device is acquired, and sending the service data packet to the tunnel server through the communication tunnel based on the first IP address. In the technical scheme, the transmission cost of the service data is reduced, the transmission safety of the service data is ensured, and technical support is provided for the management and control of the service management end on the wireless terminal access equipment and the production equipment.

Inventors

  • LI XIAOFENG
  • TAN YING
  • WANG CHAO
  • ZHOU YUMING

Assignees

  • 中信科移动通信技术股份有限公司

Dates

Publication Date
20260508
Application Date
20260228

Claims (19)

  1. 1. A service data transmission method applied to a wireless terminal access device, wherein a network card is provided in the wireless terminal access device, the method comprising: sending a communication tunnel establishment request to a service management end based on a first IP address pre-allocated by a core network through the network card, wherein the service management end comprises a tunnel server, a Dynamic Host Configuration Protocol (DHCP) server and a service server; after a communication tunnel is established with the tunnel server, a second IP address fed back by the tunnel server through the communication tunnel is acquired, wherein the second IP address is distributed to the wireless terminal access equipment by the DHCP server; Under the condition that service data sent by first production equipment are obtained, a service data packet comprising the second IP address and the service data is generated, and the service data packet is sent to the tunnel server through the communication tunnel based on the first IP address, wherein the tunnel server sends the service data of the first production equipment to the service server based on the second IP address after analyzing the service data packet.
  2. 2. The traffic data transmission method according to claim 1, wherein said traffic management side further comprises a terminal authentication server, said method further comprising, before transmitting said communication tunnel establishment request: transmitting a terminal authentication request carrying terminal identity information to the terminal authentication server based on the first IP address; and acquiring a terminal authentication passing message fed back by the terminal authentication server.
  3. 3. The service data transmission method of claim 2, wherein the terminal identity information includes at least one of: Terminal user name information, terminal login password, digital identity credentials, terminal serial number.
  4. 4. The traffic data transmission method according to claim 1, wherein before acquiring the traffic data transmitted by the first production device, the method further comprises: acquiring an IP acquisition request sent by the first production equipment, and sending an IP acquisition request packet to the tunnel server through the communication tunnel based on the first IP address, wherein the IP acquisition request packet comprises the second IP address; Acquiring a third IP address of the first production equipment fed back by the tunnel server, wherein the third IP address is distributed to the first production equipment by the DHCP server; the generating a service data packet including the second IP address and the service data includes: encapsulating the second IP address, the third IP address and the service data to generate the service data packet.
  5. 5. The service data transmission method according to any one of claims 1 to 4, wherein the method further comprises: Acquiring an equipment control data packet sent by the tunnel server through the communication tunnel, wherein the equipment control data packet comprises a fourth IP address and an equipment control instruction; analyzing the equipment control data packet to obtain a fourth IP address and an equipment control instruction in the equipment control data packet; and determining a second production device corresponding to the fourth IP address in the device control data packet, and sending the device control instruction to the second production device.
  6. 6. The service data transmission method is applied to a service management end and is characterized in that the service management end comprises a tunnel server, a DHCP server and a service server, and the method comprises the following steps: acquiring a communication tunnel establishment request sent by wireless terminal access equipment, wherein the communication tunnel establishment request is sent by the wireless terminal access equipment based on a first IP address distributed by a core network; Establishing a communication tunnel with the wireless terminal access equipment through the tunnel server, and distributing a second IP address to the wireless terminal access equipment through the DHCP server; And feeding back the second IP address to the wireless terminal access equipment through the communication tunnel, wherein the wireless terminal access equipment transmits a service data packet to the tunnel server through the first IP address after acquiring service data sent by the first production equipment, and the service data packet comprises the service data and the second IP address.
  7. 7. The traffic data transmission method according to claim 6, wherein the method further comprises: Acquiring an IP acquisition request packet sent by the wireless terminal access equipment based on the first IP address through the communication tunnel; analyzing the IP acquisition request packet through the tunnel server to acquire the second IP address, and sending an IP acquisition request to the DHCP server based on the second IP address; And acquiring a third IP address generated and fed back by the DHCP server through the tunnel server, and feeding back the third IP address to the wireless terminal access equipment through the communication tunnel.
  8. 8. The traffic data transmission method according to claim 6, wherein after the tunnel server acquires the traffic data packet transmitted by the wireless terminal access device, the method further comprises: Analyzing the service data packet through the tunnel server to acquire the second IP address and service data; And sending the service data to the service server based on the second IP address through the tunnel server.
  9. 9. The method for transmitting service data according to claim 6, wherein the service management end further comprises a terminal authentication server, and before the acquiring the communication tunnel establishment request sent by the wireless terminal access device, the method further comprises: Acquiring a terminal authentication request sent by the wireless terminal access equipment through the terminal authentication server, wherein the terminal authentication request carries terminal identity information; and verifying whether the terminal identity information passes authentication or not through the terminal authentication server, and feeding back a terminal authentication passing message to the wireless terminal access equipment after the authentication passes.
  10. 10. A method of traffic data transmission according to any of claims 6 to 9, wherein the method further comprises: Generating a device control instruction of a second production device through the service server, and inquiring a pre-stored mapping relation to determine a fourth IP address of the second production device, wherein the mapping relation comprises a corresponding relation between a production device hung down by the wireless terminal access device and an IP address distributed by the DHCP server for the hung production device; sending a fourth IP address of the second production equipment and the equipment control instruction to the tunnel server through the service server; Encapsulating a fourth IP address of the second production equipment and the equipment control instruction by the tunnel server to generate an equipment control data packet; and sending the device control data packet to the wireless terminal access device through the communication tunnel.
  11. 11. A service data transmission apparatus, the apparatus being applied to a wireless terminal access device, wherein a network card is provided in the wireless terminal access device, the apparatus comprising: The tunnel construction request module is used for sending a communication tunnel construction request to a service management end based on a first IP address pre-allocated by a core network through the network card, wherein the service management end comprises a tunnel server, a Dynamic Host Configuration Protocol (DHCP) server and a service server; the address acquisition module is used for acquiring a second IP address fed back by the tunnel server through the communication tunnel after the communication tunnel is established with the tunnel server, wherein the second IP address is distributed to the wireless terminal access equipment by the DHCP server; the data packet generation module is used for generating a service data packet comprising the second IP address and the service data under the condition that the service data sent by the first production equipment is acquired; and the data packet sending module is used for sending the service data packet to the tunnel server through the communication tunnel based on the first IP address, wherein the tunnel server sends the service data of the first production equipment to the service server based on the second IP address after analyzing the service data packet.
  12. 12. The traffic data transmission device according to claim 11, wherein the traffic management end further comprises a terminal authentication server, the device further comprising: the identity authentication request module is used for sending a terminal authentication request carrying terminal identity information to the terminal authentication server based on the first IP address; And the authentication result acquisition module is used for acquiring the terminal authentication passing message fed back by the terminal authentication server.
  13. 13. The traffic data transmission device according to claim 11, wherein the device further comprises: An address allocation request module, configured to obtain an IP obtaining request sent by the first production device, and send an IP obtaining request packet to the tunnel server through the communication tunnel based on the first IP address, where the IP obtaining request packet includes the second IP address; the address obtaining module is further configured to obtain a third IP address of the first production device fed back by the tunnel server, where the third IP address is allocated to the first production device by the DHCP server; The data packet generating module is specifically configured to: encapsulating the second IP address, the third IP address and the service data to generate the service data packet.
  14. 14. A service data transmission device according to any of claims 11-13, characterized in that the device further comprises: The data packet acquisition module is used for acquiring an equipment control data packet sent by the tunnel server through the communication tunnel, wherein the equipment control data packet comprises a fourth IP address and an equipment control instruction; the data packet analysis module is used for analyzing the equipment control data packet to obtain a fourth IP address and an equipment control instruction in the equipment control data packet; And the instruction sending module is used for determining a second production device corresponding to the fourth IP address in the device control data packet and sending the device control instruction to the second production device.
  15. 15. A service data transmission device, the device is applied to a wireless terminal access device, and is characterized in that a network card is arranged in the wireless terminal access device, and the device comprises a memory, a transceiver and a processor: the system comprises a memory for storing a computer program, a transceiver for receiving and transmitting data under the control of the processor, and a processor for reading the computer program in the memory and performing the following operations: sending a communication tunnel establishment request to a service management end based on a first IP address pre-allocated by a core network through the network card, wherein the service management end comprises a tunnel server, a Dynamic Host Configuration Protocol (DHCP) server and a service server; after a communication tunnel is established with the tunnel server, a second IP address fed back by the tunnel server through the communication tunnel is acquired, wherein the second IP address is distributed to the wireless terminal access equipment by the DHCP server; Under the condition that service data sent by first production equipment are obtained, a service data packet comprising the second IP address and the service data is generated, and the service data packet is sent to the tunnel server through the communication tunnel based on the first IP address, wherein the tunnel server sends the service data of the first production equipment to the service server based on the second IP address after analyzing the service data packet.
  16. 16. The traffic data transmission device according to claim 15, wherein the traffic management side further comprises a terminal authentication server, and wherein the processor is further configured to, prior to sending the communication tunnel establishment request: transmitting a terminal authentication request carrying terminal identity information to the terminal authentication server based on the first IP address; and acquiring a terminal authentication passing message fed back by the terminal authentication server.
  17. 17. The traffic data transmission device according to claim 15, wherein the processor, prior to acquiring the traffic data sent by the first production equipment, is further configured to: acquiring an IP acquisition request sent by the first production equipment, and sending an IP acquisition request packet to the tunnel server through the communication tunnel based on the first IP address, wherein the IP acquisition request packet comprises the second IP address; Acquiring a third IP address of the first production equipment fed back by the tunnel server, wherein the third IP address is distributed to the first production equipment by the DHCP server; the generating a service data packet including the second IP address and the service data includes: encapsulating the second IP address, the third IP address and the service data to generate the service data packet.
  18. 18. A traffic data transmission device according to any one of claims 15-17, wherein the processor is further configured to: Acquiring an equipment control data packet sent by the tunnel server through the communication tunnel, wherein the equipment control data packet comprises a fourth IP address and an equipment control instruction; analyzing the equipment control data packet to obtain a fourth IP address and an equipment control instruction in the equipment control data packet; and determining a second production device corresponding to the fourth IP address in the device control data packet, and sending the device control instruction to the second production device.
  19. 19. A processor-readable storage medium, wherein the processor-readable storage medium stores a program for causing the processor-readable storage medium to perform the service data transmission method of any one of claims 1 to 10.

Description

Service data transmission method and device and processor readable storage medium Technical Field The present disclosure relates to the field of communications technologies, and in particular, to a service data transmission method, a device, and a processor readable storage medium. Background At present, in the field of communication, with the rise of industrial internet, it is common to transmit production data of production equipment. In the related art, production data is transmitted by dividing slices by using a public communication network of an operator and deploying user plane functions (User Plane Function, UPF), that is, in a core network of the communication network, dividing a network slice for transmission of service data, a production device is connected with a wireless terminal access device, and the production device transmits the production data to a service server through the network slice via the wireless terminal access device and the UPF. However, the above transmission method of service data requires network slicing and UPF support, resulting in higher transmission cost of service data. Disclosure of Invention To solve the above technical problems or at least partially solve the above technical problems, the present disclosure provides a service data transmission method, apparatus, and processor readable storage medium. The embodiment of the disclosure provides a service data transmission method, which is applied to wireless terminal access equipment, wherein a network card is arranged in the wireless terminal access equipment, the method comprises the steps of sending a communication tunnel establishment request to a service management end through the network card based on a first IP address pre-distributed by a core network, wherein the service management end comprises a tunnel server, a Dynamic Host Configuration Protocol (DHCP) server and a service server, acquiring a second IP address fed back by the tunnel server through the communication tunnel after the communication tunnel is established with the tunnel server, wherein the second IP address is distributed by the DHCP server to the wireless terminal access equipment, generating a service data packet comprising the second IP address and the service data under the condition that the service data sent by first production equipment is acquired, and sending the service data packet to the tunnel server through the communication tunnel based on the first IP address, wherein the tunnel server sends the service data packet to the first production equipment based on the second IP address after analyzing the service data packet. The embodiment of the disclosure provides a service data transmission method, which is applied to a service management end, wherein the service management end comprises a tunnel server, a DHCP server and a service server, the method comprises the steps of obtaining a communication tunnel establishment request sent by wireless terminal access equipment, wherein the communication tunnel establishment request is sent by the wireless terminal access equipment based on a first IP address distributed by a core network, establishing a communication tunnel with the wireless terminal access equipment through the tunnel server, distributing a second IP address to the wireless terminal access equipment through the DHCP server, feeding back the second IP address to the wireless terminal access equipment through the communication tunnel, and transmitting a service data packet to the tunnel server through the first IP address after the wireless terminal access equipment obtains service data sent by the first production equipment, wherein the service data packet comprises the service data and the second IP address. The embodiment of the disclosure also provides a service data transmission device, which is applied to wireless terminal access equipment, wherein the wireless terminal access equipment is provided with a network card, the device comprises a tunnel construction request module, a data packet generation module and a data packet transmission module, wherein the tunnel construction request module is used for transmitting a communication tunnel establishment request to a service management end through the network card based on a first IP address which is pre-distributed by a core network, the service management end comprises a tunnel server, a Dynamic Host Configuration Protocol (DHCP) server and a service server, the address acquisition module is used for acquiring a second IP address which is fed back by the tunnel server through the communication tunnel after the communication tunnel is established with the tunnel server, the second IP address is distributed by the DHCP server to the wireless terminal access equipment, the data packet generation module is used for generating a service data packet comprising the second IP address and the service data under the condition that the service data transmitted by the first produ