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

Service transmission method, device and storage medium Download PDF

Info

Publication number
CN113891326A
CN113891326A CN202111203620.1A CN202111203620A CN113891326A CN 113891326 A CN113891326 A CN 113891326A CN 202111203620 A CN202111203620 A CN 202111203620A CN 113891326 A CN113891326 A CN 113891326A
Authority
CN
China
Prior art keywords
service
terminal
service transmission
request
area
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.)
Granted
Application number
CN202111203620.1A
Other languages
Chinese (zh)
Other versions
CN113891326B (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 service transmission device and a storage medium, relates to the technical field of communication, and aims to solve the problems that in the prior art, if the safety of the development environment of the current service of a terminal is low, the terminal is possibly attacked maliciously and the safety of the service transmission process cannot be ensured. The method comprises the following steps: the service transmission device may obtain the current location of the terminal after receiving the service transmission request from the terminal. Wherein the service transmission request comprises a service identifier. Subsequently, when the service transmission device determines that the current location is in the trusted area, a service transmission request may be sent to the 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 transmission is carried out when the current position of the terminal is in the credible area, thereby avoiding that the terminal is possibly attacked maliciously when the service transmission is carried out in the credible area and improving the safety of the service transmission of the terminal.

Description

Service transmission method, device and storage medium
Technical Field
The present application relates to the field of communications technologies, and in particular, to a service transmission method, an apparatus, and a storage medium.
Background
At present, when a terminal and a service platform perform service transmission, the service transmission is usually performed directly after a communication connection is established.
However, if the security of the development environment of the current service of the terminal is relatively low (for example, a wireless connection service is performed on a public network), the terminal may be attacked by malicious attacks, and the security of the service transmission process is reduced.
Disclosure of Invention
The application provides a service transmission method, a service transmission device and a storage medium, which are used for improving the safety of service transmission.
In order to achieve the purpose, the technical scheme is as follows:
in a first aspect, a service transmission method is provided, including: the service transmission apparatus may obtain 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 location is in the trusted area, a service transmission request may be sent to the service platform corresponding to the service identifier, so that service transmission is performed between the service platform and the terminal.
Optionally, the method for obtaining the current position of the terminal specifically includes: when the service transmission request comprises the current position, extracting the current position from the service transmission request; 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.
Optionally, the method further includes: 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 the service registration request is sent as a credible area.
Optionally, the method further includes: and if the current position is not in the trusted area, sending a response rejection message for rejecting the response service transmission request to the terminal.
In a second aspect, a service transmission apparatus is provided, including: the device comprises a receiving unit, an acquiring unit and a sending unit; a receiving unit, configured to receive a service transmission request from a 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; 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 area, so that service transmission is carried out between the service platform and the terminal.
Optionally, the obtaining unit is specifically configured to extract the current location from the service transmission request when the service transmission request includes the current location; 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.
Optionally, the receiving unit is further configured to receive a service registration request from the terminal; the service transmission device further includes: a processing unit; the processing unit is used for determining the first area as a credible 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 the service registration request is sent as a credible area.
Optionally, the sending unit is further configured to send, to the terminal, a response rejection message for rejecting the response to the service transmission request if the current location is not in the trusted area.
In a third aspect, a traffic transmitting apparatus is provided, which includes 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 apparatus is running, the processor executes the computer-executable instructions stored in the memory to cause the service transmission apparatus to execute 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 system on chip in the network device. The chip system is configured to support the network device to implement the functions related to the first aspect and any one of the possible implementations thereof, for example, to receive, determine, and offload data and/or information related to the service transmission method. The chip system includes a chip and may also include other discrete devices or circuit structures.
In a fourth aspect, a computer-readable storage medium is provided, which includes computer-executable instructions, when the computer-executable instructions are executed on a computer, the computer is caused to execute the service transmission method 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 service transmission apparatus, cause the service transmission apparatus to perform the service transmission method according to the first aspect.
It should be noted that all or part of the above computer instructions may be stored 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 this embodiment of the application.
For the descriptions of the second, third, fourth and fifth aspects in this application, reference may be made to the detailed description of the first aspect; in addition, for the beneficial effects of the second aspect, the third aspect, the fourth aspect and the fifth aspect, reference may be made to the beneficial effect analysis of the first aspect, and details are not repeated here.
In the embodiment of the present application, the names of the service transmission apparatuses do not limit the devices or the functional modules themselves, and in an actual implementation, the devices or the functional modules may appear by other names. Insofar as the functions of the respective devices or functional modules are similar to those of the present application, they fall within the scope of the claims of the present application and their equivalents.
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 of the above aspects, in the present application, after receiving a service transmission request (including a service identifier) from a terminal, a service transmission apparatus may obtain a current location of the terminal. Subsequently, when the service transmission device determines that the current location is in the trusted area, a service transmission request may be sent to the 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 transmission is carried out when the current position of the terminal is in the credible area, thereby avoiding that the terminal is possibly attacked maliciously when the service transmission is carried out in the credible area and improving the safety of the service transmission of the terminal.
Drawings
Fig. 1 is a schematic structural diagram of a service transmission system according to an embodiment of the present application;
fig. 2A is a schematic hardware structure diagram of a communication device according to an embodiment of the present disclosure;
fig. 2B is a schematic diagram of another hardware structure of a communication device according to an embodiment of the present disclosure;
fig. 3 is a schematic flowchart of a service transmission method according to an embodiment of the present application;
fig. 4 is a schematic flowchart of another service transmission method according to an embodiment of the present application;
fig. 5 is a schematic flowchart of another service transmission apparatus according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of a service transmission apparatus according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that in the embodiments of the present application, words such as "exemplary" or "for example" are used to indicate examples, illustrations or explanations. Any embodiment or design described herein as "exemplary" or "e.g.," is not necessarily to be construed as preferred or advantageous over other embodiments or designs. Rather, use of the word "exemplary" or "such as" is intended to present concepts related in a concrete fashion.
For the convenience of clearly describing the technical solutions of the embodiments of the present application, in the embodiments of the present application, the terms "first" and "second" are used to distinguish the same items or similar items with basically the same functions and actions, and those skilled in the art can understand that the terms "first" and "second" are not used to limit the quantity and execution order.
As described in the background art, if the security of the development environment of the current service of the terminal is low, the terminal may be attacked maliciously, and the operator cannot guarantee the security of the service transmission process.
In view of the foregoing problems, embodiments of the present application provide a service transmission method, where a service transmission device may obtain a current location of a terminal after receiving a service transmission request (including a service identifier) from the terminal. Subsequently, when the service transmission device determines that the current location is in the trusted area, a service transmission request may be sent to the 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 transmission is carried out when the current position of the terminal is in the credible area, thereby avoiding that the terminal is possibly attacked maliciously when the service transmission is carried out in the credible area and improving the safety 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: a terminal 101, a service transmission device 102 and a base station 103. The service transmission device 102 is in communication connection with the terminal 101 and the base station 103, respectively.
Alternatively, the service transmission apparatus 102 may be a function module inside the terminal 101, may also be a function module inside the base station 103, and may also be a server that is independent from the terminal 101 and the base station 103.
For convenience of understanding, as shown in fig. 1, the present application mainly describes, by taking as an example that 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 mode between the service transmission device 102 and the terminal 101 is the communication between the modules inside the terminal 101. In this case, the communication flow between the two is the same as "the communication flow between the service transmission apparatus 102 and the terminal 101 when they are independent from each other".
Accordingly, when the service transmission device 102 is a functional module inside the base station 103, the communication mode between the service transmission device 102 and the base station 103 is the communication between the modules inside the base station 103. In this case, the communication flow between the two is the same as "the communication flow between the service transmission apparatus 102 and the base station 103 when they are independent from each other".
In practical applications, when the service transmission apparatus 102 is separately provided from the terminal 101 and the base station 103, the base station 103 may be connected to a plurality of service transmission apparatuses; or a plurality of base stations may be connected to one service transmission apparatus. The traffic transmitting apparatus 102 may connect 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, terminal 101 in FIG. 1 may refer to a device that provides voice and/or data connectivity to a user, a handheld device having wireless connection capability, or other processing device connected to a wireless modem. A wireless terminal may communicate with one or more core networks via a Radio Access Network (RAN). The wireless terminals may be mobile terminals such as mobile phones (or "cellular" phones) and computers with mobile terminals, as well as portable, pocket, hand-held, computer-included, or vehicle-mounted mobile devices that exchange language and/or data with a wireless access network, such as cell phones, tablets, laptops, netbooks, Personal Digital Assistants (PDAs).
When the service transmission device 102 in fig. 1 is a server, the server may be one server in a server cluster (composed of a plurality of servers), may also be a chip in the server, may also be a system on chip in the server, and may also 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 this embodiment, the base station may be a base station (BTS) in a global system for mobile communication (GSM), Code Division Multiple Access (CDMA), a base station (node B) in a Wideband Code Division Multiple Access (WCDMA), a base station (eNB) in an 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 (PLMN), which is not limited in this embodiment.
The basic hardware structures of the terminal 101, the service transmission apparatus 102, and the base station 103 in the service transmission system 100 are similar and include elements included in the communication apparatus shown in fig. 2A or fig. 2B. The following describes the hardware configurations of the terminal 101, the service transmission apparatus 102, and the base station 103, taking the communication apparatus shown in fig. 2A and 2B as an example.
Fig. 2A is a schematic diagram of a hardware structure of a communication device according to an embodiment of the present disclosure. 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 apparatus, and may be a single processor or a collective term for a plurality of processing elements. For example, the processor 21 may be a Central Processing Unit (CPU), other general-purpose processors, or the like. Wherein a general purpose processor may be a microprocessor or any conventional processor or the like.
For one embodiment, processor 21 may include one or more CPUs, such as CPU 0 and CPU 1 shown in FIG. 2A.
The memory 22 may be, but is not limited to, a read-only memory (ROM) or other type of static storage device that may store static information and instructions, a Random Access Memory (RAM) or other type of dynamic storage device that may store information and instructions, an electrically erasable programmable read-only memory (EEPROM), a magnetic disk storage medium 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 via a bus 24 for storing instructions or program codes. The processor 21, when calling and executing the instructions or program codes stored in the memory 22, can implement the service transmission method provided by the following embodiments of the present invention.
In the embodiment of the present application, the terminal 101, the service transmission apparatus 102, and the base station 103 are different in the software program stored in the memory 22, and therefore the functions implemented by the terminal 101, the service transmission apparatus 102, and the base station 103 are different. The functions performed by the devices will be described in connection with the following flow charts.
In another possible implementation, the memory 22 may also be integrated with the processor 21.
The communication interface 23 is used for connecting the communication device with other devices through a communication network, which may be an ethernet, a radio access network, a Wireless Local Area Network (WLAN), or the like. The communication interface 23 may include a receiving unit for receiving data, and a transmitting unit for transmitting data.
The bus 24 may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, an extended ISA (enhanced industry standard architecture) bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown in FIG. 2A, but it is not intended that there be only one bus or one type of bus.
It is noted that the configuration shown in fig. 2A does not constitute a limitation of the communication apparatus, which may include more or less components than those shown in fig. 2A, or some components in combination, or a different arrangement of components, in addition to those shown in fig. 2A.
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 refer to the description of the processor 21 above. 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 may be an external interface (corresponding to the communication interface 23) of the communication device.
It is noted that the configuration shown in fig. 2A (or fig. 2B) does not constitute a limitation of the communication apparatus, which may include more or less components than those shown in fig. 2A (or fig. 2B), or combine some components, or a different arrangement of components, in addition to the components shown in fig. 2A (or fig. 2B).
Fig. 3 is a schematic flow chart of a service transmission method according to an embodiment of the present application. The embodiment of the present 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 includes: S301-S305.
S301, the service transmission device receives a service transmission request from the terminal.
Specifically, when service transmission is performed between the terminal and the service platform, a service transmission request may 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 comprises a service identifier. The service identifier is used for identifying the service platform.
Optionally, the service identifier may be information for identifying the service platform, such as an address, a name, or a number of the service platform.
The address of the service platform may be an Internet Protocol (IP) address, a port, or a Media Access Control (MAC) address of the service platform.
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, where 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 and acquires the current position of the terminal.
Specifically, after the service transmission device receives a service transmission request sent by the terminal, the service transmission device may obtain the current position of the terminal in order to determine whether the current position of the terminal for performing service transmission is in a trusted area.
Optionally, 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 current position of the terminal is not included in the service transmission request, the service transmission apparatus may send a position acquisition request to the terminal/location server, and receive the current position sent by the terminal/location server in response to the position acquisition request.
Optionally, the terminal/location server may determine the current location of the terminal through a positioning technology such as a Global Positioning System (GPS), a Cell-ID (Cell-ID) positioning method, an empirical model positioning, and a theoretical model calculation positioning.
Optionally, 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 apparatus receives a voice over Wi-Fi (VoWiFi) transmission request based on a wireless network communication technology (WiFi) from the terminal, and an IP address of a WiFi currently connected to the terminal carried in the service transmission request is "192.168.1.258". The service transmission apparatus determines '192.168.1.258' as the current location of the terminal.
For another example, 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. Therefore, the service transmission apparatus transmits a location acquisition request to the terminal. The terminal responds to the position acquisition request, determines that the current position is 'office building of the first school main school district in A city' through the GPS, and sends the position to the service transmission device. Therefore, the service transmission device determines that 'office building of the first school main school district in city a' is the current position of the terminal.
S303, the service transmission device judges whether the current position is in a credible 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 pre-stored trusted area where service transmission is allowed to be performed, where the service transmission is allowed to be performed, and determine whether the current position is in the trusted area.
If the current position is in the trusted area, the service transmission device executes S304; if the current location is not within the trusted area, the service transmission apparatus performs S305.
Optionally, the trusted zone 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 performed between the service platform and the terminal.
And if the service transmission device determines that the current position is in the credible area, the service transmission device sends a service transmission request to the service platform corresponding to the service identifier so as to transmit the service between the service platform and the terminal.
Illustratively, the preset service transmission device receives a VoWiFi service transmission request from the terminal, and the service transmission device determines that the IP address "192.168.1.258" carried in the service transmission request is the current location of the terminal. And if the trusted area corresponding to the VoWiFi service is preset to be all network coverage areas connected to 192.168.1.258, the service transmission device determines that the current position is in the trusted area. In this case, the traffic transmission apparatus transmits a traffic 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 reject response message for rejecting to respond to the service transmission request to the terminal.
Specifically, if the service transmission apparatus determines that the current location is not in the trusted area, the service transmission apparatus sends a response rejection message for rejecting a response to the service transmission request to the terminal.
Illustratively, the preset service transmission device receives a call service transmission request from the terminal, and the service transmission device determines "the first school district office building in the city a" as the current position of the terminal through the terminal. And if the credible area corresponding to the preset call service is 'second community in B city', the service transmission device determines that the current position is not in the credible area. In this case, the service transmission apparatus transmits a rejection response message for rejecting a response to the service transmission request to the terminal.
In a possible implementation manner, referring to fig. 3, as shown in fig. 4, in the above S302, the method for the service transmission device to obtain the current location of the terminal in response to the service transmission request specifically includes: S401-S402.
S401, when the service transmission request comprises the current position, the service transmission device 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 location, the service transmission device extracts the current location from the service transmission request.
Optionally, 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 VoWiFi service transmission request from a terminal, and the IP address of the WiFi currently connected to the terminal carried in the service transmission request is "192.168.1.258". The service transmission apparatus 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 a service transmission request sent by a terminal, if the service transmission request does not include the current position and the service transmission device cannot acquire the current position of the terminal through the received service transmission request, the service transmission device may send a position acquisition request to the terminal/location server and receive the current position sent by the terminal/location server in response to the position acquisition request.
Optionally, the terminal/positioning server may determine the current position of the terminal through positioning technologies such as a GPS, a Cell-ID positioning method, empirical model positioning, theoretical model calculation positioning, and the like.
Optionally, 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.
Illustratively, the preset service transmission device receives a call service transmission request from the terminal, and the service transmission request does not include the current position of the terminal. Therefore, the service transmission apparatus transmits a location acquisition request to the terminal. The terminal responds to the position acquisition request, determines that the current position is 'office building of the first school main school district in A city' through the GPS, and sends the position to the service transmission device. Therefore, the service transmission device determines that 'office building of the first school main school district in city a' is the current position of the terminal.
For another example, 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. Therefore, the service transmission apparatus transmits a position acquisition request to the positioning server. The location server determines the current location of the terminal as "192.168.1.213" through a Cell-ID location method in response to the location acquisition request, and transmits the location to the traffic transmitting device. Therefore, the traffic transmission apparatus determines "192.168.1.213" as the current location of the terminal.
In a possible implementation manner, referring to 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 a terminal.
Specifically, in order to enable the service transmission apparatus to pre-store the trusted region for performing service transmission corresponding to the service, the terminal needs to first send a service registration request to the service transmission apparatus.
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 information for identifying the service platform, such as an address, a name, or a number of the service platform.
The address of the service platform may be an IP address, a port, or an MAC address of the service platform.
Illustratively, the service identifier of the preset service a is the port 80 of the service platform a. The terminal sends a service registration request of the service a to the service transmission device, where the service registration request carries a service identifier "port 80" of the service a.
And 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 the first area filled by the user corresponding to the terminal, the service transmission device determines the first area as the trusted area corresponding to the service. Wherein the area may be a network coverage area or a geographical area.
Illustratively, the preset service transmission device receives a VoWiFi service registration request from a terminal, and the first area filled by a 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 the credible 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, 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.
Optionally, the terminal/positioning server may determine the area to which the current location of the terminal belongs by using positioning technologies such as a GPS, a Cell-ID positioning method, empirical model positioning, theoretical model calculation positioning, and the like.
Illustratively, 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. Therefore, the service transmission apparatus 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 'the first school district of middle school in A city' through a GPS, and sends the position to the service transmission device. Therefore, the service transmission device determines that the first school district of the city A is the credible area corresponding to the call service.
For another example, the preset service transmission device receives a cloud storage service registration request from the terminal, and the service registration request does not include the current location of the terminal. Therefore, the service transmission apparatus transmits a position acquisition request to the positioning server. The location server determines an area to which the current location of the terminal belongs as a network coverage area connected to '192.168.1.147' by a Cell-ID location method in response to the location acquisition request, and transmits the location to the traffic transmitting device. Therefore, the traffic transmission apparatus determines all network coverage areas connected to "192.168.1.147" as trusted areas of the cloud storage traffic.
In summary, the service transmission apparatus in the embodiment of the present application may obtain the current location of the terminal after receiving the service transmission request (including the service identifier) from the terminal. Subsequently, when the service transmission device determines that the current location is in the trusted area, a service transmission request may be sent to the 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 transmission is carried out when the current position of the terminal is in the credible area, thereby avoiding that the terminal is possibly attacked maliciously when the service transmission is carried out in the credible area and improving the safety 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, an operator can directly utilize the terminal to carry out the difference of the region where the current position of the service transmission is located, so that differentiated services are provided for the terminals in different regions, and the experience of a terminal user is further improved.
The scheme provided by the embodiment of the application is mainly introduced from the perspective of a method. To implement the above functions, it includes hardware structures and/or software modules for performing the respective functions. Those of skill in the art would readily appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as hardware or combinations of hardware and computer software. Whether a function is performed as hardware or computer software drives 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.
In the embodiment of the present application, the terminal may be divided into the functional modules according to the 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 module can be realized in a hardware mode, and can also be realized in a software functional module mode. Optionally, the division of the modules in the embodiment of the present application is schematic, and is only a logic function division, and there may be another division manner in actual implementation.
Fig. 6 is a schematic structural diagram of a service transmission apparatus according to an embodiment of the present application. The service transmission apparatus may be configured to perform the method for service transmission shown in fig. 3, fig. 4 or fig. 5. The traffic 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 conjunction with fig. 3, the receiving unit 601 is configured to perform S301.
An obtaining unit 602, configured to obtain a current location of the terminal in response to the service transmission request received by the receiving unit 601. For example, in conjunction with fig. 3, the obtaining unit 602 is configured to execute S302.
A sending unit 603, configured to send a service transmission request to the 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 conjunction with fig. 3, the transmitting unit 603 is configured to perform S303 and S304.
Optionally, the obtaining unit 602 is specifically configured to:
when the service transmission request comprises the current position, extracting the current position from the service transmission request; 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. For example, in conjunction with fig. 4, the obtaining unit 602 is configured 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 conjunction with fig. 5, the receiving unit 601 is configured to perform S501.
Optionally, the service transmission apparatus further includes: a processing unit 604;
the processing unit 604 is configured to determine the first area as a trusted area when the service registration request received by the receiving unit 601 includes the first area filled by the user corresponding to the terminal. 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 the service registration request is sent as a credible area. For example, in conjunction 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 response rejection message for rejecting the response service transmission request to the terminal. For example, in conjunction with fig. 3, the sending unit 603 is configured to execute S305.
An embodiment of the present application further provides a computer-readable storage medium, where the computer-readable storage medium includes computer-executable instructions, and when the computer-executable instructions are executed on a computer, the computer is enabled to execute the service transmission method provided in the foregoing embodiment.
The embodiment of the present application further provides a computer program, where the computer program may be directly loaded into the memory and contains a software code, and the computer program is loaded and executed by a computer, so as to implement the service transmission method provided by the foregoing embodiment.
Those skilled in the art will recognize that, in one or more of the examples described above, the functions described in this invention may be implemented in hardware, software, firmware, or any combination thereof. When implemented in software, the 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.
Through the above description of the embodiments, it is clear to those skilled in the art that, for convenience and simplicity of description, the foregoing division of the functional modules is merely used as an example, and in practical applications, the above function distribution may be completed by different functional modules according to needs, that is, the internal structure of the device may be divided into different functional modules to complete all or part of the above described functions.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the modules or units is only one logical function division, and there may be other division ways in actual implementation. For example, various elements or components may be combined or may be integrated into another device, or some features may be omitted, or not implemented. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form. Units described as separate parts may or may not be physically separate, and parts displayed as units may be one physical unit or a plurality of physical units, may be located in one place, or may be distributed to a plurality of different places. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit. The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a readable storage medium. Based on such understanding, the technical solutions of the embodiments of the present application may be essentially or partially contributed to by the prior art, or all or part of the technical solutions may be embodied in the form of a software product, where the software product is stored in a storage medium and includes several instructions to enable a device (which may be a single chip, a chip, or the like) or a processor (processor) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a U disk, a removable hard disk, a ROM, a RAM, a magnetic disk, or an optical disk.
The above description is only for the specific embodiment of the present invention, but the scope of the present invention is not limited thereto, and any changes or substitutions that can be easily conceived by those skilled in the art within the technical scope of the present invention are included in the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (10)

1. A method for service transmission, 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;
and if the current position is in a trusted area, sending the service transmission request to a service platform corresponding to the service identifier so as to enable service transmission to be carried out between the service platform and the terminal.
2. The service transmission method according to claim 1, wherein the obtaining the current location of the terminal specifically includes:
when the service transmission request comprises the current position, extracting the current position from the service transmission request;
when the service transmission request does not include 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 traffic transmission method according to claim 1, further comprising:
receiving a service registration request from the terminal;
when the service registration request comprises a first area filled by a user corresponding to the terminal, determining the first area as the 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 the service registration request is sent as the credible area.
4. The traffic transmission method according to any of claims 1 to 3, further comprising:
and if the current position is not in the trusted area, sending a response rejection message for rejecting to respond to the service transmission request to the terminal.
5. A traffic transmission apparatus, comprising: the device comprises a receiving unit, an acquiring unit and a sending unit;
the receiving unit is configured to receive the service transmission request from the terminal; the service transmission request comprises a service identifier;
the acquiring unit is configured to acquire the current location of the terminal in response to the service transmission request received by the receiving unit;
and 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.
6. The service transmission apparatus according to claim 5, wherein the obtaining unit is specifically configured to:
when the service transmission request comprises the current position, extracting the current position from the service transmission request;
when the service transmission request does not include 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.
7. The traffic transmission apparatus according to claim 5, wherein the receiving unit is further configured to:
receiving a service registration request from the terminal;
the service transmission apparatus further includes: a processing unit;
the processing unit is configured to determine, when the service registration request received by the receiving unit includes a first area filled by a user corresponding to the terminal, the first area as the 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 the service registration request is sent as the credible area.
8. Traffic transmission arrangement according to any of claims 5-7,
the sending unit is further configured to send, to the terminal, a response rejection message for rejecting a response to the service transmission request if the current location is not in the trusted area.
9. A traffic transmitting apparatus 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 executes the computer-executable instructions stored by the memory when the traffic transmitting apparatus is running to cause the traffic transmitting apparatus to perform the traffic transmitting method according to any of claims 1-4.
10. A computer-readable storage medium, comprising computer-executable instructions, which, when executed on a computer, cause the computer to perform the traffic transmission method according to any one of claims 1-4.
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 true CN113891326A (en) 2022-01-04
CN113891326B 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 (11)

* 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
US20190320297A1 (en) * 2016-12-30 2019-10-17 Huawei Technologies Co., Ltd. Service Data Transmission Method, Network Device, and Terminal Device
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
US20210168905A1 (en) * 2018-08-14 2021-06-03 Huawei Technologies Co., Ltd. Service Flow Transmission Method and Apparatus and Communications Method and Apparatus
US20210219106A1 (en) * 2018-09-30 2021-07-15 Huawei Technologies Co., Ltd. Multicast/broadcast service transmission method, core network element, and terminal device

Patent Citations (11)

* 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
US20190320297A1 (en) * 2016-12-30 2019-10-17 Huawei Technologies Co., Ltd. Service Data Transmission Method, Network Device, and Terminal Device
CN107770727A (en) * 2017-11-30 2018-03-06 中兴通讯股份有限公司 A kind of management method and system in MBMS region
US20210168905A1 (en) * 2018-08-14 2021-06-03 Huawei Technologies Co., Ltd. Service Flow Transmission Method and Apparatus and Communications Method and Apparatus
US20210219106A1 (en) * 2018-09-30 2021-07-15 Huawei Technologies Co., Ltd. Multicast/broadcast service transmission method, core network element, and terminal device
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", 中兴通讯技术, no. 05 *

Also Published As

Publication number Publication date
CN113891326B (en) 2023-06-06

Similar Documents

Publication Publication Date Title
US11032858B2 (en) Network access method, terminal, access network, and core network
WO2018058686A1 (en) Handover method, apparatus and system
CN115134892B (en) Access method and device based on heterogeneous network roaming
WO2022012549A1 (en) Positioning signal sending method and apparatus
CN111884836B (en) Service transmission method and device
CN111757315B (en) Service connection method and device
WO2012174722A1 (en) Method and apparatus for providing a virtual sim for mobile communications
CN111698751B (en) Method and device for determining URSP rule priority
CN111586716B (en) Network slice deployment method and device
CN111586797A (en) Communication method and access network equipment
US8938232B2 (en) Method and system for allowing a user of a mobile terminal to beneficiate services of a foreign mobile network as a regular subscriber thereof
US20220116805A1 (en) Measurement method and apparatus
CN113727334B (en) Terminal positioning method and device
CN111757316B (en) Service connection method and device
CN114158038A (en) Communication method, device and storage medium
CN113891326B (en) Service transmission method, device and storage medium
CN113965918B (en) Service processing method, device and storage medium
CN111565438B (en) Communication method and access network equipment
CN114401507A (en) Data transmission method, device and storage medium
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
CN114339942B (en) Route information updating method, communication device and storage medium
US20230125160A1 (en) Sidelink Positioning Architecture for Wireless Communications
CN110753358B (en) Configuration method and device
CN114900794B (en) Communication method, device, system and storage medium
WO2022007923A1 (en) Positioning calibration method and device

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