CN118118970A - Route configuration method, device, electronic equipment and computer readable storage medium - Google Patents

Route configuration method, device, electronic equipment and computer readable storage medium Download PDF

Info

Publication number
CN118118970A
CN118118970A CN202410061499.0A CN202410061499A CN118118970A CN 118118970 A CN118118970 A CN 118118970A CN 202410061499 A CN202410061499 A CN 202410061499A CN 118118970 A CN118118970 A CN 118118970A
Authority
CN
China
Prior art keywords
network
information
access point
service type
service
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202410061499.0A
Other languages
Chinese (zh)
Inventor
周欢欢
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huizhou TCL Mobile Communication Co Ltd
Original Assignee
Huizhou TCL Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huizhou TCL Mobile Communication Co Ltd filed Critical Huizhou TCL Mobile Communication Co Ltd
Priority to CN202410061499.0A priority Critical patent/CN118118970A/en
Publication of CN118118970A publication Critical patent/CN118118970A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W40/00Communication routing or communication path finding
    • H04W40/02Communication route or path selection, e.g. power-based or shortest path routing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M7/00Arrangements for interconnection between switching centres
    • H04M7/006Networks other than PSTN/ISDN providing telephone service, e.g. Voice over Internet Protocol (VoIP), including next generation networks with a packet-switched transport layer
    • H04M7/0075Details of addressing, directories or routing tables

Landscapes

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

Abstract

The application relates to the technical field of communication, and discloses a route configuration method, which comprises the following steps: acquiring network information of a user identification card of the target equipment, reading service information of an access point of the target equipment according to the network information, and configuring the service information to the user identification card; configuring the identification information of the user identification card according to the service information, and performing network dialing on the access point; and acquiring the service type of the access point with successful network dialing, and configuring the route in the target equipment according to the service type. The application also discloses a route configuration device, electronic equipment and a computer readable storage medium. The application realizes that different services can access corresponding network resources through different access points in the target equipment, further realizes automatic differentiation and accurate access of different service network resources, and improves the access efficiency of the service network resources.

Description

Route configuration method, device, electronic equipment and computer readable storage medium
Technical Field
The present application relates to the field of communications technologies, and in particular, to a route configuration method, a route configuration device, an electronic device, and a computer readable storage medium.
Background
An APN (Access Point Name, access point) is an access point name for accessing a public data network, also referred to as a network access technology. In the mobile router, by configuring APN information, the mobile router can be connected to a corresponding data network to realize data communication and Internet access.
Multiple APNs refer to devices supporting configuration of multiple APNs and simultaneously being connectable to multiple network access points to satisfy multiple services for secure access to different networks and data resources. For the sake of more secure and convenient management of service services, operators may require that mobile routing devices support multiple APNs, different services use different APNs, such as an APN for accessing internet usage data, and Voice (VOIP) services use a voice APN. However, when network access is performed through multiple APNs, access of different routes cannot be performed for different services, which results in a problem of low efficiency of multi-service access.
Disclosure of Invention
The embodiment of the application provides a route configuration method, a device, electronic equipment and a computer readable storage medium, which can solve the technical problem of low current multi-service access efficiency.
The embodiment of the application provides a route configuration method, which comprises the following steps:
Acquiring network information of a user identification card of target equipment, reading service information of an access point of the target equipment according to the network information, and configuring the service information to the user identification card;
according to the service information, configuring the identification information of the user identification card, and performing network dialing on the access point;
And acquiring the service type of an access point with successful network dialing, and configuring the route in the target equipment according to the service type.
Further, the reading the service information of the access point of the target device according to the network information includes:
determining an operator to which the user identification card belongs according to the network information;
Searching service information of the access point corresponding to the operator in a preset database, and taking the service information of the access point corresponding to the operator as the service information of the access point of the target equipment.
Further, the configuring the route in the target device according to the service type includes:
Judging whether the service type of the access point with successful network dialing is a data service type;
and if the service type is the data service type, setting the route of the access point corresponding to the data service type as a default route.
Further, after determining whether the service type of the access point with successful network dialing is the data service type, the method further includes:
If the service type is not the data service type, acquiring a network access address corresponding to the service type through the identification information;
and configuring the network access address to a host route of the target device.
Further, after the configuring the route in the target device according to the service type, the method includes:
Acquiring a network access request triggered by the target equipment and judging the service type of the network access request;
If the service type of the network access request is a data service type, performing network access through a default route of an access point corresponding to the data service type;
And if the service type of the network access request is not the data service type, performing network access through a host route corresponding to the service type.
Further, the configuring the service information to the subscriber identity module card includes:
Acquiring the identification information of the access point;
and configuring the service information to a modulation and demodulation side of the subscriber identity module card according to the identification information.
Further, before the network dialing is performed on the access point according to the identification information configured to the subscriber identity module card according to the service information, the method further includes:
determining whether the target device completes network registration;
the configuring the identification information of the user identification card according to the service information to dial the access point through the network comprises the following steps:
if the target equipment does not complete the network registration, network registration preparation is carried out until the target equipment completes the network registration;
and if the target equipment completes network registration, carrying out network dialing on the access point according to the identification information configured to the user identification card by the service information.
Correspondingly, the embodiment of the application provides a route configuration device, which comprises:
the acquisition module is used for acquiring network information of a user identification card of target equipment, reading service information of an access point of the target equipment according to the network information, and configuring the service information to the user identification card;
the connection module is used for carrying out network dialing on the access point according to the identification information configured to the user identification card by the service information;
And the configuration module is used for acquiring the service type of the access point with successful network dialing and configuring the route in the target equipment according to the service type.
In addition, the embodiment of the application also provides electronic equipment, which comprises a processor and a memory, wherein the memory stores a computer program, and the processor is used for running the computer program in the memory to realize the route configuration method provided by the embodiment of the application.
In addition, the embodiment of the application also provides a computer readable storage medium, and the computer readable storage medium stores a computer program, and the computer program is suitable for being loaded by a processor to execute any one of the routing configuration methods provided by the embodiment of the application.
In addition, the embodiment of the application also provides a computer program product, which comprises a computer program, wherein the computer program realizes any one of the route configuration methods provided by the embodiment of the application when being executed by a processor.
In the embodiment of the application, the service information of the access point of the target equipment is read according to the network information by acquiring the network information of the user identification card of the target equipment, and the service information is configured to the user identification card, so that the efficient acquisition of the service information is realized; then, configuring the identification information of the user identification card according to the service information, and performing network dialing on the access point, so that the target equipment can perform network connection through the access point with successful network dialing; finally, the service type of the access point with successful network dialing is obtained, and the route in the target equipment is configured according to the service type, so that different services can access corresponding network resources through different access points in the target equipment, automatic differentiation and accurate access of different service network resources are further realized, and the access efficiency of the service network resources is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the description of the embodiments will be briefly described below, it being obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic flow chart of a route configuration method provided by the present application;
fig. 2 is a routing configuration diagram of an access point corresponding to a service provided in an embodiment of the present application;
fig. 3 is a routing configuration diagram of a non-data service type provided in an embodiment of the present application;
fig. 4 is a schematic configuration diagram of a modem access point according to an embodiment of the present application;
Fig. 5 is a schematic structural diagram of a route configuration device according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present application, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to fall within the scope of the application.
The embodiment of the application provides a route configuration method, a route configuration device, electronic equipment and a computer readable storage medium. The route configuration device may be integrated in an electronic device, which may be a server or a device such as a terminal.
The server may be an independent physical server, a server cluster or a distributed system formed by a plurality of physical servers, or a cloud server providing cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, network acceleration services (Content Delivery Network, CDN), basic cloud computing services such as big data and an artificial intelligent platform.
The terminal may be, but is not limited to, a smart phone, a tablet computer, a notebook computer, a desktop computer, a smart speaker, a smart watch, etc. The terminal and the server may be directly or indirectly connected through wired or wireless communication, and the present application is not limited herein.
In addition, "plurality" in the embodiments of the present application means two or more. "first" and "second" and the like in the embodiments of the present application are used for distinguishing descriptions and are not to be construed as implying relative importance.
The following will describe in detail. The following description of the embodiments is not intended to limit the preferred embodiments.
Referring to fig. 1, fig. 1 is a flow chart illustrating a route configuration method according to an embodiment of the application. The route configuration method may include:
S101, acquiring network information of a user identification card of target equipment, reading service information of an access point of the target equipment according to the network information, and configuring the service information to the user identification card.
In this embodiment, the subscriber identity card is SIM (Subscriber Identity Module) cards of the target device, and the SIM card is an IC card held by a mobile subscriber of the GSM system, which is called a subscriber identity card. The network information is used to identify operators providing mobile communication services, such as PLMNs (Public Land Mobile Network, public land mobile networks) consisting of Mobile Country Codes (MCCs) and Mobile Network Codes (MNCs), by which different operators can be distinguished. The access point is APN (Access Point Name) for accessing the public data network. The network information and the service information of each access point of the target equipment are stored in a preset database in an associated mode, and the service information of the access point corresponding to the network information can be found through the database. The service information is access point information corresponding to each access point, and specifically includes information such as a service type (apn type), an access point name (apn name), a Mobile Country Code (MCC), a Mobile Network Code (MNC), a user name, a user password, and authentication (authentication), where one service type corresponds to one category of service information. Taking PLMN (0001) as an example, the following table shows that the table includes service information of a plurality of different service types.
Mcc mnc Apn name Apn type
000 01 data data
000 01 voip voip
000 01 TR069 TR069
000 01 other other
When the service information is acquired, each service information is configured to the user identification card.
S102, according to the service information, configuring the identification information of the user identification card, and performing network dialing on the access point.
In this embodiment, when the service information is configured to the subscriber identity module card, the service information is configured according to the identification information of the access point corresponding to each service information. Each access point may be distinguished by the access point's identification information, from which the corresponding traffic type may also be determined. Therefore, when the service information is configured on the user identification card, the network dialing is respectively carried out on each access point according to the identification information configured on the user identification card by each service information, so that the target equipment can be connected to the network through each access point.
S103, obtaining the service type of the access point with successful network dialing, and configuring the route in the target equipment according to the service type.
In this embodiment, after network dialing is performed on each access point, the service type of the access point for which the network dialing is successful is obtained. The service type can be divided into a data service type and a non-data service type, and the routing configuration modes of the data service type and the non-data service type are different. The route in the target equipment is configured according to the service type, so that network access of different paths can be performed through routes corresponding to different service types configured in the target equipment, and the network access efficiency of different services is further improved.
According to the embodiment, the network information of the user identification card of the target equipment is obtained, the service information of the access point of the target equipment is read according to the network information, and the service information is configured to the user identification card, so that the service information is obtained efficiently; then, configuring the identification information of the user identification card according to the service information, and performing network dialing on the access point, so that the target equipment can perform network connection through the access point with successful network dialing; finally, the service type of the access point with successful network dialing is obtained, and the route in the target equipment is configured according to the service type, so that different services can access corresponding network resources through different access points in the target equipment, automatic differentiation and accurate access of different service network resources are further realized, and the access efficiency of the service network resources is improved.
In some embodiments of the present application, the reading, according to the network information, service information of the access point of the target device includes:
determining an operator to which the user identification card belongs according to the network information;
Searching service information of the access point corresponding to the operator in a preset database, and taking the service information of the access point corresponding to the operator as the service information of the access point of the target equipment.
In this embodiment, the service information of each operator and the corresponding network information thereof are stored in advance in association in the database. Therefore, when the network information is acquired, determining an operator to which the user identification card belongs according to the network information; and then searching the service information of the access point corresponding to the operator in a preset database, wherein the service information of each access point under the operator is the service information of each access point of the target equipment.
In the embodiment, the service information of the access point corresponding to the operator to which the user identification card belongs is searched in the preset database, so that the service function of the user identification card can be rapidly acquired through the database, and the target equipment is further configured according to different service functions.
In some embodiments of the present application, the configuring the route in the target device according to the service type includes:
Judging whether the service type of the access point with successful network dialing is a data service type;
and if the service type is the data service type, setting the route of the access point corresponding to the data service type as a default route.
The default route refers to a default route path of the target device. By setting the route of the access point corresponding to the data service type as the default route, network access can be performed through the default route when the service is the data service.
If the service type is not the data service type, acquiring a network access address corresponding to the service type through the identification information;
and configuring the network access address to a host route of the target device.
In this embodiment, if the service type of the access point with successful dialing is not the data service type, if the service type is a voice service type, a video service type, or the like, the network access address corresponding to the service type is obtained through the identification information. Specifically, the domain name of the service server corresponding to the service type is obtained according to the identification information, and the domain name of the service server corresponding to each service type is analyzed to obtain the network access address corresponding to each service type. The network access address is then configured to the host route of the target device. When the network access address is acquired, each network access address and a routing interface (dev) of each access point are configured into the host route of the target device, so that network access of different service types is performed through the network access address of the host route.
For example, by resolving the domain name of the service server corresponding to the multiple APNs into ip and adding its ip and dev of each APN to the host route, when VOIP and TR069 access the corresponding ip, the report Wen Huiliu is directed to the dev of the corresponding APN. As shown in fig. 2 and fig. 3, fig. 2 is a routing configuration diagram of an access point corresponding to a service in an embodiment of the present application, and fig. 3 is a routing configuration diagram of a non-data service type in an embodiment of the present application. As can be seen from fig. 2 and 3, the routing interface (dev) of the DATA service type access point (DATA APN) is rmnet _data3, the dev of the voice service type access point (VOIP APN) is rmnet _data0, and the dev of the TR069 APN is rmnet _data1. Wherein, the default route is added to dev rmnet _data3 corresponding to DATA, the network access address of the domain name of the service server corresponding to VOIP comprises ip4 (157.148.69.74, 157.148.69.80) and ipv6 (2408:8756:f50:1002:32), which are added to the host route, and the network access address corresponding to the domain name of the service server corresponding to TR069 comprises ip4 (61.241.54.211, 61.241.54.232) and ipv6 (2408:8756:f50:1:7 a), which are also added to the host route.
Further, when the configuration of the network access address corresponding to each service type in the host route of the target device is completed, the route corresponding to each service type is stored in the route table of the target device, and the route stored in each access point is the static route in the route table.
When the service type is not the data service type, the network access address corresponding to the service type is acquired through the identification information, and the network access address is configured into the host route of the target device, so that the network access of the non-data service type can be performed through the host route, the route distinction of different services is further realized, and the access efficiency of different services is improved.
In some embodiments of the present application, after the configuring the route in the target device according to the service type, the method includes:
Acquiring a network access request triggered by the target equipment and judging the service type of the network access request;
If the service type of the network access request is a data service type, performing network access through a default route of an access point corresponding to the data service type;
And if the service type of the network access request is not the data service type, performing network access through a host route corresponding to the service type.
In this embodiment, after the route of the target device is configured according to the service type, when the target device needs to perform network access, a network access request triggered based on the target device is acquired. The network access request may be triggered by a user performing a call, voice, or video, etc. operation on the target device. And then judging the service type of the network access request, and determining the route of the target equipment for network access according to the service type. If the service type of the network access request is the DATA service type, namely the DATA service, network access is performed through a default route of an access point corresponding to the DATA service type configured in the target device. If the service type of the network access request is not the data service type, if the network access request is a voice service type (such as VOIP, voice over Internet Protocol, corresponding to voice transmission), or if the network access request is a video service type, or is a service corresponding to other communication protocols (such as TR069, TECHNICAL REPORT 069, corresponding to the protocol), searching whether a matched static route exists in a routing table of the target device, and if so, performing network access through a host route corresponding to the service type configured in the target device.
For example, network access is made to DATA that accesses the internet through a default route. When the VOIP and TR069 application access server ip, firstly searching whether a matched static route exists in a route table of the target equipment, and determining that the matched static route exists because the routes of the VOIP and the TR069 are configured in a host route of the target equipment before, wherein the access of the VOIP and the TR069 is accessed through the routes of access points corresponding to the VOIP and the TR069 respectively.
According to the embodiment, after the routes of the access points in the target equipment are configured, the network access request is acquired, and different network accesses are performed through different routes according to the service types corresponding to the network access request, so that different route accesses of different types of services are realized, and the access efficiency of each service is improved.
In some embodiments of the present application, the configuring the service information to the subscriber identity module includes:
Acquiring the identification information of the access point;
and configuring the service information to a modulation and demodulation side of the subscriber identity module card according to the identification information.
In this embodiment, the identification information of the access point refers to information for identifying different access points, such as an access point ID. The identification information of each access point is obtained, and each service information is configured to the modulation and demodulation side of the user identification card according to the identification information. The modem side is a modem side of the subscriber identity module card, and one piece of identification information corresponds to one type of service information. When the configuration of each service information is completed, each identification information is recorded.
As shown in fig. 4, fig. 4 is a schematic configuration diagram of a modem side access of the subscriber identity card. Wherein, APN1 is DATA, APN2 is TR069, APN3 is VOIP.
According to the embodiment, the service information is configured to the modulation and demodulation side of the user identification card according to the identification information, so that the corresponding service information can be determined through the identification information of each access point, and different accurate network accesses can be performed through the set access points with different service types.
In some embodiments of the present application, before the network dialing is performed on the access point according to the identification information configured to the subscriber identity module according to the service information, the method further includes:
determining whether the target device completes network registration;
the configuring the identification information of the user identification card according to the service information to dial the access point through the network comprises the following steps:
if the target equipment does not complete the network registration, network registration preparation is carried out until the target equipment completes the network registration;
and if the target equipment completes network registration, carrying out network dialing on the access point according to the identification information configured to the user identification card by the service information.
In this embodiment, before network dialing is performed at the access point, it is determined whether the target device has completed network registration. And if the target equipment does not complete the network registration, performing network registration preparation until the target equipment completes the network registration. If the target equipment completes network registration, the target equipment can connect to the internet through dialing, and network dialing is carried out on the access point according to the identification information configured to the user identification card by the service information. Specifically, the identification information is generally an access point ID configured to the subscriber identity card for each service information, and the access point ID is used to dial, and when the dialing is completed, it is determined that the target device can access the network through the route of the access point. When a plurality of access points exist, dialing is sequentially carried out according to each piece of identification information until the dialing of the identification information corresponding to all the access points is completed.
In the embodiment, whether the target equipment completes network registration is determined, and when the target equipment does not complete network registration, network registration preparation is performed until the network registration is completed; when the target equipment completes network registration, the network dialing is carried out on the access points according to the identification information configured to the user identification card by the service information, so that when the route configuration of each access point is completed, the network access can be respectively carried out through the routes of each access point, and the network access efficiency is improved.
In order to facilitate better implementation of the route configuration method provided by the embodiment of the present application, the embodiment of the present application further provides a device based on the route configuration method. The meaning of the nouns is the same as that in the route configuration method, and specific implementation details can refer to the description in the method embodiment.
For example, as shown in fig. 5, the route configuration device may include: an acquisition module 501, a connection module 502 and a configuration module 503. Wherein,
An obtaining module 501, configured to obtain network information of a user identification card of a target device, read service information of an access point of the target device according to the network information, and configure the service information to the user identification card;
A connection module 502, configured to perform network dialing on the access point according to the service information configured to the identification information of the subscriber identity module;
A configuration module 503, configured to obtain a service type of an access point with successful network dialing, and configure a route in the target device according to the service type.
In an embodiment of the present application, the obtaining module 501 includes:
A confirmation unit, configured to determine, according to the network information, an operator to which the subscriber identity module card belongs;
The searching unit is used for searching the service information of the access point corresponding to the operator in a preset database, and taking the service information of the access point corresponding to the operator as the service information of the access point of the target equipment.
In an embodiment of the present application, the configuration module 503 includes:
The judging unit is used for judging whether the service type of the access point with successful network dialing is a data service type;
And the first setting unit is used for setting the route of the access point corresponding to the data service type as a default route if the service type is the data service type.
In an embodiment of the present application, the configuration module 503 further includes:
the first acquisition unit is used for acquiring a network access address corresponding to the service type through the identification information if the service type is not the data service type;
and the second setting unit is used for configuring the network access address to the host route of the target equipment.
In an embodiment of the present application, the route configuration device further includes:
The judging module is used for acquiring a network access request triggered by the target equipment and judging the service type of the network access request;
The first access module is used for performing network access through a default route of an access point corresponding to the data service type if the service type of the network access request is the data service type;
And the second access module is used for performing network access through a host route corresponding to the service type if the service type of the network access request is not the data service type.
In an embodiment of the present application, the obtaining module 501 further includes:
A second obtaining unit, configured to obtain identification information of the access point;
And the configuration unit is used for configuring the service information to the modulation and demodulation side of the subscriber identity module card according to the identification information.
In an embodiment of the present application, the route configuration device further includes:
a network confirmation module, configured to determine whether the target device completes network registration;
the connection module 502 is further configured to perform:
if the target equipment does not complete the network registration, network registration preparation is carried out until the target equipment completes the network registration;
and if the target equipment completes network registration, carrying out network dialing on the access point according to the identification information configured to the user identification card by the service information.
The route configuration device provided by the application realizes that different services can access corresponding network resources through different access points in the target equipment, further realizes automatic differentiation and accurate access of different service network resources, and improves the access efficiency of the service network resources.
In the specific implementation, each module may be implemented as an independent entity, or may be combined arbitrarily, and implemented as the same entity or a plurality of entities, and the specific implementation and the corresponding beneficial effects of each module may be referred to the foregoing method embodiments, which are not described herein again.
The embodiment of the application also provides an electronic device, which may be a server or a terminal, as shown in fig. 6, and shows a schematic structural diagram of the electronic device according to the embodiment of the application, specifically:
The electronic device may include one or more processing cores 'processors 601, one or more computer-readable storage media's memory 602, power supply 603, and input unit 604, among other components. It will be appreciated by those skilled in the art that the electronic device structure shown in fig. 6 is not limiting of the electronic device and may include more or fewer components than shown, or may combine certain components, or a different arrangement of components. Wherein:
The processor 601 is a control center of the electronic device, connects various parts of the entire electronic device using various interfaces and lines, performs various functions of the electronic device and processes data by running or executing computer programs and/or modules stored in the memory 602, and invoking data stored in the memory 602. Optionally, the processor 601 may include one or more processing cores; preferably, the processor 601 may integrate an application processor and a modem processor, wherein the application processor primarily handles operating systems, user interfaces, applications, etc., and the modem processor primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 601.
The memory 602 may be used to store computer programs and modules, and the processor 601 may execute various functional applications and data processing by executing the computer programs and modules stored in the memory 602. The memory 602 may mainly include a stored program area and a stored data area, wherein the stored program area may store an operating system, a computer program (such as a sound playing function, an image playing function, etc.) required for at least one function, and the like; the storage data area may store data created according to the use of the electronic device, etc. In addition, the memory 602 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage device. Accordingly, the memory 602 may also include a memory controller to provide access to the memory 602 by the processor 601.
The electronic device further comprises a power supply 603 for supplying power to the various components, preferably the power supply 603 may be logically connected to the processor 601 by a power management system, so that functions of managing charging, discharging, power consumption management and the like are achieved by the power management system. The power supply 603 may also include one or more of any components, such as a direct current or alternating current power supply, a recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator, and the like.
The electronic device may further comprise an input unit 604, which input unit 604 may be used for receiving input digital or character information and for generating keyboard, mouse, joystick, optical or trackball signal inputs in connection with user settings and function control.
Although not shown, the electronic device may further include a display unit or the like, which is not described herein. In particular, in this embodiment, the processor 601 in the electronic device loads executable files corresponding to the processes of one or more computer programs into the memory 602 according to the following instructions, and the processor 601 executes the computer programs stored in the memory 602, so as to implement various functions, such as:
Acquiring network information of a user identification card of target equipment, reading service information of an access point of the target equipment according to the network information, and configuring the service information to the user identification card;
according to the service information, configuring the identification information of the user identification card, and performing network dialing on the access point;
And acquiring the service type of an access point with successful network dialing, and configuring the route in the target equipment according to the service type.
The electronic equipment provided by the embodiment of the application realizes that different services can access corresponding network resources through different access points in the target equipment, further realizes automatic differentiation and accurate access of different service network resources, and improves the access efficiency of the service network resources.
The specific embodiments and the corresponding beneficial effects of each operation above can be referred to the detailed description of the route configuration method above, and are not described herein.
It will be appreciated by those of ordinary skill in the art that all or part of the steps of the various methods of the above embodiments may be performed by a computer program, or by computer program control related hardware, which may be stored in a computer readable storage medium and loaded and executed by a processor.
To this end, an embodiment of the present application provides a computer readable storage medium having stored therein a computer program that can be loaded by a processor to perform the steps of any of the route configuration methods provided by the embodiment of the present application. For example, the computer program may perform the steps of:
Acquiring network information of a user identification card of target equipment, reading service information of an access point of the target equipment according to the network information, and configuring the service information to the user identification card;
according to the service information, configuring the identification information of the user identification card, and performing network dialing on the access point;
And acquiring the service type of an access point with successful network dialing, and configuring the route in the target equipment according to the service type.
The computer readable storage medium provided by the embodiment of the application realizes that different services can access corresponding network resources through different access points in the target equipment, further realizes automatic differentiation and accurate access of different service network resources, and improves the access efficiency of the service network resources.
The specific embodiments and the corresponding beneficial effects of each of the above operations can be found in the foregoing embodiments, and are not described herein again.
Wherein the computer-readable storage medium may comprise: read Only Memory (ROM), random access Memory (RAM, random Access Memory), magnetic or optical disk, and the like.
Since the computer program stored in the computer readable storage medium may execute the steps in any one of the routing configuration methods provided by the embodiments of the present application, the beneficial effects that any one of the routing configuration methods provided by the embodiments of the present application can be achieved, which are detailed in the previous embodiments and are not described herein.
Wherein according to an aspect of the application, a computer program product or a computer program is provided, the computer program product or computer program comprising computer instructions stored in a computer readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device performs the above-described route configuration method.
The foregoing describes in detail a route configuration method, apparatus, electronic device and computer readable storage medium provided by the embodiments of the present application, and specific examples are applied to illustrate the principles and embodiments of the present application, where the foregoing examples are only used to help understand the method and core idea of the present application; meanwhile, as those skilled in the art will have variations in the specific embodiments and application scope in light of the ideas of the present application, the present description should not be construed as limiting the present application.

Claims (10)

1. A method of route configuration, comprising:
Acquiring network information of a user identification card of target equipment, reading service information of an access point of the target equipment according to the network information, and configuring the service information to the user identification card;
according to the service information, configuring the identification information of the user identification card, and performing network dialing on the access point;
And acquiring the service type of an access point with successful network dialing, and configuring the route in the target equipment according to the service type.
2. The route configuration method according to claim 1, wherein the reading the service information of the access point of the target device according to the network information includes:
determining an operator to which the user identification card belongs according to the network information;
Searching service information of the access point corresponding to the operator in a preset database, and taking the service information of the access point corresponding to the operator as the service information of the access point of the target equipment.
3. The route configuration method according to claim 1, wherein said configuring the route in the target device according to the traffic type comprises:
Judging whether the service type of the access point with successful network dialing is a data service type;
and if the service type is the data service type, setting the route of the access point corresponding to the data service type as a default route.
4. The route configuration method according to claim 3, further comprising, after said determining whether the service type of the access point for which the network dialing is successful is a data service type:
If the service type is not the data service type, acquiring a network access address corresponding to the service type through the identification information;
and configuring the network access address to a host route of the target device.
5. The route configuration method according to claim 1, characterized by comprising, after said configuring the route in the target device according to the traffic type:
Acquiring a network access request triggered by the target equipment and judging the service type of the network access request;
If the service type of the network access request is a data service type, performing network access through a default route of an access point corresponding to the data service type;
And if the service type of the network access request is not the data service type, performing network access through a host route corresponding to the service type.
6. The route configuration method according to claim 1, wherein said configuring the service information to the subscriber identity card comprises:
Acquiring the identification information of the access point;
and configuring the service information to a modulation and demodulation side of the subscriber identity module card according to the identification information.
7. The route configuration method according to claim 1, further comprising, before said configuring the identification information to the subscriber identity card according to the service information, performing network dialing on the access point:
determining whether the target device completes network registration;
the configuring the identification information of the user identification card according to the service information to dial the access point through the network comprises the following steps:
if the target equipment does not complete the network registration, network registration preparation is carried out until the target equipment completes the network registration;
and if the target equipment completes network registration, carrying out network dialing on the access point according to the identification information configured to the user identification card by the service information.
8. A route configuration device, comprising:
the acquisition module is used for acquiring network information of a user identification card of target equipment, reading service information of an access point of the target equipment according to the network information, and configuring the service information to the user identification card;
the connection module is used for carrying out network dialing on the access point according to the identification information configured to the user identification card by the service information;
And the configuration module is used for acquiring the service type of the access point with successful network dialing and configuring the route in the target equipment according to the service type.
9. An electronic device comprising a processor and a memory, the memory storing a computer program, the processor being configured to execute the computer program in the memory to perform the route configuration method of any of claims 1 to 7.
10. A computer readable storage medium, characterized in that the computer readable storage medium stores a computer program adapted to be loaded by a processor for performing the route configuration method of any of claims 1 to 7.
CN202410061499.0A 2024-01-15 2024-01-15 Route configuration method, device, electronic equipment and computer readable storage medium Pending CN118118970A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202410061499.0A CN118118970A (en) 2024-01-15 2024-01-15 Route configuration method, device, electronic equipment and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202410061499.0A CN118118970A (en) 2024-01-15 2024-01-15 Route configuration method, device, electronic equipment and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN118118970A true CN118118970A (en) 2024-05-31

Family

ID=91218840

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202410061499.0A Pending CN118118970A (en) 2024-01-15 2024-01-15 Route configuration method, device, electronic equipment and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN118118970A (en)

Similar Documents

Publication Publication Date Title
EP3327992A1 (en) Method of selecting network slice and system utilizing same
CN104869615B (en) Network access method and mobile communication terminal
US20140357263A1 (en) Preferred plmn list for faster service acquisition
EP3197213B1 (en) Network access method and mobile communication terminal
US10897702B2 (en) Method and device for calling SIM card, method and device for pushing information, and SIM card allocation system
CN110831077B (en) Mobile data service switching method, terminal and computer storage medium
WO2016173349A1 (en) Network access method and mobile communications terminal
CN106028279A (en) Network registration method and device
CN105848152A (en) Method, device and system for network access
CN105636016A (en) Method, apparatus, and system for network connection
CN104853409A (en) Network access method and mobile communication terminal
WO2016184203A1 (en) Method and device for adaptive selection of data network
CN103813439A (en) Method for terminal register and terminal
CN109088949B (en) Matching method of Internet of things services and MME
CN114222284B (en) Terminal equipment identification method, device and readable storage medium
CN109246280B (en) Address book cloud processing method and device, computer equipment and readable storage medium
CN112738019B (en) Method and device for displaying device information, storage medium and electronic device
WO2021121019A1 (en) Sim card allocation method and apparatus, server and computer-readable storage medium
CN111901813A (en) Network configuration method and equipment for customer premises equipment
CN109429302A (en) Restoration methods and device after a kind of multi-card terminal off-grid
CN105474674A (en) Automatically detection of a network operator for a mobile network device
CN118118970A (en) Route configuration method, device, electronic equipment and computer readable storage medium
WO2020133461A1 (en) Communication processing method and apparatus, mobile terminal, and storage medium
CN108401252B (en) Terminal system obtaining method and smart card
CN112995900B (en) SIM card distribution method, device, server and computer readable storage medium

Legal Events

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