CN111970177B - Equipment access method, device and equipment - Google Patents

Equipment access method, device and equipment Download PDF

Info

Publication number
CN111970177B
CN111970177B CN201910418574.3A CN201910418574A CN111970177B CN 111970177 B CN111970177 B CN 111970177B CN 201910418574 A CN201910418574 A CN 201910418574A CN 111970177 B CN111970177 B CN 111970177B
Authority
CN
China
Prior art keywords
access information
equipment
server
client
random access
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
CN201910418574.3A
Other languages
Chinese (zh)
Other versions
CN111970177A (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.)
Hangzhou Hikvision Digital Technology Co Ltd
Original Assignee
Hangzhou Hikvision Digital Technology 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 Hangzhou Hikvision Digital Technology Co Ltd filed Critical Hangzhou Hikvision Digital Technology Co Ltd
Priority to CN201910418574.3A priority Critical patent/CN111970177B/en
Publication of CN111970177A publication Critical patent/CN111970177A/en
Application granted granted Critical
Publication of CN111970177B publication Critical patent/CN111970177B/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
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2854Wide area networks, e.g. public data networks
    • H04L12/2856Access arrangements, e.g. Internet access
    • H04L12/2869Operational details of access network equipments
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2854Wide area networks, e.g. public data networks
    • H04L12/2856Access arrangements, e.g. Internet access
    • H04L12/2869Operational details of access network equipments
    • H04L12/287Remote access server, e.g. BRAS

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the invention provides a device access method, a device and equipment, wherein the method comprises the following steps: randomly generating access information for accessing the client equipment to the server equipment in the starting process as random access information, and determining that the server equipment works in a random access information mode; searching client equipment existing in a local area network where the server equipment is located to serve as first type client equipment; sending the random access information to the first type of client equipment so that the first type of client equipment is accessed to the server equipment according to the random access information; and under the condition that the server side equipment works in the random access information mode, rejecting a remote access request to the server side equipment. By applying the scheme provided by the embodiment of the invention to carry out equipment access, the potential safety hazard of the server equipment can be reduced.

Description

Equipment access method, device and equipment
Technical Field
The present invention relates to the field of data interaction technologies, and in particular, to a device access method, apparatus, and device.
Background
In a data interaction system comprising client equipment and server equipment, data interaction can be carried out only after the client equipment is accessed to the server equipment. For example, the video data interactive system includes: the system comprises a video data acquisition device as a client device and a hard disk video recorder as a server device. After the video data acquisition equipment is accessed to the digital video recorder, the video data acquisition equipment can send acquired video data to the digital video recorder, so that video data interaction is realized.
In the prior art, when a client device is accessed to a server device, a user generally inputs access information at the client device, and then the client device accesses the server device according to the access information input by the user.
However, when the user inputs the access information at the client device, the user is easily seen by other users, and thus the access information is leaked. Therefore, other users can operate the client device to access the server device, and potential safety hazards are brought to the server device.
Disclosure of Invention
The embodiment of the invention aims to provide a device access method, a device and equipment so as to reduce the potential safety hazard of server-side equipment. The specific technical scheme is as follows:
the embodiment of the invention provides a device access method, which is applied to server-side equipment and comprises the following steps:
randomly generating access information for accessing the client equipment to the server equipment in the starting process as random access information, and determining that the server equipment works in a random access information mode;
searching client equipment existing in a local area network where the server equipment is located to serve as first type client equipment;
sending the random access information to the first type of client equipment so that the first type of client equipment is accessed to the server equipment according to the random access information;
and under the condition that the server side equipment works in the random access information mode, rejecting a remote access request to the server side equipment.
In an embodiment of the present invention, the step of sending the random access information to the first class of client devices includes:
judging whether the number of the first type of client equipment exceeds the number of access channels of the server equipment;
if so, selecting the client devices with the number of the access channels from the first type of client devices, and sending the random access information to the selected client devices;
and if not, sending the random access information to the first type of client equipment.
In an embodiment of the present invention, the device access method further includes:
and acquiring a modification instruction for modifying the random access information, modifying the random access information according to the modification instruction, and determining that the server equipment works in a non-random access information mode.
In an embodiment of the present invention, the obtaining a modification instruction for modifying the random access information includes:
and obtaining a modification instruction which is locally generated in the server-side equipment and modifies the random access information.
In an embodiment of the present invention, after the modifying the random access information according to the modification instruction, the method further includes:
storing the access information before modification and the access information after modification;
sending the modified access information to second type client side equipment so that the second type client side is accessed to the server side equipment according to the modified access information when accessing the server side equipment next time, wherein the second type client side equipment is as follows: the client device has successfully accessed the server device.
The embodiment of the invention provides a device access device, which is applied to server-side equipment, and comprises:
the access information generation module is used for randomly generating access information for accessing the client equipment to the server equipment in the starting process as random access information and determining that the server equipment works in a random access information mode;
the device searching module is used for searching client devices existing in a local area network where the server device is located and used as first-class client devices;
an access information sending module, configured to send the random access information to the first class of client devices, so that the first class of client devices access the server device according to the random access information;
and the access request rejecting module is used for rejecting the remote access request to the server equipment under the condition that the server equipment works in the random access information mode.
In an embodiment of the present invention, the access information sending module is specifically configured to:
judging whether the number of the first type of client equipment exceeds the number of access channels of the server equipment;
if so, selecting the client devices with the number of the access channels from the first type of client devices, and sending the random access information to the selected client devices;
and if not, sending the random access information to the first type of client equipment.
In an embodiment of the present invention, the device access apparatus further includes:
a modification instruction obtaining module, configured to obtain a modification instruction for modifying the random access information;
an access information modifying module, configured to modify the random access information according to the modification instruction;
and the information module determining module is used for determining that the server side equipment works in a non-random access information mode.
In an embodiment of the present invention, the access information modification module is specifically configured to obtain a modification instruction which is locally generated by the server device and modifies the random access information.
In an embodiment of the present invention, the device access apparatus further includes:
an access information processing module, configured to store the access information before modification and the access information after modification after the access information modification module modifies the random access information, and send the modified access information to a second type of client device, so that the second type of client accesses the server device according to the modified access information when accessing the server device next time, where the second type of client device is: the client device has successfully accessed the server device.
The embodiment of the invention also provides server equipment, which comprises a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory complete mutual communication through the communication bus;
a memory for storing a computer program;
and the processor is used for realizing any one of the equipment access methods when executing the program stored in the memory.
An embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored in the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements any of the above-mentioned device access methods.
Embodiments of the present invention further provide a computer program product containing instructions, which when run on a computer, cause the computer to execute any of the above-mentioned device access methods.
As can be seen from the above, when the solution provided by the embodiment of the present invention is applied to access a device, a server device randomly generates access information for a client device to access the server device in a starting process, and the access information is used as random access information, and determines that a mode in which the server device operates in this case is a random access information mode. And then searching client equipment existing in the local area network, and sending the random access information to the searched client equipment, so that the searched client equipment is accessed to the server equipment according to the random access information. In addition, when the server device works in the random access information mode, the remote access request to the server device is refused. Therefore, when the scheme provided by the embodiment of the invention is applied to equipment access, no operation is required to be performed by a user in the whole access process, so that the process of inputting access information by the user cannot be involved, the access information cannot be seen by other users, and once the server equipment works in a random access information mode, the server equipment cannot be remotely accessed.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a flowchart illustrating a device access method according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of an apparatus access device according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a server device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, a schematic flow chart of a device access method provided in an embodiment of the present invention is applied to a server device, where the method includes:
s101: in the starting process, access information for accessing the client equipment to the server equipment is randomly generated to serve as random access information, and the server equipment is determined to work in a random access information mode.
The access information refers to information that the client device needs to use to access the server device. For example, the access information may be a login password and/or a login user name.
In an embodiment of the present invention, the random access information may be access information that is randomly generated during a first power-on starting process of the server device and is used for the client device to access the server device.
The above-mentioned operation of the server device in the random access information mode can be understood as follows: the client device needs to use the above-mentioned mode of accessing the server device using the random access information.
S102, searching client equipment existing in a local area network where the server equipment is located, and taking the client equipment as first-class client equipment.
A local area network may be understood as a network in which a server device and a client device are communicatively connected.
For example, the server device may be a hard disk recorder, the client device may be a video data acquisition device, and accordingly, the hard disk recorder and the video data acquisition device perform video data interaction in the local area network
The server device may be a router, the client device may be a mobile terminal, and accordingly, the router and the mobile terminal perform data interaction in the local area network.
The server device may start to search for the client device existing in the local area network where the server device is located when a certain condition is satisfied. For example, the server device may search for a client device existing in the local area network in which the server device is located after being successfully started; client equipment existing in a local area network can be searched according to preset interval time; or after receiving the search instruction, searching the client devices existing in the local area network where the client devices are located.
S103, the random access information is sent to the first type of client equipment, so that the first type of client equipment is accessed to the server equipment according to the random access information.
And sending the random access information to first-class client equipment, and after receiving the random access information, the first-class client equipment can access the server equipment by taking the random access information as access information. Therefore, when the station is seen from the client device side, the client device can obtain the access information for accessing the server device without inputting the access information to the client device by a user, and then the device is accessed.
S104: and under the condition that the server-side equipment works in the random access information mode, rejecting the remote access request to the server-side equipment.
Since the access of the client device to the server device also belongs to a case of accessing the server device through a network, that is, a case of remotely accessing the server device, in view of this, in an embodiment of the present invention, the remote access request to the server device may be understood as a remote access request other than an access request to the server device by the client device.
The number of client devices existing in the local area network may exceed the maximum number of client devices that can be accessed by the server device, and thus in one implementation, the step of sending the access information to the first type of client device in the step S103 may include the following steps a 1-A3;
a1, determining whether the number of the first type client devices exceeds the number of the access channels of the server device, if yes, executing the following step a2, and if no, executing the following step A3.
The access channel refers to a channel which is provided on the server device and used for accessing the client device. An access channel is used to access a client device.
A2, selecting client devices with access channels from the first class of client devices, and sending the random access information to the selected client devices.
In one implementation, the server device may randomly select a number of client devices with access channels from the first class of client devices, and send the random access information to the selected client devices.
In another implementation manner, when the server device determines that the number of the first-class client devices exceeds the number of access channels of the server device, the server device may send prompt information for selecting the client device to be accessed to a worker, after the worker sees the prompt information, the worker may select the client device that wants to access the server device through the first-class client devices, and the first-class client devices send information of the client device selected by the user, for example, an identifier of the client device, to the server device, and accordingly, the server device determines the client device to be accessed.
A3, sending the random access information to the first type client device.
When the number of the first type client devices does not exceed the number of the access channels of the server device, the server device is indicated to be capable of allowing all the first type clients to access, and therefore the random access information can be directly sent to the first type client devices.
In an embodiment of the present invention, the server device may need to perform information interaction with a network server of a network end in an operation process, and therefore, the remote access request to the server device may be a remote access request to the server device by the network server. Specifically, the following steps B1-B3 may be utilized to establish a communication connection between the server device and the network server:
b1, obtaining the configuration information for communication connection with the network server.
The configuration information may be understood as information for configuring the network, for example, the configuration information may be an IP (Internet Protocol) address, a MAC (Media Access Control) address, and the like.
B2, determining whether the access information is the random access information, and if the determination result is no, executing the following B3.
Since the random access information is randomly generated by the server device during the starting process, in order to let the staff know the random access information, the server device usually displays the random access information to the staff after starting. However, in practical applications, the inventor finds that when the random access information is presented to the staff, the random access information may be seen by people other than the staff, which causes the random access information to be leaked, and reduces the security of the data interaction system. At this time, if the communication connection with the network server is established, a person other than the worker can access the client device to the server device by using the random access information, so that the data interaction system is remotely attacked. Therefore, the safety of the server-side equipment can be greatly improved in the random access information mode, namely under the condition that the client-side equipment needs to use the random access information for equipment access.
And B3, performing network configuration according to the configuration information, and establishing communication connection with the network server.
Since the random access information may need to be modified, in an embodiment of the present invention, a modification instruction for modifying the random access information may be obtained, and the random access information may be modified according to the modification instruction. After the random access information is modified, the client device can not access the server device by using the random access information, and the server can not be considered to work in the random access information mode any more, so that the server device can be determined to work in the non-random access information mode.
Specifically, the modification instruction may carry modified access information, and after receiving the modification instruction, the server device may analyze the modification instruction to obtain modified access information, and modify the random access information into the modified access information.
In another embodiment of the present invention, the obtaining of the modification instruction may specifically be obtaining a modification instruction which is locally generated by a server device and modifies the random access information. That is, in this case, modifying the random access information is an access information modification performed locally at the server device, that is, the random access information modification can be performed only locally at the server device. Therefore, the random access information can be effectively prevented from being modified because the server-side equipment is subjected to remote attack, and the safety of the server-side equipment is ensured.
On the basis of the above situation, in an embodiment of the present invention, after the random access information is modified according to the modification instruction, the access information may be further processed according to the following steps C1 and C2.
C1, storing the access information before modification and the access information after modification.
Because the client device is accessed to the server device according to the access information, after the access information is modified, the access information in the second type of client device which is successfully accessed to the server device is inconsistent with the modified access information in the server device, and at this time, an access fault may occur between the second type of client device and the server device, the access information before modification can be stored, so that the access information in the server device and the second type of client device is consistent, and the second type of client device can be ensured to be normally accessed to the server device in the access process.
After receiving the modification instruction for modifying the access information, the server device may copy the access information before modification, modify the access information obtained by copying according to the modification instruction to obtain the modified access information, and further store the access information before modification and the access information after modification.
The server-side equipment can also generate new access information according to the modification instruction based on the access information before modification, so as to obtain the modified access information and store the access information before modification and the modified access information.
And C2, sending the modified access information to the second type of client device, so that the second type of client device accesses the server device according to the modified access information when accessing the server device next time.
The second type of client equipment is as follows: a client device that has successfully accessed a server device.
The modified access information is sent to the second type of client side equipment, the second type of client side can access the server side equipment according to the modified access information when the server side equipment is accessed next time, and the second type of client side does not need to perform re-access according to the modified access information after the access information is modified in the current access process, so that the condition that the access process is interrupted can be avoided.
After the client device accesses the server device, the client device may preview data sent by each client device that has successfully accessed the server device in a multi-screen manner, and since the access sequence of the client device accessing the server device may not be the sequence intended by the operator, this may result in that the sequence of data displayed on each preview screen is not the sequence intended by the operator, based on which, in an embodiment of the present invention, the data displayed on each screen may be adjusted by using the following steps D1-D2:
d1, when previewing the data sent by the client device that has successfully accessed the server device in the multi-screen mode, adjusting the client device from which the data displayed on each screen comes.
Wherein, one picture corresponds to one client device.
And D2, previewing the data sent by the client device which has successfully accessed the server device in a multi-screen mode according to the adjustment result.
Specifically, after receiving an adjustment instruction from a worker, the server device may adjust the client device from which the data displayed on each screen comes. For example, currently, 4 data sent by the second type of client devices are previewed in a 4-screen manner, where a screen 1 previews data sent by a client device a, a screen 2 previews data sent by a client device B, a screen 3 previews data sent by a client device C, and a screen 4 previews data sent by a client D, when a worker wants to exchange data displayed on the screens 1 and 4, the worker can click and drag the screen 1 to a position where the screen 4 is located, after determining a drag operation of the worker, the server device displays data sent by the client device D on the screen 1, and displays data sent by the client device a on the screen 4.
The server-side device can also adjust the client-side device from which the data displayed on each picture comes according to the similarity between the data sent by each second-class client-side device, and display the data with high similarity in the adjacent pictures. For example, in a video data interaction system, a plurality of video data acquisition devices are generally used to acquire video data at the same position and at different angles, and the similarity between the video data acquired at the same position and at different angles is very high, so that the server device can adjust the video data acquisition device from which the data displayed by each picture comes according to the similarity between the video data sent by each video data acquisition device, and display the video data acquired by the video data acquisition device and having high similarity through adjacent pictures.
As can be seen from the above, when the solutions provided in the above embodiments are applied to device access, the server device randomly generates access information for the client device to access the server device in a starting process, as random access information, and determines that the mode in which the server device operates in this case is a random access information mode. And then searching client equipment existing in the local area network, and sending the random access information to the searched client equipment, so that the searched client equipment is accessed to the server equipment according to the random access information. In addition, when the server device works in the random access information mode, the remote access request to the server device is refused. It can be seen that, when the solutions provided by the above embodiments are applied to device access, no operation is required by a user in the whole access process, so that the process of inputting access information by the user is not involved, and further the access information is not seen by other users.
Referring to fig. 2, a schematic structural diagram of an apparatus access device provided in an embodiment of the present invention is shown, where the apparatus includes:
an access information generation module 201, configured to randomly generate access information for a client device to access the server device in a starting process, as random access information, and determine that the server device operates in a random access information mode;
the device searching module 202 is configured to search for a client device existing in a local area network where the server device is located, as a first type of client device;
an access information sending module 203, configured to send the random access information to the first class of client devices, so that the first class of client devices accesses the server device according to the random access information;
an access request rejecting module 204, configured to reject the remote access request to the server device when the server device operates in the random access information mode.
In an embodiment of the present invention, the access information sending module 201 is specifically configured to:
judging whether the number of the first type of client equipment exceeds the number of access channels of the server equipment;
if so, selecting the client devices with the number of the access channels from the first type of client devices, and sending the random access information to the selected client devices;
and if not, sending the random access information to the first type of client equipment.
In an embodiment of the present invention, the device access apparatus further includes:
a modification instruction obtaining module, configured to obtain a modification instruction for modifying the random access information;
an access information modifying module, configured to modify the random access information according to the modification instruction;
and the information module determining module is used for determining that the server side equipment works in a non-random access information mode.
In an embodiment of the present invention, the access information modification module is specifically configured to obtain a modification instruction which is locally generated by the server device and modifies the random access information.
In an embodiment of the present invention, the device access apparatus further includes:
an access information processing module, configured to store the access information before modification and the access information after modification after the access information modification module modifies the random access information, and send the modified access information to a second type of client device, so that the second type of client accesses the server device according to the modified access information when accessing the server device next time, where the second type of client device is: the client device has successfully accessed the server device.
As can be seen from the above, when the solutions provided in the above embodiments are applied to device access, the server device randomly generates access information for the client device to access the server device in a starting process, as random access information, and determines that the mode in which the server device operates in this case is a random access information mode. And then searching client equipment existing in the local area network, and sending the random access information to the searched client equipment, so that the searched client equipment is accessed to the server equipment according to the random access information. In addition, when the server device works in the random access information mode, the remote access request to the server device is refused. It can be seen that, when the solutions provided by the above embodiments are applied to device access, no operation is required by a user in the whole access process, so that the process of inputting access information by the user is not involved, and further the access information is not seen by other users.
The embodiment of the present invention further provides a server device, as shown in fig. 3, which includes a processor 001, a communication interface 002, a memory 003 and a communication bus 004, wherein the processor 001, the communication interface 002 and the memory 003 complete mutual communication through the communication bus 004,
a memory 003 for storing a computer program;
the processor 001 is configured to implement the device access method provided in the embodiment of the present invention when executing the program stored in the memory 003.
Specifically, the device access method includes:
randomly generating access information for accessing the client equipment to the server equipment in the starting process as random access information, and determining that the server equipment works in a random access information mode;
searching client equipment existing in a local area network where the server equipment is located to serve as first type client equipment;
sending the random access information to the first type of client equipment so that the first type of client equipment is accessed to the server equipment according to the random access information;
and under the condition that the server side equipment works in the random access information mode, rejecting a remote access request to the server side equipment.
It should be noted that, other embodiments of the method for implementing device access by the processor 001 executing the program stored in the memory 003 are the same as the embodiments provided in the foregoing method embodiments, and are not described again here.
When the server-side equipment provided by the embodiment of the invention is applied to equipment access, no operation is required to be carried out by a user in the whole access process, so that the process of inputting access information by the user cannot be involved, and further, the access information cannot be seen by other users.
The communication bus mentioned in the above-mentioned server device may be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. The communication bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown, but this does not mean that there is only one bus or one type of bus.
The communication interface is used for communication between the server-side equipment and other equipment.
The Memory may include a Random Access Memory (RAM) or a Non-Volatile Memory (NVM), such as at least one disk Memory. Optionally, the memory may also be at least one memory device located remotely from the processor.
The Processor may be a general-purpose Processor, including a Central Processing Unit (CPU), a Network Processor (NP), and the like; but also Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components.
In another embodiment provided by the present invention, a computer-readable storage medium is further provided, in which a computer program is stored, and the computer program, when executed by a processor, implements the device access method provided by the embodiment of the present invention.
Specifically, the device access method includes:
randomly generating access information for accessing the client equipment to the server equipment in the starting process as random access information, and determining that the server equipment works in a random access information mode;
searching client equipment existing in a local area network where the server equipment is located to serve as first type client equipment;
sending the random access information to the first type of client equipment so that the first type of client equipment is accessed to the server equipment according to the random access information;
and under the condition that the server side equipment works in the random access information mode, rejecting a remote access request to the server side equipment.
It should be noted that other embodiments of the device access method implemented by the computer-readable storage medium are the same as the embodiments provided in the foregoing method embodiments, and are not described herein again.
When the device is accessed by executing the computer program stored in the machine-readable storage medium provided by the embodiment, in the whole access process, no operation is required by a user, so that the process of inputting access information by the user is not involved, and further, the access information is not seen by other users.
In yet another embodiment provided by the present invention, a computer program product containing instructions is also provided, which when run on a computer, causes the computer to perform the device access method provided by the above-mentioned embodiment.
Specifically, the device access method includes:
randomly generating access information for accessing the client equipment to the server equipment in the starting process as random access information, and determining that the server equipment works in a random access information mode;
searching client equipment existing in a local area network where the server equipment is located to serve as first type client equipment;
sending the random access information to the first type of client equipment so that the first type of client equipment is accessed to the server equipment according to the random access information;
and under the condition that the server side equipment works in the random access information mode, rejecting a remote access request to the server side equipment.
It should be noted that other embodiments of the method for implementing device access by using the computer program product are the same as the embodiments provided in the foregoing method embodiments, and are not described herein again.
When the computer program product provided by this embodiment runs on a computer and performs device access, in the whole access process, no operation is required by a user, so that the process of inputting access information by the user is not involved, and further the access information is not seen by other users.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the invention to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, from one website site, computer, server, or data center to another website site, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that incorporates one or more of the available media. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., Solid State Disk (SSD)), among others.
It is noted that, herein, 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.
All the embodiments in the present specification are described in a related manner, and the same and similar parts among the embodiments may be referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, as for the apparatus, the server device, the computer-readable storage medium and the computer program product, since they are substantially similar to the method embodiments, the description is simple, and the relevant points can be referred to the partial description of the method embodiments.
The above description is only for the preferred embodiment of the present invention, and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention shall fall within the protection scope of the present invention.

Claims (12)

1. A device access method is applied to a server device, and the method comprises the following steps:
randomly generating access information for accessing the client equipment to the server equipment in the starting process as random access information, and determining that the server equipment works in a random access information mode;
searching client equipment existing in a local area network where the server equipment is located to serve as first type client equipment;
sending the random access information to the first type of client equipment so that the first type of client equipment is accessed to the server equipment according to the random access information;
and under the condition that the server side equipment works in the random access information mode, rejecting a remote access request to the server side equipment, wherein the remote access request to the server side equipment is as follows: remote access requests other than access requests made by the client device to the server device.
2. The method of claim 1, wherein the step of sending the random access information to the first class of client devices comprises:
judging whether the number of the first type of client equipment exceeds the number of access channels of the server equipment;
if so, selecting the client devices with the number of the access channels from the first type of client devices, and sending the random access information to the selected client devices;
and if not, sending the random access information to the first type of client equipment.
3. The method of claim 1, wherein the method further comprises:
and acquiring a modification instruction for modifying the random access information, modifying the random access information according to the modification instruction, and determining that the server equipment works in a non-random access information mode.
4. The method of claim 3, wherein the obtaining a modification instruction to modify the random access information comprises:
and obtaining a modification instruction which is locally generated in the server-side equipment and modifies the random access information.
5. The method according to claim 3 or 4, further comprising, after said modifying the random access information according to the modification instruction:
storing the access information before modification and the access information after modification;
sending the modified access information to second type client side equipment so that the second type client side is accessed to the server side equipment according to the modified access information when accessing the server side equipment next time, wherein the second type client side equipment is as follows: the client device has successfully accessed the server device.
6. An apparatus access device, applied to a server device, the apparatus comprising:
the access information generation module is used for randomly generating access information for accessing the client equipment to the server equipment in the starting process as random access information and determining that the server equipment works in a random access information mode;
the device searching module is used for searching client devices existing in a local area network where the server device is located and used as first-class client devices;
an access information sending module, configured to send the random access information to the first class of client devices, so that the first class of client devices access the server device according to the random access information;
an access request rejecting module, configured to reject a remote access request to the server device when the server device operates in the random access information mode, where the remote access request to the server device is: remote access requests other than access requests made by the client device to the server device.
7. The apparatus of claim 6, wherein the access information sending module is specifically configured to:
judging whether the number of the first type of client equipment exceeds the number of access channels of the server equipment;
if so, selecting the client devices with the number of the access channels from the first type of client devices, and sending the random access information to the selected client devices;
and if not, sending the random access information to the first type of client equipment.
8. The apparatus of claim 6, wherein the apparatus further comprises:
a modification instruction obtaining module, configured to obtain a modification instruction for modifying the random access information;
an access information modifying module, configured to modify the random access information according to the modification instruction;
and the information module determining module is used for determining that the server side equipment works in a non-random access information mode.
9. The apparatus of claim 8,
the access information modification module is specifically configured to obtain a modification instruction that is locally generated at the server device and modifies the random access information.
10. The apparatus of claim 8 or 9, further comprising:
an access information processing module, configured to store the access information before modification and the access information after modification after the access information modification module modifies the random access information, and send the modified access information to a second type of client device, so that the second type of client accesses the server device according to the modified access information when accessing the server device next time, where the second type of client device is: the client device has successfully accessed the server device.
11. The server-side equipment is characterized by comprising a processor, a communication interface, a memory and a communication bus, wherein the processor and the communication interface are used for realizing mutual communication by the memory through the communication bus;
a memory for storing a computer program;
a processor for implementing the method steps of any one of claims 1 to 5 when executing a program stored in the memory.
12. A computer-readable storage medium, characterized in that a computer program is stored in the computer-readable storage medium, which computer program, when being executed by a processor, carries out the method steps of any one of the claims 1-5.
CN201910418574.3A 2019-05-20 2019-05-20 Equipment access method, device and equipment Active CN111970177B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910418574.3A CN111970177B (en) 2019-05-20 2019-05-20 Equipment access method, device and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910418574.3A CN111970177B (en) 2019-05-20 2019-05-20 Equipment access method, device and equipment

Publications (2)

Publication Number Publication Date
CN111970177A CN111970177A (en) 2020-11-20
CN111970177B true CN111970177B (en) 2021-09-24

Family

ID=73357957

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910418574.3A Active CN111970177B (en) 2019-05-20 2019-05-20 Equipment access method, device and equipment

Country Status (1)

Country Link
CN (1) CN111970177B (en)

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6496511B1 (en) * 1999-05-21 2002-12-17 3Com Corporation Method for preserving preassigned IP addresses in a remote access server
CN101064628A (en) * 2006-04-28 2007-10-31 华为技术有限公司 Household network appliance safe management system and method
CN101861721A (en) * 2007-10-15 2010-10-13 奥多比公司 Imparting cryptographic information in network communications
CN103607712A (en) * 2013-11-29 2014-02-26 深圳Tcl新技术有限公司 Access method and device for wireless network
CN104079409A (en) * 2014-06-10 2014-10-01 百度在线网络技术(北京)有限公司 Account login method and device
CN105471885A (en) * 2015-12-23 2016-04-06 浪潮(北京)电子信息产业有限公司 Remote server based on VPN connection and login method thereof
CN106973060A (en) * 2017-04-21 2017-07-21 宁波公众信息产业有限公司 A kind of video monitoring system
CN108011871A (en) * 2017-11-16 2018-05-08 青岛海信电器股份有限公司 A kind of remote assistance processing method and equipment
CN108769061A (en) * 2018-06-25 2018-11-06 北京奇虎科技有限公司 Login method, login validation method and corresponding device, electronic equipment
CN109150907A (en) * 2018-09-30 2019-01-04 百度在线网络技术(北京)有限公司 Vehicle-mounted industrial personal computer login method, device, system, computer equipment and medium
CN109302370A (en) * 2017-07-24 2019-02-01 上海牛卡网络科技有限公司 A kind of client validation method, terminal and server
CN109587162A (en) * 2018-12-26 2019-04-05 闻泰通讯股份有限公司 Login validation method, device, terminal, cipher server and storage medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103532946B (en) * 2013-10-09 2016-11-23 北京奇虎科技有限公司 Based on without password or the mthods, systems and devices of the arbitrarily network authorization of password

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6496511B1 (en) * 1999-05-21 2002-12-17 3Com Corporation Method for preserving preassigned IP addresses in a remote access server
CN101064628A (en) * 2006-04-28 2007-10-31 华为技术有限公司 Household network appliance safe management system and method
CN101861721A (en) * 2007-10-15 2010-10-13 奥多比公司 Imparting cryptographic information in network communications
CN103607712A (en) * 2013-11-29 2014-02-26 深圳Tcl新技术有限公司 Access method and device for wireless network
CN104079409A (en) * 2014-06-10 2014-10-01 百度在线网络技术(北京)有限公司 Account login method and device
CN105471885A (en) * 2015-12-23 2016-04-06 浪潮(北京)电子信息产业有限公司 Remote server based on VPN connection and login method thereof
CN106973060A (en) * 2017-04-21 2017-07-21 宁波公众信息产业有限公司 A kind of video monitoring system
CN109302370A (en) * 2017-07-24 2019-02-01 上海牛卡网络科技有限公司 A kind of client validation method, terminal and server
CN108011871A (en) * 2017-11-16 2018-05-08 青岛海信电器股份有限公司 A kind of remote assistance processing method and equipment
CN108769061A (en) * 2018-06-25 2018-11-06 北京奇虎科技有限公司 Login method, login validation method and corresponding device, electronic equipment
CN109150907A (en) * 2018-09-30 2019-01-04 百度在线网络技术(北京)有限公司 Vehicle-mounted industrial personal computer login method, device, system, computer equipment and medium
CN109587162A (en) * 2018-12-26 2019-04-05 闻泰通讯股份有限公司 Login validation method, device, terminal, cipher server and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
物联网终端安全接入方法研究与设计;钟晶等;《电子产品可靠性与环境试验》;20130620(第03期);全文 *

Also Published As

Publication number Publication date
CN111970177A (en) 2020-11-20

Similar Documents

Publication Publication Date Title
US20220276910A1 (en) Dynamically integrating a client application with third-party services
AU2017218936B2 (en) Multi-cloud network proxy for control and normalization of tagging data
US9166965B2 (en) Method and system for automated user authentication for a priority communication session
US9288194B2 (en) Authorization method, apparatus, and system
US20160014119A1 (en) Authentication system, authentication method, program and communication system
EP3001600B1 (en) Account login method, equipment and system
WO2017024842A1 (en) Internet access authentication method, client, computer storage medium
US9514291B2 (en) Information processing system, information processing device, and authentication information management method
CN111400777A (en) Network storage system, user authentication method, device and equipment
JP2016051329A (en) Content management apparatus and control method thereof
CN115484086A (en) Cloud mobile phone screen sharing method, electronic equipment and computer readable storage medium
CN109495362B (en) Access authentication method and device
CN111182021A (en) File sharing method and device, electronic equipment and computer readable storage medium
CN113489689A (en) Access request authentication method and device, storage medium and electronic equipment
CN111970177B (en) Equipment access method, device and equipment
US10432740B2 (en) Method and apparatus for accessing OTT application and pushing message by server
US20150281003A1 (en) Mobile application control
CN116743496A (en) Device remote operation method, device, computer device and storage medium
JP2017174276A (en) Program and remote conference method
US20230087481A1 (en) Applications permissions framework
CN110048864B (en) Method and apparatus for authenticating an administrator of a device-specific message group
CN114866247A (en) Communication method, device, system, terminal and server
WO2020238971A1 (en) File sharing method, apparatus and system, server, terminal, and storage medium
US11895112B2 (en) Secure authentication and execution of applications on shared devices
US20230208986A1 (en) Mediation server and non-transitory computer-readable medium storing computer-readable instructions for mediation server

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