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

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

Info

Publication number
CN112491616B
CN112491616B CN202011356033.1A CN202011356033A CN112491616B CN 112491616 B CN112491616 B CN 112491616B CN 202011356033 A CN202011356033 A CN 202011356033A CN 112491616 B CN112491616 B CN 112491616B
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.)
Active
Application number
CN202011356033.1A
Other languages
Chinese (zh)
Other versions
CN112491616A (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 identifier input by a user; transmitting 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 constructing 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 configured in the network configuration item of the client, and a user does not need to personally key in the information in the network configuration item, so that the speed of information configuration is effectively improved, and the problem of low network information configuration efficiency at present is solved.

Description

Information configuration method, 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, an information configuration device, 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 systems). Currently, before a network connection is established between an intelligent terminal and a management device for interaction, network parameters are generally required to be configured for the intelligent terminal by adopting a manual operation mode of an engineering person, so that the intelligent terminal can normally establish the network connection and interact with the intelligent terminal. This way of manually configuring information results in a considerable time consumption in the process of installing the intelligent device, and is cumbersome to operate and prone to errors.
Disclosure of Invention
In view of the above problems, embodiments of the present invention provide an information configuration method, an apparatus, an electronic device, and a storage medium, so as to solve the problem of low detection efficiency in the information configuration method in the prior art.
In a first aspect, an embodiment of the present invention provides an information configuration method, applied to a client, where the information configuration method includes: receiving a position identifier input by a user; transmitting 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 constructing network connection between the client and the management equipment.
In a second aspect, an embodiment of the present invention provides an information configuration method, applied to a server side communicating with a client side, 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 configuration information to the client, wherein the configuration information is used for the client to configure network parameters so as to serve as a connection basis for setting up 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 configuration information sent by the server, and the configuration information is associated with the position identification. The configuration module is used for configuring network configuration items of the client according to the configuration information, and the network configuration items are used as connection basis for constructing 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, embodiments of the present invention provide a computer readable storage medium having program code stored therein, wherein the above-described method is performed when the program code is run.
The embodiment of the invention provides an information configuration method, an information configuration device, electronic equipment and a storage medium. In the information configuration method, 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 personally key in information in the network configuration item, so that the speed of information configuration is effectively improved, and the problem of low network information configuration efficiency at present is solved.
A specific information configuration method is described below. Based on the application environments and the system introduced above, embodiments of the present invention will be described in detail below with reference to the accompanying drawings.
Drawings
The following description of the embodiments of the present invention will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are some, but not all embodiments of the invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Fig. 1 shows a schematic view of an application environment suitable for use in embodiments of the present application.
Fig. 2 shows a schematic diagram of a terminal device suitable for use in embodiments 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 diagram of an information configuration method according to another embodiment of the present application.
Fig. 5 is a flow chart illustrating the steps for acquiring configuration information in the method illustrated in fig. 4.
Fig. 6 shows another flow diagram of the step of obtaining configuration information in the method shown in fig. 4.
Fig. 7 is a flow chart illustrating the steps of obtaining a network account in the method of fig. 6.
Fig. 8 shows a further flow diagram of 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 following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Currently, before a network connection is established between an intelligent terminal and a management device for interaction, a network parameter is generally configured for the intelligent terminal by adopting a manual operation mode of an engineering person, wherein the network parameter generally comprises an IP address, a subnet mask, a device gateway and the like, so that the intelligent terminal can normally establish the network connection with the intelligent terminal and interact with the intelligent terminal, and the manual input mode needs to consume a great deal of time and is easy to make mistakes in an input digital process.
Based on this, the present inventors have conducted a lot of researches and found that each byte in the network configuration parameters has a certain rule, for example, the data in the previous one or two bytes of the IP address is usually a number of relatively fixed number matches, so when the user touches the item to be filled in of 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 the IP addresses. The inventor finds that although the speed of inputting network parameters by a user can be improved by the preset popup window, the mode still needs the user to input partial information one by one, and the problem of low information configuration efficiency cannot be fundamentally solved.
In order to be able to fundamentally solve the above-described problems, the present inventors continued to have been devoted to research and develop how network parameters in items to be filled can be quickly configured. Further, the inventors propose an information configuration method of the present invention, which: the method comprises the steps of receiving a position identifier input by a user, sending the position identifier to a server, receiving configuration information sent by the server, associating the configuration information with the position identifier, and 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 setting up network connection between the client and management equipment, so that the configuration information can be obtained based on the position identifier, and is configured in the network configuration item of the client, and the user does not need to manually key in information in the network configuration item, thereby effectively improving the speed of information configuration and solving the problem of low network information configuration efficiency at present.
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 shows 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 that performs intelligent device control, where the intelligent control device may implement functions of system information collection, information input, information output, relay control, centralized control, remote control, coordinated control, remote call, and the like. The intelligent control equipment can be responsible for specific security alarm, household appliance control and power consumption information acquisition. The intelligent control equipment can also interact data with products such as intelligent interaction terminals in a wireless mode. The intelligent control device also has a wireless routing function, excellent wireless performance, network security and coverage area. It should be noted that fig. 1 illustrates an application environment, and the number of clients 100 in the drawing may be increased or decreased as needed.
Referring to fig. 2, the intelligent control apparatus may include a control apparatus main body 101, where the control apparatus main body 101 may be a cylinder, a regular frame, an irregular frame, or the like, alternatively, the control apparatus main body 101 may be a regular frame, for example, a cuboid, a cube, or the like, and one side of the control apparatus main body 101 may be provided with a fixing portion to fix the control apparatus main body 101 to a target object, for example, to fix the control apparatus main body 101 to a wall, to a door, or the like.
Further, the smart control device may further include at least one physical key 102, where the at least one physical key 102 is disposed on the control device body 101. The client 100 may further include at least one virtual key, and the at least one virtual key is disposed on the control device body 101. Specifically, the control device 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 to display screen information output by the client 100 and is used for a user to touch, for example, to touch at least one virtual key. The physical keys and the virtual keys can be associated with different operation instructions to realize different operations.
The intelligent control device can be a device with specific information input and information output capabilities. For example, the client 100 may include one or more of various devices such as a smart home control panel, a smart speaker, a smart television, a smart phone, a smart tablet, a notebook, a personal computer (Personal Computer, PC), a personal digital assistant (Personal Digital Assistant, PDA), a mobile internet device (Mobile Internet Device, MID), a wearable device (e.g., a smart watch, a smart bracelet, a smart glasses), and the like. Additionally, in some examples, the operating systems run by the client 100 may include, but are not limited to, an Android (Android) operating system, an IOS operating system, a Symbian (sain) 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 the like. .
In the embodiment of the invention, the server side can be realized by an independent server or a server cluster formed by a plurality of servers. In addition, the server can be a cloud server or 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 methods such as WLAN, wi-Fi (Wireless Fidelity), zigBee (purple peak technology), ethernet, etc., and of course, the connection method 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 identifier input by a user, sending the position identifier to a server, receiving configuration information sent by the server, associating the configuration information with the position identifier, and 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 setting up network connection between the client and management equipment. A specific information configuration method is described below. Based on the application environments and the system introduced above, embodiments of the present invention will be described in detail below with reference to the accompanying drawings.
Referring to fig. 3, the information configuration method provided by the embodiment of the present invention is applied to an intelligent terminal that establishes communication connection with a server, and once triggered, the flow of the method in the embodiment may be automatically operated by the intelligent terminal, where each step may be performed sequentially as in the flow chart when operated, or may be performed simultaneously according to multiple steps in actual situations, which is not limited herein. The information configuration 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 where the client is located. For example, the location identity may be a XX cell XX a XX unit XX building XX number. In this embodiment, the intelligent terminal may obtain the location identifier by directly typing by the user, or may obtain the location identifier based on the current geographic location of the client, or may obtain the location identifier based on the terminal identifier of the client. The terminal identification may include an identification for characterizing the identity of the intelligent terminal, for example, the terminal identification may be a Mac address, a device ID, and the like.
When the mode of obtaining the position identification based on the current geographic position of the client, the intelligent terminal can obtain the current geographic position of the client, inquire available area units in a preset range based on the geographic position, obtain target positions in the available area units, and generate the position identification based on the target positions.
The current geographic position of the client can be obtained by the client based on the position 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 for running the client side, and the positioner is provided with the positioning system, so that the positioning system can be configured on the positioner of the intelligent control device, and when the current geographic position of the client side needs to be acquired, the intelligent terminal can call the positioner to position. The location obtained may be located based on the location obtained by the location system, e.g., a cell, building, mall, etc. The preset range may be empirically determined, for example, the preset range may be one kilometer square, five kilometers square, ten kilometers square, or the like. 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 user typing mode, so that the position identification is generated based on the target position.
To make it clearer the above-described process of deriving a location identity based on a current geographic location, the following examples are enumerated: the method comprises the steps that the current geographic position of a client is obtained based on a positioning system, the geographic position is XX cell, available area units within three kilometers of a square circle are inquired based on the geographic position, the available area units comprise building A X numbers, building B Y numbers and building C Z numbers, the available area units are displayed on a display surface of the client, a user clicks the building A X numbers to obtain target position XX cell building A X numbers, and at the moment, the position identification is XX cell building A X numbers.
It should be noted that, the method of obtaining the location identifier based on the current geographic location of the client may be performed at the server side or may be performed at the client side, which is not limited herein.
When the location 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 further, the current geographic location of the client is determined by performing a back-push based on the association relationship between the terminal identifier and the location identifier, so that the user does not need to input the location identifier after the client obtains the terminal identifier. The intelligent terminal can correlate the terminal identification with the position identification in advance, and the terminal identification can be a fixed identification, so that after the client acquires the terminal identification, the client can automatically configure the position identification, and the time for acquiring the position identification is saved.
Step S12: and sending the position identification to the 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 identification.
In this embodiment, the server may store configuration information associated with each location identifier in advance. After the client sends the location identification information to the server, the server may query and obtain configuration information associated with the location identification, and send the obtained configuration information to the client. In addition, the configuration information may be network parameters used by the client to establish a communication connection with the management device. For example, the configuration information may include at least one of an IP address, a subnet mask, a device gateway, etc.
In addition, the client may use the terminal identifier as the 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 identifier may be at least one of a Mac address and a device ID. The terminal identifier is used as the position identifier and is associated with the configuration information, so that the user operation can be reduced, the speed of acquiring the configuration information can be effectively improved, and the time for acquiring the configuration information can be 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 constructing 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 may associate the configuration information with the network configuration item, and automatically fill the configuration information into the network configuration item after the client receives the configuration information. For example, the client may automatically configure an IP address in an IP address configuration item and a subnet mask in a subnet mask item in the network configuration item.
In this embodiment, configuring the network configuration item of the client according to the configuration information may include: searching input content of the input required 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 one-to-one with the input content. For example, an entry for configuring an IP address may correspond to input contents including an IP address, and an entry for configuring a subnet mask may correspond one-to-one to input contents including a subnet mask. By searching the network configuration items and the configuration information for the corresponding content, the information configuration method provided by the embodiment can be applied to different clients, and the corresponding input content is input at the different clients.
In addition, configuring the network configuration item of the client according to the configuration information may further include: searching input content which is required to be input in the network configuration items, inquiring parameters corresponding to the input content in the configuration information based on the input content, acquiring default parameters of one or more parameters corresponding to the input content if one or more parameters corresponding to the input content are not inquired in the configuration information, and inputting the default parameters into the input items corresponding to the input content, thereby preventing some input items in the network configuration items in the client from being missed, and leading the client to be unable to 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 provided with the capability to input information and output information. For example, the management device may be a visualization manager, a listening manager, or the like.
In this embodiment, through implementation of the steps S11 to S14, 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 key in information in the network configuration item, thereby effectively improving the speed of information configuration, and solving the problem of lower efficiency of current network information configuration.
The embodiment of the application also provides an information configuration method, which is applied to a server side communicating with a client side, as shown in fig. 4, and 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 configuration information to the client, wherein the configuration information is used for the client to configure network parameters so as to serve as a connection basis for setting up network connection between the client and the management equipment.
It should be noted that, the information configuration method applied to the server provided by the present embodiment is different from the information configuration method applied to the client provided by the above embodiment in that the application side of the method is different, and the information configuration method provided by the present embodiment is applied to the server in the above configuration system; the information configuration method provided by the embodiment is applied to the client of the configuration system; the working principles and purposes of the two are basically the same, so the description of the above steps S21 to S23 will not be repeated here, and the description of the information configuration method applied to the client provided in the above embodiment may be referred to specifically.
The embodiment of the application also provides a binding method of the intelligent device, which can comprise the following steps: the following steps S31 to S33. The binding method of the smart device provided in this embodiment may include the same or similar steps as those in the foregoing embodiment, and for execution of the same or similar steps, reference may be made to the foregoing description, which is not repeated herein.
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 acquire the management device corresponding to the location identifier, and further acquire configuration information; the configuration information may include device network configuration information, and as shown in fig. 5, the above-described 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 a location identifier is associated with a management device, a client configured with the location identifier may interactively communicate with the management device. Specifically, the server may pre-build and store a location identifier-management device association table, and when the location identifier is acquired, the server may query the location identifier-management device association table to obtain a management device associated with the location identifier. For example, as shown in the following table (1), the location identifier D is associated with the management device a, the management device b, and the management device c, respectively, and the location identifier-management device association table is constructed therefrom, and after the location identifier D is acquired, the management device associated with the location identifier D is queried in the location identifier-management device association table, so that the management device a, the management device b, and the management device c are obtained, and therefore, the client configured with the location identifier D can communicate with the call 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 equipment network configuration information of the target equipment to obtain configuration information comprising the equipment network configuration information.
In this embodiment, the target device may be a management device that establishes communication interactions 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 name, IP information of the management center, or the like.
In this embodiment, when the number of at least one management device associated with the location identifier is one, the server may take the management device as a target device and acquire device network configuration information of the target device. When the number of at least one management device associated with the location identifier is a plurality of, the server may present the plurality of management devices on the client interface, determine a target device from the plurality of 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 by himself.
In this embodiment, through implementation of steps S321 to S322, the server may acquire the management device corresponding to the location identifier, determine the target management device from the management devices, and further acquire the device network configuration information of the target management device, so that the user may connect the required management device, and give the user a certain selection right while facilitating connection with the management device, so as to meet the needs of the user.
In this embodiment, in some scenarios where an account is required to be logged in and then connected to the management device, the server may configure a network account for the client by itself; the configuration information may include a network account and IP information, and as shown in fig. 6, the above-described step S32 may further include the following steps S323 to S324.
Step S323: a network account is determined based on the location identification.
In this embodiment, the location identifier and the network account may be in an association state, and when the location identifier is known, 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 acquire the network account through a database established in advance; as shown in fig. 7, the above step S323 may include the following steps S3231 to S3233.
Step S3231: and acquiring a database pre-stored 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 target account information in binding relation with the position identifier through a database.
In this embodiment, there may be a certain limit to the number of account information, that is, there may be a certain limit to the number of account information to which the same location information may correspond, and at the same time, there may be a certain limit to the number of access management devices. At this time, the server may classify the account information according to a 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 usage conditions of each time node of each account information in advance in a period of time, determine a space time and a non-idle time of each account information based on the usage conditions, compare a time point of acquiring the location identifier with the space time and the non-idle time of each account information, and determine an account information as an available type when the time point of acquiring the location identifier falls into the idle time of a certain 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 type of account information and the number of the unavailable type of account information can be multiple.
In this embodiment, when the number of account information belonging to the available type is plural, the server may determine the target account information according to the priority of the account information of the available type. The priority of the account information may be determined empirically, for example, the server may determine the priority according to the number of times the account information is associated with the location identifier, and the more the number of times the account information is associated with the location identifier, the higher the priority of the account information.
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, where the network account may include a character for characterizing the target account information. For example, the network account may be an ID, a user name, or 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 steps S3231 to S3233, the server may obtain the network account through a pre-established database, and the process does not need manual intervention, so as to implement automatic allocation of the network account based on the location identifier.
Step S324: IP information associated with the network account is acquired, and configuration information including the network account and the IP information is acquired.
In this embodiment, the IP information may include network information related to the 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 the embodiment, the network account and the IP information may be associated in advance, so that the IP information associated with the network account is immediately queried when the network account is subsequently acquired, thereby obtaining 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 associated with the network account, and specifically, when the IP information associated with the network account is in an occupied state, the server may release the association relationship between the IP information and other network accounts, and obtain configuration information including the network account and the IP information, so that the client may use the occupied IP information and the associated device to build a network connection. After the server releases the association relationship between the IP information and other network accounts, the server may automatically configure new IP information for the network account from which the association relationship is released, so that the client using the network account can still establish network connection with the management device.
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 for reestablishing the association relationship with the network account, so that the client may use the IP information for reestablishing the association relationship with the network account to establish a network connection with the association device. When the IP information associated with the network account is in an occupied state, the server side can firstly inquire the IP information in an unoccupied state and associate the IP information in the unoccupied state with the network account.
In this embodiment, through implementation of steps S323 to S324, the server may automatically obtain configuration information including the network account and the IP information, so as to realize automatic login of the network account, without human intervention, thereby effectively improving the speed of information configuration.
In this embodiment, in order to prevent the connection process with the management device from being disturbed, the server may unbind the required network account in advance; the configuration information includes a network account, and as shown in fig. 8, the above step S32 may further include the following steps S325 to S327.
Step S325: a network account is determined based on the location identification.
In this embodiment, the location identifier and the network account may be in an association state, and when the location identifier is known, 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 identifiers are in a binding state, unbinding the network account and the other position identifiers.
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, determine that the network account is in a binding state with other location identifiers; if the network account is not in an occupied state, it can be determined that the network account is not in a binding state with other location identifiers.
In this embodiment, unbinding the network account and the other location identifier may be to cancel the association between the network account and the other location identifier. For example, the server may cancel the mapping state 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, 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 state between the network account and the other location identifier.
In this embodiment, the network account may include information representing the identity of the client in use. For example, the network account may be an ID, a user name, or 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 implementation of steps S325 to S327, the server may bind the account information and the location identifier required by the user, so that the client may connect with the management device through the required network account, and further the management device may clearly learn 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, unbinding the position identification and the network account. In this embodiment, the unbinding instruction may be generated based on information entered by the user, or may be automatically generated when the time for performing communication interaction with the management device using the network account expires, and the generation process of the unbinding instruction is not particularly limited. In addition, the method for unbinding the location identifier and the network account may refer to the unbinding method in step S326, which is not described herein.
Step S33: and sending configuration information to the client, wherein the configuration information is used for the client to configure network parameters so as to serve as a connection basis for setting up network connection between the client and the management equipment.
It should be noted that, in this embodiment, the server may include a total server and a plurality of sub-servers, where the total server is connected to the plurality of sub-servers, and the total server may communicate with each sub-server. For one of the sub-servers, the sub-server can be respectively connected with a plurality of clients and respectively provide configuration information for the clients, the 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 configuration information for the clients in the fixed area, the sub-server provides 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 implementation of the steps S31 to S33, the server may obtain the configuration information based on the location identifier, and configure the configuration information to the network configuration item of the client, so that the user does not need to manually key in 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 then the equipment network configuration information of the target management equipment is acquired, so that a user can connect the required management equipment, and the user is given a certain selection right while the management equipment is connected conveniently so as to meet the requirements of the user; the configuration information comprising the network account and the IP information can be automatically acquired, so that the automatic login of the network account is realized, human intervention is not needed, the information configuration speed is effectively improved, the account information required by a user is bound with the position identifier, the client can be connected with the management equipment through the required network account, and the management equipment can clearly acquire the user identity using the client.
It should be understood that the sequence number of each step in the foregoing embodiment does not mean that the execution sequence of each process should be determined by the function and the internal logic of each process, and should not limit the implementation process of the embodiment of the present application in any way.
Embodiments of the present application provide an information configuration apparatus that is substantially in one-to-one correspondence with the above-provided information configuration method.
Referring to fig. 9, a functional block diagram of an information configuration apparatus provided in an embodiment of the present application, where the processing apparatus is applied to a client, 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 setting up 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 communicating with a client side. The functional modules are described 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 configuration information to the client, and the configuration information is used for the client to configure network parameters so as to serve as a connection basis for constructing network connection between the client and the management equipment.
Further, as an implementation manner of the present 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 described in detail as follows: the management device acquisition unit is used for acquiring at least one management device associated with the location identifier. The first configuration information obtaining unit is used for determining a target device from at least one management device and obtaining device network configuration information of the target device to obtain configuration information comprising the device network configuration information.
Further, as an implementation manner of the present 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 described in detail as follows: the network account determination unit is used for determining a network account based on the location 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 the present embodiment, the network account determining unit may include a database acquiring subunit, a target account information acquiring subunit, and a network account determining subunit. The functional subunits are described in detail as follows: the database acquisition subunit is used for acquiring a database pre-stored with the position identification and the account information. The target account information acquisition subunit is used for acquiring target account information in a binding relation with the position identifier through the database. The network account determination subunit is used for determining the network account according to the target account information.
Further, as an implementation manner of the present 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 described in detail as follows: the network account determination unit is used for determining a network account based on the location identification. And the unbinding unit is used for unbinding the network account and the other position identifiers if the network account and the other position identifiers are in a binding state. The binding unit is used for binding the position identifier and the network account to obtain configuration information comprising the network account.
Further, as an implementation manner of the present embodiment, the information configuration apparatus provided in the present 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 will be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working process of each module in the above description apparatus may refer to the corresponding process in the foregoing method embodiment, which is not repeated herein.
In the several embodiments provided herein, the illustrated or discussed coupling or direct coupling or communication connection of the modules to each other may be through some interfaces, indirect coupling or communication connection of devices or modules, electrical, mechanical, or other forms.
In addition, each functional module in each embodiment of the present application may be integrated into one processing module, or each module may exist alone physically, or two or more modules may be integrated into one module. The integrated modules may be implemented in hardware or in software functional modules.
Referring to fig. 10, an electronic device 800 provided in an embodiment of the present application includes: processor 810, communication module 820, memory 830, and bus. The processor 810, the communication module 820, and the memory 830 are connected to each other through buses and perform communication with each other. The bus may be an ISA bus, a PCI bus, an EISA bus, or the like. The buses may be divided into address buses, data buses, control buses, etc. Wherein:
A memory 830 for storing a program. In particular, the memory 830 may be used to store software programs as well as various data. The memory 830 may mainly include a storage program area and a storage data area, wherein the storage program area may store an application program required for operating at least one function may include program code including computer operation instructions. In addition to storing programs, the memory 830 may also store messages and the like that the communication module 820 needs to send. Memory 830 may comprise high-speed RAM memory or 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 the processor, implements the steps of the rights-based smart device control method of each of the above embodiments.
The embodiment of the invention also provides a computer readable storage medium, on which a computer program is stored, which when executed by a processor, implements the processes of the above embodiment of the intelligent device control method based on rights, and can achieve the same technical effects, so that repetition is avoided, and no further description is given here. Among them, a computer readable storage medium such as Read-Only Memory (ROM), random access Memory (Random Access Memory RAM), magnetic disk or optical disk, and the like.
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 one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) comprising several instructions for causing a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the method of the embodiments of the present invention.
The embodiments of the present invention have been described above with reference to the accompanying drawings, but the present invention is not limited to the above-described embodiments, which are merely illustrative and not restrictive, and many forms may be made by those having ordinary skill in the art without departing from the spirit of the present invention and the scope of the claims, which are to be protected by the present invention.

Claims (10)

1. An information configuration method, applied to a client, the method comprising:
receiving a position identifier of the client input by a user;
the position identification is sent to a server, so that the server determines configuration information corresponding to the position identification according to the position identification;
receiving configuration information sent by the server, wherein the configuration information is associated with the position identification; 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 constructing network connection between the client and the management equipment.
2. An information configuration method, applied to a server communicating with a client, the method comprising:
Receiving a position identifier sent by the client;
determining configuration information corresponding to the position identification according to the position identification, wherein the configuration information is associated with the position identification; 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 a target device from the at least one management device, and acquiring the device network configuration information of the target device to obtain configuration information comprising the device network configuration information.
4. The information configuration method according to claim 2, wherein the configuration information includes a 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 identification; 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 identification comprises:
acquiring a database in which the position identification and account information are pre-stored;
acquiring target account information in binding relation with the position identifier through the database;
and determining the network account according to the target account information.
6. The information configuration 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 identification;
if the network account and the other position identifiers are in a binding state, unbinding the network account and the other position identifiers; and
and binding the location identifier and the network account to obtain the configuration information comprising the network account.
7. The information configuration method according to any one of claims 4 to 6, characterized in that the method further comprises:
and if the unbinding instruction is received, unbinding the position identifier and the network account.
8. An information configuration apparatus, applied to a client, comprising:
the position identification acquisition module is used for receiving the position identification of the client input by a user;
the sending module is used for sending the position identifier to a server so that the server can determine configuration information corresponding to the position identifier according to the position identifier;
the receiving module is used for receiving configuration information sent by the server, and the configuration information is associated with the position identification; and
the configuration module is used for configuring network configuration items of the client according to the configuration information, wherein the network configuration items are used as connection basis for constructing 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, characterized in that the computer readable storage medium has stored therein a program code, which is callable by a processor for performing 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 CN112491616A (en) 2021-03-12
CN112491616B true 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)

Families Citing this family (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

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108738104B (en) * 2017-04-19 2021-11-19 华为技术有限公司 Method, device, system and storage medium for establishing local network connection
CN108886477B (en) * 2018-06-22 2022-03-11 达闼机器人有限公司 Equipment configuration method and device, client 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

Also Published As

Publication number Publication date
CN112491616A (en) 2021-03-12

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
US10785216B2 (en) Method for accessing network by internet of things device, apparatus, and system
JP4983104B2 (en) Network system and server
CN104615004A (en) Intelligent household electrical appliance operating authorization control method and device
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
US10448312B2 (en) Network awareness of device location
US20200021988A1 (en) Providing Secure Wi-Fi in an Open Wi-Fi Environment
US9516700B1 (en) Cloud-based controller for managing access points
CN102395055B (en) Networking and addressing method of building talkback system based on distributed hash table
CN110690996A (en) Configuration method, system and device of intelligent household terminal equipment and terminal equipment
WO2013113138A1 (en) Cloud air-conditioning system based on internet of things and cloud computing, and application method thereof
GB2498062A (en) Connected home control system with auto router port configuration and DDNS registration
CN112312515A (en) Binding method and device of intelligent equipment, electronic equipment and storage medium
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
US20090113041A1 (en) System and method for providing an intelligent wireless network
WO2015117362A1 (en) Method and device for sharing personal information on terminal
CN105429884A (en) Method and system of managing routers in different networks through terminal
CN106559259A (en) Unit exception behavior alarm method and device and platform information querying method and device
CN107807619A (en) Intelligent home control system and its method of work based on virtual server module
CN106603257B (en) method for determining incidence relation between station and switch port
US20150229513A1 (en) Systems and methods for efficient remote security panel configuration and management

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