CN113747362B - Method, apparatus, chip and computer readable storage medium for switching network services - Google Patents

Method, apparatus, chip and computer readable storage medium for switching network services Download PDF

Info

Publication number
CN113747362B
CN113747362B CN202111132057.3A CN202111132057A CN113747362B CN 113747362 B CN113747362 B CN 113747362B CN 202111132057 A CN202111132057 A CN 202111132057A CN 113747362 B CN113747362 B CN 113747362B
Authority
CN
China
Prior art keywords
network service
network
mobile communication
service
terminal equipment
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
CN202111132057.3A
Other languages
Chinese (zh)
Other versions
CN113747362A (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 CN202111132057.3A priority Critical patent/CN113747362B/en
Publication of CN113747362A publication Critical patent/CN113747362A/en
Application granted granted Critical
Publication of CN113747362B publication Critical patent/CN113747362B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/021Services related to particular areas, e.g. point of interest [POI] services, venue services or geofences
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/14Reselecting a network or an air interface
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/24Reselection being triggered by specific parameters
    • H04W36/32Reselection being triggered by specific parameters by location or mobility data, e.g. speed data
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The application provides a method, a device, a chip and a computer readable storage medium for switching network services. In the technical scheme provided by the application, if the current geographic position of the terminal equipment is contained in a certain stored service geographic range, determining the target network service with a mapping relation with the certain service geographic range through the stored mapping relation, and then switching the current network service to the target network service. In the technical scheme, the terminal equipment can directly determine whether to switch network services or not based on the geographic position by oneself, and a user is not required to manually switch network services, so that the process of switching network services by the terminal equipment is simplified, and the efficiency is improved.

Description

Method, apparatus, chip and computer readable storage medium for switching network services
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method, an apparatus, a chip, and a computer readable storage medium for switching network services.
Background
The terminal device typically has a need to access a plurality of network services, for example, the terminal device needs to access network services of an office when in the office and needs to access network services of a production area when in the production area.
Currently, if a terminal device is to access a network service of a certain area, a user needs to manually switch a data network name (data network name, DNN) to a DNN corresponding to the network service of the area on the terminal device, so that the terminal device can access the network service indicated by the DNN. Wherein the DNNs are in one-to-one correspondence with the network services, and different DNNs are in correspondence with different network services. For example, if the terminal device needs to access the network service of the office area, the user needs to switch the current DNN to the DNN corresponding to the network service of the office area on the terminal device, so as to switch the network service to the network service of the office area.
However, when the existing terminal equipment switches network services, manual operation is required, the process is tedious and the efficiency is low.
Disclosure of Invention
The embodiment of the application provides a method, a device, a chip and a computer readable storage medium for switching network services, which can enable terminal equipment to switch network services by itself, thereby simplifying the process of switching network services by the terminal equipment and improving the efficiency.
In a first aspect, the present application provides a method for switching network services, which is applied to a terminal device, where a first mapping relationship between each network service in at least one network service and a service geographic range is stored in the terminal device; the method comprises the following steps: acquiring current geographic position information of terminal equipment; determining a first network service with a mapping relation with a current geographic position as a target network service of terminal equipment according to a first mapping relation, wherein the current geographic position is a geographic position indicated by current geographic position information; and switching the network service of the terminal equipment into the first network service.
According to the method for switching network services, the terminal equipment determines whether the current geographic position is contained in a certain stored service geographic range or not, if so, a target network service with a mapping relation with the certain service geographic range is determined through the stored mapping relation, and then the current network service is switched to the network service corresponding to the certain service geographic range. It can be understood that in the method, the terminal device can directly determine whether to switch network services based on the geographic position by itself without manually switching network services by a user, so that the process of switching network services by the terminal device is simplified, and the efficiency is improved.
Illustratively, assume that the geographic range of services that network service 1 can serve is geographic range 1 and that the geographic range of services that network service 2 can serve is geographic range 2. At this time, if the terminal device moves from the geographic area 1 to the geographic area 2 and wants to use the network service 2 with the service geographic area 2, in the prior art, the user needs to manually switch the current network service to the network service 2 on the terminal device, and in the present application, after determining that the current geographic position is located in the geographic area 2, the terminal device can directly switch the current network service to the network service 2 without manual switching.
With reference to the first aspect, in one possible implementation manner, the terminal device further stores a second mapping relationship between each mobile communication network in at least one mobile communication network and a data network name DNN that the terminal device should use when accessing each network service through each mobile communication network; switching the network service of the terminal device to a first network service, comprising: acquiring a mobile communication network currently used by terminal equipment; determining a first DNN with a mapping relation with a currently used mobile communication network as a target DNN of the terminal equipment according to the second mapping relation; and switching the DNN of the terminal equipment to the first DNN.
In this implementation manner, the mobile communication network that can be used when the terminal device accesses the first network service and the second mapping relation between DNNs that should be used when the terminal device accesses the first network service in the case of using the mobile communication network are also stored in the terminal device, and at this time, after the terminal device obtains the currently used mobile communication network, the terminal device may determine, according to the second mapping relation, the first DNN that has the mapping relation with the mobile communication network, so that the terminal device may switch the current DNN to the first DNN, and may access the first network service.
With reference to the first aspect, in one possible implementation manner, the at least one mobile communication network includes at least one of the following mobile communication networks: third generation mobile communication network, fourth generation mobile communication network, and fifth generation mobile communication network.
In this implementation, the terminal device may access the network service through different mobile communication networks.
With reference to the first aspect, in one possible implementation manner, if the service geographic range corresponding to all network services in the at least one network service does not include the current geographic location, determining the second network service as the target network service of the terminal device, where the at least one network service does not include the second network service; and switching the network service of the terminal equipment to the second network service.
In this implementation, when the current geographic location of the terminal device is not within a geographic range that can be serviced by any one of the network services stored by the terminal device, the terminal device may switch to the second network service.
With reference to the first aspect, in one possible implementation manner, the geographic location information is latitude and longitude information.
In a second aspect, the present application provides an apparatus for switching network services, which is applied to a terminal device, where a first mapping relationship between each network service in at least one network service and a service geographic range is stored in the terminal device; the device comprises: the acquisition module is used for acquiring the current geographic position information of the terminal equipment; the processing module is used for determining the first network service with the mapping relation with the current geographic position as the target network service of the terminal equipment according to the first mapping relation and switching the network service of the terminal equipment into the first network service, wherein the current geographic position is the geographic position indicated by the current geographic position information.
With reference to the second aspect, in one possible implementation manner, a second mapping relationship between each mobile communication network in at least one mobile communication network and a data network name DNN that should be used by the terminal device to access each network service through each mobile communication network is also stored in the terminal device; the acquisition module is further configured to: acquiring a mobile communication network currently used by terminal equipment; the processing module is also used for: determining a first DNN with a mapping relation with a currently used mobile communication network as a target DNN of the terminal equipment according to the second mapping relation; and switching the DNN of the terminal equipment to the first DNN.
With reference to the second aspect, in one possible implementation manner, the at least one mobile communication network includes at least one of the following mobile communication networks: third generation mobile communication network, fourth generation mobile communication network, and fifth generation mobile communication network.
With reference to the second aspect, in one possible implementation manner, the processing module is further configured to: if the service geographic range corresponding to all network services in the at least one network service does not contain the current geographic position, determining a second network service as a target network service of the terminal equipment, wherein the at least one network service does not contain the second network service; and switching the network service of the terminal equipment to the second network service.
With reference to the second aspect, in a possible implementation manner, the geographic location information is latitude and longitude information.
In a third aspect, the present application provides an apparatus for switching network services, including: memory, processor, and transceiver; the memory is used for storing program instructions; the processor is configured to invoke program instructions in the memory to perform the method as described in the first aspect and any of the possible implementations thereof.
In a fourth aspect, the present application provides a terminal device, including: a processor coupled to a memory for storing a computer program which, when invoked by the processor, causes the terminal device to perform the method as described in any one of the possible implementations of the first aspect.
In a fifth aspect, the present application provides a chip comprising at least one processor and a communication interface, the communication interface and the at least one processor being interconnected by wires, the at least one processor being adapted to run a computer program or instructions to perform a method as described in the first aspect and any one of the possible implementations.
In a sixth aspect, the present application provides a computer readable storage medium storing program code for computer execution, the program code comprising instructions for performing the method as described in the first aspect and any one of the possible implementations thereof.
In a seventh aspect, the present application provides a computer program product comprising instructions which, when run on a computer, cause the computer to perform the method according to the first aspect or any one of the possible implementations thereof.
Drawings
Fig. 1 is a schematic view of an application scenario provided in an embodiment of the present application;
FIG. 2 is a flow chart of a method for switching network services according to one embodiment of the present application;
fig. 3 is a flowchart of a method for switching network services according to another embodiment of the present application;
fig. 4 is a schematic structural diagram of an apparatus for switching network services according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of an apparatus for switching network services according to another embodiment of the present application.
Detailed Description
Terminal devices typically have a need to access multiple network services. Fig. 1 is a schematic view of an application scenario provided in an embodiment of the present application. As shown in fig. 1, when the terminal device 110 is in an area 1, for example, the area 1 is an office area, the terminal device needs to access the network service 1 of the area 1. When the terminal device is in an area 2, for example the area 2 is a production area, the terminal device needs to access the network service 2 of the production area. When the terminal device is in the area n, the terminal device needs to access the network service n of the area n, and so on.
The network service refers to the adoption of the internet universal standard, so that a user can access data on a network (Web) through terminal equipment at different places, and generally, the data provided by different network services can meet different requirements of the user.
By way of example, the terminal device 120 may be a device that provides voice and/or data connectivity to a user, e.g., a handheld device with wireless connectivity, an in-vehicle device, etc. The terminal device may also be referred to as a User Equipment (UE), an access terminal (access terminal), a user unit (user unit), a subscriber station (user station), a mobile station (mobile), a remote station (remote station), a remote terminal (remote terminal), a mobile device (mobile device), a user terminal (user terminal), a wireless communication device (wireless telecom equipment), a user agent (user agent), a user equipment (user equipment), or a user equipment. The terminal device may be a Station (STA) in a wireless local area network (wireless local Area networks, WLAN), may be a cellular telephone, a cordless telephone, a session initiation protocol (session initiation protocol, SIP) phone, a wireless local loop (wireless local loop, WLL) station, a personal digital processing (personal digital assistant, PDA) device, a handheld device with wireless communication capabilities, a computing device or other processing device connected to a wireless modem, a vehicle-mounted device, a wearable device, a terminal in a next generation communication system (e.g., a fifth generation (5G) communication network) or a terminal device in a future evolution public land mobile network (public land mobile network, PLMN) network, etc. Wherein 5G may also be referred to as a New Radio (NR). In a possible application scenario, the terminal device may also be a terminal device that is often operated on the ground, for example a vehicle-mounted device. In this application, for convenience of description, a chip disposed in the above device, or a chip may also be referred to as a terminal device.
It will be appreciated that, for the terminal device 120, the network service may be accessed through a 2 nd generation mobile communication technology (the 2th generation mobile communication technology,2G) network, a 3 rd generation mobile communication technology (the 3th generation mobile communication technology,3G) network, a 4th generation mobile communication technology (the 4th generation mobile communication technology,4G) network, a 5th generation mobile communication technology (the 5th generation mobile communication technology,5G) network, or a higher standard mobile communication technology (e.g. a 6 th generation mobile communication technology) network proposed in the future, which is not limited in this embodiment of the present application.
It is described herein that the embodiment of the present application does not limit the spectrum resources used by the terminal device. For example, terminal device 120 may use licensed spectrum, or may use unlicensed spectrum, or may use both licensed and unlicensed spectrum.
For the application scenario shown in fig. 1, each network service has a corresponding data network name (data network name, DNN), which can be understood as a unique identifier that can distinguish between different network services, i.e. one network service corresponds to a unique DNN and a different DNN corresponds to a different network service.
Currently, if a terminal device is to access a network service of a certain area, a user needs to manually switch a data network name to a DNN corresponding to the network service of the area on the terminal device, so that the terminal device can access the network service indicated by the DNN.
Still taking fig. 1 as an example, assume that DNN corresponding to network service 1 is DNN1 and DNN corresponding to network service 2 is DNN2, at this time, if terminal device 110 is in area 1 and needs to access network service 1 of area 1, then the user needs to manually switch the current DNN of the terminal device to DNN1, so that terminal device 110 switches the current network service to network service 1 indicated by DNN1, and if terminal device 110 is in area 2 and needs to access network service 2 of area 2, then the user needs to manually switch the current DNN of the terminal device to DNN2, so that terminal device 110 can access network service 2 indicated by DNN 2.
However, when the network service is switched by adopting the method, the switching process is complicated and the efficiency is low because of manual operation. In addition, it can be understood that if the data that the terminal device needs to send is sent in the network service after the handover, at this time, if the user forgets to switch the service network, the data will be unsafe.
In view of this, the present application provides a method of switching network services. In the method, a first mapping relation between a geographical range which can be served by each network service and the network service is stored in terminal equipment in advance, and then the first network service with the mapping relation with the current geographical position is determined as the target network service of the terminal equipment based on the first mapping relation. In this way, the terminal device switches network services by judging the current geographic location. Therefore, the manual switching of network services by a user can be avoided, the complexity of the process of switching network services is reduced, and the switching efficiency is improved.
Further, since the terminal device may access to the network service through different mobile communication networks, in the present application, a second mapping relationship between a mobile communication network that may be used when the terminal device accesses to the first network service and a DNN that should be used when the terminal device accesses to the first network service in the case of using the mobile communication network is also stored in the terminal device, and at this time, after the terminal device obtains the currently used mobile communication network, the terminal device may determine, according to the second mapping relationship, a first DNN that has a mapping relationship with the mobile communication network, so that the terminal device may switch the current DNN to the first DNN, thereby may access the first network service.
Fig. 2 is a flowchart of a method for switching network services according to an embodiment of the present application. The method may be performed by the terminal device shown in fig. 1. In this embodiment, a first mapping relationship between each network service in at least one network service and a service geographic range is stored in the terminal device.
It will be appreciated that if the terminal device needs to access data or information in a network service, the terminal device also needs to access the network service. For example, if the terminal device needs to access certain data or information in the office area, the terminal device must access the network service of the office area but cannot access the network service of the production area, and if the terminal device needs to access certain data or information in the production area, the terminal device must access the network service of the production area but cannot access the network service of the office area.
It will also be appreciated that there are typically a plurality of network services that can be accessed by the terminal device, and that the geographical range over which each network service can be serviced is limited. For example, the terminal device may access network services of an office and network services of a production area, and the network serviceable range of the office may be limited to the office and the network serviceable range of the production area may be limited to the production area. In this embodiment, how the serviceable range of each network service is represented is not limited, and may be represented by longitude and latitude, for example.
Therefore, in this embodiment, a first mapping relationship between each network service and a service geographical range of at least one network service is stored in the terminal device.
Illustratively, the terminal device stores 4 network services, which are respectively called network service 1, network service 2, network service 3 and network service 4, wherein the geographic scope of network service 1 is, for example, geographic scope 1, the geographic scope of network service 2 is, for example, geographic scope 2, the geographic scope of network service 3 is, for example, geographic scope 3, and the geographic scope of network service 4 is, for example, geographic scope 4. Then, the first mapping relationship may be represented by the mapping relationship table of table 1.
Table 1 mapping table
Network service 1 Geographic scope 1
Network service 2 Geographic scope 2
Network service 3 Geographic scope 3
Network service 4 Geographic scope 4
Next, a method for switching network services according to an embodiment of the present application will be described after storing a first mapping relationship between each network service in at least one network service and a service geographic range in a terminal device. As shown in fig. 2, the method of the present embodiment may include S201, S202, and S203.
S201, current geographic position information of the terminal equipment is obtained.
Wherein the geographical location information may be used to represent the geographical location where the terminal device is located.
In one implementation, the terminal device may acquire the geographic location where the current terminal device is located through a geographic location acquisition module, for example, the geographic location acquisition module may be a global positioning system (global positioning system, GPS) or beidou. For a specific implementation of how to acquire the geographic location using GPS or beidou, reference may be made to descriptions in the related art, and details are not repeated here.
S202, determining a first network service with a mapping relation with a current geographic position as a target network service of the terminal equipment according to the first mapping relation, wherein the current geographic position is the geographic position indicated by the current geographic position information.
In this embodiment, since the first mapping relationship between each network service in at least one network service and the service geographic range is already stored in the terminal device, when the terminal device obtains the current geographic location information, it can determine which service geographic range the geographic location indicated by the geographic location information is included in, further, when determining the geographic range including the current geographic location, it can determine the network service (i.e., the first network service) corresponding to the service geographic range based on the first mapping relationship, and then use the first network service as the target network service.
For example, taking table 1 as an example, it is assumed that the terminal device obtains current geographic location information through GPS, and the geographic location indicated by the geographic location information is located in geographic range 2, at this time, the terminal device may determine, according to the first mapping relationship, that network service 2 corresponds to geographic range 2, and at this time, the terminal device may use network service 2 as the target network service.
S203, switching the network service of the terminal equipment to the first network service.
In this embodiment, after the terminal device determines that the first network service is the target network service, the current network service may be switched to the first network service.
For example, assuming that a mapping relationship between a network service of an office area and a geographical range that can be serviced by the network service of the office area is stored in the terminal device, at this time, if it has been determined through S201 and S202 that the current geographical location of the terminal device is located in the geographical range that can be serviced by the network service of the office area, the terminal device may switch the current network service to be the network service of the office area, thereby accessing data or information within the network service of the office area.
According to the method for switching network services, the terminal equipment determines whether the current geographic position is contained in a certain stored service geographic range or not, if so, a target network service with a mapping relation with the certain service geographic range is determined through the stored mapping relation, and then the current network service is switched to the network service corresponding to the certain service geographic range. It can be understood that in the method, the terminal device can directly determine whether to switch network services based on the geographic position by itself without manually switching network services by a user, so that the process of switching network services by the terminal device is simplified, and the efficiency is improved.
Illustratively, assume that the geographic range of services that network service 1 can serve is geographic range 1 and that the geographic range of services that network service 2 can serve is geographic range 2. At this time, if the terminal device moves from the geographic area 1 to the geographic area 2 and wants to use the network service 2 with the service geographic area 2, in the prior art, the user needs to manually switch the current network service to the network service 2 on the terminal device, and in the present application, after determining that the current geographic position is located in the geographic area 2, the terminal device can directly switch the current network service to the network service 2 without manual switching.
As an optional embodiment, the terminal device further stores a second mapping relationship between each mobile communication network in at least one mobile communication network and a data network name DNN that should be used by the terminal device to access each network service through each mobile communication network; switching the network service of the terminal device to a first network service, comprising: acquiring a mobile communication network currently used by terminal equipment; determining a first DNN with a mapping relation with a currently used mobile communication network as a target DNN of the terminal equipment according to the second mapping relation; and switching the DNN of the terminal equipment to the first DNN.
The mobile communication network may be a 2G network, a 3G network, a 4G network, a 5G network, or a higher standard (e.g. 6 th generation mobile communication technology) network proposed in the future, which is not limited in the embodiments of the present application.
Here, the 2G network, the 3G network, the 4G network, and the 5G network are different concepts from the network service. The 2G network, the 3G network, and the 4G network, the 5G network may be considered as an access manner used by the terminal device, and the network service is a target network service that the terminal device needs to access. For example, the network service is a network service of an office area, and the terminal device may be accessed into the office area network service through a 3G network, a 4G network, or a 5G network.
The DNN may be understood as a unique identifier capable of distinguishing different network services, one network service corresponding to a unique DNN, and different DNNs corresponding to different network services. For example, the network services of the office area are not identical to the DNNs corresponding to the network services of the production area. In this embodiment, the DNN may be considered as an entry for the terminal device to access the network service, i.e. the network service may be switched by switching the DNN.
Further, for the same network service, the terminal device may access through different mobile communication networks, and at this time, some network parameters or configuration parameters that may be required for the terminal device access mode are different. Therefore, in this embodiment, when the terminal device can use multiple mobile communication networks to access to the network service, a corresponding DNN is further set for each mobile communication network in the multiple mobile communication networks, that is, a second mapping relationship between a mobile communication network that can be used when the terminal device accesses a certain network service and a DNN that should be used when the terminal device accesses the certain network service in the case of using the mobile communication network is stored, so that after determining the access mode used, the terminal device can determine the DNN that needs to be used for switching the network service.
Illustratively, the network services include network service 1 and network service 2, and the mobile communication networks that can be used by the terminal device are 3G/4G, and 5G, for example. It is assumed that the information stored in the terminal device is: network service 1 and geographic area 1 that network service 1 can serve, and DNN1.1 is used when terminal equipment uses 5G access network service 1, and DNN1.2 is used when terminal equipment uses 3G/4G access network service 1; network service 2 and the geographical area 2 that network service 2 can serve, and DNN2.1 is used when the terminal device uses 5G access network service 2, and DNN2.2 is used when the terminal device uses 3G/4G access network service 1.
At this time, if the terminal device obtains the current location through the geographic location obtaining module, it is determined that the geographic location is located in the geographic range 2, and the mobile communication network currently used by the terminal device is 4G, then the terminal device may switch the current DNN to DNN2.2, so as to switch the current network service to network service 2.
As an alternative embodiment, the method further comprises: if the service geographic range corresponding to all network services in the at least one network service does not contain the current geographic position, determining a second network service as a target network service of the terminal equipment, wherein the at least one network service does not contain the second network service; and switching the network service of the terminal equipment to the second network service.
Fig. 3 is an exemplary method for switching network services according to another embodiment of the present application. As shown in fig. 3, the method of the embodiment of the present application includes S301, S302, S303, and S304. The method may be performed by the terminal device shown in fig. 1. In this embodiment, taking the storage of at least one network service in the terminal device as an example of storing N network services, that is, storing N network services in the terminal device and the first mapping relationship between N service geographic ranges corresponding to the N network services.
S301, current geographic position information of the terminal equipment is obtained.
The detailed description of this step may refer to the description in S201 in the embodiment shown in fig. 2, and will not be repeated here.
S302, judging whether the current geographic position is contained in any one geographic range of N service geographic ranges stored in the terminal equipment, wherein the current geographic position is indicated by current geographic position information; if so, S303 is executed, and if not, S304 is executed.
For example, the terminal device stores 5 network services and 5 service geographic ranges corresponding to the 5 network services, and when the terminal device acquires the current geographic position, it is determined whether the current geographic position is included in any one of the 5 service geographic ranges.
S303, determining the first network service with the mapping relation with the current geographic position as the target network service of the terminal equipment according to the first mapping relation, and switching the network service of the terminal equipment into the first network service.
The detailed description and implementation process of this step may refer to descriptions in S202 and S203 in the embodiment shown in fig. 2, and will not be repeated here.
S304, determining the second network service as the target network service of the terminal equipment, and switching the network service of the terminal equipment to the second network service.
In this embodiment, if all the network services correspond to a service geographic range, that is, the N service geographic ranges do not include the current geographic position, it is indicated that the terminal device is not currently located in the geographic range that any one of the N network services can serve. In this embodiment, when the terminal device is not within the geographical range where any one of the N network services is available, a second network service is determined as the target network service of the terminal device, the second network service being different from any one of the N network services, and then the network service of the terminal device is switched to the second network service.
Alternatively, the terminal device may also access the second network service via a different mobile communication network. In this case, the mapping relationship between each of the at least one mobile communication network and the DNN to be used by the terminal device for accessing the second network service through each mobile communication network may also be stored in advance in the terminal device. The implementation manner may be similar to that in the above embodiment, the description of the second mapping relationship between each mobile communication network in at least one mobile communication network and the data network name DNN that should be used by the terminal device to access each network service through each mobile communication network is also stored in the terminal device, which is not described herein.
Alternatively, the geographic location information in the present application may be latitude and longitude information.
Fig. 4 is a schematic diagram of an apparatus for switching network services according to an embodiment of the present application. The method is applied to terminal equipment, and a first mapping relation between each network service and a service geographic range in at least one network service is stored in the terminal equipment; the apparatus 400 includes: an obtaining module 401, configured to obtain current geographical location information of a terminal device; the processing module 402 determines, according to the first mapping relationship, a first network service having a mapping relationship with a current geographic location as a target network service of the terminal device, and is configured to switch the network service of the terminal device to the first network service, where the current geographic location is a geographic location indicated by the current geographic location information.
In a possible implementation manner, the terminal device further stores a second mapping relationship between each mobile communication network in at least one mobile communication network and a data network name DNN that the terminal device should use to access each network service through each mobile communication network; the obtaining module 401 is further configured to: acquiring a mobile communication network currently used by terminal equipment; the processing module 402 is further configured to: determining a first DNN with a mapping relation with a currently used mobile communication network as a target DNN of the terminal equipment according to the second mapping relation; and switching the DNN of the terminal equipment to the first DNN.
In one possible implementation, the at least one mobile communication network comprises at least one of the following mobile communication networks: third generation mobile communication network, fourth generation mobile communication network, and fifth generation mobile communication network.
In one possible implementation, the processing module 402 is further configured to: if the service geographic range corresponding to all network services in the at least one network service does not contain the current geographic position, determining a second network service as a target network service of the terminal equipment, wherein the at least one network service does not contain the second network service; and switching the network service of the terminal equipment to the second network service.
In one possible implementation, the geographic location information is latitude and longitude information.
Fig. 5 is a schematic diagram of an apparatus for switching network services according to another embodiment of the present application. The apparatus shown in fig. 5 may be used to perform the method described in any of the previous embodiments.
As shown in fig. 5, the apparatus 500 of the present embodiment includes: memory 501, processor 502, communication interface 503, and bus 504. The memory 501, the processor 502, and the communication interface 503 are communicatively connected to each other via a bus 504.
The memory 501 may be a Read Only Memory (ROM), a static storage device, a dynamic storage device, or a random access memory (random access memory, RAM). The memory 501 may store a program, the processor 502 being adapted to perform the steps of the method shown in fig. 2 or 3 when the program stored in the memory 501 is executed by the processor 502.
The processor 502 may employ a general-purpose central processing unit (central processing unit, CPU), microprocessor, application specific integrated circuit (application specific integrated circuit, ASIC), or one or more integrated circuits for executing associated programs to implement the methods illustrated in fig. 2 or 3 of the present application.
The processor 502 may also be an integrated circuit chip with signal processing capabilities. In implementation, various steps of the methods of fig. 2 or 3 of the embodiments of the present application may be performed by integrated logic circuitry in hardware or instructions in software in processor 502.
The processor 502 may also be a general purpose processor, a digital signal processor (digital signal processing, DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf programmable gate array (field programmable gate array, FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware components. The disclosed methods, steps, and logic blocks in the embodiments of the present application may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The steps of a method disclosed in connection with the embodiments of the present application may be embodied directly in hardware, in a decoded processor, or in a combination of hardware and software modules in a decoded processor. The software modules may be located in a random access memory, flash memory, read only memory, programmable read only memory, or electrically erasable programmable memory, registers, etc. as well known in the art. The storage medium is located in the memory 501, and the processor 502 reads information in the memory 501, and in combination with its hardware, performs functions necessary for the unit included in the apparatus of the present application, for example, may execute steps/functions of the embodiments shown in fig. 2 or fig. 3.
Communication interface 503 may enable communication between apparatus 500 and other devices or communication networks using, but is not limited to, a transceiver-like transceiver.
Bus 504 may include a path to transfer information between various components of apparatus 500 (e.g., memory 501, processor 502, communication interface 503).
It should be understood that the apparatus 500 shown in the embodiments of the present application may be an electronic device, or may be a chip configured in an electronic device.
The above embodiments may be implemented in whole or in part by software, hardware, firmware, or any other combination. When implemented in software, the above-described embodiments may be implemented in whole or in part in the form of a computer program product. The computer program product comprises one or more computer instructions or computer programs. When the computer instructions or computer program are loaded or executed on a computer, the processes or functions described in accordance with the embodiments of the present application are all or partially produced. The computer may be a general purpose computer, a special purpose computer, a computer network, or other programmable apparatus. The computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be transmitted from one website site, computer, server, or data center to another website site, computer, server, or data center by wired (e.g., infrared, wireless, microwave, etc.). The computer readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server, data center, etc. that contains one or more sets of available media. The usable medium may be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium. The semiconductor medium may be a solid state disk.
It should be understood that the term "and/or" is merely an association relationship describing the associated object, and means that three relationships may exist, for example, a and/or B may mean: there are three cases, a alone, a and B together, and B alone, wherein a, B may be singular or plural. In addition, the character "/" herein generally indicates that the associated object is an "or" relationship, but may also indicate an "and/or" relationship, and may be understood by referring to the context.
In the present application, "at least one" means one or more, and "a plurality" means two or more. "at least one of" or the like means any combination of these items, including any combination of single item(s) or plural items(s). For example, at least one (one) of a, b, or c may represent: a, b, c, a-b, a-c, b-c, or a-b-c, wherein a, b, c may be single or plural.
It should be understood that, in various embodiments of the present application, the sequence numbers of the foregoing processes do not mean the order of execution, and the order of execution of the processes should be determined by the functions and internal logic thereof, and should not constitute any limitation on the implementation process of the embodiments of the present application.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software 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.
It will be clear to those skilled in the art that, for convenience and brevity of description, specific working procedures of the above-described systems, apparatuses and units may refer to corresponding procedures in the foregoing method embodiments, and are not repeated herein.
In the several embodiments provided in this application, it should be understood that the disclosed systems, devices, and methods may be implemented in other manners. For example, the apparatus embodiments described above are merely illustrative, e.g., the division of the units is merely a logical function division, and there may be additional divisions when actually implemented, e.g., multiple units or components may be combined or integrated into another system, 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 units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. 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 each embodiment of the present application 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 functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer-readable storage medium. Based on such understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution, in the form of a software product stored in a storage medium, including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a U disk, a mobile hard disk, a read-only memory, a random access memory, a magnetic disk or an optical disk.
The foregoing is merely specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily think about changes or substitutions within the technical scope of the present application, and the changes and substitutions are intended to be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (8)

1. The method for switching network services is characterized by being applied to terminal equipment, wherein the terminal equipment stores a first mapping relation between each network service in at least one network service and a service geographic range, and stores a second mapping relation between each mobile communication network in at least one mobile communication network and a data network name DNN which the terminal equipment should use for accessing each network service through each mobile communication network;
the method comprises the following steps:
acquiring current geographic position information of the terminal equipment;
determining a first network service with a mapping relation with a current geographic position as a target network service of the terminal equipment according to the first mapping relation, wherein the current geographic position is the geographic position indicated by the current geographic position information;
Switching the network service of the terminal equipment to the first network service;
wherein when switching the network service of the terminal device to the first network service, the method comprises the following steps:
acquiring a mobile communication network currently used by the terminal equipment;
determining a first DNN with a mapping relation with the currently used mobile communication network as a target DNN of the terminal equipment according to the second mapping relation;
and switching DNN of the terminal equipment to the first DNN.
2. The method according to claim 1, wherein the at least one mobile communication network comprises at least one of the following mobile communication networks: third generation mobile communication network, fourth generation mobile communication network, and fifth generation mobile communication network.
3. The method according to claim 1, wherein the method further comprises:
if the service geographic range corresponding to all network services in the at least one network service does not contain the current geographic position, determining a second network service as a target network service of the terminal equipment, wherein the at least one network service does not contain the second network service;
and switching the network service of the terminal equipment to the second network service.
4. A method according to any one of claims 1 to 3, wherein the geographical location information is latitude and longitude information.
5. The device for switching network services is characterized by being applied to terminal equipment, wherein the terminal equipment stores a first mapping relation between each network service in at least one network service and a service geographic range, and stores a second mapping relation between each mobile communication network in at least one mobile communication network and a data network name DNN which the terminal equipment should use for accessing each network service through each mobile communication network; the device comprises:
the acquisition module is used for acquiring the current geographic position information of the terminal equipment;
the processing module is used for determining a first network service with a mapping relation with the current geographic position as a target network service of the terminal equipment according to the first mapping relation;
the processing module is further configured to switch the network service of the terminal device to the first network service, where the current geographic location is a geographic location indicated by the current geographic location information;
wherein the processing module is configured to, when switching the network service of the terminal device to the first network service,
The acquisition module is further configured to: acquiring a mobile communication network currently used by the terminal equipment;
the processing module is further configured to: determining a first DNN with a mapping relation with the currently used mobile communication network as a target DNN of terminal equipment according to the second mapping relation;
the processing module is further configured to switch the DNN of the terminal device to the first DNN.
6. An apparatus for switching network services, comprising: memory, processor, and transceiver;
the memory is used for storing program instructions;
the processor is configured to invoke program instructions in the memory to perform the method of any of claims 1 to 4.
7. A chip comprising at least one processor and a communication interface, the communication interface and the at least one processor being interconnected by wires, the at least one processor being configured to execute a computer program or instructions to perform the method of any of claims 1-4.
8. A computer readable storage medium storing program code for computer execution, the program code comprising instructions for performing the method of any one of claims 1 to 4.
CN202111132057.3A 2021-09-26 2021-09-26 Method, apparatus, chip and computer readable storage medium for switching network services Active CN113747362B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111132057.3A CN113747362B (en) 2021-09-26 2021-09-26 Method, apparatus, chip and computer readable storage medium for switching network services

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111132057.3A CN113747362B (en) 2021-09-26 2021-09-26 Method, apparatus, chip and computer readable storage medium for switching network services

Publications (2)

Publication Number Publication Date
CN113747362A CN113747362A (en) 2021-12-03
CN113747362B true CN113747362B (en) 2023-06-27

Family

ID=78741258

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111132057.3A Active CN113747362B (en) 2021-09-26 2021-09-26 Method, apparatus, chip and computer readable storage medium for switching network services

Country Status (1)

Country Link
CN (1) CN113747362B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105228216A (en) * 2015-08-29 2016-01-06 宇龙计算机通信科技(深圳)有限公司 A kind of method for network access and terminal
CN109644516A (en) * 2016-08-22 2019-04-16 三星电子株式会社 Method and system for the area data network configuration in cordless communication network
CN110971641A (en) * 2018-09-30 2020-04-07 维沃移动通信有限公司 Network service control method and communication equipment
CN111669792A (en) * 2020-05-22 2020-09-15 中国联合网络通信集团有限公司 Cell switching method and device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9332418B2 (en) * 2011-12-05 2016-05-03 Zyxel Communications Corp. Method of switching data network for network apparatus, network apparatus, and network system
US10159018B2 (en) * 2015-08-21 2018-12-18 Korea University Research And Business Foundation Data processing method for accommodating legacy network service in 4G or next generation network
US11128985B2 (en) * 2017-08-14 2021-09-21 Qualcomm Incorporated Systems and methods for 5G location support using service based interfaces

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105228216A (en) * 2015-08-29 2016-01-06 宇龙计算机通信科技(深圳)有限公司 A kind of method for network access and terminal
CN109644516A (en) * 2016-08-22 2019-04-16 三星电子株式会社 Method and system for the area data network configuration in cordless communication network
CN110971641A (en) * 2018-09-30 2020-04-07 维沃移动通信有限公司 Network service control method and communication equipment
CN111669792A (en) * 2020-05-22 2020-09-15 中国联合网络通信集团有限公司 Cell switching method and device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于需求预测的主动服务推荐方法;刘志中;张振兴;海燕;郭思慧;刘永利;;计算机工程(第02期);全文 *

Also Published As

Publication number Publication date
CN113747362A (en) 2021-12-03

Similar Documents

Publication Publication Date Title
EP3197213B1 (en) Network access method and mobile communication terminal
KR101302860B1 (en) Dynamic connection management
US10375523B2 (en) Location information obtaining method and device
US20020168976A1 (en) Accelerating acquisition of a preferred cellular system by a portable communication device using position location
CN110622544A (en) ANR configuration method, terminal equipment, base station and core network equipment
JP4407795B2 (en) Method and apparatus for selecting a communication network
US10028121B2 (en) Determining device locations for emergency service calls
WO2016173339A1 (en) Network access method and mobile communication terminal
CN112673687A (en) Registration method, terminal equipment and network equipment
KR20150041113A (en) Wlan radiomap with access points uniquely identified by combination of bssid and mcc
CN111132274B (en) Method and device for acquiring and sending session management function equipment address
US11044766B2 (en) Method for Wi-Fi connection and related products
CN1930864A (en) Method for transmitting calling communication terminal location data to a call centre
CN113747362B (en) Method, apparatus, chip and computer readable storage medium for switching network services
CN111510995B (en) Wireless communication method and apparatus
CN105574453A (en) Two-dimensional code processing method and mobile terminal
CN115707061A (en) Relay selection method and device
CN111866968B (en) Network mode switching method and device
US8929925B2 (en) Method and system to reduce harmonic interference of broadband wireless devices to GPS receiver
KR20060066108A (en) Celluar based location of wireless local area networks
CN112385271A (en) Network information transmission method, network information acquisition method, network equipment and terminal equipment
CN103906154A (en) Area reelection method, device, and user equipment used for mobile terminal
CN109121184B (en) Network searching method and related product
CN111601346B (en) Method and equipment for determining access cell and configuring information
CN115915152A (en) Management method and device for integrated access and return node

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