Network service switching method and apparatus, chip module, chip, and device
By determining the relationship between the terminal device's location information and the fenced area, as well as the terrestrial network registration status, and switching network services, the communication interruption problem of the terminal device in areas without terrestrial network coverage was solved, ensuring the continuity of communication and the timeliness of data processing.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- SPREADTRUM COMMUNICATION (SHANGHAI) CO LTD
- Filing Date
- 2026-02-04
- Publication Date
- 2026-06-09
AI Technical Summary
When a terminal device moves from an area covered by a terrestrial network to an area without terrestrial network coverage, communication is interrupted, making it impossible to process internal data in a timely manner.
By determining the relationship between the location information of the terminal device and the configured fence area, and combining it with the registration status of the terrestrial network, the network service is switched, including switching from the terrestrial network to a non-terrestrial network or vice versa.
It enables terminal devices to switch network services in a timely manner when there is no terrestrial network coverage, ensuring the continuity of communication and avoiding the situation where internal data cannot be processed in a timely manner.
Smart Images

Figure CN122179852A_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of communication technology, and in particular to a network service switching method, apparatus, chip module, chip, and device. Background Technology
[0002] Currently, when terminal devices move, they may enter areas without TN network coverage from areas covered by terrestrial networks, resulting in the inability of the terminal devices to communicate. Consequently, the inability of the terminal devices to communicate leads to the inability to process internal data in a timely manner.
[0003] Therefore, there is an urgent need for a network service switching method that can switch network services when a terminal device enters an area without TN network coverage, so as to meet the terminal device's need for timely communication and avoid the situation where the terminal device cannot process internal data in a timely manner due to the inability to communicate. Summary of the Invention
[0004] To solve the above-mentioned technical problems, or at least partially solve them, embodiments of this disclosure provide a network service switching method, apparatus, chip module, chip, and device.
[0005] A first aspect of this disclosure provides a network service switching method, the method comprising:
[0006] Determine the relationship between the location information of the terminal device and the configured fence area; Determine the terrestrial network registration status of the terminal device; Based on the relationship and the terrestrial network registration status, the network service of the terminal device is switched.
[0007] In one example, determining the relationship between the location information of the terminal device and the configured fence area includes: The location information of the terminal device is determined to allow it to enter the configured fenced area; The step of switching the network service of the terminal device based on the relationship and the terrestrial network registration status includes: If the terminal device enters the configured fenced area based on its location information and its terrestrial network registration status is unregistered, the network service of the terminal device is switched to a non-terrestrial network service.
[0008] In one example, determining that the location information of the terminal device enters the configured fenced area includes: The location information of the terminal device is determined to be outside the configured fence area, and the distance difference between the location information of the terminal device and the boundary location information of the configured fence area is not greater than a threshold.
[0009] In one example, determining the relationship between the location information of the terminal device and the configured fence area includes: Determine that the location information of the terminal device has left the configured fence area; The step of switching the network service of the terminal device based on the relationship and the terrestrial network registration status includes: If the terminal device leaves the configured fenced area based on its location information and the terrestrial network registration status is registered, the network service of the terminal device is switched to terrestrial network service.
[0010] In one example, determining that the location information of the terminal device leaves the configured fence area includes: The location information of the terminal device is determined to be within the configured fence area, and the distance difference between the location information of the terminal device and the boundary location information of the configured fence area is not greater than a threshold.
[0011] In one example, the configured fenced area is pre-configured in the terminal device.
[0012] A second aspect of this disclosure provides a network service switching apparatus, the apparatus comprising: The first determining module is used to determine the relationship between the location information of the terminal device and the configured fence area; The second determining module is used to determine the terrestrial network registration status of the terminal device; The execution module is used to switch the network services of the terminal device according to the relationship and the registration status of the terrestrial network.
[0013] A third aspect of this disclosure provides a chip module for implementing the method described in the first aspect.
[0014] A fourth aspect of this disclosure provides a chip for implementing the method described in the first aspect.
[0015] A fifth aspect of this disclosure provides a terminal device, including: A processor and a memory, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor performs the method described in the first aspect.
[0016] This disclosure provides a network service switching method, apparatus, chip module, chip, and device. The method includes: determining the relationship between the location information of a terminal device and a configured fence area, determining the terrestrial network registration status of the terminal device, and then switching the network service of the terminal device according to the relationship and the terrestrial network registration status. By adopting this technical solution, the timely switching of network services can meet the timely communication needs of the terminal device, avoiding situations where the terminal device cannot process internal data in a timely manner due to communication failure. Attached Figure Description
[0017] The accompanying drawings, which are incorporated in and form a part of this specification, illustrate embodiments consistent with this disclosure and, together with the description, serve to explain the principles of this disclosure.
[0018] To more clearly illustrate the technical solutions in the embodiments of this disclosure or the prior art, the accompanying drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, for those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0019] Figure 1 This is a flowchart illustrating a network service switching method provided in an embodiment of this disclosure; Figure 2 This is a flowchart illustrating a network service switching method provided in an embodiment of this disclosure; Figure 3 This is a schematic diagram illustrating the location information of a terminal device entering a configured fenced area according to an embodiment of this disclosure; Figure 4 This is a flowchart illustrating a network service switching method provided in an embodiment of this disclosure; Figure 5 This is a schematic diagram illustrating the location information of a terminal device leaving a configured fenced area, as provided in an embodiment of this disclosure. Figure 6 This is a schematic diagram of the structure of a network service switching device provided in an embodiment of this disclosure; Figure 7 This is a schematic diagram of the structure of a terminal device according to an embodiment of this disclosure. Detailed Implementation
[0020] To better understand the above-mentioned objectives, features, and advantages of this disclosure, the solutions disclosed herein will be further described below. It should be noted that, unless otherwise specified, the embodiments and features described herein can be combined with each other.
[0021] Numerous specific details are set forth in the following description in order to provide a full understanding of this disclosure, but this disclosure may also be implemented in other ways different from those described herein; obviously, the embodiments in the specification are only some, and not all, of the embodiments of this disclosure.
[0022] Figure 1 This is a flowchart illustrating a network service switching method provided in an embodiment of this disclosure. This method can be executed by a terminal device. The terminal device can be exemplarily understood as a device such as a mobile phone, tablet computer, laptop computer, desktop computer, smart TV, drone, driverless car, or autonomous vehicle. Figure 1 As shown, the method provided in this embodiment includes the following steps: S101. Determine the relationship between the location information of the terminal device and the configured fence area.
[0023] In one example, the location information of the terminal device refers to geographic location information, specifically GPS geographic location information or latitude and longitude information. The configured fence area is pre-configured in the terminal device. The shape of this configured fence area can be any polygon. Specifically, the configured fence area includes latitude and longitude information and boundary location information.
[0024] For example, users can pre-configure fenced areas on their terminal devices. Specifically, this can be done through third-party map applications or by using the built-in software development kit (SDK) of a third-party map.
[0025] After configuring the fenced area, the relationship between the location information of the terminal device and the configured fenced area can be detected in real time.
[0026] S102. Determine the terrestrial network registration status of the terminal equipment.
[0027] In one example, the terminal device's terrestrial network registration status is either unregistered or registered. Specifically, the terminal device cannot use the terrestrial network when its terrestrial network registration status is unregistered. Therefore, a non-terrestrial network (NTN) is required.
[0028] NTN is an important evolution technology for new application scenarios such as satellite communication and low-altitude communication, marking the transition of 5G from the ground to space. 5G broadband NTN networks and 5G narrowband IoT NTN networks are based on 3GPP open standards, enabling compatibility between satellite and terrestrial communication systems. Through direct mobile phone connections, they rapidly expand the scale of the satellite communication industry.
[0029] With the increasing attention given to satellite communications in recent years, 3GPP, as one of the most important international standards organizations in the communications industry, has conducted research and standardization on non-terrestrial network technologies. In Release 15, 3GPP first proposed incorporating NTN into the discussion of 5G system requirements and application prospects. Entering Release 16, the 3GPP standards group conducted systematic technical research and discussions on NTN in terms of terminal equipment, radio, and core network. Regarding terminal equipment, the impact of satellite communication mobile phones based on the S / Ka band on power and energy consumption was studied. Starting with Release 17, 3GPP initiated the formal development of NTN specifications and proposed the first baseline specification versions for NR NTN and IoT NTN, aiming to guide the rapid deployment of NTN. In Release 18, the 5G satellite networking capabilities were further improved, with key features including: support for deployment in frequency bands above 10 GHz, enhanced coverage, and improved mobility and service continuity.
[0030] S103. Based on the relationship and the terrestrial network registration status, perform network services for switching terminal devices.
[0031] In one example, the specific strategy for switching the network services of a terminal device is determined by analyzing the relationship between the terminal device's location information and the configured fenced area, combined with the terminal device's terrestrial network registration status. Specifically, the terminal device's network services include non-terrestrial network services and terrestrial network services.
[0032] This disclosure provides a network service switching method, which includes: determining the relationship between the location information of a terminal device and a configured fence area, determining the terrestrial network registration status of the terminal device, and then switching the network service of the terminal device according to the relationship and the terrestrial network registration status. By adopting this technical solution, the network service can be switched in a timely manner, thereby meeting the timely communication needs of the terminal device and avoiding situations where the terminal device cannot process internal data in a timely manner due to communication failure.
[0033] Figure 2 This is a flowchart illustrating a network service switching method provided in an embodiment of this disclosure. This method can be executed by a terminal device. The terminal device can be exemplarily understood as a device such as a mobile phone, tablet computer, laptop computer, desktop computer, smart TV, drone, driverless car, or autonomous vehicle. Figure 2 As shown, the method provided in this embodiment includes the following steps: S201. Determine the location information of the terminal device and enter the configured fence area.
[0034] In this embodiment, determining that the location information of the terminal device has entered the configured fence area includes: The location information of the terminal device is determined to be outside the configured fence area, and the distance difference between the location information of the terminal device and the boundary location information of the configured fence area is not greater than a threshold.
[0035] In one example, the threshold could be M meters, which can be configured based on the specific device type of the terminal device. If the terminal device's location information is outside the configured fence area (i.e., the terminal device's location information has not yet fallen within the configured fence area), and the distance difference between the terminal device's location information and the boundary location information of the configured fence area satisfies the condition that it is no greater than the threshold, then the terminal device may be in a non-registered state in the terrestrial network registration state. For a clearer explanation, please refer to [link to relevant documentation]. Figure 3 This diagram illustrates the location information of a terminal device entering a configured fenced area.
[0036] S202. Based on the location information of the terminal device, enter the configured fence area and the terrestrial network registration status is unregistered, and switch the network service of the terminal device to non-terrestrial network service.
[0037] In some specific embodiments, if the location information of the terminal device enters the configured fence area and the terrestrial network registration status is unregistered, it indicates that the terminal device is unable to use terrestrial network services, and the network service of the terminal device needs to be switched to non-terrestrial network services.
[0038] In this embodiment, the terrestrial network registration status of the terminal device can be detected at a preset frequency. If the terrestrial network registration status of the terminal device is detected as registered, the terminal device continues to use terrestrial network services. If the terrestrial network registration status of the terminal device is detected as unregistered, the network service of the terminal device is switched to a non-terrestrial network service.
[0039] In this embodiment, when switching the network service of the terminal device to a non-terrestrial network service, a command to enable the non-terrestrial network service needs to be sent to the baseband module in the terminal device.
[0040] For example, if the terminal devices are drones, unmanned vehicles, or autonomous vehicles, and their location information enters a configured fenced area, ensuring network service is required to maintain communication. Therefore, when a terminal device's location information enters a configured fenced area and its terrestrial network registration status is unregistered, the network service of the terminal device is automatically switched to a non-terrestrial network service to guarantee real-time communication for the drones, unmanned vehicles, and autonomous vehicles.
[0041] For example, if the terminal device is a mobile phone or tablet, and its location information enters a configured fenced area, the mobile phone or tablet will receive a notification message. This notification message indicates that the mobile phone or tablet's location information has entered the configured fenced area, and the user can then choose to switch the mobile phone or tablet's network service to a non-terrestrial network service.
[0042] This disclosure provides a network service switching method, which includes: determining that a terminal device's location information has entered a configured fenced area; and, based on the terminal device's location information entering the configured fenced area and its terrestrial network registration status being unregistered, switching the terminal device's network service to a non-terrestrial network service. This technical solution ensures that when a terminal device enters an area without a terrestrial network, it can promptly switch to a non-terrestrial network service, thereby guaranteeing the terminal device's communication.
[0043] Figure 4 This is a flowchart illustrating a network service switching method provided in an embodiment of this disclosure. This method can be executed by a terminal device. The terminal device can be exemplarily understood as a device such as a mobile phone, tablet computer, laptop computer, desktop computer, smart TV, drone, driverless car, or autonomous vehicle. Figure 4 As shown, the method provided in this embodiment includes the following steps: S401. Determine the location information of the terminal device as it leaves the configured fence area.
[0044] In one example, determining that the terminal device's location information leaves the configured fenced area includes: The location information of the terminal device is determined to be within the configured fence area, and the distance difference between the location information of the terminal device and the boundary location information of the configured fence area is not greater than the threshold.
[0045] In this embodiment, the threshold can be M meters, which can be configured according to the specific device type of the terminal device. The terminal device's location information leaving the configured fence area specifically means that the terminal device's current location is within the configured fence area, and the distance difference between the terminal device's location and the boundary location of the configured fence area is not greater than the threshold. At this point, it indicates that the terminal device is about to enter the terrestrial network registration state. For a clearer explanation, please refer to... Figure 5 This diagram illustrates the location information of a terminal device leaving a configured fenced area.
[0046] S402. Based on the location information of the terminal device leaving the configured fence area and the terrestrial network registration status being registered, perform a switch to switch the network service of the terminal device to terrestrial network service.
[0047] In some specific embodiments, if the location information of the terminal device leaves the configured fence area and the terrestrial network registration status is registered, it indicates that the terminal device is in a situation where it can use terrestrial network services, and the network service of the terminal device can be switched to terrestrial network services.
[0048] In this embodiment, when switching the network service of the terminal device to terrestrial network service, it is necessary to send a command to the baseband module in the terminal device to disable the non-terrestrial network service.
[0049] This disclosure provides a network service switching method, which includes: determining that the location information of a terminal device leaves a configured fenced area; and, based on the terminal device's location information leaving the configured fenced area and its terrestrial network registration status being registered, switching the terminal device's network service to terrestrial network service. This technical solution ensures that when a terminal device returns from an area without terrestrial network to an area with terrestrial network, it can promptly switch its network to terrestrial network service, thereby guaranteeing the terminal device's communication.
[0050] Figure 6 This is a schematic diagram of a network service switching device provided in an embodiment of this disclosure. This network service switching device can be understood as the aforementioned terminal device or a functional module within the aforementioned terminal device. For example... Figure 6 As shown, the network service switching device 60 includes: The first determining module 601 is used to determine the relationship between the location information of the terminal device and the configured fence area; The second determining module 602 is used to determine the terrestrial network registration status of the terminal device; The execution module 603 is used to execute network services for switching terminal devices based on the relationship and the registration status of the terrestrial network.
[0051] In one example, the first determining module 601 is used for: Determine the location information of the terminal device and enter the configured fence area; In one example, module 603 is used for: If the terminal device enters the configured fenced area based on its location information and its terrestrial network registration status is unregistered, the terminal device's network service will be switched to a non-terrestrial network service.
[0052] In one example, the first determining module 601 is used for: The location information of the terminal device is determined to be outside the configured fence area, and the distance difference between the location information of the terminal device and the boundary location information of the configured fence area is not greater than a threshold.
[0053] In one example, the first determining module 601 is used for: Determine the location information of the terminal device as it leaves the configured fence area; In one example, module 603 is used for: If the terminal device leaves the configured fenced area based on its location information and its terrestrial network registration status is registered, the terminal device's network service will be switched to terrestrial network service.
[0054] In one example, the first determining module 601 is used for: The location information of the terminal device is determined to be within the configured fence area, and the distance difference between the location information of the terminal device and the boundary location information of the configured fence area is not greater than the threshold.
[0055] In one example, the fenced area is pre-configured in the terminal device.
[0056] The apparatus provided in this embodiment can execute the methods of any of the above embodiments, and its execution method and beneficial effects are similar, so they will not be described again here.
[0057] This disclosure also provides a chip module for implementing the aforementioned method.
[0058] This disclosure also provides a chip for implementing the aforementioned method.
[0059] This disclosure also provides a terminal device, including: A processor and a memory, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor performs the aforementioned method.
[0060] Specifically, the modules / units included in the various devices and products described in the above embodiments can be software modules / units, hardware modules / units, or a combination of both. For example, for devices and products applied to or integrated into a chip, all modules / units can be implemented using hardware methods such as circuits, or at least some modules / units can be implemented using software programs that run on a processor integrated within the chip, while the remaining (if any) modules / units can be implemented using hardware methods such as circuits. For devices and products applied to or integrated into a chip module, all modules / units can be implemented using hardware methods such as circuits. Different modules / units can be located in the same component (e.g., chip, circuit module, etc.) or different components of the chip module, or at least some modules / units can be implemented using hardware methods such as circuits. The components can be implemented using software programs that run on the processor integrated within the chip module. The remaining (if any) modules / units can be implemented using hardware methods such as circuits. For various devices and products applied to or integrated into the terminal, each of its components / units can be implemented using hardware methods such as circuits. Different modules / units can be located in the same component (e.g., chip, circuit module, etc.) or in different components within the terminal. Alternatively, at least some modules / units can be implemented using software programs that run on the processor integrated within the terminal, while the remaining (if any) modules / units can be implemented using hardware methods such as circuits.
[0061] This disclosure also provides a terminal device, which includes: a memory storing a computer program; and a processor for executing the computer program, wherein when the computer program is executed by the processor, it can implement the methods of any of the above embodiments.
[0062] Example, Figure 7 This is a schematic diagram of the structure of a terminal device according to an embodiment of this disclosure. See below for details. Figure 7 The diagram illustrates a structural schematic suitable for implementing the terminal device 1000 in the embodiments of this disclosure. The terminal device 1000 in the embodiments of this disclosure may include, but is not limited to, mobile terminals such as mobile phones, laptops, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), in-vehicle terminals (e.g., in-vehicle navigation terminals), and fixed terminals such as digital TVs and desktop computers. Figure 7 The terminal device shown is merely an example and should not be construed as limiting the functionality and scope of use of the embodiments disclosed herein.
[0063] like Figure 7As shown, the terminal device 1000 may include a processing unit (e.g., a central processing unit, a graphics processing unit, etc.) 1001, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 1002 or a program loaded from a storage device 1008 into a random access memory (RAM) 1003. The RAM 1003 also stores various programs and data required for the operation of the terminal device 1000. The processing unit 1001, ROM 1002, and RAM 1003 are interconnected via a bus 1004. An input / output (I / O) interface 1005 is also connected to the bus 1004.
[0064] Typically, the following devices can be connected to the I / O interface 1005: input devices 1006 including, for example, a touchscreen, touchpad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; output devices 1007 including, for example, a liquid crystal display (LCD), speaker, vibrator, etc.; storage devices 1008 including, for example, magnetic tape, hard disk, etc.; and communication devices 1009. Communication device 1009 allows terminal device 1000 to communicate wirelessly or wiredly with other devices to exchange data. Although Figure 7 A terminal device 1000 with various devices is shown; however, it should be understood that it is not required to implement or possess all of the devices shown. More or fewer devices may be implemented or possessed alternatively.
[0065] In particular, according to embodiments of this disclosure, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments of this disclosure include a computer program product comprising a computer program carried on a non-transitory computer-readable medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via communication device 1009, or installed from storage device 1008, or installed from ROM 1002. When the computer program is executed by processing device 1001, it performs the functions defined in the methods of embodiments of this disclosure.
[0066] It should be noted that the computer-readable medium described in this disclosure can be a computer-readable signal medium or a computer-readable storage medium, or any combination thereof. A computer-readable storage medium can be, for example,—but not limited to—an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of a computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination thereof. In this disclosure, a computer-readable storage medium can be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, apparatus, or device. In this disclosure, a computer-readable signal medium can include a data signal propagated in baseband or as part of a carrier wave, carrying computer-readable program code. Such propagated data signals can take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. A computer-readable signal medium can be any computer-readable medium other than a computer-readable storage medium, which can send, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium can be transmitted using any suitable medium, including but not limited to: wires, optical fibers, RF (radio frequency), etc., or any suitable combination thereof.
[0067] In some implementations, clients and servers can communicate using any currently known or future-developed network protocol such as HTTP (Hypertext Transfer Protocol) and can interconnect with digital data communication (e.g., communication networks) of any form or medium. Examples of communication networks include local area networks (“LANs”), wide area networks (“WANs”), the Internet (e.g., the Internet of Things), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future-developed networks.
[0068] The aforementioned computer-readable medium may be included in the aforementioned terminal device; or it may exist independently and not assembled into the terminal device.
[0069] The aforementioned computer-readable medium carries one or more programs that, when executed by the terminal device, cause the terminal device to: determine the relationship between the terminal device's location information and the configured fence area, determine the terminal device's terrestrial network registration status, and, based on the relationship and the terrestrial network registration status, perform a switch of the terminal device's network services.
[0070] Computer program code for performing the operations of this disclosure can be written in one or more programming languages or a combination thereof, including but not limited to object-oriented programming languages such as Java, Smalltalk, and C++, as well as conventional procedural programming languages such as the "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving remote computers, the remote computer can be connected to the user's computer via any type of network—including a local area network (LAN) or a wide area network (WAN)—or can be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0071] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this disclosure. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, can be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.
[0072] The units described in the embodiments of this disclosure can be implemented in software or hardware. The names of the units are not, in some cases, intended to limit the specific unit.
[0073] The functions described above in this document can be performed at least in part by one or more hardware logic components. For example, exemplary types of hardware logic components that can be used, without limitation, include: field-programmable gate arrays (FPGAs), application-specific integrated circuits (ASICs), application-specific standard products (ASSPs), system-on-a-chip (SoCs), complex programmable logic devices (CPLDs), and so on.
[0074] In the context of this disclosure, a machine-readable medium can be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, apparatus, or device. A machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium can be, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. More specific examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.
[0075] This disclosure also provides a computer-readable storage medium storing a computer program. When the computer program is executed by a processor, it can implement the methods of any of the above embodiments. The execution method and beneficial effects are similar, and will not be described again here.
[0076] It should be noted that, in this document, relational terms such as "first" and "second" are used merely to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes the element.
[0077] The above are merely specific embodiments of this disclosure, enabling those skilled in the art to understand or implement this disclosure. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of this disclosure. Therefore, this disclosure is not to be limited to these embodiments, but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A method for switching network services, characterized in that, The method includes: Determine the relationship between the location information of the terminal device and the configured fence area; Determine the terrestrial network registration status of the terminal device; Based on the relationship and the terrestrial network registration status, the network service of the terminal device is switched.
2. The method according to claim 1, characterized in that, Determining the relationship between the location information of the terminal device and the configured fence area includes: The location information of the terminal device is determined to allow it to enter the configured fenced area; The step of switching the network service of the terminal device based on the relationship and the terrestrial network registration status includes: If the terminal device enters the configured fenced area based on its location information and its terrestrial network registration status is unregistered, the network service of the terminal device is switched to a non-terrestrial network service.
3. The method according to claim 2, characterized in that, The step of determining that the location information of the terminal device enters the configured fence area includes: The location information of the terminal device is determined to be outside the configured fence area, and the distance difference between the location information of the terminal device and the boundary location information of the configured fence area is not greater than a threshold.
4. The method according to claim 1, characterized in that, Determining the relationship between the location information of the terminal device and the configured fence area includes: Determine that the location information of the terminal device has left the configured fence area; The step of switching the network service of the terminal device based on the relationship and the terrestrial network registration status includes: If the terminal device leaves the configured fenced area based on its location information and the terrestrial network registration status is registered, the network service of the terminal device is switched to terrestrial network service.
5. The method according to claim 4, characterized in that, Determining that the terminal device's location information leaves the configured fence area includes: The location information of the terminal device is determined to be within the configured fence area, and the distance difference between the location information of the terminal device and the boundary location information of the configured fence area is not greater than a threshold.
6. The method according to any one of claims 1-5, characterized in that, The fenced area is pre-configured in the terminal device.
7. A network service switching device, characterized in that, The device includes: The first determining module is used to determine the relationship between the location information of the terminal device and the configured fence area; The second determining module is used to determine the terrestrial network registration status of the terminal device; The execution module is used to switch the network services of the terminal device according to the relationship and the registration status of the terrestrial network.
8. A chip module, characterized in that, The chip module is used to implement the method as described in any one of claims 1-6.
9. A chip, characterized in that, The chip is used to implement the method as described in any one of claims 1-6.
10. A terminal device, characterized in that, include: A processor and a memory, wherein the memory stores a computer program that, when executed by the processor, performs the method of any one of claims 1-6.