CN113891326B - Service transmission method, device and storage medium - Google Patents

Service transmission method, device and storage medium Download PDF

Info

Publication number
CN113891326B
CN113891326B CN202111203620.1A CN202111203620A CN113891326B CN 113891326 B CN113891326 B CN 113891326B CN 202111203620 A CN202111203620 A CN 202111203620A CN 113891326 B CN113891326 B CN 113891326B
Authority
CN
China
Prior art keywords
service
terminal
service transmission
request
current position
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202111203620.1A
Other languages
Chinese (zh)
Other versions
CN113891326A (en
Inventor
李延斌
马泽芳
马瑞涛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China United Network Communications Group Co Ltd
Original Assignee
China United Network Communications Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China United Network Communications Group Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN202111203620.1A priority Critical patent/CN113891326B/en
Publication of CN113891326A publication Critical patent/CN113891326A/en
Application granted granted Critical
Publication of CN113891326B publication Critical patent/CN113891326B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/60Context-dependent security
    • H04W12/63Location-dependent; Proximity-dependent
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The invention provides a service transmission method, a device and a storage medium, relates to the technical field of communication, and aims to solve the problem that in the prior art, if the security of the current service development environment of a terminal is low, the terminal is possibly subjected to malicious attack and the security of the service transmission process cannot be guaranteed. The method comprises the following steps: the service transmission device may acquire the current position of the terminal after receiving the service transmission request from the terminal. Wherein the service transmission request includes a service identification. Subsequently, when the service transmission device determines that the current position is in the trusted region, a service transmission request can be sent to a service platform corresponding to the service identifier, so that service transmission is performed between the service platform and the terminal. Therefore, the service transmission device can ensure that the service is transmitted again when the current position of the terminal is in the trusted area, thereby avoiding the terminal from being possibly attacked by malicious attacks when the terminal transmits the service in the untrusted area and improving the security of the service transmission of the terminal.

Description

Service transmission method, device and storage medium
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a service transmission method, a device, and a storage medium.
Background
At present, when a terminal and a service platform perform service transmission, the service transmission is generally performed directly after a communication connection is established.
However, if the security of the current service development environment of the terminal is low (for example, the wireless connection service is performed on the public network), the terminal may be subjected to malicious attack, and the security of the service transmission process is reduced.
Disclosure of Invention
The application provides a service transmission method, a device and a storage medium, which are used for improving the security of service transmission.
In order to achieve the above purpose, the present application adopts the following technical scheme:
in a first aspect, a service transmission method is provided, including: the service transmission device may acquire the current location of the terminal after receiving a service transmission request (including a service identifier) from the terminal. Subsequently, when the service transmission device determines that the current position is in the trusted region, a service transmission request can be sent to a service platform corresponding to the service identifier, so that service transmission is performed between the service platform and the terminal.
Optionally, the method for acquiring the current position of the terminal specifically includes: when the service transmission request includes the current position, extracting the current position from the service transmission request; when the service transmission request does not include the current position, a position acquisition request is sent to the terminal/positioning server, and the current position sent by the terminal/positioning server in response to the position acquisition request is received.
Optionally, the method further comprises: receiving a service registration request from a terminal; when the service registration request comprises a first area filled by a user corresponding to the terminal, determining the first area as a trusted area; and when the service registration request does not comprise the first area filled by the user, determining the area to which the terminal belongs when sending the service registration request as a trusted area.
Optionally, the method further comprises: and if the current position is not in the trusted area, sending a refusal response message for refusing to respond to the service transmission request to the terminal.
In a second aspect, there is provided a service transmission apparatus, including: a receiving unit, an acquiring unit and a transmitting unit; a receiving unit, configured to receive a service transmission request from a terminal; the service transmission request comprises a service identifier; the acquisition unit is used for responding to the service transmission request received by the receiving unit and acquiring the current position of the terminal; and the sending unit is used for sending a service transmission request to the service platform corresponding to the service identifier if the current position is in the trusted region so as to enable the service platform and the terminal to perform service transmission.
Optionally, the acquiring unit is specifically configured to extract the current location from the service transmission request when the service transmission request includes the current location; when the service transmission request does not include the current position, a position acquisition request is sent to the terminal/positioning server, and the current position sent by the terminal/positioning server in response to the position acquisition request is received.
Optionally, the receiving unit is further configured to receive a service registration request from the terminal; the service transmission device further comprises: a processing unit; the processing unit is used for determining the first area as a trusted area when the service registration request received by the receiving unit comprises the first area filled by the user corresponding to the terminal; and when the service registration request does not comprise the first area filled by the user, determining the area to which the terminal belongs when sending the service registration request as a trusted area.
Optionally, the sending unit is further configured to send a rejection response message for rejecting the response service transmission request to the terminal if the current location is not in the trusted area.
In a third aspect, a service transmission apparatus is provided, including a memory and a processor; the memory is used for storing computer execution instructions, and the processor is connected with the memory through a bus; when the service transmission device is operated, the processor executes the computer-executable instructions stored in the memory, so that the service transmission device executes the service transmission method according to the first aspect.
The service transmission device may be a network device or may be a part of a device in the network device, for example, a chip system in the network device. The system-on-chip is configured to support the network device to implement the functions involved in the first aspect and any one of its possible implementations, for example, to receive, determine, and offload data and/or information involved in the above-mentioned service transmission method. The chip system includes a chip, and may also include other discrete devices or circuit structures.
In a fourth aspect, there is provided a computer readable storage medium comprising computer executable instructions which, when run on a computer, cause the computer to perform the method of traffic transmission according to the first aspect.
In a fifth aspect, there is also provided a computer program product comprising computer instructions which, when run on a traffic transmission device, cause the traffic transmission device to perform the traffic transmission method according to the first aspect described above.
It should be noted that the above-mentioned computer instructions may be stored in whole or in part on the first computer readable storage medium. The first computer readable storage medium may be packaged together with the processor of the service transmission apparatus, or may be packaged separately from the processor of the service transmission apparatus, which is not limited in the embodiment of the present application.
The description of the second, third, fourth and fifth aspects of the present application may refer to the detailed description of the first aspect; the advantages of the second aspect, the third aspect, the fourth aspect and the fifth aspect may be referred to as analysis of the advantages of the first aspect, and will not be described here.
In the embodiment of the present application, the names of the above service transmission apparatuses do not limit the devices or functional modules, and in actual implementation, these devices or functional modules may appear under other names. Insofar as the function of each device or function module is similar to the present application, it is within the scope of the claims of the present application and the equivalents thereof.
These and other aspects of the present application will be more readily apparent from the following description.
The technical scheme provided by the application at least brings the following beneficial effects:
based on any one of the above aspects, in the present application, the service transmission device may acquire the current location of the terminal after receiving a service transmission request (including a service identifier) from the terminal. Subsequently, when the service transmission device determines that the current position is in the trusted region, a service transmission request can be sent to a service platform corresponding to the service identifier, so that service transmission is performed between the service platform and the terminal. Therefore, the service transmission device can ensure that the service is transmitted again when the current position of the terminal is in the trusted area, thereby avoiding the terminal from being possibly attacked by malicious attacks when the terminal transmits the service in the untrusted area and improving the security of the service transmission of the terminal.
Drawings
Fig. 1 is a schematic structural diagram of a service transmission system provided in an embodiment of the present application;
fig. 2A is a schematic hardware structure of a communication device according to an embodiment of the present application;
fig. 2B is a schematic diagram of another hardware structure of the communication device according to the embodiment of the present application;
fig. 3 is a schematic flow chart of a service transmission method provided in an embodiment of the present application;
fig. 4 is a flow chart of another service transmission method according to an embodiment of the present application;
fig. 5 is a schematic flow chart of another service transmission apparatus according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of a service transmission device according to an embodiment of the present application.
Detailed Description
The following description of the technical solutions in the embodiments of the present application will be made clearly and completely with reference to the drawings in the embodiments of the present application, and it is apparent that the described embodiments are only some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
It should be noted that, in the embodiments of the present application, words such as "exemplary" or "such as" are used to mean serving as an example, instance, or illustration. Any embodiment or design described herein as "exemplary" or "for example" should not be construed as preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary" or "such as" is intended to present related concepts in a concrete fashion.
In order to clearly describe the technical solutions of the embodiments of the present application, in the embodiments of the present application, the terms "first", "second", and the like are used to distinguish the same item or similar items having substantially the same function and effect, and those skilled in the art will understand that the terms "first", "second", and the like are not limited in number and execution order.
As described in the background art, if the security of the environment in which the current service of the terminal is developed is low, the terminal may be subjected to malicious attack, and the operator cannot guarantee the security of the service transmission process.
In view of the above problems, an embodiment of the present application provides a service transmission method, where after receiving a service transmission request (including a service identifier) from a terminal, a service transmission device may obtain a current location of the terminal. Subsequently, when the service transmission device determines that the current position is in the trusted region, a service transmission request can be sent to a service platform corresponding to the service identifier, so that service transmission is performed between the service platform and the terminal. Therefore, the service transmission device can ensure that the service is transmitted again when the current position of the terminal is in the trusted area, thereby avoiding the terminal from being possibly attacked by malicious attacks when the terminal transmits the service in the untrusted area and improving the security of the service transmission of the terminal.
The service transmission method is suitable for a service transmission system. Fig. 1 shows a structure of the service transmission system 100. As shown in fig. 1, the service transmission system 100 includes: terminal 101, traffic transmission device 102, and base station 103. Wherein the service transmission means 102 are in communication connection with the terminal 101 and the base station 103, respectively.
Alternatively, the service transmission device 102 may be a functional module inside the terminal 101, a functional module inside the base station 103, or a server that is independent from the terminal 101 and the base station 103.
For ease of understanding, as shown in fig. 1, the present application mainly describes an example in which the service transmission apparatus 102 is a server provided independently of the terminal 101 and the base station 103.
It is easy to understand that, when the service transmission device 102 is a functional module inside the terminal 101, the communication manner between the service transmission device 102 and the terminal 101 is communication between modules inside the terminal 101. In this case, the communication flow therebetween is the same as "in the case where the service transmission apparatus 102 and the terminal 101 are independent of each other".
Accordingly, when the service transmission apparatus 102 is a functional module inside the base station 103, the communication manner between the service transmission apparatus 102 and the base station 103 is communication between modules inside the base station 103. In this case, the communication flow therebetween is the same as "in the case where the service transmission apparatus 102 and the base station 103 are independent of each other".
In practical applications, when the service transmission device 102 is separately provided from the terminal 101 and the base station 103, the base station 103 may connect a plurality of service transmission devices; a plurality of base stations may be connected to one service transmission apparatus. The traffic transmission device 102 may be connected to a plurality of terminals. Fig. 1 illustrates an example in which one base station 103 is connected to one service transmission apparatus 102, and one service transmission apparatus 102 is connected to one terminal 101.
Alternatively, the terminal 101 in fig. 1 may be a device that provides voice and/or data connectivity to a user, a handheld device with wireless connectivity, or other processing device connected to a wireless modem. The wireless terminal may communicate with one or more core networks via a radio access network (radio access network, RAN). The wireless terminals may be mobile terminals such as mobile telephones (or "cellular" telephones) and computers with mobile terminals, as well as portable, pocket, hand-held, computer-built-in or car-mounted mobile devices which exchange voice and/or data with radio access networks, e.g. cell phones, tablet computers, notebook computers, netbooks, personal digital assistants (personal digital assistant, PDA).
When the service transmission device 102 in fig. 1 is a server, the server may be one server in a server cluster (including a plurality of servers), or may be a chip in the server, or may be a system on a chip in the server, or may be implemented by a Virtual Machine (VM) deployed on a physical machine, which is not limited in this embodiment of the present application.
The base station 103 in fig. 1 may be a base station or a base station controller for wireless communication, etc. In the embodiment of the present application, the base station may be a base station (base transceiver station, BTS) in a global system for mobile communications (global system for mobile communication, GSM), a base station (base transceiver station, BTS) in a code division multiple access (code division multiple access, CDMA), a base station (node B) in a wideband code division multiple access (wideband code division multiple access, WCDMA), a base station (eNB) in an internet of things (internet of things, ioT) or a narrowband internet of things (NB-IoT), a base station in a future 5G mobile communication network or a future evolved public land mobile network (public land mobile network, PLMN), which is not limited in any way by the embodiment of the present application.
The basic hardware structure of the terminal 101, the service transmission device 102, and the base station 103 in the service transmission system 100 is similar, and includes elements included in the communication device shown in fig. 2A or fig. 2B. The hardware configuration of the terminal 101, the service transmission apparatus 102, and the base station 103 will be described below taking the communication apparatus shown in fig. 2A and 2B as an example.
Fig. 2A is a schematic hardware structure of a communication device according to an embodiment of the present application. The communication device comprises a processor 21, a memory 22, a communication interface 23, a bus 24. The processor 21, the memory 22 and the communication interface 23 may be connected by a bus 24.
The processor 21 is a control center of the communication device, and may be one processor or a collective term of a plurality of processing elements. For example, the processor 21 may be a general-purpose central processing unit (central processing unit, CPU), or may be another general-purpose processor. Wherein the general purpose processor may be a microprocessor or any conventional processor or the like.
As one example, processor 21 may include one or more CPUs, such as CPU 0 and CPU 1 shown in fig. 2A.
Memory 22 may be, but is not limited to, a read-only memory (ROM) or other type of static storage device that can store static information and instructions, a random access memory (random access memory, RAM) or other type of dynamic storage device that can store information and instructions, or an electrically erasable programmable read-only memory (EEPROM), magnetic disk storage or other magnetic storage device, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer.
In a possible implementation, the memory 22 may exist separately from the processor 21, and the memory 22 may be connected to the processor 21 by a bus 24 for storing instructions or program code. The processor 21, when calling and executing instructions or program code stored in the memory 22, is capable of implementing the service transmission method provided in the following embodiments of the present invention.
In the embodiment of the present application, the software programs stored in the memory 22 are different for the terminal 101, the service transmission apparatus 102, and the base station 103, so the functions realized by the terminal 101, the service transmission apparatus 102, and the base station 103 are different. The functions performed with respect to the respective devices will be described in connection with the following flowcharts.
In another possible implementation, the memory 22 may also be integrated with the processor 21.
A communication interface 23 for connecting the communication device with other devices via a communication network, which may be an ethernet, a radio access network, a wireless local area network (wireless local area networks, WLAN) or the like. The communication interface 23 may include a receiving unit for receiving data, and a transmitting unit for transmitting data.
Bus 24 may be an industry standard architecture (industry standard architecture, ISA) bus, an external device interconnect (peripheral component interconnect, PCI) bus, or an extended industry standard architecture (extended industry standard architecture, EISA) bus, among others. The bus may be classified as an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown in FIG. 2A, but not only one bus or one type of bus.
It should be noted that the structure shown in fig. 2A does not constitute a limitation of the communication device, and the communication device may include more or less components than those shown in fig. 2A, or may combine some components, or may be arranged in different components.
Fig. 2B shows another hardware configuration of the communication apparatus in the embodiment of the present invention. As shown in fig. 2B, the communication device may include a processor 31 and a communication interface 32. The processor 31 is coupled to a communication interface 32.
The function of the processor 31 may be as described above with reference to the processor 21. The processor 31 also has a memory function and can function as the memory 22.
The communication interface 32 is used to provide data to the processor 31. The communication interface 32 may be an internal interface of the communication device or an external interface of the communication device (corresponding to the communication interface 23).
It should be noted that the structure shown in fig. 2A (or fig. 2B) does not constitute a limitation of the communication apparatus, and the communication apparatus may include more or less components than those shown in fig. 2A (or fig. 2B), or may combine some components, or may be arranged in different components.
Fig. 3 is a schematic flow chart of a service transmission method according to an embodiment of the present application. The embodiment of the application is applied to the service transmission system shown in fig. 1, and the service transmission method is applied to a service transmission device and a terminal and comprises the following steps: S301-S305.
S301, the service transmission device receives a service transmission request from the terminal.
Specifically, when the terminal and the service platform perform service transmission, a service transmission request can be sent to the service platform through the service transmission device and the base station. In this case, the service transmission apparatus receives a service transmission request from the terminal.
Wherein the service transmission request includes a service identification. The service identifier is used for identifying the service platform.
Optionally, the service identifier may be an address, a name, or a number of the service platform, which identifies information of the service platform.
The address of the service platform may be an internet protocol (internet protocol, IP) address, a port or a medium access control (media access control, MAC) address of the service platform, or the like.
Illustratively, the service identifier of the preset service a is the IP address "192.231.31.252" of the service platform a. The terminal sends a service transmission request of the service a to the service transmission device, wherein the service transmission request carries a service identifier "192.231.31.252" of the service a.
S302, the service transmission device responds to the service transmission request to acquire the current position of the terminal.
Specifically, after the service transmission device receives the service transmission request sent by the terminal, in order to determine whether the current position of the terminal for service transmission is in a trusted area, the service transmission device may acquire the current position of the terminal.
Alternatively, if the service transmission request includes the current location of the terminal, the service transmission device may extract the current location from the service transmission request.
If the service transmission request does not include the current position of the terminal, the service transmission device may send a position acquisition request to the terminal/positioning server, and receive the current position sent by the terminal/positioning server in response to the position acquisition request.
Alternatively, the terminal/positioning server may determine the current location of the terminal through a global positioning system (global positioning system, GPS), a Cell-ID positioning method, empirical model positioning, and theoretical model calculation positioning, among other positioning techniques.
Alternatively, the current location may be a network location to which the terminal belongs when performing service transmission, or a geographic location to which the terminal belongs when performing service transmission.
Further, the network location includes: cell ID, MAC address, IP address, etc.
Illustratively, the preset service transmission device receives a voice over Wi-Fi (VoWiFi) transmission request from the terminal based on a wireless network communication technology (wireless fidelity, wiFi), and an IP address of the WiFi to which the terminal is currently connected, which is carried in the service transmission request, is "192.168.1.258". The traffic transmission device determines "192.168.1.258" as the current location of the terminal.
Still further exemplary, the preset service transmission device receives a call service transmission request from the terminal, and the service transmission request does not include the current location of the terminal. Thus, the service transmission device transmits a location acquisition request to the terminal. The terminal responds to the position acquisition request, determines that the current position is 'first school district office building of a city A' through GPS, and sends the position to the service transmission device. Therefore, the service transmission device determines "the first university office building in a city of a" as the current position of the terminal.
S303, the service transmission device judges whether the current position is in a trusted area.
Specifically, after the current position of the terminal is obtained, the service transmission device may read, according to the obtained current position of the terminal, a trusted area where the service is allowed to be transmitted by the service transmission request sent by the terminal and stored in advance, and determine whether the current position is in the trusted area.
If the current position is in the trusted region, the service transmission device executes S304; if the current location is not within the trusted region, the service transmission apparatus executes S305.
Alternatively, the trusted region refers to: the first area filled by the user corresponding to the terminal carried in the service registration request, or the area to which the terminal belongs when sending the service registration request. Wherein the area may be a network coverage area or a geographical area.
S304, the service transmission device sends a service transmission request to the service platform corresponding to the service identifier, so that service transmission is carried out between the service platform and the terminal.
If the service transmission device determines that the current position is in the trusted area, the service transmission device sends a service transmission request to a service platform corresponding to the service identifier, so that service transmission is performed between the service platform and the terminal.
For example, the preset service transmission device receives a VoWiFi service transmission request from the terminal, and the service transmission device determines an IP address "192.168.1.258" carried in the service transmission request as a current location of the terminal. And presetting the trusted area corresponding to the VoWiFi service as all network coverage areas connected to '192.168.1.258', and determining that the current position is in the trusted area by the service transmission device. In this case, the service transmission apparatus transmits a service transmission request to the base station. The service transmission request is used for requesting to establish a service flow between the terminal and the core network, so that service transmission is performed between the service platform and the terminal.
S305, the service transmission device sends a refusal response message for refusing to respond to the service transmission request to the terminal.
Specifically, if the service transmission device determines that the current position is not in the trusted area, the service transmission device sends a rejection response message for rejecting the response service transmission request to the terminal.
The preset service transmission device receives a call service transmission request from the terminal, and the service transmission device determines "a first university office building in a city a" as a current location of the terminal through the terminal. And if the trusted area corresponding to the preset conversation service is the second community of the B city, the service transmission device determines that the current position is not in the trusted area. In this case, the service transmission apparatus transmits a refusal response message for refusing to respond to the service transmission request to the terminal.
In a possible implementation manner, as shown in fig. 4 in connection with fig. 3, in S302, the method for obtaining, by the service transmission device, the current location of the terminal in response to the service transmission request specifically includes: S401-S402.
S401, when the service transmission request includes the current position, the service transmission apparatus extracts the current position from the service transmission request.
Specifically, after receiving a service transmission request sent by a terminal, if the service transmission request includes a current position, the service transmission device extracts the current position from the service transmission request.
Alternatively, the current location may be a network location to which the terminal belongs when performing service transmission, or a geographic location to which the terminal belongs when performing service transmission.
Further, the network location includes: cell ID, MAC address, IP address, etc.
The preset service transmission device receives a VoWiFi service transmission request from the terminal, and an IP address of WiFi currently connected to the terminal carried in the service transmission request is 192.168.1.258. The traffic transmission device determines "192.168.1.258" as the current location of the terminal.
S402, when the service transmission request does not include the current position, the service transmission device sends a position acquisition request to the terminal/positioning server, and receives the current position sent by the terminal/positioning server in response to the position acquisition request.
Specifically, after receiving the service transmission request sent by the terminal, if the service transmission request does not include the current position, the service transmission device cannot obtain the current position of the terminal through the received service transmission request, and then the service transmission device may send a position obtaining request to the terminal/positioning server, and receive the current position sent by the terminal/positioning server in response to the position obtaining request.
Alternatively, the terminal/positioning server may determine the current location of the terminal through positioning techniques such as GPS, cell-ID positioning methods, empirical model positioning, and theoretical model calculation positioning.
Alternatively, the current location may be a network location to which the terminal belongs when performing service transmission, or a geographic location to which the terminal belongs when performing service transmission.
Further, the network location includes: cell ID, MAC, IP address, etc.
The preset service transmission device receives a call service transmission request from the terminal, and the service transmission request does not include the current location of the terminal. Thus, the service transmission device transmits a location acquisition request to the terminal. The terminal responds to the position acquisition request, determines that the current position is 'first school district office building of a city A' through GPS, and sends the position to the service transmission device. Therefore, the service transmission device determines "the first university office building in a city of a" as the current position of the terminal.
Still further exemplary, the preset service transmission device receives a cloud storage service transmission request from the terminal, and the service transmission request does not include the current location of the terminal. Thus, the service transmission device sends a location acquisition request to the location server. The location server determines the current location of the terminal as "192.168.1.213" by the Cell-ID location method in response to the location acquisition request, and transmits the location to the traffic transmission device. Thus, the service transmission apparatus determines "192.168.1.213" as the current location of the terminal.
In a possible implementation manner, in conjunction with fig. 3, as shown in fig. 5, the service transmission method further includes: S501-S503.
S501, the service transmission device receives a service registration request from the terminal.
Specifically, in order for the service transmission device to store in advance a trusted area for service transmission corresponding to a service, the terminal needs to first send a service registration request to the service transmission device.
Wherein the service registration request includes a service identification. The service identifier is used for identifying the service platform.
Optionally, the service identifier may be an address, a name, or a number of the service platform, which identifies information of the service platform.
The address of the service platform may be an IP address, a port, or a MAC address of the service platform.
Illustratively, the service identifier of service a is preset as port 80 of service platform a. The terminal sends a service registration request of the service A to the service transmission device, wherein the service registration request carries a service identifier 'port 80' of the service A.
S502, when the service registration request comprises a first area filled by a user corresponding to the terminal, the service transmission device determines the first area as a trusted area.
Specifically, after receiving the service registration request, if the service registration request includes a first area filled by a user corresponding to the terminal, the service transmission device determines the first area as a trusted area corresponding to the service. Wherein the area may be a network coverage area or a geographical area.
The preset service transmission device receives a VoWiFi service registration request from a terminal, and the first area filled by the user corresponding to the terminal carried in the service registration request is all network coverage areas connected to "192.168.1.258". The service transmission device determines that the first area is a trusted area corresponding to the VoWiFi service.
S503, when the service registration request does not include the first area filled by the user, the service transmission device determines the area to which the terminal belongs when sending the service registration request as a trusted area.
Specifically, after receiving the service registration request, if the service registration request does not include the first area filled by the user, the service transmission device may send a location acquisition request to the terminal/location server, and receive the current location sent by the terminal/location server in response to the location acquisition request, and determine the area to which the terminal belongs when sending the service registration request as the trusted area corresponding to the service. Wherein the area may be a network coverage area or a geographical area.
Alternatively, the terminal/positioning server may determine the area to which the current location of the terminal belongs through positioning techniques such as GPS, cell-ID positioning methods, empirical model positioning, and theoretical model calculation positioning.
The preset service transmission device receives a call service registration request from the terminal, and the service registration request does not include the current location of the terminal. Thus, the service transmission device transmits a location acquisition request to the terminal. The terminal responds to the position acquisition request, determines that the area to which the current position of the terminal belongs is 'first middle school primary area of A city' through GPS, and sends the position to the service transmission device. Therefore, the service transmission device determines the 'first middle school zone of A city' as the trusted area corresponding to the call service.
Still further exemplary, the preset service transmitting device receives a cloud storage service registration request from the terminal, and the service registration request does not include a current location of the terminal. Thus, the service transmission device sends a location acquisition request to the location server. The location server determines, in response to the location acquisition request, that the area to which the current location of the terminal belongs is a network coverage area connected to "192.168.1.147" by a Cell-ID location method, and transmits the location to the traffic transmission device. Thus, the traffic transmitting apparatus determines all network coverage areas connected to "192.168.1.147" as trusted areas for cloud storage traffic.
In summary, the service transmission device in the embodiment of the present application may acquire the current location of the terminal after receiving a service transmission request (including a service identifier) from the terminal. Subsequently, when the service transmission device determines that the current position is in the trusted region, a service transmission request can be sent to a service platform corresponding to the service identifier, so that service transmission is performed between the service platform and the terminal. Therefore, the service transmission device can ensure that the service is transmitted again when the current position of the terminal is in the trusted area, thereby avoiding the terminal from being possibly attacked by malicious attacks when the terminal transmits the service in the untrusted area and improving the security of the service transmission of the terminal.
In addition, because the service transmission device can position the current position of the terminal for service transmission, operators can directly utilize the difference of the areas where the current position of the terminal for service transmission is located to provide differentiated services for the terminals in different areas, and further the experience of terminal users is improved.
The foregoing description of the solution provided in the embodiments of the present application has been mainly presented in terms of a method. To achieve the above functions, it includes corresponding hardware structures and/or software modules that perform the respective functions. Those of skill in the art will readily appreciate that the elements and algorithm steps of the examples described in connection with the embodiments disclosed herein may be implemented as hardware or combinations of hardware and computer software. Whether a function is implemented as hardware or computer software driven hardware depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
The embodiment of the application may divide the functional modules of the terminal according to the above method example, for example, each functional module may be divided corresponding to each function, or two or more functions may be integrated into one processing module. The integrated modules may be implemented in hardware or in software functional modules. Optionally, the division of the modules in the embodiments of the present application is schematic, which is merely a logic function division, and other division manners may be actually implemented.
Fig. 6 is a schematic structural diagram of a service transmission device according to an embodiment of the present application. The service transmission apparatus may be used to perform the method of service transmission shown in fig. 3, 4 or 5. The service transmission apparatus shown in fig. 6 includes: a receiving unit 601, an acquiring unit 602, and a transmitting unit 603;
a receiving unit 601, configured to receive a service transmission request from a terminal; the service transmission request includes a service identification. For example, in connection with fig. 3, the receiving unit 601 is configured to perform S301.
An obtaining unit 602, configured to obtain the current location of the terminal in response to the service transmission request received by the receiving unit 601. For example, in connection with fig. 3, the acquisition unit 602 is configured to perform S302.
And the sending unit 603 is configured to send a service transmission request to a service platform corresponding to the service identifier if the current location is in the trusted area, so that service transmission is performed between the service platform and the terminal. For example, in connection with fig. 3, the transmission unit 603 is configured to perform S303 and S304.
Optionally, the acquiring unit 602 is specifically configured to:
when the service transmission request includes the current position, extracting the current position from the service transmission request; when the service transmission request does not include the current position, a position acquisition request is sent to the terminal/positioning server, and the current position sent by the terminal/positioning server in response to the position acquisition request is received. For example, in connection with fig. 4, the acquisition unit 602 is used to perform S401 and S402.
Optionally, the receiving unit 601 is further configured to:
a service registration request is received from a terminal. For example, in connection with fig. 5, the receiving unit 601 is configured to execute S501.
Optionally, the service transmission device further includes: a processing unit 604;
a processing unit 604, configured to determine, when the service registration request received by the receiving unit 601 includes a first area filled by a user corresponding to the terminal, the first area as a trusted area. For example, in connection with fig. 5, the processing unit 604 is configured to execute S502.
And when the service registration request does not comprise the first area filled by the user, determining the area to which the terminal belongs when sending the service registration request as a trusted area. For example, in connection with fig. 5, the processing unit 604 is configured to execute S503.
Optionally, the sending unit 603 is further configured to:
and if the current position is not in the trusted area, sending a refusal response message for refusing to respond to the service transmission request to the terminal. For example, in connection with fig. 3, the transmission unit 603 is configured to execute S305.
The embodiments of the present application also provide a computer-readable storage medium, where the computer-readable storage medium includes computer-executable instructions that, when executed on a computer, cause the computer to perform the service transmission method provided in the foregoing embodiments.
The embodiment of the application also provides a computer program which can be directly loaded into a memory and contains software codes, and the computer program can realize the service transmission method provided by the embodiment after being loaded and executed by a computer.
Those skilled in the art will appreciate that in one or more of the examples described above, the functions described in the present invention may be implemented in hardware, software, firmware, or any combination thereof. When implemented in software, these functions may be stored on or transmitted over as one or more instructions or code on a computer-readable medium. Computer-readable media includes both computer-readable storage media and communication media including any medium that facilitates transfer of a computer program from one place to another. A storage media may be any available media that can be accessed by a general purpose or special purpose computer.
From the foregoing description of the embodiments, it will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-described division of functional modules is illustrated, and in practical application, the above-described functional allocation may be implemented by different functional modules according to needs, i.e. the internal structure of the apparatus is divided into different functional modules to implement all or part of the functions described above.
In the several embodiments provided in this application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described embodiments of the apparatus are merely illustrative, and the division of modules or units, for example, is merely a logical function division, and other manners of division are possible when actually implemented. For example, multiple units or components may be combined or may be integrated into another device, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical or other form. The units described as separate parts may or may not be physically separate, and the parts shown as units may be one physical unit or a plurality of physical units, may be located in one place, or may be distributed in a plurality of different places. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in the embodiments of the present invention may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units. The integrated units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a readable storage medium. Based on such understanding, the technical solution of the embodiments of the present application may be essentially or a part contributing to the prior art or all or part of the technical solution may be embodied in the form of a software product stored in a storage medium, including several instructions for causing a device (may be a single-chip microcomputer, a chip or the like) or a processor (processor) to perform all or part of the steps of the method described in the embodiments of the present invention. And the aforementioned storage medium includes: a usb disk, a removable hard disk, a ROM, a RAM, a magnetic disk, or an optical disk, etc.
The foregoing is merely illustrative of the present invention, and the present invention is not limited thereto, and any changes or substitutions easily contemplated by those skilled in the art within the scope of the present invention should be included in the present invention. Therefore, the protection scope of the invention is subject to the protection scope of the claims.

Claims (8)

1. A method for transmitting traffic, comprising:
receiving a service transmission request from a terminal; the service transmission request comprises a service identifier;
responding to the service transmission request, and acquiring the current position of the terminal;
if the current position is in the trusted area, sending the service transmission request to a service platform corresponding to the service identifier so as to enable service transmission between the service platform and the terminal; when a service registration request from the terminal comprises a first area filled by a user corresponding to the terminal, the trusted area is the first area; and when the service registration request does not comprise the first area, the trusted area is the area to which the terminal belongs when sending the service registration request.
2. The method for transmitting services according to claim 1, wherein the obtaining the current location of the terminal specifically includes:
extracting the current position from the service transmission request when the service transmission request includes the current position;
and when the service transmission request does not comprise the current position, sending a position acquisition request to the terminal/positioning server, and receiving the current position sent by the terminal/positioning server in response to the position acquisition request.
3. The service transmission method according to claim 1 or 2, further comprising:
and if the current position is not in the trusted area, sending a refusal response message for refusing to respond to the service transmission request to the terminal.
4. A traffic transmission device, comprising: a receiving unit, an acquiring unit and a transmitting unit;
the receiving unit is used for receiving the service transmission request from the terminal; the service transmission request comprises a service identifier;
the acquiring unit is used for responding to the service transmission request received by the receiving unit and acquiring the current position of the terminal;
the sending unit is configured to send the service transmission request to a service platform corresponding to the service identifier if the current position acquired by the acquiring unit is in a trusted area, so that service transmission is performed between the service platform and the terminal; when a service registration request from the terminal comprises a first area filled by a user corresponding to the terminal, the trusted area is the first area; and when the service registration request does not comprise the first area, the trusted area is the area to which the terminal belongs when sending the service registration request.
5. The service transmission device according to claim 4, wherein the obtaining unit is specifically configured to:
extracting the current position from the service transmission request when the service transmission request includes the current position;
and when the service transmission request does not comprise the current position, sending a position acquisition request to the terminal/positioning server, and receiving the current position sent by the terminal/positioning server in response to the position acquisition request.
6. The traffic transmission device according to claim 4 or 5, wherein,
and the sending unit is further configured to send a rejection response message for rejecting to respond to the service transmission request to the terminal if the current location is not in the trusted area.
7. A service transmission device, comprising a memory and a processor; the memory is used for storing computer execution instructions, and the processor is connected with the memory through a bus; the processor executing the computer-executable instructions stored in the memory when the traffic transmission device is operating, to cause the traffic transmission device to perform the traffic transmission method according to any one of claims 1-3.
8. A computer readable storage medium comprising computer executable instructions which, when run on a computer, cause the computer to perform the traffic transmission method according to any of claims 1-3.
CN202111203620.1A 2021-10-15 2021-10-15 Service transmission method, device and storage medium Active CN113891326B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111203620.1A CN113891326B (en) 2021-10-15 2021-10-15 Service transmission method, device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111203620.1A CN113891326B (en) 2021-10-15 2021-10-15 Service transmission method, device and storage medium

Publications (2)

Publication Number Publication Date
CN113891326A CN113891326A (en) 2022-01-04
CN113891326B true CN113891326B (en) 2023-06-06

Family

ID=79003032

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111203620.1A Active CN113891326B (en) 2021-10-15 2021-10-15 Service transmission method, device and storage medium

Country Status (1)

Country Link
CN (1) CN113891326B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101262495A (en) * 2008-04-07 2008-09-10 华为技术有限公司 Location-based service implementation method, device and system
CN103905386A (en) * 2012-12-26 2014-07-02 中国电信股份有限公司 SIP terminal non-register access method, edge device and network
WO2017130033A1 (en) * 2016-01-26 2017-08-03 Ale International Service delivery through wireless access systems
CN107770727A (en) * 2017-11-30 2018-03-06 中兴通讯股份有限公司 A kind of management method and system in MBMS region
CN110337077A (en) * 2019-04-10 2019-10-15 中国联合网络通信集团有限公司 Determine the method and device of RCS terminal traffic message distributing policy
CN111404975A (en) * 2019-01-02 2020-07-10 中国移动通信集团终端有限公司 Message transmission method, device, equipment and computer storage medium
CN111405025A (en) * 2020-03-11 2020-07-10 广东中兴新支点技术有限公司 Data transmission method and device, transmission equipment and readable storage medium
CN111787542A (en) * 2020-05-22 2020-10-16 宇龙计算机通信科技(深圳)有限公司 Service data transmission method, device, storage medium and terminal equipment

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3557904A4 (en) * 2016-12-30 2019-12-11 Huawei Technologies Co., Ltd. Service data transmission method, network device, and terminal device
CN110830429B (en) * 2018-08-14 2023-08-25 华为技术有限公司 Service flow transmission method, communication method and device
CN110972078A (en) * 2018-09-30 2020-04-07 华为技术有限公司 Method for transmitting multicast/broadcast service, core network element and terminal equipment

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101262495A (en) * 2008-04-07 2008-09-10 华为技术有限公司 Location-based service implementation method, device and system
CN103905386A (en) * 2012-12-26 2014-07-02 中国电信股份有限公司 SIP terminal non-register access method, edge device and network
WO2017130033A1 (en) * 2016-01-26 2017-08-03 Ale International Service delivery through wireless access systems
CN107770727A (en) * 2017-11-30 2018-03-06 中兴通讯股份有限公司 A kind of management method and system in MBMS region
CN111404975A (en) * 2019-01-02 2020-07-10 中国移动通信集团终端有限公司 Message transmission method, device, equipment and computer storage medium
CN110337077A (en) * 2019-04-10 2019-10-15 中国联合网络通信集团有限公司 Determine the method and device of RCS terminal traffic message distributing policy
CN111405025A (en) * 2020-03-11 2020-07-10 广东中兴新支点技术有限公司 Data transmission method and device, transmission equipment and readable storage medium
CN111787542A (en) * 2020-05-22 2020-10-16 宇龙计算机通信科技(深圳)有限公司 Service data transmission method, device, storage medium and terminal equipment

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
一种基于IMS域的移动增值新业务:PoC;柳晓雯,张力军;中兴通讯技术(第05期);全文 *

Also Published As

Publication number Publication date
CN113891326A (en) 2022-01-04

Similar Documents

Publication Publication Date Title
EP3595366B1 (en) Network access method and terminal
CN108632808B (en) Core network control plane device selection method and device
EP4277302A2 (en) Efficient discovery of edge computing servers
CN102946586A (en) Access network information notification, access method and device based on position information
JP6554241B1 (en) Providing special radio provisions for user equipment with limited link budget at activation time
EP3979760A1 (en) Emergency communication in non-cellular coverage
CN108616805B (en) Emergency number configuration and acquisition method and device
CN115134892A (en) Access method and device based on heterogeneous network roaming
CN113207191A (en) Session establishment method, device and equipment based on network slice and storage medium
CN111757315B (en) Service connection method and device
IL268179A (en) Access method, and terminal
US20220116805A1 (en) Measurement method and apparatus
CN111757316B (en) Service connection method and device
CN113891326B (en) Service transmission method, device and storage medium
WO2022042598A1 (en) Communication method and apparatus
WO2022238226A1 (en) Method and ue for accessing slice-specific rach resources pool
CN114401507A (en) Data transmission method, device and storage medium
CN117354895A (en) Handling PLMN prioritization
EP3318038A1 (en) Ue identification in wlan
EP2595444B1 (en) Method and system for allowing a user of a mobile terminal to benefit from services of a foreign mobile network as a regular subscriber thereof
CN111565438A (en) Communication method and access network equipment
CN109121184B (en) Network searching method and related product
US20230125160A1 (en) Sidelink Positioning Architecture for Wireless Communications
WO2023069686A1 (en) Sidelink positioning architecture for wireless communications
CN115834513A (en) Remote access method, device and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant