CN112491616A - Information configuration method and device, electronic equipment and storage medium - Google Patents

Information configuration method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN112491616A
CN112491616A CN202011356033.1A CN202011356033A CN112491616A CN 112491616 A CN112491616 A CN 112491616A CN 202011356033 A CN202011356033 A CN 202011356033A CN 112491616 A CN112491616 A CN 112491616A
Authority
CN
China
Prior art keywords
information
configuration
network
client
configuration information
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.)
Granted
Application number
CN202011356033.1A
Other languages
Chinese (zh)
Other versions
CN112491616B (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.)
Shenzhen Oribo Technology Co Ltd
Original Assignee
Shenzhen Oribo 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 Shenzhen Oribo Technology Co Ltd filed Critical Shenzhen Oribo Technology Co Ltd
Priority to CN202011356033.1A priority Critical patent/CN112491616B/en
Publication of CN112491616A publication Critical patent/CN112491616A/en
Application granted granted Critical
Publication of CN112491616B publication Critical patent/CN112491616B/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
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0876Aspects of the degree of configuration automation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting

Abstract

The embodiment of the invention discloses an information configuration method, an information configuration device, electronic equipment and a storage medium, wherein the information configuration method is applied to a client, and comprises the following steps: receiving a position identification input by a user; sending the position identification to a server; receiving configuration information sent by a server, wherein the configuration information is associated with a position identifier; and configuring a network configuration item of the client according to the configuration information, wherein the network configuration item is used as a connection basis for establishing network connection between the client and the management equipment. By implementing the method, the configuration information can be obtained based on the position identification and is configured in the network configuration item of the client, and a user does not need to manually enter the information in the network configuration item, so that the information configuration speed is effectively improved, and the problem of low network information configuration efficiency in the prior art is solved.

Description

Information configuration method and device, electronic equipment and storage medium
Technical Field
The present invention relates to the field of intelligent device control technologies, and in particular, to an information configuration method and apparatus, an electronic device, and a storage medium.
Background
In recent years, intelligent terminals that can be used to interact with management devices have appeared on the market to meet the needs of some application scenarios (e.g. visual intercom, mutual calling, central management system). At present, before network connection is established between an intelligent terminal and management equipment for interaction, an engineer usually needs to configure network parameters for the intelligent terminal in a manual operation mode so that the intelligent terminal can normally establish network connection and interact with the intelligent terminal. The manual information configuration mode causes a large amount of time consumption in the process of installing the intelligent equipment, and the operation is complex and easy to make mistakes.
Disclosure of Invention
In view of the foregoing problems, embodiments of the present invention provide an information configuring method, an information configuring apparatus, an electronic device, and a storage medium, so as to solve the problem of low detection efficiency of an information configuring method in the prior art.
In a first aspect, an embodiment of the present invention provides an information configuration method, which is applied to a client, and the information configuration method includes: receiving a position identification input by a user; sending the position identification to a server; receiving configuration information sent by a server, wherein the configuration information is associated with a position identifier; and configuring a network configuration item of the client according to the configuration information, wherein the network configuration item is used as a connection basis for establishing network connection between the client and the management equipment.
In a second aspect, an embodiment of the present invention provides an information configuration method, which is applied to a server communicating with a client, where the information configuration method includes: receiving a position identifier sent by a client; determining configuration information corresponding to the position identifier according to the position identifier, wherein the configuration information is associated with the position identifier; and sending the configuration information to the client, wherein the configuration information is used for configuring network parameters for the client to serve as a connection basis for establishing network connection between the client and the management equipment.
In a third aspect, an embodiment of the present invention provides an information configuration apparatus, which is applied to a client, where the information configuration includes a location identifier obtaining module, a sending module, a receiving module, and a configuration module. The position identification acquisition module is used for receiving the position identification input by the user. The sending module is used for sending the position identification to the server. The receiving module is used for receiving the configuration information sent by the server side, and the configuration information is associated with the position identification. The configuration module is used for configuring a network configuration item of the client according to the configuration information, and the network configuration item is used as a connection basis for building network connection between the client and the management equipment.
In a fourth aspect, an embodiment of the present invention provides an electronic device, including one or more processors and a memory; one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs configured to perform the methods described above.
In a fifth aspect, the present invention provides a computer-readable storage medium, in which a program code is stored, wherein the method is performed when the program code runs.
The embodiment of the invention provides an information configuration method and device, electronic equipment and a storage medium. In the information configuration method, the configuration information can be obtained based on the position identification and configured in the network configuration item of the client, and a user does not need to manually enter the information in the network configuration item, so that the information configuration speed is effectively improved, and the problem of low network information configuration efficiency in the prior art is solved.
A specific information configuration method is described below. Based on the above-described application environment and system, embodiments of the present invention will be described in detail below with reference to the accompanying drawings.
Drawings
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 some, not all, embodiments of the present invention. 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.
Fig. 1 shows a schematic diagram of an application environment suitable for the embodiment of the present application.
Fig. 2 shows a schematic diagram of a terminal device suitable for use in an embodiment of the present application.
Fig. 3 shows a flow diagram of an information configuration method according to an embodiment of the present application.
Fig. 4 shows a flow chart of an information configuration method according to another embodiment of the present application.
Fig. 5 is a flowchart illustrating a step of acquiring configuration information in the method illustrated in fig. 4.
Fig. 6 shows another flow chart illustrating the step of obtaining configuration information in the method shown in fig. 4.
FIG. 7 is a flowchart illustrating the steps of obtaining a network account in the method of FIG. 6.
Fig. 8 shows a further flowchart illustrating the step of obtaining configuration information in the method shown in fig. 4.
Fig. 9 shows a functional block diagram of an information configuration apparatus according to an embodiment of the present invention.
Fig. 10 shows a functional block diagram of an electronic 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.
At present, before network connection is established between an intelligent terminal and management equipment for interaction, an engineer usually needs to configure network parameters for the intelligent terminal in a manual operation mode, wherein the network parameters usually comprise an IP address, a subnet mask, an equipment gateway and the like, so that the intelligent terminal can normally establish network connection and interact with the intelligent terminal, a large amount of time is consumed in the manual input mode, and errors are easily caused in a digital input process.
Based on this, the inventor of the present invention has conducted a great deal of research and finds that each byte section in the network configuration parameters has a certain rule, for example, data in the previous or two byte sections of the IP address is usually a few fixed number matches, so that when a user touches an entry to be filled in the IP address, the client can automatically pop up the fixed number matches for the user to select, so that the user does not need to manually input all bytes in all IP addresses. The inventor finds that although the method of presetting the popup window can improve the speed of inputting the network parameters by the user, the method still needs the user to input partial information one by one, and cannot fundamentally solve the problem of low information configuration efficiency.
In order to fundamentally solve the above-described problems, the present inventors continued to research and develop on how to rapidly configure network parameters in terms to be filled in. Further, the inventors propose an information arrangement method of the present invention, which: the method comprises the steps of receiving a position identification input by a user, sending the position identification to a server, receiving configuration information sent by the server, associating the configuration information with the position identification, configuring a network configuration item of a client according to the configuration information, wherein the network configuration item is used as a connection basis for establishing network connection between the client and management equipment, so that the configuration information can be obtained based on the position identification and configured in the network configuration item of the client, and the user does not need to enter information in the network configuration item personally, so that the information configuration speed is effectively improved, and the problem of low network information configuration efficiency in the prior art is solved.
First, an application environment of the information configuration method provided by the embodiment of the present invention is described.
Referring to fig. 1, fig. 1 is a schematic view illustrating an application scenario of an information configuration method according to an embodiment of the present invention, where the information configuration method may be applied to a configuration system, and the configuration system may include a client 100 and a server 200.
In the embodiment of the present invention, the client 100 may be an intelligent control device for controlling an intelligent device, and the intelligent control device may implement functions of system information acquisition, information input, information output, relay control, centralized control, remote control, linkage control, remote call, and the like. The intelligent control equipment can be responsible for specific security alarm, household appliance control and power utilization information acquisition. The intelligent control equipment can also carry out data interaction with products such as an intelligent interaction terminal in a wireless mode. The intelligent control equipment also has the wireless routing function, excellent wireless performance, network safety and coverage area. It should be noted that fig. 1 is only an exemplary illustration of an application environment, and the number of clients 100 in the figure may be increased or decreased according to needs.
Referring to fig. 2, the intelligent control device may include a control device main body 101, wherein the control device main body 101 may be a cylinder, a regular frame, an irregular frame, or the like, and optionally, as a mode, the control device main body 101 is a regular frame, for example, a rectangular parallelepiped, a cube, or the like, and a fixing portion may be disposed on one side of the control device main body 101, so as to fix the control device main body 101 on a target object through the fixing portion, for example, fix the control device main body 101 on a wall, a door, or the like.
Further, the intelligent control device may further include at least one physical key 102, and the at least one physical key 102 is disposed on the control device main body 101. The client 100 may further include at least one virtual key provided on the control device body 101. Specifically, the control device main body 101 may include a touch screen 103, and at least one virtual key is disposed on the touch screen 103, where the touch screen 103 is used for displaying the screen information output by the client 100 and for a user to perform a touch operation, for example, touch the at least one virtual key. The physical keys and the virtual keys can be associated with different operation instructions to realize different operations.
Wherein the intelligent control device may be a device with specific information input and information output capabilities. For example, the client 100 may include one or more of a smart home control panel, a smart speaker, a smart television, a smart phone, a smart tablet, a notebook, a Personal Computer (PC), a Personal Digital Assistant (PDA), a Mobile Internet Device (MID), a wearable Device (e.g., a smart watch, a smart bracelet, and smart glasses), and the like. Additionally, in some examples, the operating system run by the client 100 may include, but is not limited to, an Android operating system, an IOS operating system, a Symbian operating system, a UNIX operating system, a Linux operating system, a QNX operating system, a Black Berry operating system, a Windows Phone 8 operating system, and so forth. .
In the embodiment of the present invention, the server may be implemented by an independent server or a server cluster formed by a plurality of servers. In addition, the server can be a cloud server and can also be a traditional machine room server. In addition, the client 100 may establish a communication connection with the server 200, receive an instruction sent by the server 200, and may also perform communication interaction with the server 200. For example, the client 100 and the server 200 may be connected through communication manners such as WLAN, Wi-Fi (Wireless-Fidelity), ZigBee (ZigBee technology), and ethernet, and the connection manner of the client 100 and the server 200 may not be limited in the embodiment of the present invention.
According to the intelligent control system, the embodiment of the invention provides an information configuration method, which is applied to a client in the configuration system. The information configuration method comprises the steps of receiving a position identification input by a user, sending the position identification to a server, receiving configuration information sent by the server, associating the configuration information with the position identification, configuring a network configuration item of a client according to the configuration information, and using the network configuration item as a connection basis for establishing network connection between the client and management equipment. A specific information configuration method is described below. Based on the above-described application environment and system, embodiments of the present invention will be described in detail below with reference to the accompanying drawings.
Referring to fig. 3, an information configuration method provided in an embodiment of the present invention is applied to an intelligent terminal that establishes a communication connection with a server, and once triggered, a flow of the method in the embodiment may automatically run through the intelligent terminal, where each step may be performed sequentially according to an order in the flowchart, or may be performed simultaneously according to a plurality of steps in an actual situation, which is not limited herein. The information configuring method may include the following steps S11 to S14.
Step S11: and receiving the position identification input by the user.
In this embodiment, the location identifier may include information indicating the location where the client is located. For example, the location identity may be an XX cell XX unit XX building XX number. In this embodiment, the intelligent terminal may obtain the location identifier by directly typing in the location identifier by the user, may obtain the location identifier based on the current geographic location of the client, and may obtain the location identifier based on the terminal identifier of the client. The terminal identifier may include an identifier for characterizing the identity of the intelligent terminal, for example, the terminal identifier may be a Mac address, a device ID, or the like.
When the position identification mode is obtained based on the current geographic position of the client, the intelligent terminal can obtain the current geographic position of the client, inquire an available area unit in a preset range based on the geographic position, obtain a target position in the available area unit, and generate the position identification based on the target position.
Wherein the current geographic location of the client may be based on the location obtained by the positioning system. For example, the positioning system may be a Beidou satellite navigation system, a Galileo satellite navigation system, a Global navigation satellite System, or the like. In addition, the intelligent terminal can comprise an intelligent control device operating the client and a locator, so that the locating system can be configured on the locator of the intelligent control device, and when the current geographic position of the client needs to be acquired, the intelligent terminal can call the locator to carry out locating. The location obtained may be located based on the location obtained by the positioning system, e.g. the location may be a cell, a building, a mall, etc. The predetermined range may be determined empirically, for example, the predetermined range may be one kilometer square, five kilometers square, ten kilometers square, and so on. The available area unit may be an area where the electronic device carrying the client needs to be installed, for example, the available area unit may be one or more cells within ten kilometers of a square circle. In addition, the intelligent terminal can acquire the target position of the available area unit in a mode of typing by the user, so that the position identification is generated based on the target position.
To make the above process of obtaining location identification based on current geographic location clearer, the following example is listed: the method comprises the steps that the current geographic position of a client is obtained based on a positioning system, the geographic position is an XX cell at the moment, an available area unit within three kilometers of a square circle is inquired based on the geographic position, the available area unit comprises an A floor X number, a B floor Y number and a C floor Z number at the moment, the available area unit is presented on a display surface of the client, a user clicks the A floor X number to obtain a target position XX cell, an A floor X number, and the position is identified as the XX cell, the A floor X number at the moment.
It should be noted that the above manner of obtaining the location identifier based on the current geographic location of the client may be performed at the server or at the client, and is not limited herein.
When the position identifier is obtained based on the terminal identifier of the client, the terminal identifier may be at least one of a Mac address and a device ID, and the client should have obtained the terminal identifier of the client, and then performs reverse extrapolation based on the association relationship between the terminal identifier and the position identifier to determine the current geographic position of the client, so that a user does not need to input the position identifier after the client obtains the terminal identifier. The intelligent terminal can associate the terminal identifier with the position identifier in advance, and the terminal identifier can be a fixed identifier, so that the client can automatically configure the position identifier after the client acquires the terminal identifier, and the time for acquiring the position identifier is saved.
Step S12: and sending the position identification to a server.
In this embodiment, after the client establishes a wireless or wired communication connection with the server, the location identifier may be sent to the server.
Step S13: and receiving configuration information sent by the server, wherein the configuration information is associated with the position identifier.
In this embodiment, the server may store configuration information associated with each location identifier in advance. After the client sends the location identifier information to the server, the server may query and obtain configuration information associated with the location identifier, and send the obtained configuration information to the client. In addition, the configuration information may be a network parameter used by the client to establish a communication connection with the management device. For example, the configuration information may include at least one of parameters such as an IP address, a subnet mask, a device gateway, etc.
In addition, the client may use the terminal identifier as a location identifier, and at this time, the server may store configuration information associated with each terminal identifier in advance. After the client sends the terminal identifier as the location identifier to the server, the server may query configuration information associated with the terminal identifier and send the obtained configuration information to the client. The terminal identification may be at least one of a Mac address and a device ID. The terminal identification is used as the position identification and is associated with the terminal identification and the configuration information, so that the user operation can be reduced, the speed of acquiring the configuration information is effectively improved, and the time of acquiring the configuration information is saved.
Step S14: and configuring a network configuration item of the client according to the configuration information, wherein the network configuration item is used as a connection basis for establishing network connection between the client and the management equipment.
In this embodiment, the network configuration item may include an input item corresponding to the configuration information. The server can associate the configuration information with the network configuration item, and when the client receives the configuration information, the configuration information is automatically filled in the network configuration item. For example, the client may automatically configure the IP address to an IP address configuration entry in the network configuration entry and automatically configure the subnet mask to a subnet mask entry in the network configuration entry.
In this embodiment, configuring the network configuration item of the client according to the configuration information may include: searching input content required to be input in the network configuration item, inquiring parameters corresponding to the input content in the configuration information based on the input content, and inputting the parameters corresponding to the input content into the input item of the network configuration item. Wherein the input items may correspond to the input contents one to one. For example, the entry for configuring the IP address may correspond to input contents including the IP address, and the entry for configuring the subnet mask may correspond one-to-one to input contents including the subnet mask. By searching the corresponding content in the network configuration item and the configuration information, the information configuration method provided by the embodiment can be applied to different clients, and corresponding input content is input at different clients.
In addition, configuring the network configuration item of the client according to the configuration information may further include: searching input content required to be input in a network configuration item, inquiring parameters corresponding to the input content in configuration information based on the input content, if one or more parameters corresponding to the input content are not inquired in the configuration information, acquiring default parameters of the one or more parameters corresponding to the input content, and inputting the default parameters to the input item corresponding to the input content, thereby preventing certain input items in the network configuration item from being missed to cause that the client cannot establish communication connection with the management equipment.
In this embodiment, the management device may perform communication interaction with the client based on the network parameters in the network configuration item. The management device may be capable of inputting information and outputting information. For example, the management device may be a visualization manager, a listening manager, or the like.
In this embodiment, through the implementation of the above steps S11 to S14, the configuration information can be obtained based on the location identifier, and the configuration information is configured in the network configuration item of the client, so that the user does not need to manually enter the information in the network configuration item, thereby effectively improving the speed of information configuration and solving the problem of low efficiency of current network information configuration.
An embodiment of the present application further provides an information configuration method, where the information configuration method is applied to a server communicating with a client, and as shown in fig. 4, the information configuration method includes:
step S21: and receiving the position identification sent by the client.
Step S22: and determining configuration information corresponding to the position identifier according to the position identifier, wherein the configuration information is associated with the position identifier.
Step S23: and sending the configuration information to the client, wherein the configuration information is used for configuring network parameters for the client to serve as a connection basis for establishing network connection between the client and the management equipment.
It should be noted that the difference between the information configuration method applied to the server in this embodiment and the information configuration method applied to the client in the foregoing embodiment is that the application side of the method is different, and the information configuration method provided in this embodiment is applied to the server in the foregoing configuration system; the information configuration method provided by the embodiment is applied to the client of the configuration system; the working principle and the purpose of the two methods are basically the same, and therefore, the above steps S21 to S23 are not repeated herein, and specific reference may be made to the description of the information configuration method applied to the client terminal provided in the above embodiment.
The embodiment of the present application further provides a binding method for an intelligent device, where the binding method for an intelligent device may include: the following steps S31 to S33. The binding method for the intelligent device provided in this embodiment may include the same or similar steps as those in the foregoing embodiment, and for the execution of the same or similar steps, reference may be made to the foregoing description, and details are not repeated in this specification.
Step S31: and receiving the position identification sent by the client.
Step S32: and determining configuration information corresponding to the position identifier according to the position identifier, wherein the configuration information is associated with the position identifier.
In this embodiment, in order to enable the client to perform information interaction with a specific management device, the server may obtain the management device corresponding to the location identifier, and further obtain the configuration information; the configuration information may include device network configuration information, and as shown in fig. 5, the above step S32 may include the following steps S321 to S322.
Step S321: at least one management device associated with the location identity is obtained.
In this embodiment, the association relationship between the location identifier and the management device may be set in advance. When the location identifier is associated with a certain management device, the client configured with the location identifier can perform interactive communication with the management device. Specifically, the server may pre-construct and store a location identifier-management device association table, and when the location identifier is obtained, the server may query the location identifier-management device association table to obtain the management device associated with the location identifier. For example, as shown in table (1) below, the location identifier D is associated with the management device a, the management device b, and the management device c, respectively, and a location identifier-management device association table is constructed in this way, and after the location identifier D is obtained, the management device associated with the location identifier D is queried in the location identifier-management device association table to obtain the management device a, the management device b, and the management device c, so that the client configured with the location identifier D can call the management device a, the management device b, and the management device c.
Figure BDA0002802597660000121
Watch (1)
Step S322: and determining the target equipment from at least one management equipment, and acquiring the equipment network configuration information of the target equipment to obtain the configuration information comprising the equipment network configuration information.
In this embodiment, the target device may be a management device that establishes a communication interaction with the client. The device network configuration information may be information required for establishing a communication connection with the target device. For example, the device network configuration information may be a management center machine name, IP information of the management center machine, or the like.
In this embodiment, when the number of the at least one management device associated with the location identifier is one, the server may use the management device as a target device and obtain device network configuration information of the target device. When the number of the at least one management device associated with the location identifier is multiple, the server may present the multiple management devices in a client interface, determine a target device from the multiple management devices based on information entered by the user, and acquire device network configuration information of the target device, so that the user may select a preferred management device for connection.
In this embodiment, through the implementation of the above steps S321 to S322, the server may obtain the management device corresponding to the location identifier, determine the target management device from the management device, and further obtain the device network configuration information of the target management device, so that the user may connect to the required management device, and the user is given a certain degree of selection right while connecting to the management device conveniently, so as to meet the requirement of the user.
In this embodiment, in some scenarios that the client needs to log in the account and then connects with the management device, the server may configure a network account for the client; the configuration information may include a network account and IP information, and as shown in fig. 6, the above step S32 may further include the following steps S323 to S324.
Step S323: a network account is determined based on the location identity.
In this embodiment, the location identifier and the network account may be in an associated state, and when the location identifier is obtained, the network account associated with the location identifier may be obtained based on the location identifier.
In this embodiment, in order to determine the network account, the server may obtain the network account through a pre-established database; as shown in fig. 7, the above step S323 may include the following steps S3231 to S3233.
Step S3231: and acquiring a database prestored with the position identification and the account information.
In this embodiment, the location identifier and the account information pre-stored in the database may be associated with each other.
Step S3232: and acquiring the target account information in a binding relationship with the position identifier through a database.
In this embodiment, the number of account information may have a certain limit, that is, the number of account information that may correspond to the same location information may have a certain limit, and meanwhile, the number of access management devices may have a certain limit. At this time, the server may classify the account information according to the usage rule of the account, and the category of the account information may include an available type and an unavailable type. For example, the server may collect the usage of each time node of each account information in a past period of time in advance, determine the space time and non-idle time of each account information based on the usage, compare the time point of obtaining the location identifier with the space time and non-idle time of each account information, and determine the account information as an available type when the time point of obtaining the location identifier falls into the idle time of some account information; when the time point of acquiring the location identifier falls within the non-idle time of certain account information, the account information is determined to be of an unavailable type, and therefore, the number of the available types of account information and the number of the unavailable types of account information can be multiple.
In this embodiment, when the number of the account information belonging to the available types is plural, the server may determine the target account information according to the priority of the available types of account information. For example, the server may determine the priority according to the number of times that the account information is associated with the location identifier, and the higher the priority of the account information is according to the number of times that the account information is associated with the location identifier.
Step S3233: and determining the network account according to the target account information.
In this embodiment, the server may obtain the network account from the target account information, and the network account may include characters used to represent the target account information. For example, the network account may be an ID, username, and the like. In addition, it should be noted that the network account in this embodiment may further include an account password, and the user does not need to log in based on the verification code.
In this embodiment, through the implementation of the above steps S3231 to S3233, the server may obtain the network account through a pre-established database, and this process does not require manual intervention, and realizes automatic network account allocation based on the location identifier.
Step S324: and acquiring IP information associated with the network account, and acquiring configuration information comprising the network account and the IP information.
In this embodiment, the IP information may include network information related to a client connection network. For example, the IP information may be a server IP, a client IP address, a subnet mask, a device gateway, etc. In addition, in this embodiment, the network account and the IP information may be pre-associated, so that the IP information associated with the network account is immediately queried when the network account is subsequently acquired, thereby obtaining the configuration information including the network account and the IP information.
In addition, in this embodiment, the server may unbind the network account and the IP information that are associated, specifically, when the IP information associated with the network account is in an occupied state, the server may release an association relationship between the IP information and another network account, and obtain configuration information including the network account and the IP information, so that the client may establish a network connection with the associated device using the occupied IP information. After the server releases the association relation between the IP information and other network accounts, the server can automatically configure new IP information for the network account with the released association relation, so that the client using the network account can still establish network connection with the management equipment.
In addition, in this embodiment, when the IP information associated with the network account is in an occupied state, the server may also obtain other IP information, and establish an association relationship between the network account and the other IP information, so as to obtain configuration information including the network account and the IP information that has an association relationship with the network account reestablished, so that the client may establish a network connection with the associated device using the IP information that has an association relationship with the network account reestablished. When the IP information associated with the network account is in an occupied state, the server may first query the IP information in an unoccupied state, and associate the IP information in the unoccupied state with the network account.
In this embodiment, through the implementation of the steps S323 to S324, the server may automatically acquire configuration information including the network account and the IP information, so as to implement automatic login of the network account, without human intervention, and effectively improve the speed of information configuration.
In this embodiment, in order to prevent the connection process with the management device from being interfered, the server may unbind the required network account in advance; the configuration information includes a network account, and as shown in fig. 8, the step S32 may further include the following steps S325 to S327.
Step S325: a network account is determined based on the location identity.
In this embodiment, the location identifier and the network account may be in an associated state, and when the location identifier is obtained, the network account associated with the location identifier may be obtained based on the location identifier.
Step S326: and if the network account and the other position identifications are in the binding state, unbinding the network account and the other position identifications.
In this embodiment, the server may query whether the network account is in an occupied state in the server, and if the network account is in an occupied state, it may be determined that the network account and the other location identifier are in a binding state; if the network account is not in the occupied state, it can be determined that the network account and the other location identifiers are not in the binding state.
In this embodiment, unbinding the network account and the other location identity may be canceling the association between the network account and the other location identity. For example, the server may cancel the mapping status between the network account and the other location identifier.
Step S327: and binding the position identifier and the network account to obtain configuration information comprising the network account.
In this embodiment, the binding the location identifier and the network account may be associating the network account with the other location identifier. For example, the server may construct a mapping status between the network account and the other location identity.
In this embodiment, the network account may include information indicating an identity of using the client. For example, the network account may be an ID, username, and the like. In addition, it should be noted that the network account in this embodiment may further include an account password, and the user does not need to log in based on the verification code.
In this embodiment, through the implementation of the steps S325 to S327, the server may bind the account information and the location identifier required by the user, so that the client can be connected to the management device through the required network account, and the management device can clearly know the identity of the user using the client.
In addition, in this embodiment, the information configuration method provided in this embodiment may further include: and if the unbinding instruction is received, the position identification and the network account are unbound. In this embodiment, the unbinding instruction may be generated based on information entered by the user, or may be generated automatically when the time for performing communication interaction with the management device using the network account expires, where the generation process of the unbinding instruction is not particularly limited. In addition, as for the method for unbinding the location identifier and the network account, reference may be made to the unbinding method in step S326, which is not described herein again.
Step S33: and sending the configuration information to the client, wherein the configuration information is used for configuring network parameters for the client to serve as a connection basis for establishing network connection between the client and the management equipment.
It should be noted that, in this embodiment, the server may include a main server and a plurality of sub-servers, the main server is connected to the plurality of sub-servers respectively, and the main server may communicate with each sub-server respectively. For one of the sub-servers, the sub-server can be connected with a plurality of clients respectively and provides configuration information for the plurality of clients respectively, the plurality of clients can be connected with one or more fixed management devices in a network, and the one or more management devices can be located in a certain area, so that one sub-server can provide the configuration information for the plurality of clients in the fixed area, the sub-server provides the configuration information for the clients in the area where the sub-server is located, and all the configuration information does not need to be set in each sub-server, thereby preventing the storage and processing of data by each server, and reducing the data processing pressure of the servers in the server.
In this embodiment, through the implementation of the above steps S31 to S33, the server can obtain the configuration information based on the location identifier, and configure the configuration information in the network configuration item of the client, and the user does not need to manually enter the information in the network configuration item, thereby effectively improving the speed of information configuration and solving the problem of low efficiency of current network information configuration; the management equipment corresponding to the position identification can be acquired, the target management equipment is determined from the management equipment, and the equipment network configuration information of the target management equipment is further acquired, so that a user can connect the required management equipment, the management equipment is conveniently connected, and the user is given a certain degree of selection right to meet the requirements of the user; the configuration information comprising the network account and the IP information can be automatically acquired to realize the automatic login of the network account without human intervention, the information configuration speed is effectively improved, and the account information required by the user is bound with the position identifier, so that the client can be connected with the management equipment through the required network account, and the management equipment can clearly know the identity of the user using the client.
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 application.
Embodiments of the present application provide an information configuring apparatus, which roughly corresponds to the information configuring method provided above one to one.
Referring to fig. 9, a functional module block diagram of an information configuration apparatus provided in an embodiment of the present application is shown, where the processing apparatus is applied to a client, and the information configuration apparatus may include a location identifier obtaining module 41, a sending module 42, a receiving module 43, and a configuration module 44. The location identifier obtaining module 41 is configured to receive a location identifier input by a user. The sending module 42 is configured to send the location identifier to the server. The receiving module 43 is configured to receive configuration information sent by the server, where the configuration information is associated with the location identifier. The configuration module 44 is configured to configure a network configuration item of the client according to the configuration information, where the network configuration item is used as a connection basis for establishing a network connection between the client and the management device.
The embodiment of the application provides an information configuration method, which is applied to a server side communicated with a client side. The functional modules are explained in detail as follows:
the position identification receiving module is used for receiving the position identification sent by the client. The configuration information acquisition module is used for determining configuration information corresponding to the position identifier according to the position identifier, and the configuration information is associated with the position identifier. The configuration information determining module is used for sending the configuration information to the client, and the configuration information is used for the client to configure network parameters and serves as a connection basis for building network connection between the client and the management equipment.
Further, as an implementation manner of this embodiment, the configuration information includes device network configuration information; the configuration information acquisition module may include a management device acquisition unit and a first configuration information acquisition unit. The functional units are explained in detail as follows: the management device acquisition unit is used for acquiring at least one management device associated with the position identifier. The first configuration information acquisition unit is used for determining a target device from at least one management device, and acquiring device network configuration information of the target device to obtain configuration information including the device network configuration information.
Further, as an implementation manner of this embodiment, the configuration information includes a network account and IP information; the configuration information acquisition module may include a network account determination unit and a second configuration information acquisition unit. The functional units are explained in detail as follows: the network account determining unit is used for determining the network account based on the position identification. The second configuration information acquisition unit acquires IP information associated with the network account and acquires configuration information including the network account and the IP information.
Further, as an implementation manner of this embodiment, the network account determination unit may include a database acquisition sub-unit, a target account information acquisition sub-unit, and a network account determination sub-unit. The functional subunits are described in detail as follows: the database acquisition subunit is used for acquiring a database in which the position identification and the account information are prestored. And the target account information acquisition subunit is used for acquiring the target account information in a binding relationship with the position identifier through the database. The network account determining subunit is used for determining the network account according to the target account information.
Further, as an implementation manner of this embodiment, the configuration information includes a network account; the configuration information acquisition module may include a network account determination unit, an unbinding unit, and a binding unit. The functional units are explained in detail as follows: the network account determining unit is used for determining the network account based on the position identification. And the unbinding unit is used for unbinding the network account and the other position identifications if the network account and the other position identifications are in a bound state. The binding unit is used for binding the position identifier and the network account and obtaining configuration information comprising the network account.
Further, as an implementation manner of this embodiment, the information configuration apparatus provided in this embodiment may further include a unbinding module. And the unbinding module is used for unbinding the position identifier and the network account if the unbinding instruction is received.
It can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working processes of each module in the above-described apparatus may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, the coupling or direct coupling or communication connection between the modules shown or discussed may be through some interfaces, and the indirect coupling or communication connection between the devices or modules may be in an electrical, mechanical or other form.
In addition, functional modules in the embodiments of the present application may be integrated into one processing module, or each of the modules may exist alone physically, or two or more modules are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode.
Referring to fig. 10, an electronic device 800 according to an embodiment of the present application is shown, including: a processor 810, a communication module 820, a memory 830, and a bus. The processor 810, the communication module 820 and the memory 830 are connected to each other through a bus and perform communication with each other. The bus may be an ISA bus, PCI bus, EISA bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. Wherein:
and a memory 830 for storing programs. In particular, the memory 830 may be used to store software programs as well as various data. The memory 830 may mainly include a program storage area and a data storage area, wherein the program storage area may store an application program required to operate at least one function and may include program codes including computer operating instructions. In addition to storing programs, the memory 830 may temporarily store messages or the like that the communication module 820 needs to send. Memory 830 may comprise high-speed RAM memory, and may also include non-volatile memory (non-volatile memory), such as at least one disk memory.
The processor 810 is configured to execute programs stored in the memory 830. The program, when executed by a processor, implements the steps of the rights-based smart device control method of the various embodiments described above.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the above-mentioned embodiment of the method for controlling an intelligent device based on permissions, and can achieve the same technical effect, and in order to avoid repetition, the details are not repeated here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
It should be noted that, in this document, 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 like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (10)

1. An information configuration method applied to a client, the method comprising:
receiving a position identification input by a user;
sending the position identification to a server;
receiving configuration information sent by the server, wherein the configuration information is associated with the position identifier; and
and configuring a network configuration item of the client according to the configuration information, wherein the network configuration item is used as a connection basis for establishing network connection between the client and management equipment.
2. An information configuration method, applied to a server side communicating with a client side, the method comprising:
receiving a position identifier sent by the client;
determining configuration information corresponding to the position identifier according to the position identifier, wherein the configuration information is associated with the position identifier; and
and sending the configuration information to a client, wherein the configuration information is used for the client to configure network parameters so as to serve as a connection basis for establishing network connection between the client and management equipment.
3. The information configuration method according to claim 2, wherein the configuration information includes device network configuration information; the determining the configuration information corresponding to the location identifier according to the location identifier includes:
acquiring at least one management device associated with the location identity; and
and determining target equipment from the at least one management equipment, and acquiring the equipment network configuration information of the target equipment to obtain the configuration information comprising the equipment network configuration information.
4. The information configuration method according to claim 2, wherein the configuration information includes network account and IP information; the determining the configuration information corresponding to the location identifier according to the location identifier includes:
determining the network account based on the location identity; and
and acquiring the IP information associated with the network account, and acquiring configuration information comprising the network account and the IP information.
5. The information configuration method of claim 4, wherein the determining the network account based on the location identity comprises:
acquiring a database prestored with the position identification and the account information;
acquiring target account information in a binding relationship with the position identification through the database;
and determining the network account according to the target account information.
6. The information configuring method according to claim 2, wherein the configuration information includes a network account; the determining the configuration information corresponding to the location identifier according to the location identifier includes:
determining the network account based on the location identity;
if the network account and the other position identifications are in a binding state, unbinding the network account and the other position identifications; and
and binding the position identification and the network account to obtain the configuration information comprising the network account.
7. The information configuration method according to any one of claims 3 to 6, characterized in that the method further comprises:
and if a unbinding instruction is received, unbinding the position identification and the network account.
8. An information configuration device, applied to a client, the device comprising:
the position identification acquisition module is used for receiving position identifications input by users;
the sending module is used for sending the position identification to a server;
a receiving module, configured to receive configuration information sent by the server, where the configuration information is associated with the location identifier; and
and the configuration module is used for configuring a network configuration item of the client according to the configuration information, and the network configuration item is used as a connection basis for establishing network connection between the client and the management equipment.
9. An electronic device, comprising:
a memory;
one or more processors coupled with the memory;
one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs configured to perform the method of any of claims 1-7.
10. A computer-readable storage medium, having stored thereon program code that can be invoked by a processor to perform the method according to any one of claims 1-7.
CN202011356033.1A 2020-11-26 2020-11-26 Information configuration method, device, electronic equipment and storage medium Active CN112491616B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011356033.1A CN112491616B (en) 2020-11-26 2020-11-26 Information configuration method, device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011356033.1A CN112491616B (en) 2020-11-26 2020-11-26 Information configuration method, device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN112491616A true CN112491616A (en) 2021-03-12
CN112491616B CN112491616B (en) 2023-06-02

Family

ID=74936003

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011356033.1A Active CN112491616B (en) 2020-11-26 2020-11-26 Information configuration method, device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112491616B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113094087A (en) * 2021-04-14 2021-07-09 深圳市元征科技股份有限公司 Software configuration method, electronic device and storage medium
CN113590184A (en) * 2021-08-19 2021-11-02 深圳市天天来玩科技有限公司 Configuration processing method, network equipment and storage medium
CN114363166A (en) * 2022-01-04 2022-04-15 北京全路通信信号研究设计院集团有限公司 Network equipment configuration method, cabinet, network management system and network configuration system
CN115051914A (en) * 2022-03-24 2022-09-13 飞诺门阵(北京)科技有限公司 Method and device for processing equipment configuration information, electronic equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108738104A (en) * 2017-04-19 2018-11-02 华为技术有限公司 A kind of method, terminal and network equipment for establishing local network connection
CN108886477A (en) * 2018-06-22 2018-11-23 深圳前海达闼云端智能科技有限公司 A kind of equipment configuration method, device, customer terminal equipment and cloud server
CN111769967A (en) * 2020-05-11 2020-10-13 深圳市欧瑞博科技股份有限公司 Intelligent configuration method and device for intercom equipment, server, terminal equipment and storage medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108738104A (en) * 2017-04-19 2018-11-02 华为技术有限公司 A kind of method, terminal and network equipment for establishing local network connection
CN108886477A (en) * 2018-06-22 2018-11-23 深圳前海达闼云端智能科技有限公司 A kind of equipment configuration method, device, customer terminal equipment and cloud server
CN111769967A (en) * 2020-05-11 2020-10-13 深圳市欧瑞博科技股份有限公司 Intelligent configuration method and device for intercom equipment, server, terminal equipment and storage medium

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113094087A (en) * 2021-04-14 2021-07-09 深圳市元征科技股份有限公司 Software configuration method, electronic device and storage medium
CN113590184A (en) * 2021-08-19 2021-11-02 深圳市天天来玩科技有限公司 Configuration processing method, network equipment and storage medium
CN114363166A (en) * 2022-01-04 2022-04-15 北京全路通信信号研究设计院集团有限公司 Network equipment configuration method, cabinet, network management system and network configuration system
CN115051914A (en) * 2022-03-24 2022-09-13 飞诺门阵(北京)科技有限公司 Method and device for processing equipment configuration information, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN112491616B (en) 2023-06-02

Similar Documents

Publication Publication Date Title
CN112491616B (en) Information configuration method, device, electronic equipment and storage medium
CN106686070B (en) Database data migration method, device, terminal and system
CN107995215B (en) Control method and device of intelligent household equipment and cloud platform server
CN110830575B (en) Data transmission method and control system of intelligent household equipment and intelligent gateway equipment
CN107592367B (en) Resource sharing method and device for household appliances and computer readable storage medium
EP3506031B1 (en) Smart household control method and system
US10116489B2 (en) Apparatus and method for managing network access device
CN104615004A (en) Intelligent household electrical appliance operating authorization control method and device
TWI544825B (en) Communication system for establishing p2p connections and the corresponding devices using the same
CN113132185B (en) Equipment distribution network binding method, system, mobile terminal and storage medium
CN113133086B (en) Intelligent device network distribution method and device, electronic device and storage medium
US10630551B2 (en) Method and apparatus for automatic networking of gateway device
CN105159256B (en) A kind of intelligent home control system based on Web service
EP3869112B1 (en) Air-conditioning device control method and air-conditioning device
CN112312515B (en) Binding method and device of intelligent equipment, electronic equipment and storage medium
CN111130902B (en) Switch management method, device and storage medium
CN110690996A (en) Configuration method, system and device of intelligent household terminal equipment and terminal equipment
CN105959188B (en) Method and device for controlling user terminal to be on-line
CN112422518A (en) Network access method, device and storage medium
CN113196721B (en) Method and device for discovering Internet of things equipment and terminal equipment
CN111356090B (en) Networking method of network, device thereof, terminal and computer readable storage medium
CN105429884A (en) Method and system of managing routers in different networks through terminal
CN102143165B (en) Method, network switch and network system for authenticating terminals
CN107807619A (en) Intelligent home control system and its method of work based on virtual server module
CN111953573B (en) Equipment distribution network processing method, equipment distribution network processing device and intelligent panel

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