CN114928833A - Network link login method and device, power terminal and storage medium - Google Patents

Network link login method and device, power terminal and storage medium Download PDF

Info

Publication number
CN114928833A
CN114928833A CN202210530516.1A CN202210530516A CN114928833A CN 114928833 A CN114928833 A CN 114928833A CN 202210530516 A CN202210530516 A CN 202210530516A CN 114928833 A CN114928833 A CN 114928833A
Authority
CN
China
Prior art keywords
dialing
user identification
identification card
target user
configuration parameters
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
CN202210530516.1A
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.)
Ningbo Sanxing Medical and Electric Co Ltd
Original Assignee
Ningbo Sanxing Medical and Electric 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 Ningbo Sanxing Medical and Electric Co Ltd filed Critical Ningbo Sanxing Medical and Electric Co Ltd
Priority to CN202210530516.1A priority Critical patent/CN114928833A/en
Publication of CN114928833A publication Critical patent/CN114928833A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/18Processing of user or subscriber data, e.g. subscribed services, user preferences or user profiles; Transfer of user or subscriber data
    • H04W8/20Transfer of user or subscriber data
    • H04W8/205Transfer to or from user equipment or user record carrier
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/04Arrangements for maintaining operational condition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/02Terminal devices
    • H04W88/06Terminal devices adapted for operation in multiple networks or having at least two operational modes, e.g. multi-mode terminals
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Telephone Function (AREA)

Abstract

The embodiment of the application provides a network link login method, a network link login device, an electric power terminal and a storage medium, and relates to the technical field of communication. After receiving a network link starting instruction, determining an operator type and a network type of a target user identification card arranged on the power terminal; determining a communication parameter corresponding to the target user identification card according to the corresponding relation, the operator type and the network type of the target user identification card; according to the communication parameters corresponding to the target user identification card, the main station is dialed and logged in, so that after a network link starting instruction is received, corresponding parameters are automatically configured for the power terminal and the power terminal is logged in, manual labor is reduced, and the automation degree is improved.

Description

Network link login method and device, power terminal and storage medium
Technical Field
The present application relates to the field of communications technologies, and in particular, to a network link login method, an apparatus, an electric power terminal, and a storage medium.
Background
With the development of wireless public network communication technology, the selection space of the power acquisition terminal remote wireless public network communication network is increasingly diversified, for example, china mobile, china unicom, china telecom, etc., under this condition, the network link parameters between the power terminal and the remote terminal are more.
In the prior art, when a power terminal carries out network link login debugging, debugging personnel are often required to set corresponding network link parameters for the power terminal according to a user identification card and then log in, so that the problems of increased manual labor and lower automation degree exist.
Disclosure of Invention
In view of this, an object of the present application is to provide a network link login method, device, power terminal and storage medium, so as to automatically configure corresponding parameters for the power terminal and perform login, thereby reducing manual labor and improving automation degree.
In order to achieve the above purpose, the embodiments of the present application employ the following technical solutions:
in a first aspect, the present application provides a network link login method, which is applied to an electric power terminal, where a correspondence relationship between an operator type of a subscriber identity card, a network type, and a communication parameter is stored in the electric power terminal, and the method includes:
after receiving a network link starting instruction, determining an operator type and a network type of a target user identification card arranged on the power terminal;
determining a communication parameter corresponding to the target user identification card according to the corresponding relation, the operator type and the network standard of the target user identification card;
and carrying out dial-up login on the master station according to the communication parameters corresponding to the target user identification card.
In an optional implementation manner, the communication parameters include configuration parameters and connection parameters, and performing dial-up login on a master station according to the communication parameters corresponding to the target subscriber identity module card includes:
dialing according to the configuration parameters corresponding to the target user identification card;
and under the condition of successful dialing, logging in the main station according to the connection parameters corresponding to the target user identification card.
In an optional embodiment, the dialing according to the configuration parameter corresponding to the target subscriber identity card includes:
traversing the configuration parameters under the condition that the configuration parameters corresponding to the target user identification card are multiple, and dialing according to the currently traversed configuration parameters until the dialing is successful;
and under the condition of successful dialing, logging in the main station according to the connection parameters corresponding to the target user identification card, wherein the login comprises the following steps:
and traversing the connection parameters under the condition that the dialing is successful and the connection parameters corresponding to the target user identification card are multiple, and logging in the master station according to the currently traversed connection parameters until the logging in is successful.
In an alternative embodiment, the method further comprises:
judging whether the dialing failure times of the currently traversed configuration parameters reach preset times or not under the condition that the dialing according to the currently traversed configuration parameters fails;
if the dialing failure times do not reach the preset times, dialing again according to the currently traversed configuration parameters;
if the dialing failure times reach the preset times, dialing is carried out according to the next traversed configuration parameters until the dialing is successful.
In an alternative embodiment, the method further comprises:
and resetting the communication module of the power terminal under the condition that the complete traversal of the configuration parameters is unsuccessful in dialing, and re-determining the operator type and the network type of the target subscriber identity module card arranged in the power terminal.
In an alternative embodiment, the method further comprises:
and under the condition that login fails according to the currently traversed connection parameters, logging in the master station according to the next traversed connection parameters until login succeeds.
In an alternative embodiment, the method further comprises:
when the connection parameters of the complete traversal part are not successfully logged in and the configuration parameters corresponding to the target user identification card are multiple, traversing other configuration parameters corresponding to the target user identification card to redial; and the other configuration parameters are configuration parameters except the configuration parameters which are successfully dialed currently in the configuration parameters corresponding to the target user identification card.
In a second aspect, the present application provides a network link login apparatus, which is applied to an electric power terminal, where a correspondence relationship between an operator type, a network type, and a communication parameter of a subscriber identity module card is stored in the electric power terminal, and the apparatus includes:
the first confirmation module is used for determining the operator type and the network type of a target user identification card arranged on the power terminal after receiving a network link starting instruction;
the second confirmation module is used for determining the communication parameters corresponding to the target user identification card according to the corresponding relation, the operator type and the network type of the target user identification card;
and the dial login module is used for carrying out dial login on the master station according to the communication parameters corresponding to the target user identification card.
In a third aspect, the present application provides an electric power terminal comprising a processor and a memory, wherein the memory stores a computer program executable by the processor, and the processor can execute the computer program to implement the method of any one of the foregoing embodiments.
In a fourth aspect, the present application provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the method according to any of the preceding embodiments.
According to the network link login method, the network link login device, the power terminal and the storage medium, the corresponding relation among the operator type, the network type and the communication parameters of the user identification card is stored in the power terminal, the communication parameters corresponding to the target user identification card are determined according to the corresponding relation, the operator type and the network type of the target user identification card of the power terminal, and the master station is subjected to dial login according to the communication parameters corresponding to the target user identification card, so that after a network link starting instruction is received, the corresponding parameters are automatically configured for the power terminal and login is performed, manual labor is reduced, and the automation degree is improved.
In order to make the aforementioned objects, features and advantages of the present application more comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained from the drawings without inventive effort.
Fig. 1 is a block schematic diagram of a power terminal provided in an embodiment of the present application;
fig. 2 is a flowchart illustrating a network link login method according to an embodiment of the present application;
fig. 3 is a schematic flowchart illustrating a network link login method according to an embodiment of the present application;
fig. 4 is a schematic flowchart illustrating a network link login method provided in an embodiment of the present application;
fig. 5 is a schematic flowchart illustrating a network link login method provided in an embodiment of the present application;
fig. 6 shows a functional block diagram of a network link login apparatus provided in an embodiment of the present application.
An icon: 100-a power terminal; 110-a memory; 120-a processor; 130-a communication module; 200-a first confirmation module; 210-a second confirmation module; 220-Dial-up login module.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. The components of the embodiments of the present application, as generally described and illustrated in the figures herein, could be arranged and designed in a wide variety of different configurations.
Thus, the following detailed description of the embodiments of the present application, as presented in the figures, is not intended to limit the scope of the claimed application, but is merely representative of selected embodiments of the application. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the present application without making any creative effort, shall fall within the protection scope of the present application.
It is noted that relational terms such as "first" and "second," and the like, may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
At present, with the development of wireless public network communication technology, because the selection space of the remote wireless public network communication network of the power acquisition terminal is increasingly diversified, the network link parameters of the power terminal and the remote terminal are more, and on the basis, the following problems mainly exist:
first, in the prior art, when the power terminal performs network link login debugging, a debugging person is often required to set corresponding network link parameters for the power terminal according to a subscriber identity module card of the power terminal, and since the power terminal and the remote terminal have more network link parameters, the debugging person is often required to acquire corresponding parameters in the huge network link parameters in advance when setting the network link parameters, and then configure the parameters, which increases manual labor and causes a problem of low automation degree.
Secondly, because manual labor is prone to make mistakes sometimes, and when a power terminal performs network link login debugging, if a certain parameter is wrong, the subsequent login process is affected, so that the problems of high error rate and low login debugging efficiency exist in the prior art.
Based on the problems, the inventor improves the prior art and provides a network link login method, so that the power terminal can log in the network link automatically, the manual labor is reduced, and the automation degree is improved.
Fig. 1 is a block diagram of a power terminal 100. The power terminal stores a corresponding relationship between an operator type of a Subscriber Identity Module (SIM), a network type and a communication parameter. The operators are suppliers capable of providing network services, and the types of the operators comprise four operators, such as China Mobile, China Unicom, China telecom, China radio and television, and other small operators; the network standard is the network type of the user identification card, such as a 2G network, a 4G network, a 5G network and the like; the communication data is configured at the power terminal and used for carrying out dial login on the main station, and comprises an APN (access point name), an authentication mode, a main station IP (Internet protocol) and the like.
In a possible implementation manner, the correspondence between the operator type, the network standard, and the communication parameter of the subscriber identity card may be stored in the power terminal in a form of a list.
The power terminal 100 includes a memory 110, a processor 120, and a communication module 130. The memory 110, the processor 120 and the communication module 130 are electrically connected to each other directly or indirectly to realize data transmission or interaction. For example, the components may be electrically connected to each other via one or more communication buses or signal lines.
The memory 110 is used to store programs or data. The Memory may be, but is not limited to, a Random Access Memory (RAM), a Read Only Memory (ROM), a Programmable Read Only Memory (PROM), an Erasable Read Only Memory (EPROM), an electrically Erasable Read Only Memory (EEPROM), and the like.
The processor 120 is used to read/write data or programs stored in the memory and perform corresponding functions.
The communication module 130 is configured to establish a communication connection between the power terminal 100 and another communication terminal through the network, and to transmit and receive data through the network.
It should be understood that the configuration shown in fig. 1 is merely a schematic configuration of the power terminal 100, and that the power terminal 100 may include more or less components than those shown in fig. 1, or have a different configuration than that shown in fig. 1. The components shown in fig. 1 may be implemented in hardware, software, or a combination thereof.
An embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, can implement the network link login method provided in the present application.
Specifically, fig. 2 is a schematic flow chart of the network link login method provided in the embodiment of the present application, please refer to fig. 2, where the method includes:
step S20, after receiving a network link starting instruction, determining the operator type and the network type of a target user identification card arranged on the power terminal;
optionally, the network link starting instruction is an instruction input by a user and used for starting a network link; the target subscriber identification card is a subscriber identification card provided in the power terminal.
Optionally, the power terminal includes a communication module, and after receiving the network link start instruction and starting the network link, the communication module may be reset to prepare for a subsequent dial-in login process.
Optionally, the operator type and the network standard information of the target user identification card can be obtained through the communication module, so that the operator type and the network standard of the target user identification card can be determined.
In a possible implementation manner, the operator type of the target subscriber identity card may be obtained through the communication module, and the network type of the target subscriber identity card may be obtained through the communication module if the operator type of the target subscriber identity card is determined. In consideration of the situation that the acquisition fails sometimes when the operator type of the target subscriber identity card and the network system of the subscriber identity card are obtained, the network link can be returned to restart and the communication module can be reset under the situation that the acquisition fails, and then the operator type and the network system of the target subscriber identity card can be determined again.
Optionally, a failure may also occur in the communication module or the power terminal, and therefore, an acquisition time threshold may be preset, and it is determined whether the number of times of determining the operator type and the network type of the target subscriber identity card reaches the acquisition time threshold, and if so, it is determined that another failure problem may occur at this time, and an alarm may be issued to prompt the user to check.
Optionally, in consideration of the situation that the subscriber identity card may be damaged or failed, the operator type and the network system of the target subscriber identity card may be determined again when the power terminal can normally identify the target subscriber identity card.
Step S21, determining the communication parameter corresponding to the target user identification card according to the corresponding relation, the operator type and the network type of the target user identification card;
in this embodiment, since the power terminal stores the corresponding relationship between the operator type, the network type, and the communication parameter of the subscriber identity card, the communication parameter corresponding to the target subscriber identity card can be determined according to the corresponding relationship when the operator type and the network type of the target subscriber identity card are obtained.
And step S22, according to the communication parameters corresponding to the target user identification card, carrying out dial-up login on the master station.
Optionally, after the communication parameter corresponding to the target user identification card is determined, the power terminal may be configured according to the communication parameter, so as to perform dial-up login on the master station.
According to the network link login method provided by the embodiment of the application, the corresponding relation among the operator type and the network type of the user identification card and the communication parameters is stored in the power terminal, the communication parameters corresponding to the target user identification card are determined according to the corresponding relation, the operator type and the network type of the target user identification card of the power terminal, and the master station is dialed and logged in according to the communication parameters corresponding to the target user identification card, so that after a network link starting instruction is received, the corresponding parameters are automatically configured for the power terminal and login is performed, the manual labor is reduced, and the automation degree is improved.
Optionally, the communication parameters include configuration parameters and connection parameters, when the power terminal dials to log in, the power terminal may dial first, and then log in to the master station when the power terminal dials successfully, specifically, on the basis of fig. 2, fig. 3 is another schematic flow diagram of the network link login method provided in the embodiment of the present application, please refer to fig. 3, and step S22 may also be implemented by the following steps:
step S22-1, dialing is carried out according to the configuration parameters corresponding to the target user identification card;
optionally, the configuration parameter is a parameter for dialing in the communication parameter corresponding to the target subscriber identity card. In a possible implementation manner, the configuration parameters may include network access parameters, security parameters, and the like, for example, parameters such as an APN, an APN username and password, and an authentication manner.
And step S22-2, logging in the main station according to the connection parameters corresponding to the target user identification card under the condition of successful dialing.
Optionally, the connection parameter is a parameter used for logging in to the master station in the communication parameters corresponding to the target subscriber identity card. In one possible implementation, the connection parameters may include a master address parameter, a network service parameter, etc., such as a master IP and port, a network service type, etc.
In this embodiment, the configuration parameters corresponding to the target subscriber identity card may be set in the communication module of the power terminal, so as to dial, and log in the master station according to the connection parameters corresponding to the subscriber identity card when the dialing is successful.
Optionally, the configuration parameter may be determined according to an operator type and a network type of the subscriber identity module card, and the connection parameter may be determined according to the operator type of the subscriber identity module card, so that the configuration parameter may be obtained and stored according to the operator type and the network type of the subscriber identity module card, and the connection parameter may be obtained and stored according to the operator type of the subscriber identity module card, thereby establishing a correspondence between the operator type, the network type, and the communication parameter corresponding to the subscriber identity module card. For example, if the subscriber identity card is a mobile 2G card, the corresponding configuration parameters may be determined according to the mobile 2G card, and the connection parameters may be determined according to the mobile 2G card.
Under a possible implementation condition, the configuration parameters and the connection parameters can be respectively marked, so that the corresponding configuration parameters are obtained for dialing and the corresponding connection parameters are obtained for logging in according to the marks of the configuration parameters and the marks of the connection parameters.
Optionally, it may determine at least one configuration parameter, and at least one connection parameter, according to the operator type and network type of the subscriber identity card.
It can be understood that, in a possible implementation manner, in the case that both the configuration parameter and the connection parameter of the target subscriber identity card are one, dialing can be directly performed according to the configuration parameter, and in the case that the dialing is successful, the master station is logged in according to the connection parameter.
Optionally, if the dialing fails or the login fails at this time, the network link can be returned to restart, the communication module is reset, the operator type and the network type corresponding to the target user identification card are obtained again, and the dialing login is performed again.
In another possible implementation manner, there may be a case where the configuration parameter of the target subscriber identity card is multiple and/or the connection parameter of the target subscriber identity card is multiple, and considering that in this case, there may be a problem of dialing failure and/or login failure, therefore, dialing may be performed by traversing the configuration parameters in the case where the configuration parameter of the subscriber identity card is multiple, and login may be performed by traversing the connection parameters in the case where the connection parameter of the subscriber identity card is multiple.
Specifically, on the basis of fig. 3, fig. 4 is another schematic flow chart of the network link login method provided in the embodiment of the present application, referring to fig. 4, the step S22-1 may also be implemented by the following steps:
step S22-1-1, traversing the configuration parameters under the condition that the corresponding configuration parameters of the target user identification card are multiple, and dialing according to the currently traversed configuration parameters until the dialing is successful;
optionally, the currently traversed configuration parameters may be determined by randomly selecting from a plurality of configuration parameters corresponding to the target subscriber identity card, that is, randomly selecting from the configuration parameters that are not traversed, and selecting one configuration parameter as the currently traversed configuration parameter for dialing.
With continued reference to fig. 4, the step S22-2 can be further implemented by:
and step S22-2-1, traversing the connection parameters under the condition that the dialing is successful and the connection parameters corresponding to the target user identification card are multiple, and logging in the master station according to the currently traversed connection parameters until the logging in is successful.
Optionally, the currently traversed connection parameter may be determined by randomly selecting from a plurality of connection parameters corresponding to the target subscriber identity card, that is, randomly selecting from the connection parameters that are not traversed, and selecting one connection parameter as the currently traversed connection parameter for dialing.
In this embodiment, if there are a plurality of configuration parameters corresponding to the target subscriber identity card, the configuration parameters that are not traversed may be randomly selected from among the plurality of configuration parameters corresponding to the target subscriber identity card, so that the selected configuration parameters are used as currently traversed configuration parameters for dialing; if the dialing is successful and the number of the connection parameters corresponding to the target user identification card is multiple, randomly selecting the connection parameters which are not traversed from the multiple connection parameters corresponding to the target user identification card, and then logging in the selected connection parameters as the currently traversed connection parameters.
According to the network link login method provided by the embodiment of the application, when the configuration parameters corresponding to the target user identification card are multiple, the configuration parameters are traversed to dial until the dialing is successful, and when the dialing is successful and the connection parameters corresponding to the target user identification card are multiple, the connection parameters are traversed to log in the master station, so that corresponding configuration parameters and/or connection parameters are selected to dial in aiming at the condition that multiple configuration parameters and/or multiple connection parameters are obtained, the manual labor is further reduced, the automation degree and the intelligence are improved, and the problems that when multiple configuration parameters and/or multiple connection parameters exist, the error rate of manually set parameters is high, and the debugging efficiency is low are avoided.
Optionally, considering that there may be some problems that the dialing fails due to other factors, such as network busy, short-time failure of the communication module, etc., and these failures can be solved by hardware or network environment, therefore, multiple times of repeated dialing can be performed for one configuration parameter to avoid the problem of dialing failure caused by short-time failure of the communication module or network busy, etc. Specifically, on the basis of fig. 4, fig. 5 is another schematic flow chart of the network link login method provided in the embodiment of the present application, please refer to fig. 5, where the method further includes:
step S30, under the condition that dialing according to the currently traversed configuration parameters fails, judging whether the dialing failure times of the currently traversed configuration parameters reach the preset times;
optionally, the preset number of times may be set according to the specific situation of the power terminal, and in a possible implementation manner, the preset number of times may be 5 times.
Optionally, the number of failures of the currently traversed configuration parameter may be counted, that is, if the dialing according to the currently traversed configuration parameter fails, the number of failures is increased by 1, and it is determined whether the number of failures of the dialing according to the currently traversed configuration parameter reaches a preset number.
If yes, go to step S31; if not, step S32 is executed.
And step S31, dialing is carried out according to the next traversed configuration parameters until the dialing is successful.
Optionally, if the number of times of failure of dialing according to the currently traversed configuration parameter has reached a preset number, dialing may be performed according to the next traversed configuration parameter.
Optionally, the next traversed configuration parameter is a currently not traversed configuration parameter in the configuration parameters of the target subscriber identity card.
Optionally, dialing may be performed according to the next traversed configuration parameter, and the dialing may be stopped until the dialing is successful according to a certain configuration parameter.
And step S32, according to the currently traversed configuration parameters, dialing is carried out again.
Optionally, if the number of times of failure of dialing according to the currently traversed configuration parameter does not reach the preset number of times, dialing may be performed again according to the currently traversed configuration parameter.
If the current traversed configuration parameters are successfully dialed, stopping dialing; and if the dialing of the currently traversed configuration parameters still fails, adding 1 to the failure times, and judging whether the failure times of dialing according to the currently traversed configuration parameters reach preset times or not.
Optionally, considering that there may be some cases where the complete configuration parameters are traversed but the dialing is not successful, in order to further eliminate the influence of some short-term faults of the communication module on the dialing, the method further includes:
and under the condition that all the ergodic configuration parameters are not dialed successfully, resetting the communication module of the power terminal, and re-determining the operator type and the network type of the target subscriber identification card arranged on the power terminal.
Optionally, if the communication module of the power terminal is reset for multiple times, or the operator type and the network type of the target subscriber identity module of the power terminal are determined for multiple times, but the dialing is still unsuccessful, it indicates that a hardware fault may occur at this time, and therefore, a warning message may be sent to prompt the user that a hardware fault needs to be checked.
According to the network link login method provided by the embodiment of the application, whether the number of dialing failures of the currently traversed configuration parameters reaches the preset number is judged under the condition that dialing failures of the currently traversed configuration parameters are caused, so that dialing is carried out again according to the currently traversed configuration parameters when the preset number is not reached, and dialing is carried out according to the next traversed configuration parameters when the preset number is reached, therefore, the condition of dialing failures caused by network problems or short-time faults of communication modules and the like can be avoided, the condition of dialing failures is reduced, manual labor is relieved, and the working efficiency of debugging is improved.
Optionally, when the connection parameter of the user identification card is multiple, the problem that the login fails to be performed on the master station according to the currently traversed connection parameter may also exist, and in this case, the login may be performed on the master station according to the next traversed connection parameter until the login is successful.
Optionally, the next traversed connection parameter is a connection parameter that is not traversed in the plurality of connection parameters corresponding to the subscriber identity card.
Alternatively, in order to solve this problem, it may be possible to return to the dialing stage to perform dialing again, considering that there may be cases where the full connection parameter is traversed but the login is not successful.
It can be understood that if the configuration parameter corresponding to the subscriber identity module card is one, dialing is performed again according to the configuration parameter; if the configuration parameters corresponding to the subscriber identity module card are multiple, traversing according to the multiple configuration parameters again, so as to redial, specifically, the method further comprises:
when the connection parameters of the complete traversal part are not successfully logged in and the configuration parameters corresponding to the target user identification card are multiple, traversing other configuration parameters corresponding to the target user identification card to dial again;
and the other configuration parameters are configuration parameters except the configuration parameters which are successfully dialed currently in the configuration parameters corresponding to the target user identification card.
Optionally, when all traversal of the connection parameters is unsuccessful, the configuration parameters that are successful in dialing and the connection parameters that are unsuccessful in login may be recorded as a whole, indicating that data included in the whole cannot be successfully logged in.
Optionally, if the dialing stage is returned again for a plurality of times, but the login is still unsuccessful, it indicates that a hardware fault may occur at this time, and therefore, an alarm message may be sent to prompt the user that the hardware fault needs to be checked.
According to the network link login method provided by the embodiment of the application, under the condition that login fails according to the currently traversed connection parameters, login is carried out on the master station according to the next traversed connection parameters until login is successful, if all the traversed connection parameters are not successfully logged in and the configuration parameters corresponding to the user identification card are multiple, other configuration parameters corresponding to the user identification card are traversed to carry out dialing again, so that the manual labor can be reduced, and the work efficiency of login debugging is improved.
Next, a network link login method provided in the embodiment of the present application is fully described by taking as an example that a plurality of configuration parameters of the target user identification card and a plurality of connection parameters of the target user identification card are also used.
Firstly, under the condition of receiving a network connection starting instruction, starting a network link and resetting a communication module, then acquiring the operator type and the network standard of a target user identification card arranged on a power terminal, judging whether the operator type and the network standard of the target user identification card are successfully acquired, if the operator type and the network standard of the target user identification card are not successfully acquired, returning to restart the network link and resetting the communication module, and re-acquiring the operator type and the network standard of the target user identification card.
If the operator type and the network standard of the target user identification card are successfully obtained, determining a communication parameter corresponding to the target user identification card according to the corresponding relation, the operator type and the network standard of the target user identification card, wherein the communication parameter comprises a configuration parameter and a connection parameter.
The configuration parameters are multiple, so that the configuration parameters can be traversed, dialing is carried out according to the currently traversed configuration parameters, then whether the dialing is successful or not is judged, if the dialing is successful, the connection parameters are traversed, and the main station is logged in according to the currently traversed connection parameters.
If the dialing is unsuccessful, judging whether the dialing failure times of the currently traversed configuration parameters reach preset times, if not, carrying out the next dialing according to the currently traversed configuration parameters and judging whether the dialing is successful; if the preset times are reached, whether all the configuration parameters are traversed at the moment needs to be judged, and all the configuration parameters are not dialed successfully.
If the complete configuration parameters are not traversed, the next traversed configuration parameters are used as the currently traversed configuration parameters, dialing is carried out according to the configuration parameters until the dialing is successful, and the next step is carried out to stop the dialing; if all the configuration parameters are traversed and dialing is not successful, the network link needs to be restarted, the communication module is reset, and the operator type and the network type of the target subscriber identity card are determined again.
After dialing is successful, traversing the connection parameters, logging in the master station according to the currently traversed connection parameters, judging whether logging in is successful at the moment, and if logging in is successful, finishing the network linking process; if the login of the currently traversed connection parameter fails, whether all connection parameters are traversed at the moment or not needs to be judged, and all connection parameters are not successfully logged in.
If the complete connection parameter is not traversed, taking the next traversed connection parameter as the currently traversed connection parameter, logging in the master station according to the connection parameter until the logging in is successful, and ending the process; if all the connection parameters are traversed and all the connection parameters are not successfully logged in, recording the configuration parameters of successful dialing and the connection parameters of failed login as a whole, returning to the dialing stage, traversing other configuration parameters except the configuration parameters of successful dialing in the configuration parameters corresponding to the target user identification card, and re-dialing.
In order to perform the corresponding steps in the above embodiments and various possible manners, an implementation manner of the network link login device is given below. Further, referring to fig. 6, fig. 6 is a functional block diagram of a network link login apparatus according to an embodiment of the present disclosure. It should be noted that the basic principle and the generated technical effect of the network link login device provided in this embodiment are the same as those of the above embodiments, and for the sake of brief description, no part of the present embodiment is mentioned, and reference may be made to the corresponding contents in the above embodiments. The network link login device comprises: a first confirmation module 200, a second confirmation module 210, and a dial-up login module 220.
The first confirmation module 200 is configured to determine an operator type and a network type of a target subscriber identity module card that is provided in the power terminal after receiving a network link start instruction;
it is understood that the first confirmation module 200 may also be used to implement the above step S20;
a second confirmation module 210, configured to determine, according to the correspondence, the operator type and the network type of the target subscriber identity card, a communication parameter corresponding to the target subscriber identity card;
it is understood that the second confirmation module 210 can also be used to implement the above step S21;
and the dial-in login module 220 is used for performing dial-in login on the master station according to the communication parameters corresponding to the target user identification card.
It is understood that the dial-in login module 220 can also be used to implement the step S22.
Optionally, the dialing login module 220 is further configured to dial according to a configuration parameter corresponding to the target subscriber identity card; and under the condition of successful dialing, logging in the main station according to the connection parameters corresponding to the target user identification card.
It can be understood that the dial entry module 220 can also be used to implement the above steps S22-1 to S22-2.
Optionally, the dialing login module 220 is further configured to traverse the configuration parameters when the configuration parameters corresponding to the target subscriber identity card are multiple, and dial according to the currently traversed configuration parameters until the dialing is successful; and traversing the connection parameters under the condition that the dialing is successful and the connection parameters corresponding to the target user identification card are multiple, and logging in the master station according to the currently traversed connection parameters until the logging in is successful.
It is understood that the dial-in login module 220 may also be used to implement the above steps S22-1-1 to S22-2-1.
Optionally, the dialing login module 220 is further configured to determine whether the number of dialing failures of the currently traversed configuration parameter reaches a preset number under the condition that dialing fails according to the currently traversed configuration parameter; if the dialing failure times do not reach the preset times, dialing again according to the currently traversed configuration parameters; if the dialing failure times reach the preset times, dialing is carried out according to the next traversed configuration parameters until the dialing is successful.
It is understood that the dial-in login module 220 may also be used to implement the above steps S30 to S32.
Optionally, the dial-in login module 220 is further configured to, when the complete traversal of the configuration parameters is unsuccessful, reset the communication module of the power terminal, and re-determine the operator type and the network type of the target subscriber identity card installed in the power terminal.
Optionally, the dial-up login module 220 is further configured to log in the master station according to the next traversed connection parameter until login is successful, in a case that login fails according to the currently traversed connection parameter.
Optionally, the dialing login module 220 is further configured to traverse other configuration parameters corresponding to the target subscriber identity card to perform dialing again when all the traversal complete connection parameters are not successfully logged in and the configuration parameters corresponding to the target subscriber identity card are multiple; and the other configuration parameters are configuration parameters except the configuration parameters which are successfully dialed currently in the configuration parameters corresponding to the target user identification card.
According to the network link login device provided by the embodiment of the application, after a network link starting instruction is received through the first confirmation module, the operator type and the network type of a target user identification card arranged on the power terminal are determined; the second confirmation module is used for determining the communication parameters corresponding to the target user identification card according to the corresponding relation, the operator type and the network type of the target user identification card; and the dialing login module is used for dialing and logging in the main station according to the communication parameters corresponding to the target user identification card, so that after a network link starting instruction is received, corresponding parameters are automatically configured for the power terminal and login is performed, the manual labor is reduced, and the automation degree is improved.
Alternatively, the modules may be stored in the memory shown in fig. 1 in the form of software or Firmware (Firmware) or be fixed in an Operating System (OS) of the power terminal, and may be executed by the processor in fig. 1. Meanwhile, data, codes of programs, etc. required to execute the above modules may be stored in the memory.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method can be implemented in other ways. The apparatus embodiments described above are merely illustrative and, for example, the flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
In addition, functional modules in the embodiments of the present application may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
The functions, if implemented in the form of software functional modules and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The above description is only a preferred embodiment of the present application and is not intended to limit the present application, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims (10)

1. A network link login method is applied to an electric power terminal, wherein the electric power terminal stores the corresponding relation between the operator type, the network type and the communication parameters of a user identification card, and the method comprises the following steps:
after receiving a network link starting instruction, determining an operator type and a network type of a target user identification card arranged on the power terminal;
determining a communication parameter corresponding to the target user identification card according to the corresponding relation, the operator type and the network type of the target user identification card;
and performing dial-up login on the master station according to the communication parameters corresponding to the target user identification card.
2. The method of claim 1, wherein the communication parameters include configuration parameters and connection parameters, and the performing dial-up login to a master station according to the communication parameters corresponding to the target subscriber identity card comprises:
dialing according to the configuration parameters corresponding to the target user identification card;
and under the condition of successful dialing, logging in the main station according to the connection parameters corresponding to the target user identification card.
3. The method of claim 2, wherein the dialing according to the configuration parameters corresponding to the target subscriber identity card comprises:
traversing the configuration parameters under the condition that the configuration parameters corresponding to the target user identification card are multiple, and dialing according to the currently traversed configuration parameters until the dialing is successful;
and under the condition of successful dialing, logging in the main station according to the connection parameters corresponding to the target user identification card, wherein the login comprises the following steps:
and traversing the connection parameters under the condition that the dialing is successful and the connection parameters corresponding to the target user identification card are multiple, and logging in the master station according to the currently traversed connection parameters until the logging in is successful.
4. The method of claim 3, further comprising:
under the condition that dialing according to the currently traversed configuration parameters fails, judging whether the dialing failure times of the currently traversed configuration parameters reach preset times or not;
if the dialing failure times do not reach the preset times, dialing again according to the currently traversed configuration parameters;
if the dialing failure times reach the preset times, dialing is carried out according to the next traversed configuration parameters until the dialing is successful.
5. The method of claim 4, further comprising:
and resetting the communication module of the power terminal under the condition that the complete traversal of the configuration parameters is unsuccessful in dialing, and re-determining the operator type and the network type of the target subscriber identity module card arranged in the power terminal.
6. The method of claim 3, further comprising:
and under the condition that login fails according to the currently traversed connection parameters, login is carried out on the master station according to the next traversed connection parameters until login is successful.
7. The method of claim 6, further comprising:
when all the connection parameters are traversed and the login is not successful and the configuration parameters corresponding to the target user identification card are multiple, traversing other configuration parameters corresponding to the target user identification card to redial; and the other configuration parameters are configuration parameters except the configuration parameters which are successfully dialed currently in the configuration parameters corresponding to the target user identification card.
8. A network link login device is applied to an electric power terminal, wherein the electric power terminal stores the corresponding relation between the operator type, the network type and the communication parameters of a user identification card, and the device comprises:
the first confirmation module is used for determining the operator type and the network type of a target user identification card arranged on the power terminal after receiving a network link starting instruction;
the second confirmation module is used for determining the communication parameters corresponding to the target user identification card according to the corresponding relation, the operator type and the network standard of the target user identification card;
and the dial login module is used for carrying out dial login on the master station according to the communication parameters corresponding to the target user identification card.
9. An electrical power terminal comprising a processor and a memory, the memory storing a computer program executable by the processor, the processor being operable to execute the computer program to implement the method of any one of claims 1 to 7.
10. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the method according to any one of claims 1-7.
CN202210530516.1A 2022-05-16 2022-05-16 Network link login method and device, power terminal and storage medium Pending CN114928833A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210530516.1A CN114928833A (en) 2022-05-16 2022-05-16 Network link login method and device, power terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210530516.1A CN114928833A (en) 2022-05-16 2022-05-16 Network link login method and device, power terminal and storage medium

Publications (1)

Publication Number Publication Date
CN114928833A true CN114928833A (en) 2022-08-19

Family

ID=82809442

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210530516.1A Pending CN114928833A (en) 2022-05-16 2022-05-16 Network link login method and device, power terminal and storage medium

Country Status (1)

Country Link
CN (1) CN114928833A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115843078A (en) * 2023-02-16 2023-03-24 永联智慧能源科技(常熟)有限公司 Intelligent switching method and device for embedded module and electronic equipment

Citations (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080130683A1 (en) * 2004-11-19 2008-06-05 Takayuki Matsui Communication Connection Supporting Method And System, And Program Of Communication Connection Supporting Method
US20090029655A1 (en) * 2007-07-27 2009-01-29 Broadcom Corporation Method and system for automatically establishing a dial-up connection to a network through a mobile device
CN101730184A (en) * 2009-11-23 2010-06-09 中兴通讯股份有限公司 Dialing method and system based on APN self adaption
CN102006210A (en) * 2010-11-26 2011-04-06 华为终端有限公司 User equipment dial-up networking method, device and system
CN102143233A (en) * 2011-04-07 2011-08-03 深圳市共进电子有限公司 Customer premise equipment and network accessing method
CN102546844A (en) * 2010-12-14 2012-07-04 淄博高新区联创科技服务中心 Power load management system based on GPRS (general packet radio service)
CN102625274A (en) * 2012-03-13 2012-08-01 深圳市中兴移动通信有限公司 3rd-generation (3G) network-based adaptive dialing method and system
CN103179002A (en) * 2011-12-22 2013-06-26 腾讯科技(深圳)有限公司 Method and device for performing network dialing automatically
CN103796196A (en) * 2011-07-13 2014-05-14 华为终端有限公司 Method and device for access point autodial
CN107889178A (en) * 2017-12-08 2018-04-06 囯网河北省电力有限公司电力科学研究院 Acquisition terminal network formats switching method and terminal device
CN108471369A (en) * 2018-06-27 2018-08-31 深圳创维数字技术有限公司 A kind of network dialing method, device and storage medium
CN109640345A (en) * 2018-12-28 2019-04-16 广东中兴新支点技术有限公司 Network dialing method, device and electronic equipment
CN210093573U (en) * 2019-04-09 2020-02-18 广东电网有限责任公司 Measurement automation terminal wireless simulation communication testing arrangement
CN112261682A (en) * 2020-10-15 2021-01-22 高新兴物联科技有限公司 Method and device for APN matching based on registration state
CN112367391A (en) * 2020-11-04 2021-02-12 青岛联众芯云科技有限公司 Internet of things-based special transformer acquisition terminal system and method thereof
CN113660633A (en) * 2021-07-28 2021-11-16 东风汽车集团股份有限公司 Vehicle network connection dialing method and device
CN113852192A (en) * 2021-09-10 2021-12-28 江苏方天电力技术有限公司 Data interaction system supporting multiple protocols and multiple master stations and method thereof
CN113938972A (en) * 2021-09-15 2022-01-14 中国电力科学研究院有限公司 Self-adaptive wireless dialing method applied to power grid fusion type terminal

Patent Citations (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080130683A1 (en) * 2004-11-19 2008-06-05 Takayuki Matsui Communication Connection Supporting Method And System, And Program Of Communication Connection Supporting Method
US20090029655A1 (en) * 2007-07-27 2009-01-29 Broadcom Corporation Method and system for automatically establishing a dial-up connection to a network through a mobile device
CN101730184A (en) * 2009-11-23 2010-06-09 中兴通讯股份有限公司 Dialing method and system based on APN self adaption
CN102006210A (en) * 2010-11-26 2011-04-06 华为终端有限公司 User equipment dial-up networking method, device and system
CN102546844A (en) * 2010-12-14 2012-07-04 淄博高新区联创科技服务中心 Power load management system based on GPRS (general packet radio service)
CN102143233A (en) * 2011-04-07 2011-08-03 深圳市共进电子有限公司 Customer premise equipment and network accessing method
CN103796196A (en) * 2011-07-13 2014-05-14 华为终端有限公司 Method and device for access point autodial
CN103179002A (en) * 2011-12-22 2013-06-26 腾讯科技(深圳)有限公司 Method and device for performing network dialing automatically
CN102625274A (en) * 2012-03-13 2012-08-01 深圳市中兴移动通信有限公司 3rd-generation (3G) network-based adaptive dialing method and system
CN107889178A (en) * 2017-12-08 2018-04-06 囯网河北省电力有限公司电力科学研究院 Acquisition terminal network formats switching method and terminal device
CN108471369A (en) * 2018-06-27 2018-08-31 深圳创维数字技术有限公司 A kind of network dialing method, device and storage medium
CN109640345A (en) * 2018-12-28 2019-04-16 广东中兴新支点技术有限公司 Network dialing method, device and electronic equipment
CN210093573U (en) * 2019-04-09 2020-02-18 广东电网有限责任公司 Measurement automation terminal wireless simulation communication testing arrangement
CN112261682A (en) * 2020-10-15 2021-01-22 高新兴物联科技有限公司 Method and device for APN matching based on registration state
CN112367391A (en) * 2020-11-04 2021-02-12 青岛联众芯云科技有限公司 Internet of things-based special transformer acquisition terminal system and method thereof
CN113660633A (en) * 2021-07-28 2021-11-16 东风汽车集团股份有限公司 Vehicle network connection dialing method and device
CN113852192A (en) * 2021-09-10 2021-12-28 江苏方天电力技术有限公司 Data interaction system supporting multiple protocols and multiple master stations and method thereof
CN113938972A (en) * 2021-09-15 2022-01-14 中国电力科学研究院有限公司 Self-adaptive wireless dialing method applied to power grid fusion type terminal

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
梁宗平;: "电力设备无线通讯流量控制机制研究", 科技与企业, no. 13, pages 1 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115843078A (en) * 2023-02-16 2023-03-24 永联智慧能源科技(常熟)有限公司 Intelligent switching method and device for embedded module and electronic equipment

Similar Documents

Publication Publication Date Title
CN106331189B (en) Log obtaining method and device and network management server
CN112311576B (en) OTA upgrading diagnosis method and device, wireless routing equipment and terminal equipment
EP2706787A1 (en) Method and device for automatic dialling of access point
US9883386B2 (en) Method and a server for managing profiles
WO2008022291A2 (en) Local triggering methods, such as applications for device-initiated diagnostic or configuration management
CN113115351A (en) Network exception processing method and device, terminal equipment and medium
CN114928833A (en) Network link login method and device, power terminal and storage medium
CN105704789A (en) Method and device for restoring network connection
CN104883704A (en) Mobile terminal access point parameter automatic error correction method and apparatus
CN113271299B (en) Login method and server
CN113498131B (en) Automatic network switching method of intelligent terminal and intelligent terminal
CN110798453B (en) Data processing method and device for one-key login
CN110493810B (en) Method, device, equipment and medium for detecting recording notification fault
CN109962991B (en) Internet of things fault processing method, device, equipment and medium
EP3151480B1 (en) Message processing method and device
CN112600703A (en) Network equipment remote access fault positioning method and device
CN104469772A (en) Website equipment authentication method and device and authentication system
CN102946594B (en) Method for automatically obtaining equipment information in Telematics system during using navigation with one key
EP3007475A1 (en) Method of provisioning of a network access for a mobile gsm communication device with learning
CN110532012B (en) Distributed system software upgrading method and device
CN111865693B (en) Automatic correction method, device, equipment and storage medium for network terminal networking parameters
CN106982211B (en) Method and device for extracting mobile terminal information on network
CN107889105B (en) Verification card locking method and verification card locking system of mobile phone
CN111541719B (en) Authentication method and device and information processing equipment
CN111225372B (en) Anti-off-network method, user equipment and device with storage function

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