Communication method and device, terminal and storage medium

By obtaining and updating the 5G SA network frequency information of the roaming destination, and prioritizing scanning of the 5G SA network frequency points, the problem of slow registration speed when terminals move from non-5G independent network networks to 5G independent network networks is solved, and user experience and satisfaction are improved.

CN119893609APending Publication Date: 2025-04-25BEIJING XIAOMI MOBILE SOFTWARE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311377565.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-10-23
Publication Date
2025-04-25

AI Technical Summary

Technical Problem

When the terminal moves from the resident non-5G independent network network to the area where the 5G independent network network exists, it is impossible to quickly realize 5G independent network network registration, resulting in a slow network resident speed.

Method used

By determining that the terminal is in a roaming state and supporting 5G independent networking services, obtain network related information that supports 5G independent networking in the roaming place to which the roaming network belongs, including network code and frequency point information, and prioritize the scanning of preset 5G SA frequency point information to speed up the network search speed.

Benefits of technology

By prioritizing scanning of preset 5G SA frequency point information, the frequency scanning time is reduced, the registration speed of terminal roaming to the 5G independent network network is improved, and user experience and satisfaction are improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119893609A_ABST
    Figure CN119893609A_ABST
Patent Text Reader

Abstract

The invention relates to a communication method and device, a terminal and a storage medium. The method comprises the following steps: determining that the terminal is in a roaming state and the terminal supports a 5G independent networking service; according to the country code of the roaming network where the terminal is located, network related information of supporting 5G independent networking of a roaming place where the roaming network belongs is obtained, and the network related information comprises a network code and frequency point information of a network corresponding to the network code; and carrying out network searching and network stationing according to the network related information. According to the embodiment of the invention, the problem that the registration of the 5G independent networking network cannot be quickly realized when the terminal moves to the area with the 5G independent networking network from the resident non-5G independent networking network in the related technology can be solved, the preset 5G SA frequency point information is preferentially scanned, the frequency sweeping time is shortened, the registration speed of the terminal roaming to the 5G independent networking network is improved, and the user experience is improved. And the user experience and satisfaction are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of mobile communication technology, and in particular to a communication method, device, terminal and storage medium. Background Art

[0002] Networking means that after the terminal is turned on and reads the SIM card information, it selects the corresponding operator network to stay and attach according to the Public Land Mobile Network (PLMN) information of the SIM card in order to realize subsequent telephone or data services.

[0003] In related technologies, due to the different levels of network construction in different countries, different operators and different regions, when a terminal moves from a stationed LTE (Long Term Evolution) network to an area with a 5G SA network, the default network search sequence fixed in the terminal will cause the terminal to log on to the network more slowly. Summary of the invention

[0004] In order to overcome the problems existing in the related art, the present disclosure provides a communication method, device, terminal and storage medium to solve the problem in the related art that when the terminal moves from a non-5G independent networking (NSA) network where it resides to an area where a 5G independent networking (SA) network exists, it is impossible to quickly register with the 5G independent networking network.

[0005] According to a first aspect of an embodiment of the present disclosure, a communication method is provided, the method comprising:

[0006] Determining that the terminal is in a roaming state and that the terminal supports 5G independent networking services;

[0007] According to the country code of the roaming network in which the terminal is located, obtain network-related information of the roaming area to which the roaming network belongs that supports 5G independent networking, where the network-related information includes a network code and frequency information of the network corresponding to the network code;

[0008] Search the network and stay on the network according to the network related information.

[0009] Optionally, determining that the terminal is in a roaming state includes:

[0010] After the terminal fails to register with the public land mobile network, obtaining a designated system information block message of the visited network through a full-band search;

[0011] According to the designated system information block message, it is determined that the visited network is a roaming network and the terminal is in a roaming state.

[0012] Optionally, the designated system information block message is a SIB1 message, and determining, according to the designated system information block message, that the visited network is a roaming network and that the terminal is in a roaming state includes:

[0013] Obtaining a first country code and a first network code in the SIB1 message;

[0014] Obtaining a second country code and a second network code from a SIM card of the terminal;

[0015] In a case where the first country code is different from the second country code and the first network code is different from the second network code, it is determined that the visited network is a roaming network and the terminal is in a roaming state.

[0016] Optionally, the acquiring, according to the country code of the roaming network in which the terminal is located, network-related information that supports 5G independent networking in the roaming location to which the roaming network belongs includes:

[0017] The network related information is obtained through a cloud server according to the country code of the roaming network.

[0018] Optionally, acquiring the network-related information through a cloud server according to the country code of the roaming network includes:

[0019] After the terminal is turned on, it is connected to the cloud server via a WIFI network;

[0020] After the terminal is connected to the server, the network related information is obtained from the server according to the country code of the roaming network.

[0021] Optionally, the acquiring the network-related information through a cloud server according to the country code of the roaming network further includes:

[0022] The network related information is obtained from the server, and the network related information stored in the terminal is updated.

[0023] Optionally, updating the network related information stored in the terminal includes:

[0024] Based on the network related information acquired from the server, the network related information stored in the modem of the terminal is updated.

[0025] Optionally, searching the network and staying on the network according to the network-related information includes:

[0026] The network search is performed according to the frequency information in the network related information, and the searched target network is resident after the network search is successful.

[0027] According to a second aspect of an embodiment of the present disclosure, a communication device is provided, the device comprising:

[0028] A determination module is configured to determine that the terminal is in a roaming state and that the terminal supports a 5G independent networking service;

[0029] an acquisition module, configured to acquire, according to the country code of the roaming network in which the terminal is located, network-related information of the roaming area to which the roaming network belongs that supports 5G independent networking, wherein the network-related information includes a network code and frequency information of the network corresponding to the network code;

[0030] The network station module is configured to search the network and station on the network according to the network related information.

[0031] According to a third aspect of an embodiment of the present disclosure, a terminal is provided, the terminal including:

[0032] processor;

[0033] a memory for storing processor-executable instructions;

[0034] The processor is configured to: execute the executable instructions to perform any method described in the first aspect.

[0035] According to a fourth aspect of an embodiment of the present disclosure, there is provided a computer-readable storage medium on which computer program instructions are stored, and when the program instructions are executed by a processor, the steps of any one of the methods described in the first aspect are implemented.

[0036] In summary, the disclosed embodiment provides a communication method, the method comprising: determining that a terminal is in a roaming state and that the terminal supports 5G independent networking services; obtaining network-related information that supports 5G independent networking in the roaming area to which the roaming network belongs according to the country code of the roaming network where the terminal is located, the network-related information including the network code and the frequency information of the network corresponding to the network code; searching for and staying in the network according to the network-related information. The disclosed embodiment can solve the problem in the related art that when a terminal moves from a non-5G independent networking network where it resides to an area where a 5G independent networking network exists, it cannot quickly register with a 5G independent networking network. By preferentially scanning the preset 5G SA frequency information, the scanning time is reduced, the registration speed of the terminal roaming to the 5G independent networking network is increased, and the user experience and satisfaction are improved.

[0037] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.

[0039] Figure 1 The present invention is a flow chart showing a communication method according to an exemplary embodiment.

[0040] Figure 2 The present invention is a flow chart showing a communication method according to an exemplary embodiment.

[0041] Figure 3 The present invention is a flow chart showing a communication method according to an exemplary embodiment.

[0042] Figure 4 The present invention is a flow chart showing a communication method according to an exemplary embodiment.

[0043] Figure 5 The present invention is a flow chart showing a communication method according to an exemplary embodiment.

[0044] Figure 6 The present invention is a flow chart showing a communication method according to an exemplary embodiment.

[0045] Figure 7 The present invention is a flow chart showing a communication method according to an exemplary embodiment.

[0046] Figure 8 The present invention is a flow chart showing a communication method according to an exemplary embodiment.

[0047] Fig. 9 It is a block diagram of a communication device according to an exemplary embodiment.

[0048] Fig.10 It is a block diagram of a terminal according to an exemplary embodiment. DETAILED DESCRIPTION

[0049] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.

[0050] It should be understood that the term "including" and its variations used herein are open inclusions, i.e., "including but not limited to". The term "based on" means "based at least in part on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". The relevant definitions of other terms will be given in the following description.

[0051] It should be noted that the concepts of "first", "second", etc. mentioned in the present disclosure are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units. The modifications of "one" and "multiple" mentioned in the present disclosure are illustrative and not restrictive. Those skilled in the art should understand that unless otherwise clearly indicated in the context, they should be understood as "one or more". In the description of the present disclosure, unless otherwise specified, "multiple" refers to two or more than two, and other quantifiers are similar; "at least one item", "one item or multiple items" or similar expressions refer to any combination of these items, including any combination of single items or plural items.

[0052] Although operations or steps are described in a specific order in the drawings in the embodiments of the present disclosure, it should not be understood that it is required to perform these operations or steps in the specific order shown or in a serial order, or to perform all the operations or steps shown to obtain the desired results. In the embodiments of the present disclosure, these operations or steps can be performed in series; these operations or steps can also be performed in parallel; or some of these operations or steps can be performed.

[0053] The names of the messages or information exchanged between multiple devices in the embodiments of the present disclosure are only for illustrative purposes and are not used to limit the scope of these messages or information. It is understandable that before using the technical solutions disclosed in the embodiments of the present disclosure, the types, scope of use, usage scenarios, etc. of the personal information involved in the present disclosure should be informed to the user in an appropriate manner in accordance with relevant laws and regulations and the user's authorization should be obtained. The present disclosure is described below in conjunction with specific embodiments.

[0054] First, the application scenario of the present disclosure is described. In the current related technology, the general process of terminal network registration is as follows:

[0055] Step 1: After the UE is turned on, it will first use the RPLMN (Registered PLMN) to search for the network. PLMN (Public Land Mobile Network) refers to the public land mobile network.

[0056] Step 2: Unable to find the network corresponding to RPLMN, and full band scan failed.

[0057] Step 3: In NSA network, EHPLMN (Equivalent Home PLMN) is a local PLMN with the same status as the PLMN currently selected by the terminal. Or OPLMN (Operator Controlled PLMN). When the operator burns the card, the operator PLMN that has signed a roaming agreement with the operator will be written into the USIM card as OPLMN as a suggestion for the user to select a network later. Or UPLMN (User Controlled PLMN) is the PLMN selected by the terminal when the user manually selects the network, and the USIM card will store it. Or PPLMN (Prefer PLMN) is used to search the network.

[0058] Step 4: Find a suitable roaming network to register.

[0059] 5G (5th-Generation, fifth-generation mobile communication technology) SA (Standalone Architecture, independent networking) international roaming means that under the SA mode, users of the home network use 5G services in the roaming area by accessing the 5GSA network of the visited network. The applicant found that in the above-mentioned related technologies, it can be seen that since the roaming network has no historical frequency information, the terminal will perform a full band search, which will increase the network search time and thus reduce the user experience; on the other hand, the terminal will not give priority to 5G SA network registration judgment in the roaming PLMN selection, which may result in registration on a non-5G SA network, which will cause the user data service rate to decrease, thereby further reducing the user experience.

[0060] The disclosed embodiment obtains and updates the 5G SA network frequency information of the roaming location, preferentially scans the 5G SA network frequency, speeds up the network search speed (without full-band network search), and resides in the 5G SA network of the roaming location after a successful network search, thereby providing users with a better data usage experience and improving user satisfaction.

[0061] Figure 1 FIG. 1 is a flow chart of a communication method according to an exemplary embodiment. Figure 1 As shown, the present disclosure provides a communication method, which may include the following steps:

[0062] In step S10, it is determined that the terminal is in a roaming state and that the terminal supports 5G independent networking services.

[0063] In this step, it is determined that the terminal is in a roaming state and that the terminal supports 5G independent networking services. For example, after the terminal fails to register with the public land mobile network, a designated system information block message of the visited network can be obtained through a full-band search; then, according to the designated system information block message, it is determined that the visited network is a roaming network, thereby determining that the terminal is in a roaming state.

[0064] In step S20, according to the country code of the roaming network in which the terminal is located, network-related information of the roaming area to which the roaming network belongs that supports 5G independent networking is obtained, and the network-related information includes the network code and the frequency information of the network corresponding to the network code.

[0065] In this step, according to the country code of the roaming network where the terminal is located, the network-related information of the roaming area supporting 5G independent networking is obtained, and the network-related information includes the network code and the frequency information of the network corresponding to the network code. Exemplarily, according to the country code of the roaming network, the network-related information of the roaming area supporting 5G independent networking can be obtained through the cloud server.

[0066] In step S30, network search and network access are performed according to the network related information.

[0067] In this step, the network is searched and resident according to the network-related information. For example, the network search can be performed according to the frequency information in the network-related information, and the frequency of the 5G SA network is searched first to reduce the network search time, and the network is resident after the network search is successful to enjoy higher-speed data service.

[0068] In summary, the disclosed embodiment provides a communication method, the method comprising: determining that a terminal is in a roaming state and that the terminal supports 5G independent networking services; obtaining network-related information that supports 5G independent networking in the roaming area to which the roaming network belongs according to the country code of the roaming network where the terminal is located, the network-related information including the network code and the frequency information of the network corresponding to the network code; searching for and staying in the network according to the network-related information. The disclosed embodiment can solve the problem in the related art that when a terminal moves from a non-5G independent networking network where it resides to an area where a 5G independent networking network exists, it cannot quickly register with a 5G independent networking network. By preferentially scanning the preset 5G SA frequency information, the scanning time is reduced, the registration speed of the terminal roaming to the 5G independent networking network is increased, and the user experience and satisfaction are improved.

[0069] Figure 2 FIG. 1 is a flow chart of a communication method according to an exemplary embodiment. Figure 2 As shown, the step of determining that the terminal is in a roaming state may include the following steps:

[0070] In step S101, after the terminal fails to register with the public land mobile network, a designated system information block message of the visited network is obtained through a full-band search.

[0071] In this step, after the terminal fails to register with the public land mobile network, the designated system information block message of the visited network is obtained through a full-band search. Exemplarily, after the terminal fails to register with the public land mobile network (PLMN), the terminal can obtain the designated system information block (System Information Block) message of the visited network through a full-band search. For example, the designated system information block message can be a SIB1 message of the 5G network, which includes NAS (Network Attached Storage) information and timers and counters when the UE is in idle mode and connected mode.

[0072] In step S102, according to the designated system information block message, it is determined that the visited network is a roaming network and the terminal is in a roaming state.

[0073] In this step, according to the specified system information block message, it is determined that the visited network is a roaming network and the terminal is in a roaming state. Exemplarily, the terminal can determine that the visited network is a roaming network and the terminal is in a roaming state according to the country code and network code information in the specified system information block message.

[0074] Figure 3 FIG. 1 is a flow chart of a communication method according to an exemplary embodiment. Figure 3 As shown, the designated system information block message is a SIB1 message, and determining, according to the designated system information block message, that the visited network is a roaming network and the terminal is in a roaming state may include the following steps:

[0075] In step S1021, the first country code and the first network code in the SIB1 message are obtained.

[0076] In this step, the first country code and the first network code in the SIB1 message are obtained. Exemplarily, in 5GNR (New Radio), SIB1 usually carries information related to whether the UE is allowed to access the cell and defines the scheduling of other system information; in addition, it also provides radio resource configuration information shared by all UEs and prohibition information required for unified access control. The terminal can obtain the MCC and MNC codes of the visited network based on the NAS information in the SIB1 message. The MCC of the visited network is the first country code, and the MNC of the visited network is the first network code.

[0077] In step S1022, a second country code and a second network code in the SIM card of the terminal are obtained.

[0078] In this step, the second country code and the second network code in the SIM card of the terminal are obtained. Exemplarily, the terminal can read the MCC and MNC codes stored in the SIM card, that is, the second country code and the second network code.

[0079] In step S1023, when the first country code is different from the second country code and the first network code is different from the second network code, it is determined that the visited network is a roaming network and the terminal is in a roaming state.

[0080] In this step, when the first country code is different from the second country code, and the first network code is different from the second network code, it is determined that the visited network is a roaming network and the terminal is in a roaming state. Exemplarily, by comparing the first country code and the second country code, and comparing the first network code and the second network code, it is determined whether the visited network is a roaming network and whether the terminal is in a roaming state. If the first country code and the second country code are the same, and the first network code and the second network code are different, it can be determined that the terminal is in a domestic roaming state. If the first country code and the second country code are different, it can be determined that the terminal is in an international roaming state.

[0081] Figure 4 FIG. 1 is a flow chart of a communication method according to an exemplary embodiment. Figure 4 As shown, obtaining network-related information that supports 5G independent networking in the roaming area to which the roaming network belongs according to the country code of the roaming network in which the terminal is located may include the following steps:

[0082] In step S201, the network related information is obtained through a cloud server according to the country code of the roaming network.

[0083] In this step, the cloud server obtains network-related information of the roaming location according to the country code MCC of the roaming network. Exemplarily, the cloud server may store network configuration information of the roaming location, which may include information such as the number of networks, network types, network frequencies, network operators, and network charges.

[0084] Figure 5 FIG. 1 is a flow chart of a communication method according to an exemplary embodiment. Figure 5 As shown, obtaining the network related information through a cloud server according to the country code of the roaming network may include the following steps:

[0085] In step S2011, after the terminal is turned on, it is connected to the cloud server via a WIFI network.

[0086] In this step, after the terminal is turned on, it connects to the cloud server through the WIFI network to obtain network related information. For example, after the terminal is turned on, since it may not have registered on the local network, or in order to avoid high roaming data communication charges, it can choose to connect to the cloud server through the WIFI network to obtain network related information.

[0087] In step S2012, after the terminal is connected to the server, the network related information is obtained from the server according to the country code of the roaming network.

[0088] In this step, after the terminal is connected to the server, the roaming network related information corresponding to the country code MCC is obtained from the server according to the country code MCC of the roaming network.

[0089] Figure 6 FIG. 1 is a flow chart of a communication method according to an exemplary embodiment. Figure 6 As shown, the obtaining of the network related information through the cloud server according to the country code of the roaming network may also include the following steps:

[0090] In step S2013, the network related information is obtained from the server, and the network related information stored in the terminal is updated.

[0091] In this step, the network-related information of the roaming location is obtained from the server, and the network-related information stored in the terminal is updated. Exemplarily, the terminal can obtain the network-related information corresponding to the country code MCC of the roaming network through the cloud server, and then update the network-related information stored in the terminal. For example, the network-related information of the roaming location can be stored in the SIM card of the terminal. In this way, the network search speed can be accelerated when registering with the roaming location network next time.

[0092] Figure 7 FIG. 1 is a flow chart of a communication method according to an exemplary embodiment. Figure 7 As shown, updating the network related information stored in the terminal may include the following steps:

[0093] In step S20131, the terminal may also update the network related information stored in the modem of the terminal based on the network related information obtained from the server, so as to facilitate the rapid network registration in the roaming area in the future.

[0094] Figure 8 FIG. 1 is a flow chart of a communication method according to an exemplary embodiment. Figure 8As shown, searching the network and staying on the network according to the network related information may include the following steps:

[0095] In step S301, a network search is performed according to the frequency information in the network related information, and after the network search is successful, the searched target network is resident.

[0096] In this step, the network search is performed according to the frequency information in the network-related information, and the searched target network is resident after the network search is successful. Exemplarily, the terminal can preferentially scan and search for network frequencies that support 5GSA according to the frequency information in the network-related information, instead of adopting a blind full-band network search strategy, so as to speed up the network search speed and network search success rate, improve user experience, and reside in the 5G SA network after the network search is successful to enjoy higher-speed data service services, further improving user experience and satisfaction.

[0097] In summary, the disclosed embodiment provides a communication method, the method comprising: determining that a terminal is in a roaming state and that the terminal supports 5G independent networking services; obtaining network-related information that supports 5G independent networking in the roaming area to which the roaming network belongs according to the country code of the roaming network where the terminal is located, the network-related information including the network code and the frequency information of the network corresponding to the network code; searching for and staying in the network according to the network-related information. The disclosed embodiment can solve the problem in the related art that when a terminal moves from a non-5G independent networking network where it resides to an area where a 5G independent networking network exists, it cannot quickly register with a 5G independent networking network. By preferentially scanning the preset 5G SA frequency information, the scanning time is reduced, the registration speed of the terminal roaming to the 5G independent networking network is increased, and the user experience and satisfaction are improved.

[0098] Fig. 9 FIG. 1 is a block diagram of a communication device according to an exemplary embodiment. Fig. 9 As shown, the embodiment of the present disclosure provides a communication device 900, which may include the following modules:

[0099] The determination module 910 is configured to determine that the terminal is in a roaming state and that the terminal supports a 5G independent networking service;

[0100] The acquisition module 920 is configured to acquire, according to the country code of the roaming network in which the terminal is located, network-related information of the roaming area to which the roaming network belongs that supports 5G independent networking, wherein the network-related information includes a network code and frequency information of the network corresponding to the network code;

[0101] The network station module 930 is configured to search for a network and station on a network according to the network related information.

[0102] Optionally, the determination module 910 includes a network search submodule and a determination submodule;

[0103] The network search submodule is configured to obtain a designated system information block message of a visited network through a full-band search after the terminal fails to register with a public land mobile network;

[0104] The determining submodule is configured to determine, according to the designated system information block message, that the visited network is a roaming network and that the terminal is in a roaming state.

[0105] Optionally, the designated system information block message is a SIB1 message, and the determining submodule includes: a first acquiring submodule, a second acquiring submodule and a comparing submodule;

[0106] The first acquisition module is configured to acquire a first country code and a first network code in the SIB1 message;

[0107] The second acquisition module is configured to acquire a second country code and a second network code in a SIM card of the terminal;

[0108] The comparison submodule is configured to determine that the visited network is a roaming network and the terminal is in a roaming state when the first country code is different from the second country code and the first network code is different from the second network code.

[0109] Optionally, the acquisition module 920 includes an acquisition submodule configured to: acquire the network related information through a cloud server according to the country code of the roaming network.

[0110] Optionally, the acquisition submodule includes a related information acquisition submodule, and the related information acquisition submodule is configured as follows:

[0111] After the terminal is turned on, it is connected to the cloud server via a WIFI network;

[0112] After the terminal is connected to the server, the network related information is obtained from the server according to the country code of the roaming network.

[0113] Optionally, the acquisition submodule includes an update submodule configured to: after acquiring the network related information from the server, update the network related information stored in the terminal.

[0114] Optionally, the updating submodule is configured to update the network related information stored in the modem of the terminal based on the network related information obtained from the server.

[0115] Optionally, the resident network module 930 includes a resident network submodule configured to: perform a network search according to the frequency information in the network related information, and reside in the searched target network after the network search is successful.

[0116] In summary, the communication device provided by the embodiment of the present disclosure, when determining that the terminal is in a roaming state and the terminal supports 5G independent networking services, obtains network-related information that the roaming area to which the roaming network belongs supports 5G independent networking according to the country code of the roaming network where the terminal is located, and the network-related information includes a network code and the frequency information of the network corresponding to the network code, and searches and stays in the network according to the network-related information. The embodiment of the present disclosure can solve the problem in the related art that when the terminal moves from a non-5G independent networking network where it resides to an area where a 5G independent networking network exists, it cannot quickly realize 5G independent networking network registration. By preferentially scanning the preset 5G SA frequency information, the scanning time is reduced, the registration speed of the terminal roaming to the 5G independent networking network is increased, and the user experience and satisfaction are improved.

[0117] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.

[0118] The present disclosure also provides a computer-readable storage medium having computer program instructions stored thereon, and the program instructions, when executed by a processor, implement the steps of the communication method provided by the present disclosure.

[0119] Fig.10 1 is a block diagram of a terminal according to an exemplary embodiment. For example, the terminal 1000 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, etc.

[0120] Reference Fig.10 The terminal 1000 may include one or more of the following components: a processing component 1002 , a memory 1004 , a power component 1006 , a multimedia component 1008 , an audio component 1010 , an input / output interface 1012 , a sensor component 1014 , and a communication component 1016 .

[0121] The processing component 1002 generally controls the overall operation of the terminal 1000, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 1002 may include one or more processors 1020 to execute instructions to complete all or part of the steps of the above-mentioned method. In addition, the processing component 1002 may include one or more modules to facilitate the interaction between the processing component 1002 and other components. For example, the processing component 1002 may include a multimedia module to facilitate the interaction between the multimedia component 1008 and the processing component 1002.

[0122] The memory 1004 is configured to store various types of data to support operations at the terminal 1000. Examples of such data include instructions for any application or method operating on the terminal 1000, contact data, phone book data, messages, pictures, videos, etc. The memory 1004 may be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as a static random access memory (SRAM), an electrically erasable programmable read-only memory (EEPROM), an erasable programmable read-only memory (EPROM), a programmable read-only memory (PROM), a read-only memory (ROM), a magnetic memory, a flash memory, a magnetic disk, or an optical disk.

[0123] The power supply component 1006 provides power to various components of the terminal 1000. The power supply component 1006 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the terminal 1000.

[0124] The multimedia component 1008 includes a screen that provides an output interface between the terminal 1000 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 1008 includes a front camera and / or a rear camera. When the terminal 1000 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera may receive external multimedia data. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.

[0125] The audio component 1010 is configured to output and / or input audio signals. For example, the audio component 1010 includes a microphone (MIC), and when the terminal 1000 is in an operation mode, such as a call mode, a recording mode, and a speech recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 1004 or sent via the communication component 1016. In some embodiments, the audio component 1010 also includes a speaker for outputting audio signals.

[0126] The input / output interface 1012 provides an interface between the processing component 1002 and the peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include but are not limited to: a home button, a volume button, a start button, and a lock button.

[0127] The sensor assembly 1014 includes one or more sensors for providing various aspects of status assessment for the terminal 1000. For example, the sensor assembly 1014 can detect the open / closed state of the terminal 1000, the relative positioning of the components, such as the display and keypad of the terminal 1000, and the sensor assembly 1014 can also detect the position change of the terminal 1000 or a component of the terminal 1000, the presence or absence of contact between the user and the terminal 1000, the orientation or acceleration / deceleration of the terminal 1000, and the temperature change of the terminal 1000. The sensor assembly 1014 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 1014 may also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 1014 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.

[0128] The communication component 1016 is configured to facilitate wired or wireless communication between the terminal 1000 and other devices. The terminal 1000 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 1016 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 1016 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.

[0129] In an exemplary embodiment, terminal 1000 can be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors or other electronic components to perform the above methods.

[0130] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 1004 including instructions, and the instructions can be executed by the processor 1020 of the terminal 1000 to complete the above method. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.

[0131] In addition to being an independent electronic device, the terminal may also be a part of an independent electronic device. For example, in one embodiment, the terminal may be an integrated circuit (IC) or a chip, wherein the integrated circuit may be an IC or a collection of multiple ICs; the chip may include but is not limited to the following types: GPU (Graphics Processing Unit), CPU (Central Processing Unit), FPGA (Field Programmable Gate Array), DSP (Digital Signal Processor), ASIC (Application Specific Integrated Circuit), SOC (System on Chip, SoC), etc. The above-mentioned integrated circuit or chip can be used to execute executable instructions (or codes) to implement the above-mentioned communication method. The executable instructions may be stored in the integrated circuit or chip, or may be obtained from other terminals or devices, such as the integrated circuit or chip including a processor, a memory, and an interface for communicating with other terminals. The executable instruction may be stored in the memory, and when the executable instruction is executed by the processor, the above-mentioned communication method is implemented; alternatively, the integrated circuit or chip may receive the executable instruction through the interface and transmit it to the processor for execution, so as to implement the above-mentioned communication method.

[0132] In another exemplary embodiment, a computer program product is further provided. The computer program product includes a computer program that can be executed by a programmable terminal. The computer program has a code portion for executing the above communication method when executed by the programmable terminal.

[0133] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the present disclosure. This application is intended to cover any variations, uses or adaptations of the present disclosure, which follow the general principles of the present disclosure and include common knowledge or customary technical means in the art that are not disclosed in the present disclosure. The specification and examples are to be considered as exemplary only, and the true scope and spirit of the present disclosure are indicated by the following claims.

[0134] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims

1. A communication method, characterized in that: The method comprises: Determining that the terminal is in a roaming state and that the terminal supports 5G independent networking services; According to the country code of the roaming network in which the terminal is located, obtain network-related information of the roaming area to which the roaming network belongs that supports 5G independent networking, where the network-related information includes a network code and frequency information of the network corresponding to the network code; Search the network and stay on the network according to the network related information.

2. The communication method according to claim 1, characterized in that: Determining that the terminal is in a roaming state includes: After the terminal fails to register with the public land mobile network, obtaining a designated system information block message of the visited network through a full-band search; According to the designated system information block message, it is determined that the visited network is a roaming network and the terminal is in a roaming state.

3. The communication method according to claim 2, characterized in that: The designated system information block message is a SIB1 message, and the determining, according to the designated system information block message, that the visited network is a roaming network and the terminal is in a roaming state comprises: Obtaining a first country code and a first network code in the SIB1 message; Obtaining a second country code and a second network code from a SIM card of the terminal; In a case where the first country code is different from the second country code and the first network code is different from the second network code, it is determined that the visited network is a roaming network and the terminal is in a roaming state.

4. The communication method according to claim 1, characterized in that: The acquiring, according to the country code of the roaming network in which the terminal is located, network-related information that supports 5G independent networking in the roaming area to which the roaming network belongs includes: The network related information is obtained through a cloud server according to the country code of the roaming network.

5. The communication method according to claim 4, characterized in that: The obtaining the network related information through a cloud server according to the country code of the roaming network includes: After the terminal is turned on, it is connected to the cloud server via a WIFI network; After the terminal is connected to the server, the network related information is obtained from the server according to the country code of the roaming network.

6. The communication method according to claim 5, characterized in that: The obtaining the network related information through a cloud server according to the country code of the roaming network further includes: The network related information is obtained from the server, and the network related information stored in the terminal is updated.

7. The method according to claim 6, characterized in that The updating of the network related information stored in the terminal includes: Based on the network related information acquired from the server, the network related information stored in the modem of the terminal is updated.

8. The communication method according to claim 1, characterized in that: The searching and staying on the network according to the network related information includes: The network search is performed according to the frequency information in the network related information, and the searched target network is resident after the network search is successful.

9. A communication device, characterized in that: The device comprises: A determination module is configured to determine that the terminal is in a roaming state and that the terminal supports a 5G independent networking service; an acquisition module, configured to acquire, according to the country code of the roaming network in which the terminal is located, network-related information of the roaming area to which the roaming network belongs that supports 5G independent networking, wherein the network-related information includes a network code and frequency information of the network corresponding to the network code; The network station module is configured to search the network and station on the network according to the network related information.

10. A terminal, characterized in that: The terminal comprises: processor; a memory for storing processor-executable instructions; The processor is configured to: execute the executable instructions to perform the method according to any one of claims 1 to 8.

11. A computer-readable storage medium having computer program instructions stored thereon, characterized in that: When the program instructions are executed by a processor, the steps of the method described in any one of claims 1 to 8 are implemented.