CN107786540B - Equipment information acquisition method and terminal equipment - Google Patents

Equipment information acquisition method and terminal equipment Download PDF

Info

Publication number
CN107786540B
CN107786540B CN201710860684.6A CN201710860684A CN107786540B CN 107786540 B CN107786540 B CN 107786540B CN 201710860684 A CN201710860684 A CN 201710860684A CN 107786540 B CN107786540 B CN 107786540B
Authority
CN
China
Prior art keywords
authentication
information
server
security authentication
user
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710860684.6A
Other languages
Chinese (zh)
Other versions
CN107786540A (en
Inventor
张雷
赵斌阳
安文鑫
郭猛
徐永卫
石宇
郭建戌
杜梓铭
汪岩
李波
马静波
姚硕
田亮
郭浩
成莹
张娜
裴兴
李玉浩
杨佳乐
韩童
徐喜光
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
State Grid Corp of China SGCC
State Grid Hebei Electric Power Co Ltd
Baoding Power Supply Co of State Grid Hebei Electric Power Co Ltd
Original Assignee
State Grid Corp of China SGCC
State Grid Hebei Electric Power Co Ltd
Baoding Power Supply Co of State Grid Hebei Electric Power 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 State Grid Corp of China SGCC, State Grid Hebei Electric Power Co Ltd, Baoding Power Supply Co of State Grid Hebei Electric Power Co Ltd filed Critical State Grid Corp of China SGCC
Priority to CN201710860684.6A priority Critical patent/CN107786540B/en
Publication of CN107786540A publication Critical patent/CN107786540A/en
Application granted granted Critical
Publication of CN107786540B publication Critical patent/CN107786540B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/52Network services specially adapted for the location of the user terminal

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The invention is suitable for the technical field of security authentication, and provides a method and a device for acquiring equipment information and terminal equipment, wherein the method comprises the following steps: acquiring the current geographical position of a user, and selecting a security authentication mode according to the current geographical position; receiving security authentication information input by a user according to the selected security authentication mode, and sending the security authentication information to a first server so that the first server performs security authentication on the security authentication information; and receiving the equipment information sent by the first server after the security authentication information passes the security authentication. By the method and the device, a user does not need to carry a notebook computer to the site when acquiring the equipment information, and can acquire the equipment information at any time and any place, so that convenience is brought to work, and the working efficiency is improved.

Description

Equipment information acquisition method and terminal equipment
Technical Field
The invention belongs to the technical field of security authentication, and particularly relates to a method and a device for acquiring equipment information and terminal equipment.
Background
With the popularization of the intelligent transformer substation, new requirements are also put forward on the management and maintenance of secondary equipment (protection, measurement and control devices, intelligent terminals and merging units) of the intelligent transformer substation. Compared with a conventional transformer substation, the secondary equipment of the intelligent transformer substation is more networked, a traditional secondary equipment drawing is replaced by a configuration file of the device, and some basic information of the secondary equipment is stored in the configuration file.
In the routine test, the elimination work and other works of the intelligent substation, the configuration files of the secondary equipment are required to be checked frequently. The existing configuration file acquisition method needs to acquire a configuration file of the secondary equipment in the whole station in advance, import all the configuration files into a notebook computer, carry the notebook computer to a site during work, and then acquire a corresponding configuration file from the notebook computer according to needs. The conventional method for acquiring the configuration file of the secondary equipment cannot enable a user to acquire the configuration file at any time, so that inconvenience is brought to work, and the work efficiency is reduced.
Disclosure of Invention
In view of this, embodiments of the present invention provide an apparatus information obtaining method, an apparatus, and a terminal apparatus, so as to solve the problem in the prior art that apparatus information cannot be obtained at any time.
A first aspect of an embodiment of the present invention provides an apparatus information obtaining method, including:
acquiring the current geographical position of a user, and selecting a security authentication mode according to the current geographical position;
receiving security authentication information input by a user according to the selected security authentication mode, and sending the security authentication information to a first server so that the first server performs security authentication on the security authentication information;
and receiving the equipment information sent by the first server after the security authentication information passes the security authentication.
A second aspect of an embodiment of the present invention provides an apparatus for acquiring device information, including:
the acquisition unit is used for acquiring the current geographic position and selecting a safety authentication mode according to the current geographic position;
the authentication unit is used for receiving security authentication information input by a user according to the selected security authentication mode and sending the security authentication information to the first server so that the first server performs security authentication on the security authentication information;
and the communication unit is used for receiving the equipment information which is sent by the first server after the security authentication information passes the security authentication.
A third aspect of the embodiments of the present invention provides a terminal device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor implements the following steps of a device information acquisition method when executing the computer program:
acquiring the current geographical position of a user, and selecting a security authentication mode according to the current geographical position;
receiving security authentication information input by a user according to the selected security authentication mode, and sending the security authentication information to a first server so that the first server performs security authentication on the security authentication information;
and receiving the equipment information sent by the first server after the security authentication information passes the security authentication.
A fourth aspect of the embodiments of the present invention provides a computer-readable storage medium storing a computer program, where the computer program, when executed by a processor, implements the following steps of an apparatus information acquisition method:
acquiring the current geographical position of a user, and selecting a security authentication mode according to the current geographical position;
receiving security authentication information input by a user according to the selected security authentication mode, and sending the security authentication information to a first server so that the first server performs security authentication on the security authentication information;
and receiving the equipment information sent by the first server after the security authentication information passes the security authentication.
Compared with the prior art, the embodiment of the invention has the following beneficial effects:
the embodiment of the invention obtains the current geographic position of the user and selects a safety authentication mode according to the current geographic position; receiving security authentication information input by a user according to the selected security authentication mode, and sending the security authentication information to a first server so that the first server performs security authentication on the security authentication information; receiving equipment information sent by the first server after the security authentication information passes the security authentication; the user does not need to carry a notebook computer to the site when obtaining the equipment information, and can obtain the equipment information at any time and any place, thereby bringing convenience to work and improving the working efficiency.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
Fig. 1 is a schematic flow chart illustrating an implementation of a device information obtaining method according to an embodiment of the present invention;
fig. 2 is a schematic flow chart illustrating an implementation of a device information obtaining method according to another embodiment of the present invention;
fig. 3 is a schematic diagram of an apparatus information acquiring device according to an embodiment of the present invention;
fig. 4 is a schematic diagram of an apparatus information acquiring device according to an embodiment of the present invention;
fig. 5 is a schematic diagram of a terminal device according to an embodiment of the present invention.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system structures, techniques, etc. in order to provide a thorough understanding of the embodiments of the invention. It will be apparent, however, to one skilled in the art that the present invention may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present invention with unnecessary detail.
It will be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It is also to be understood that the terminology used in the description of the invention herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in the specification of the present invention and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should be further understood that the term "and/or" as used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.
As used in this specification and the appended claims, the term "if" may be interpreted contextually as "when", "upon" or "in response to a determination" or "in response to a detection". Similarly, the phrase "if it is determined" or "if a [ described condition or event ] is detected" may be interpreted contextually to mean "upon determining" or "in response to determining" or "upon detecting [ described condition or event ]" or "in response to detecting [ described condition or event ]".
Before describing the specific embodiments, an application scenario of the "device information acquisition method" is introduced. In the routine test, the elimination work and other works of the intelligent substation, the configuration files of the secondary equipment are required to be checked frequently. According to the technical scheme, a user needs to carry terminal equipment to acquire the equipment information in the transformer substation, the terminal equipment is provided with the computer program realized by the following embodiment of the equipment information acquisition method, and the computer program can realize the steps in the equipment information acquisition method.
In order to explain the technical means of the present invention, the following description will be given by way of specific examples.
Fig. 1 shows a schematic flow chart of an implementation of a device information obtaining method provided in an embodiment of the present invention, where as shown in the figure, the method may include the following steps:
step S101, obtaining the current geographic position of the user, and selecting a security authentication mode according to the current geographic position.
The current geographic position of the user can be obtained through GPS positioning.
For example, a GPS positioning module may be installed on a terminal device carried by a user, so as to obtain a current geographic location of the terminal device, where the user carries the terminal device, so that the obtained current geographic location of the terminal device is the current geographic location of the user.
Further, the selecting a security authentication manner according to the current geographic location includes:
if the acquired current geographic position of the user is a preset geographic position, selecting a safety authentication mode as local authentication;
and if the acquired current geographic position of the user is not the preset geographic position, selecting the security authentication mode as remote authentication.
The preset geographic location may be a certain location or a certain position, or may be a certain range.
Illustratively, if the predetermined geographic location is a location or a position, such as the location of device a. The device a is a device in a substation, and is mainly used for acquiring information of the device in the substation, and of course, the substation may also have a device B, a device C, and … …. The user wants to check the information of the device A, first, the current geographical position of the user needs to be acquired, whether the current geographical position of the user is the position of the device A is judged, if yes, the authentication mode is selected as local authentication, and the user can acquire the information of the device A through the local authentication mode. At this time, if the user wants to view the information of the device B and the obtained current geographic location of the user is the location of the device a and is not the location of the device B, the user cannot obtain the information of the device B through the local authentication method, but the user may select the authentication method as remote authentication and obtain the information of the device B through the remote authentication method.
Illustratively, if the predetermined geographic location is within a certain range, such as the entire substation. The user wants to check the equipment information in the substation, first acquires the current geographical position of the user, and judges whether the current geographical position of the user is in the substation. If the equipment is in the transformer substation, a user can acquire the information of any equipment in the transformer substation in a local authentication mode; if the device is not in the transformer substation, the information of all devices in the transformer substation cannot be acquired through a local authentication mode, but at the moment, a user can select the authentication mode to be remote authentication, and the information of any device in the transformer substation is acquired through the remote authentication mode.
Optionally, in order to determine whether the current geographic location of the user is at a certain place or a certain location, the determination may be performed in an NFC card swiping manner.
Illustratively, an NFC device is installed on a device a in a substation, a user may perform a card swiping operation on the device a through a terminal device equipped with NFC, and if the card swiping operation is successful, it is determined that a current geographic location of the user is a location of the device a.
Optionally, in order to determine whether the current geographic location of the user is within a certain range, the determination may be performed by GPS positioning.
Step S102, receiving security authentication information input by a user according to the selected security authentication mode, and sending the security authentication information to a first server so that the first server performs security authentication on the security authentication information.
The embodiment of the device information acquiring method in the present invention may be implemented by a computer program, where the computer program may be installed in a terminal device as an application program, the first server may be a server corresponding to the application program, and the first server may be a server for receiving the security authentication information and performing security authentication on the security authentication information. The user can input the safety authentication information through the interface of the application program, and the application program sends the safety authentication information input by the user to the first server. The first server may establish communication connection with a device or terminal device in which the device information acquisition in the following embodiments is installed, or may establish communication connection with any device in the substation.
Further, if the selected security authentication mode is local authentication, the security authentication information includes at least one of the following: the equipment serial number and the equipment two-dimensional code.
The receiving of the security authentication information input by the user according to the selected security authentication mode includes:
and receiving the equipment serial number and/or the equipment two-dimensional code input by the user.
The device serial number may be obtained through a scanning manner or a user input manner. The two-dimensional code of the equipment can be obtained in a scanning mode. The equipment serial number and the equipment two-dimensional code can also be obtained by establishing communication connection with equipment.
For example, a camera may be installed on a terminal device carried by a user, and the device serial number or the device two-dimensional code may be obtained by scanning the device serial number or the device two-dimensional code through the camera.
For example, a communication connection with a device a in a substation may be established in a bluetooth, infrared, NFC, WIFI, or other manner, after the connection is established, the device a sends a device serial number or a device two-dimensional code to a terminal device carried by a user, and the terminal device sends the received device serial number or the received device two-dimensional code to the first server, so that the first server performs security authentication on the security authentication information.
Optionally, if the selected security authentication manner is local authentication, the security authentication information may also be a verification code.
Illustratively, if the selected security authentication mode is local authentication, the first server sends a verification code to a device a in the substation, the verification code is displayed on the device a, a user inputs the verification code displayed on the device a on the terminal device, and the terminal device sends the obtained verification code input by the user to the first server, so that the first server performs security authentication on the security authentication information.
Step S103, receiving the device information sent by the first server after the security authentication information passes the security authentication.
For example, the embodiment of the device information acquiring method in the present invention may be implemented by a computer program, where the computer program may be installed in a terminal device as an application program, and the terminal device establishes a communication connection with a first server. After the first server receives the safety certification information sent by the terminal equipment, the safety certification information is certified, if the certification is passed, the first server sends the information of the substation equipment corresponding to the safety certification information to the terminal equipment, the terminal equipment receives the information of the substation equipment sent after the safety certification information is passed by the first server, and a user can check the information of the substation equipment on the terminal equipment.
Wherein the device information includes but is not limited to: equipment model, equipment maintenance records, equipment parameters, and equipment measurement data.
The embodiment of the invention obtains the current geographic position of the user and selects a safety authentication mode according to the current geographic position; receiving security authentication information input by a user according to the selected security authentication mode, and sending the security authentication information to a first server so that the first server performs security authentication on the security authentication information; receiving equipment information sent by the first server after the security authentication information passes the security authentication; the user does not need to carry a notebook computer to the site when obtaining the equipment information, and can obtain the equipment information at any time and any place, thereby bringing convenience to work and improving the working efficiency.
Referring to fig. 2, as another embodiment of the present invention, fig. 2 is an embodiment of step S102 in fig. 1, and specifically includes the following steps:
step S201, if the selected safety authentication mode is remote authentication, whether the selected safety authentication mode is first remote authentication is judged.
Step S202, if the remote authentication is the first time, acquiring a third party account and a password input by a user through a login interface displayed based on a first remote authentication mode, and sending the third party account and the password to a third party server so that the third party server sends authorization information according to the third party account and the password.
The third-party server may be a server for authorizing the third-party account and the password.
Each third-party account only corresponds to one piece of authorization information, and the authorization information can be preset and unalterable.
Illustratively, a user inputs a wechat account and a password, and after the wechat server obtains and verifies the account and the password input by the user, the wechat server returns an openID corresponding to the account to the terminal device. Each wechat account has only one openID, and the openID is automatically set when the wechat account is registered and cannot be changed.
Optionally, the login interface displayed based on the first remote authentication mode may be a login interface for providing a user with an input third party account and a password in an application program, or may be a called third party login interface.
Optionally, in order to be suitable for various terminal devices and various operating systems, the third party account and the password include, but are not limited to, a wechat account and a password, a QQ account and a password, a mailbox account and a password, and a microblog account and a password.
For example, if the remote authentication is the first remote authentication, icons corresponding to the WeChat, the QQ, the mailbox and the microblog are provided on a login interface displayed based on the first remote authentication mode, after the icon is selected by the user, an account and a password input box corresponding to the icon selected by the user are displayed on the login interface, and the user inputs a corresponding third-party account and a corresponding password according to the prompt.
Step S203, obtaining authorization information sent by the third-party server, and sending the authorization information to the first server.
Optionally, in order to facilitate determining whether the remote authentication is the first remote authentication, after obtaining the authorization information sent by the third-party server and sending the authorization information to the first server, the first server stores the authorization information.
Preferably, if the remote authentication is the first remote authentication, after obtaining the authorization information sent by the third-party server, the method further includes:
displaying a registration interface, and acquiring an account and a password to be registered by a user through the registration interface;
and sending the account and the password to be registered to the first server so that the first server stores the account and the password to be registered as security authentication information.
Step S204, if the remote authentication is not the first remote authentication, an account and a password input by a user are acquired through a login interface displayed based on a second remote authentication mode, and the account and the password are sent to the first server.
The login interface displayed based on the second remote authentication mode may be a login interface of an equipment information acquisition application program, and the account and the password acquired by the login interface displayed based on the second remote authentication mode and input by the user may be the account and the password of the application program. The account number and password are stored in the first server.
Optionally, the determination of whether the remote authentication is the first remote authentication may be performed by determining whether the authorization information sent by the third-party server is stored in the first server, or may be performed by a manner selected by the user.
Illustratively, if the selected security authentication mode is remote authentication, the user is prompted on an interface to select whether the selected security authentication mode is first remote authentication, if the user selects yes, acquiring a third party account and a password input by the user through a login interface displayed based on the first remote authentication mode, and sending the third party software account and the password to a third party server, so that the third-party server sends authorization information according to the third-party account and the password to acquire the authorization information sent by the third-party server, and sending the authorization information to the first server, the first server determining whether the authorization information has been stored, if the password is stored, the first server does not perform the first remote authentication, the first server returns the judgment result to the terminal equipment, and the terminal equipment displays a login interface displayed based on a second remote authentication mode so that a user can input equipment information to acquire the account and the password of the application program. And if the user selects no, displaying a login interface displayed based on the second remote authentication mode so that the user can input the account and the password of the equipment information acquisition application program.
According to the embodiment of the invention, if the selected safety authentication mode is remote authentication, whether the selected safety authentication mode is first remote authentication is judged; if the remote authentication is the first time, acquiring a third party account and a password input by a user through a login interface displayed based on a first remote authentication mode, and sending the third party account and the password to a third party server so that the third party server sends authorization information according to the third party account and the password; obtaining authorization information sent by the third-party server, and sending the authorization information to the first server; if the remote authentication is not the first remote authentication, acquiring an account and a password input by a user through a login interface displayed based on a second remote authentication mode, and sending the account and the password to the first server; the user is not in the transformer substation, and the equipment information of the equipment in the transformer substation can be checked in a remote authentication mode, so that the equipment information can be checked anytime and anywhere, and convenience is brought to work.
It should be understood that, the sequence numbers of the steps in the foregoing embodiments do not imply an execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present invention.
Fig. 3 is a schematic diagram of an apparatus information acquiring device according to an embodiment of the present invention, and only a part related to the embodiment of the present invention is shown for convenience of description. The device information acquisition apparatus includes:
the obtaining unit 31 is configured to obtain a current geographic location, and select a security authentication mode according to the current geographic location.
And the authentication unit 32 is configured to receive security authentication information input by a user according to the selected security authentication manner, and send the security authentication information to the first server, so that the first server performs security authentication on the security authentication information.
A communication unit 33, configured to receive device information sent by the first server after the security authentication information passes the security authentication.
Further, the obtaining unit 31 is specifically configured to:
and if the acquired current geographic position of the user is a preset geographic position, selecting a security authentication mode as local authentication.
And if the acquired current geographic position of the user is not the preset geographic position, selecting the security authentication mode as remote authentication.
Preferably, if the selected security authentication mode is local authentication, the security authentication information includes at least one of the following: the equipment serial number and the equipment two-dimensional code;
the authentication unit is specifically configured to:
and receiving the equipment serial number and/or the equipment two-dimensional code input by the user.
Referring to fig. 4, fig. 4 is an embodiment of the authentication unit 32 of fig. 3, which includes:
a judging module 41, configured to judge whether the selected security authentication mode is a first remote authentication if the selected security authentication mode is a remote authentication;
the first obtaining module 42 is configured to, if the remote authentication is performed for the first time, obtain a third-party account and a password input by the user through a login interface displayed based on a first remote authentication manner, and send the third-party software account and the password to the third-party server, so that the third-party server sends authorization information according to the third-party account and the password;
a sending module 43, configured to obtain authorization information sent by the third-party server, and send the authorization information to the first server;
and a second obtaining module 44, configured to, if the remote authentication is not the first remote authentication, obtain the account and the password input by the user through a login interface displayed based on a second remote authentication manner, and send the account and the password to the first server.
Optionally, the authentication unit 32 further includes:
the display module 45 is configured to display a registration interface after acquiring the authorization information sent by the third-party server if the remote authentication is performed for the first time, and acquire an account and a password to be registered by the user through the registration interface;
the registration module 46 is configured to send the account and the password to be registered to the first server, so that the first server stores the account and the password to be registered as security authentication information.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned function distribution may be performed by different functional units and modules according to needs, that is, the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-mentioned functions. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working processes of the units and modules in the system may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
Fig. 5 is a schematic diagram of a terminal device according to an embodiment of the present invention. As shown in fig. 5, the terminal device 5 of this embodiment includes: a processor 50, a memory 51 and a computer program 52, such as a device information acquisition program, stored in said memory 51 and operable on said processor 50. The processor 50, when executing the computer program 52, implements the steps in the above-described respective device information acquisition method embodiments, such as steps S101 to S103 shown in fig. 1. Alternatively, the processor 50, when executing the computer program 52, implements the functions of the modules/units in the above-mentioned device embodiments, such as the functions of the modules 31 to 33 shown in fig. 3.
Illustratively, the computer program 52 may be partitioned into one or more modules/units that are stored in the memory 51 and executed by the processor 50 to implement the present invention. The one or more modules/units may be a series of computer program instruction segments capable of performing specific functions, which are used to describe the execution process of the computer program 52 in the terminal device 5. For example, the computer program 52 may be divided into an acquisition unit, an authentication unit, and a communication unit, and each unit specifically functions as follows:
and the acquisition unit is used for acquiring the current geographic position and selecting a safety authentication mode according to the current geographic position.
The authentication unit is used for receiving security authentication information input by a user according to the selected security authentication mode and sending the security authentication information to the first server so that the first server performs security authentication on the security authentication information.
The communication unit is configured to receive device information sent by the first server after the security authentication information passes security authentication.
Further, the obtaining unit is specifically configured to:
and if the acquired current geographic position of the user is a preset geographic position, selecting a security authentication mode as local authentication.
And if the acquired current geographic position of the user is not the preset geographic position, selecting the security authentication mode as remote authentication.
Preferably, if the selected security authentication mode is local authentication, the security authentication information includes at least one of the following: the equipment serial number and the equipment two-dimensional code;
the authentication unit is specifically configured to:
and receiving the equipment serial number and/or the equipment two-dimensional code input by the user.
Further, the authentication unit includes:
the judging module is used for judging whether the selected safety authentication mode is remote authentication for the first time or not if the selected safety authentication mode is remote authentication;
the first acquisition module is used for acquiring a third-party account and a password input by a user through a login interface displayed based on a first remote authentication mode if the first remote authentication is carried out, and transmitting the third-party software account and the password to a third-party server so that the third-party server transmits authorization information according to the third-party account and the password;
the sending module is used for acquiring the authorization information sent by the third-party server and sending the authorization information to the first server;
and the second acquisition module is used for acquiring the account and the password input by the user through a login interface displayed based on a second remote authentication mode if the remote authentication is not the first remote authentication, and sending the account and the password to the first server.
Optionally, the authentication unit further includes:
the display module is used for displaying a registration interface after acquiring the authorization information sent by the third-party server if the remote authentication is carried out for the first time, and acquiring an account and a password to be registered of the user through the registration interface;
and the registration module is used for sending the account and the password to be registered to the first server so that the first server stores the account and the password to be registered as security authentication information.
The terminal device 5 may be a desktop computer, a notebook, a palm computer, a cloud server, or other computing devices. The terminal device may include, but is not limited to, a processor 50, a memory 51. Those skilled in the art will appreciate that fig. 5 is merely an example of a terminal device 5 and does not constitute a limitation of terminal device 5 and may include more or fewer components than shown, or some components may be combined, or different components, e.g., the terminal device may also include input-output devices, network access devices, buses, etc.
The Processor 50 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 51 may be an internal storage unit of the terminal device 5, such as a hard disk or a memory of the terminal device 5. The memory 51 may also be an external storage device of the terminal device 5, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like, which are provided on the terminal device 5. Further, the memory 51 may also include both an internal storage unit and an external storage device of the terminal device 5. The memory 51 is used for storing the computer program and other programs and data required by the terminal device. The memory 51 may also be used to temporarily store data that has been output or is to be output.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus/terminal device and method may be implemented in other ways. For example, the above-described embodiments of the apparatus/terminal device are merely illustrative, and for example, the division of the modules or units is only one logical division, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated modules/units, if implemented in the form of software functional units and sold or used as separate products, may be stored in a computer readable storage medium. Based on such understanding, all or part of the flow of the method according to the embodiments of the present invention may also be implemented by a computer program, which may be stored in a computer-readable storage medium, and when the computer program is executed by a processor, the steps of the method embodiments may be implemented. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, and the like. It should be noted that the computer readable medium may contain other components which may be suitably increased or decreased as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media which may not include electrical carrier signals and telecommunications signals in accordance with legislation and patent practice.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present invention, and are intended to be included within the scope of the present invention.

Claims (8)

1. An apparatus information acquisition method, comprising:
acquiring the current geographical position of a user, and selecting a security authentication mode according to the current geographical position; if the acquired current geographic position of the user is a preset geographic position, selecting a safety authentication mode as local authentication; if the acquired current geographic position of the user is not the preset geographic position, selecting a safety authentication mode as remote authentication; the preset geographic position is a preset position or a preset range where equipment with equipment information to be acquired is located;
receiving security authentication information input by a user according to the selected security authentication mode, and sending the security authentication information to a first server so that the first server performs security authentication on the security authentication information;
and receiving the equipment information sent by the first server after the security authentication information passes the security authentication.
2. The apparatus information acquisition method according to claim 1, wherein if the selected security authentication manner is local authentication, the security authentication information includes at least one of: the equipment serial number and the equipment two-dimensional code;
the receiving of the security authentication information input by the user according to the selected security authentication mode includes:
and receiving the equipment serial number and/or the equipment two-dimensional code input by the user.
3. The device information acquisition method according to claim 1 or 2, wherein the receiving security authentication information input by the user according to the selected security authentication manner and sending the security authentication information to the first server includes:
if the selected safety authentication mode is remote authentication, judging whether the selected safety authentication mode is first remote authentication;
if the remote authentication is the first time, acquiring a third party account and a password input by a user through a login interface displayed based on a first remote authentication mode, and sending the third party account and the password to a third party server so that the third party server sends authorization information according to the third party account and the password;
obtaining authorization information sent by the third-party server, and sending the authorization information to the first server;
and if the remote authentication is not the first remote authentication, acquiring an account and a password input by a user through a login interface displayed based on a second remote authentication mode, and sending the account and the password to the first server.
4. The device information acquiring method according to claim 3, wherein if the remote authentication is the first time, after acquiring the authorization information sent by the third-party server, the method further comprises:
displaying a registration interface, and acquiring an account and a password to be registered by a user through the registration interface;
and sending the account and the password to be registered to the first server so that the first server stores the account and the password to be registered as security authentication information.
5. An apparatus for acquiring device information, comprising:
the acquisition unit is used for acquiring the current geographic position and selecting a safety authentication mode according to the current geographic position; if the acquired current geographic position of the user is a preset geographic position, selecting a safety authentication mode as local authentication; if the acquired current geographic position of the user is not the preset geographic position, selecting a safety authentication mode as remote authentication; the preset geographic position is a preset position or a preset range where equipment with equipment information to be acquired is located;
the authentication unit is used for receiving security authentication information input by a user according to the selected security authentication mode and sending the security authentication information to the first server so that the first server performs security authentication on the security authentication information;
and the communication unit is used for receiving the equipment information which is sent by the first server after the security authentication information passes the security authentication.
6. The apparatus information acquisition apparatus according to claim 5, wherein the authentication unit includes:
the judging module is used for judging whether the selected safety authentication mode is remote authentication for the first time or not if the selected safety authentication mode is remote authentication;
the first obtaining module is used for obtaining a third party account and a password input by a user through a login interface displayed based on a first remote authentication mode if the first remote authentication is carried out, and sending the third party account and the password to a third party server so that the third party server sends authorization information according to the third party account and the password;
the sending module is used for acquiring the authorization information sent by the third-party server and sending the authorization information to the first server;
and the second acquisition module is used for acquiring the account and the password input by the user through a login interface displayed based on a second remote authentication mode if the remote authentication is not the first remote authentication, and sending the account and the password to the first server.
7. A terminal device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor implements the steps of the method according to any of claims 1 to 4 when executing the computer program.
8. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 4.
CN201710860684.6A 2017-09-21 2017-09-21 Equipment information acquisition method and terminal equipment Active CN107786540B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710860684.6A CN107786540B (en) 2017-09-21 2017-09-21 Equipment information acquisition method and terminal equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710860684.6A CN107786540B (en) 2017-09-21 2017-09-21 Equipment information acquisition method and terminal equipment

Publications (2)

Publication Number Publication Date
CN107786540A CN107786540A (en) 2018-03-09
CN107786540B true CN107786540B (en) 2020-10-13

Family

ID=61433556

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710860684.6A Active CN107786540B (en) 2017-09-21 2017-09-21 Equipment information acquisition method and terminal equipment

Country Status (1)

Country Link
CN (1) CN107786540B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113742696B (en) * 2021-11-08 2022-03-18 太平金融科技服务(上海)有限公司深圳分公司 User login method, device, equipment and medium based on distributed login component

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101686164A (en) * 2008-09-24 2010-03-31 华为技术有限公司 Positioning method and position verification method of wireless access device, and wireless access device
CN103581166A (en) * 2012-07-30 2014-02-12 Ncr公司 Location aware authentication
CN103888451A (en) * 2014-03-10 2014-06-25 百度在线网络技术(北京)有限公司 Method, device and system for certification authorization
CN104243213A (en) * 2014-09-28 2014-12-24 北京奇虎科技有限公司 Method, device and system for acquiring configuration information of routers

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9313212B2 (en) * 2013-03-19 2016-04-12 International Business Machines Corporation Dynamic adjustment of authentication mechanism

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101686164A (en) * 2008-09-24 2010-03-31 华为技术有限公司 Positioning method and position verification method of wireless access device, and wireless access device
CN103581166A (en) * 2012-07-30 2014-02-12 Ncr公司 Location aware authentication
CN103888451A (en) * 2014-03-10 2014-06-25 百度在线网络技术(北京)有限公司 Method, device and system for certification authorization
CN104243213A (en) * 2014-09-28 2014-12-24 北京奇虎科技有限公司 Method, device and system for acquiring configuration information of routers

Also Published As

Publication number Publication date
CN107786540A (en) 2018-03-09

Similar Documents

Publication Publication Date Title
US20180041498A1 (en) Program, method and system for authenticating control device
CN105653963B (en) Information display method and device
CN105306204B (en) Security verification method, device and system
CN100583114C (en) System and method for remote security enablement
CN107967759B (en) Mobile power supply leasing method and device, terminal and computer readable storage medium
CN106130998A (en) A kind of identifying code transmission method and device
KR101808217B1 (en) Wireless access method and relevant device and system
CN105337974A (en) Account authorization method, account login method, account authorization device and client end
CN107657441B (en) Self-service transaction method, system, server and mobile terminal
WO2020154561A1 (en) Mobile device tools for authenticated smart vehicle pairing and wireless routing configuration and methods of use
CN106464694A (en) Security adjustments in mobile devices
CN112738046B (en) One-key login method, terminal and system server
CN103873455A (en) Method and device for information check
CN112929224A (en) Network distribution method and device of equipment, server and computer readable storage medium
CN104951933A (en) Security payment method and mobile terminal
CN109726545B (en) Information display method, equipment, computer readable storage medium and device
US10169619B2 (en) Physical token based secured charge management of a user equipment
CN111651408A (en) Method, device, terminal and storage medium for acquiring data
CN109087089B (en) Payment method, payment device and terminal equipment
CN107786540B (en) Equipment information acquisition method and terminal equipment
JP5866110B1 (en) Bicycle parking and / or check-in system for parking facilities
CN109858235B (en) Portable equipment and password obtaining method and device thereof
US20140228000A1 (en) Terminal device, information processing apparatus and activation authentication method
CN109474929B (en) Power consumption mode adjusting method and device, electronic equipment and computer readable storage medium
CN111144526A (en) Method and device for realizing data maintenance and verification based on two-dimensional code

Legal Events

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