CN110768808A - Terminal configuration method, device, server and storage medium - Google Patents

Terminal configuration method, device, server and storage medium Download PDF

Info

Publication number
CN110768808A
CN110768808A CN201810826744.7A CN201810826744A CN110768808A CN 110768808 A CN110768808 A CN 110768808A CN 201810826744 A CN201810826744 A CN 201810826744A CN 110768808 A CN110768808 A CN 110768808A
Authority
CN
China
Prior art keywords
configuration information
group
network terminal
identification code
character strings
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201810826744.7A
Other languages
Chinese (zh)
Inventor
梁钢
汪大海
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Teamsun Technology Co Ltd
Original Assignee
Beijing Teamsun 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 Beijing Teamsun Technology Co Ltd filed Critical Beijing Teamsun Technology Co Ltd
Priority to CN201810826744.7A priority Critical patent/CN110768808A/en
Publication of CN110768808A publication Critical patent/CN110768808A/en
Pending legal-status Critical Current

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/0803Configuration setting
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/02Protecting privacy or anonymity, e.g. protecting personally identifiable information [PII]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/06Selective distribution of broadcast services, e.g. multimedia broadcast multicast service [MBMS]; Services to user groups; One-way selective calling services

Abstract

The invention discloses a terminal configuration method, a terminal configuration device, a server and a storage medium. The method comprises the following steps: the external equipment receives a network terminal identification code and configuration information input by a user; generating at least one group of encrypted character strings according to the network terminal identification code and the configuration information; broadcasting at least one group of encrypted character strings, and receiving the broadcasted at least one group of encrypted character strings by the network terminal; decrypting at least one group of encrypted character strings to obtain a network terminal identification code and configuration information; and configuring parameters of the network terminal according to the network terminal identification code and the configuration information. The technical scheme provided by the embodiment of the invention can realize the parameter configuration of the intelligent terminal, and the configuration method is simple and convenient and does not need an external cable or an access configuration server.

Description

Terminal configuration method, device, server and storage medium
Technical Field
The embodiment of the invention relates to the technical field of communication, in particular to a terminal configuration method, a terminal configuration device, a server and a storage medium.
Background
With the development and progress of the society, network terminals such as internet of things terminals and the like are applied to daily life of people, and great convenience is brought to the life of people. However, the current network terminal generally does not provide input and display devices, i.e. does not provide a human-computer interaction interface. Therefore, when the network terminal performs network parameter configuration, it is usually necessary to perform the configuration by means of an external device.
At present, two common methods for configuring network parameters by a network terminal are available, one is that the network terminal is connected with an external device with a human-computer interaction interface through a cable, and input of configuration information is realized through the external device, so that the network terminal is configured with the network parameters. And secondly, when the network terminal is started, the default configuration server address is accessed, so that the configuration information is obtained. However, since the network terminals in the network are typically uniquely identified, a targeted configuration needs to be employed. The method generally adopted for targeted configuration is that targeted configuration information is stored in a configuration server, and a network terminal acquires self configuration by accessing a default configuration server address. This requires setting different addresses of the configuration server in the server for different intelligent terminals, which results in a large amount of data stored in the server and a complicated configuration process.
Disclosure of Invention
The invention provides a terminal configuration method, a terminal configuration device, a server and a storage medium, which are used for realizing network parameter configuration of an intelligent terminal, are simple and convenient to configure and do not need an external cable or an access configuration server.
In a first aspect, an embodiment of the present invention provides a terminal configuration method, which is applied to an external device, and the method includes:
receiving a network terminal identification code and configuration information input by a user;
generating at least one group of encrypted character strings according to the network terminal identification code and the configuration information;
and broadcasting the at least one group of encrypted character strings to enable the network terminal to configure the network parameters of the network terminal according to the network terminal identification code and the configuration information.
In a second aspect, an embodiment of the present invention further provides a terminal configuration method, which is applied to a network terminal, and the method includes:
receiving at least one group of encrypted character strings of a broadcast; the at least one group of encrypted character strings are generated by external equipment according to the network terminal identification code and the configuration information;
decrypting the at least one group of encrypted character strings to obtain a network terminal identification code and configuration information;
and configuring parameters of the network terminal according to the network terminal identification code and the configuration information.
In a third aspect, an embodiment of the present invention further provides a terminal configuration apparatus, which is applied to an external device, where the apparatus includes: the device comprises a first receiving module, a generating module and a broadcasting module; wherein the content of the first and second substances,
the first receiving module is used for receiving the network terminal identification code and the configuration information input by the user;
the generating module is used for generating at least one group of encrypted character strings according to the network terminal identification code and the configuration information;
the broadcast module is used for broadcasting the at least one group of encrypted character strings, so that the network terminal configures parameters of the network terminal according to the network terminal identification code and the configuration information.
In a fourth aspect, an embodiment of the present invention further provides a terminal configuration apparatus, which is applied to a network terminal, where the apparatus includes: the second receiving module, the decryption module and the configuration module; wherein the content of the first and second substances,
the second receiving module is used for receiving at least one group of broadcast encryption character strings; the at least one group of encrypted character strings are generated by external equipment according to the network terminal identification code and the configuration information;
the decryption module is used for decrypting the at least one group of encrypted character strings to obtain a network terminal identification code and configuration information;
and the configuration module is used for configuring the parameters of the network terminal according to the network terminal identification code and the configuration information.
In a fifth aspect, an embodiment of the present invention further provides a server, where the server includes:
one or more processors;
a storage device for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement the terminal configuration method of any of the above first aspects or the terminal configuration method of any of the above second aspects.
In a sixth aspect, an embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the terminal configuration method according to any one of the first aspect or the second aspect.
The embodiment of the invention provides a terminal configuration method, a terminal configuration device, a server and a storage medium. The method comprises the steps that network terminal identification codes and configuration information input by a user are received through external equipment; generating at least one group of encrypted character strings according to the network terminal identification code and the configuration information; broadcasting at least one group of encrypted character strings, and receiving the broadcasted at least one group of encrypted character strings by the network terminal; decrypting at least one group of encrypted character strings to obtain a network terminal identification code and configuration information; and configuring parameters of the network terminal according to the network terminal identification code and the configuration information. The technical scheme provided by the embodiment of the invention can realize the network parameter configuration of the intelligent terminal, is simple and convenient to configure and does not need an external cable or an access configuration server.
Drawings
Fig. 1 is a flowchart of a terminal configuration method according to an embodiment of the present invention;
fig. 2 is a flowchart of a terminal configuration method according to a second embodiment of the present invention;
fig. 3 is a flowchart of a terminal configuration method according to a third embodiment of the present invention;
fig. 4 is a flowchart of a terminal configuration method according to a fourth embodiment of the present invention;
fig. 5 is a schematic structural diagram of a terminal configuration apparatus according to a fifth embodiment of the present invention;
fig. 6 is a schematic structural diagram of a terminal configuration apparatus according to a sixth embodiment of the present invention;
fig. 7 is a schematic structural diagram of a server according to a seventh embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
Example one
Fig. 1 is a flowchart of a terminal configuration method according to an embodiment of the present invention, where the present embodiment is applicable to a parameter configuration situation of a network terminal, and the method may be executed by a terminal configuration device, and the method is applied to an external device, as shown in fig. 1, the method mainly includes the following steps:
and S110, receiving the network terminal identification code and the configuration information input by the user.
In this embodiment, the network terminal refers to a terminal device in a computer network environment, for example: internet of things terminals and the like. The network terminal identification code refers to a unique string of characters for identifying the identity of the network terminal, namely, each network terminal identification code is unique. Preferably, information such as a serial number of the network terminal or a MAC address of a WiFi network card of the network terminal may be used as the network terminal identification code. Since the network terminal generally does not set the input and display device, the network terminal needs to configure the parameters through the external device. The configuration information includes at least: networking protocol of the network terminal, network parameters, sensor parameters of the network terminal and the like.
In this embodiment, the external device is a device having a human-computer interaction function and capable of configuring parameters for the network terminal, and may be, for example, an intelligent device such as a mobile terminal, a computer, and a tablet computer. The user can input the network terminal identification code and the configuration information in various ways, and can adopt manual input, file import, scan input or other input methods and the like.
And S120, generating at least one group of encrypted character strings according to the network terminal identification code and the configuration information.
In this embodiment, according to different types of configuration information, data assembly may be performed using corresponding data formats, and the network terminal identification code and the configuration information are block-coded to generate a group of code strings. It should be noted that the data format is a convention of the external device and the network terminal about the transmission data format, and is one or more data formats that a program developer defines when developing a program.
In this embodiment, each set of encoded strings is encrypted using the network terminal identification code as a key to generate at least one set of encrypted strings. Corresponding encryption algorithms can be adopted according to needs, and the adopted encryption algorithms ensure that the length of the encrypted character string is unchanged.
S130, broadcasting at least one group of encrypted character strings to enable the network terminal to configure network parameters of the network terminal according to the network terminal identification code and the configuration information.
In this embodiment, the external device starts a broadcast function and broadcasts at least one group of encrypted strings. Preferably, the external device turns on the SSID broadcast function.
In this embodiment, another implementation manner is further provided, where if the external device does not have the SSID broadcasting function, the at least one encryption string may be sent to a third-party device having the SSID broadcasting function, and the third-party device is instructed to perform SSID broadcasting on the at least one encryption string.
Further, the terminal configuration method further includes: when the external equipment receives the confirmation valid information sent by the second terminal; and the external equipment closes the SSID broadcast corresponding to the effective confirmation information according to the effective confirmation information. Or generating a closing instruction of the corresponding SSID broadcast according to the confirmed effective information, and instructing the third-party equipment to close the corresponding SSID broadcast. The validation information at least comprises a network terminal identification code and configuration information.
The embodiment of the invention provides a terminal configuration method. The method comprises the steps that network terminal identification codes and configuration information input by a user are received through external equipment; generating at least one group of encrypted character strings according to the network terminal identification code and the configuration information; and broadcasting at least one group of encrypted character strings to enable the network terminal to configure parameters of the network terminal according to the network terminal identification code and the configuration information. The technical scheme provided by the embodiment of the invention can realize the parameter configuration of the intelligent terminal, is simple and convenient to configure and does not need an external cable or an access configuration server.
Example two
Fig. 2 is a flowchart of a terminal configuration method according to a second embodiment of the present invention, where the method may be executed by a terminal configuration device, and the method is applied to an external device. As shown in fig. 2, the method mainly includes the following steps:
and S210, receiving the network terminal identification code and the configuration information input by the user.
In this embodiment, the external device refers to a device having a human-computer interaction function and configured with parameters for a network terminal, and may be, for example, a mobile terminal, a computer, a tablet computer, or the like. The user can input the network terminal identification code and the configuration information in various ways, and can adopt manual input, file import, scan input or other input methods and the like.
S220, dividing the configuration information into at least one group.
In this embodiment, the terminal identification code and the configuration information need to be broadcasted in a broadcast form, and the length number of the character string broadcasted each time is related to the protocol adopted by the broadcast, that is, the length number of the character string broadcasted each time cannot exceed the length number of the character string specified by the broadcast protocol. Preferably, in this embodiment, SSID broadcasting is adopted, and SSID broadcasting requires that the length of a character string broadcasted each time does not exceed 32 ASCII characters, and special characters that the SSID does not allow to be used are not used. When the number of characters of the configuration information exceeds 32 ASCII characters, the configuration information needs to be uniformly grouped, so that the length of the character string in each group does not exceed 32.
And S230, coding according to the network terminal identification code, the total grouping number, the current coding group serial number, the data format number and the configuration information corresponding to the current coding group to generate at least one group of coding character strings.
In S220, the configuration information is grouped, and the following encoding method is adopted so that the network terminal can reassemble the configuration information after receiving the grouping of the configuration information to obtain specific configuration information.
Each code string contains at least the following information: the network terminal identification code, the total number of the groups, the serial number of the current coding group, the data format number and the configuration information corresponding to the current coding group.
In this embodiment, the entire network terminal identification code or a part of the network terminal identification code is adopted, and the last 3 characters of the network terminal identification code can be generally adopted. The network terminal identification code is stored in the character string so that the network terminal confirms that the received configuration information is information which needs to be configured by the network terminal.
The configuration information required by the network terminal can be divided into a plurality of groups which are respectively put into different code strings, and the total number of the groups defines the number of the code groups into which the group of the configuration information is put. After grouping the configuration information, the divided sets of configuration information are labeled in the order of the configuration information.
The current encoding group number is used to describe the sequence position of the configuration information contained in the encoding character string during reassembly.
The data format number is a number for explaining a data format used by the configuration information, by which the external device and the network terminal can assemble and parse the configuration information using the same data format.
In this embodiment, three common data formats are provided. Data format 1 is used for transmitting basic configuration data, and data format 1 is: an 8 character network terminal IP address +8 character network mask +8 character default routing address +8 character external device address +16 character external device port number. The data format 2 is used for transmitting basic configuration data for band verification, and the data format 2 is as follows: 8 character network terminal IP address +8 character network mask +8 character default routing address +8 character external device address +16 character external device port number +1 character check. Data format 3 represents wireless network connection information: "SSID" + SSID to be transmitted + "PWD" + connection key of SSID to be transmitted + "KEYWORD 1" + configuration information 1+ "KEYWORD 2" + configuration information 2. Data format 4 represents the format of the wireless network information and other configuration information. The data format and the number corresponding to the data format may be set by a program developer when developing a program.
The configuration information corresponding to the current coding group is a group of configuration information recorded according to a data format specified by the data format number. When the configuration information is divided into a plurality of parts to be transmitted, the order at the time of reassembly can be determined by encoding the packet sequence number.
S240, the network terminal identification code is used as a key to encrypt each group of coding character strings to generate at least one group of encryption character strings.
In this embodiment, each set of encoded strings is encrypted using the network terminal identification code as a key to generate at least one set of encrypted strings. Corresponding encryption algorithms can be adopted according to needs, and the adopted encryption algorithms ensure that the length of the encrypted character string is unchanged.
And S250, broadcasting at least one group of encrypted character strings to enable the network terminal to configure parameters of the network terminal according to the terminal identification code and the configuration information.
In this embodiment, the external device starts a broadcast function and broadcasts at least one group of encrypted strings. Preferably, the external device turns on the SSID broadcast function.
In this embodiment, another implementation manner is further provided, where if the external device does not have the SSID broadcasting function, the at least one encryption string may be sent to a third-party device having the SSID broadcasting function, and the third-party device is instructed to broadcast the at least one encryption string via the SSID.
The embodiment of the invention provides a terminal configuration method. The method comprises the steps that network terminal identification codes and configuration information input by a user are received through external equipment; dividing the configuration information into at least one group to be encoded according to the network terminal identification code, the total grouping number, the current encoding group serial number, the data format number and the configuration information corresponding to the current encoding group, and generating at least one group of encoding character strings; encrypting each group of coding character strings by using the network terminal identification code as a secret key to generate at least one group of encrypted character strings; and broadcasting at least one group of encrypted character strings to enable the network terminal to configure parameters of the network terminal according to the terminal identification code and the configuration information. The technical scheme provided by the embodiment of the invention can realize the parameter configuration of the intelligent terminal, is simple and convenient to configure and does not need an external cable or an access configuration server.
EXAMPLE III
Fig. 3 is a flowchart of a terminal configuration method according to a third embodiment of the present invention, where the present embodiment is applicable to a parameter configuration situation of a network terminal, and the method may be executed by a terminal configuration device, and the method is applied to the network terminal, as shown in fig. 3, the method mainly includes the following steps:
s310, receiving at least one group of broadcast encrypted character strings; and the at least one group of encrypted character strings are generated by the external equipment according to the network terminal identification code and the configuration information.
In this embodiment, before configuration, the WiFi network of the network terminal needs to be turned on, and the WiFi network is set to be in the listening mode, so that any data information can be listened to.
The network terminal receives at least one group of encrypted character strings broadcasted; at least one group of encrypted character strings are generated by the external equipment according to the network terminal identification code and the configuration information.
S320, decrypting the at least one group of encrypted character strings to obtain the network terminal identification code and the configuration information.
In the above embodiment, the network terminal identification code and the configuration information are encrypted to obtain the encrypted character string, and in this embodiment, the local identification code is used as a key to decrypt each set of the encoded character strings to obtain at least one set of the encoded character strings.
Further, the validity of the configuration information is verified according to the network terminal identification code and the configuration information.
And when the configuration information is valid, generating and confirming valid information, and sending the valid information to the external equipment to enable the external equipment to close the corresponding broadcast. Further, in the above-mentioned case,
s330, configuring parameters of the network terminal according to the network terminal identification code and the configuration information.
In this embodiment, when the configuration information is valid, the network terminal saves the configuration information, or configures parameters of the network terminal according to the configuration information. The validation information at least comprises a network terminal identification code and configuration information.
The embodiment of the invention provides a terminal configuration method, which receives at least one group of encrypted character strings broadcasted; the method comprises the steps that at least one group of encrypted character strings are generated by external equipment according to a network terminal identification code and configuration information, the encrypted character strings are decrypted to obtain the network terminal identification code and the configuration information, and parameters of the network terminal are configured according to the network terminal identification code and the configuration information. The technical scheme provided by the embodiment of the invention can realize the parameter configuration of the intelligent terminal, is simple and convenient to configure and does not need an external cable or an access configuration server.
Example four
Fig. 4 is a flowchart of a terminal configuration method according to a fourth embodiment of the present invention, where the method may be executed by a terminal configuration apparatus, and the method is applied to an external device. As shown in fig. 4, the method mainly includes the following steps:
s410, receiving at least one group of broadcast encrypted character strings; and the at least one group of encrypted character strings are generated by the external equipment according to the network terminal identification code and the configuration information.
S420, the local terminal identification code is used as a key to decrypt each group of encrypted character strings to obtain at least one group of coded character strings.
In this embodiment, the identification code of the local device is used as the key to decrypt each set of encoded character strings, and if the identification code of the local device is used as the key to correctly decrypt each set of encrypted character strings, it indicates that the encrypted character strings received by the terminal are sent to the local device, so as to obtain the encoded character strings. If the identification code of the local terminal equipment is used as the key and can not correctly decrypt each group of encrypted character strings, the received encrypted character strings are not sent to the local terminal, and the local network terminal can directly discard the received encrypted character strings. It should be noted that the encryption and decryption processes do not affect the understanding of the configuration information by the network terminal.
S430, decoding the coded character string to obtain a second terminal identification code, a grouping total number, a current coding group serial number, a data format number and configuration information corresponding to the current coding group.
In this embodiment, the encoding character string is decoded according to the encoding method in the above embodiment to obtain the configuration information corresponding to the current encoding group, and the data format encoding is to determine the data format of the configuration information and select the correct format for decoding.
S440, determining the configuration information input by the user through the external equipment according to the total number of the groups, the serial number of the current coding group, the data format number and the configuration information corresponding to the current coding group.
In this embodiment, the obtained configuration information corresponding to the coding group is sequentially sorted according to the coding group number until the coding group number is the same as the total number of the packets, which indicates that all the configuration information is completely analyzed.
S450, configuring parameters of the network terminal according to the network terminal identification code and the configuration information.
The embodiment of the invention provides a terminal configuration method, which receives at least one group of encrypted character strings broadcasted; the method comprises the steps that at least one group of encrypted character strings are generated by external equipment according to a network terminal identification code and configuration information, the encrypted character strings are decrypted to obtain the network terminal identification code and the configuration information, and parameters of the network terminal are configured according to the network terminal identification code and the configuration information. The technical scheme provided by the embodiment of the invention can realize the parameter configuration of the intelligent terminal, is simple and convenient to configure and does not need an external cable or an access configuration server.
EXAMPLE five
Fig. 5 is a schematic structural diagram of a terminal configuration apparatus according to a fifth embodiment of the present invention, which is applicable to a parameter configuration of a terminal, and the apparatus is configured in an external device, and the apparatus mainly includes: a first receiving module 510, a generating module 520, and a broadcasting module 530; wherein the content of the first and second substances,
a first receiving module 510, configured to receive a network terminal identification code and configuration information input by a user.
A generating module 520, configured to generate at least one group of encrypted character strings according to the network terminal identification code and the configuration information.
A broadcasting module 530, configured to broadcast at least one group of encrypted strings, so that the network terminal configures parameters of the network terminal according to the terminal identification code and the configuration information.
Further, the generating module 520 includes: a grouping unit, an encoding unit and an encrypting unit; wherein the content of the first and second substances,
and the grouping unit is used for dividing the configuration information into at least one group.
And the coding unit is used for coding according to the network terminal identification code, the total grouping number, the current coding group serial number, the data format number and the configuration information corresponding to the current coding group to generate at least one group of coding character strings.
And the encryption unit is used for encrypting each group of coded character strings by using the network terminal identification code as a key to generate at least one group of encrypted character strings.
The embodiment of the invention provides a terminal configuration device. The device receives the network terminal identification code and the configuration information input by a user through external equipment; generating at least one group of encrypted character strings according to the network terminal identification code and the configuration information; and broadcasting at least one group of encrypted character strings to enable the network terminal to configure parameters of the network terminal according to the terminal identification code and the configuration information. The technical scheme provided by the embodiment of the invention can realize the parameter configuration of the intelligent terminal, is simple and convenient to configure and does not need an external cable or an access configuration server.
EXAMPLE six
Fig. 6 is a schematic structural diagram of a terminal configuration device according to a sixth embodiment of the present invention, where the present embodiment is applicable to a parameter configuration situation of a terminal, and the device is configured in a network terminal, and the device mainly includes: a second receiving module 610, a decryption module 620 and a configuration module 630; wherein the content of the first and second substances,
a second receiving module 610 for receiving at least one group of encrypted character strings of the broadcast; and the at least one group of encrypted character strings are generated by the external equipment according to the network terminal identification code and the configuration information.
And a decryption module 620, configured to decrypt the at least one group of encrypted character strings to obtain a network terminal identification code and configuration information.
A configuration module 630, configured to configure parameters of the network terminal according to the network terminal identification code and the configuration information.
Further, the decryption module 620 includes: a decryption unit, a decoding unit and a determination unit; wherein the content of the first and second substances,
and the decryption unit is used for decrypting each group of coded character strings by taking the local identification code as a key to obtain at least one group of coded character strings.
And the decoding unit is used for decoding the coded character string to obtain a second terminal identification code, a grouping total number, a current coding group serial number, a data format number and configuration information corresponding to the current coding group.
And the determining unit is used for determining the configuration information input by the user through the external equipment according to the total grouping number, the serial number of the current coding group, the data format number and the configuration information corresponding to the current coding group.
Further, the apparatus further comprises: the device comprises a verification module and a sending module; wherein the content of the first and second substances,
and the verification module is used for verifying the validity of the configuration information according to the network terminal identification code and the configuration information.
And the sending module is used for generating effective confirmation information when the configuration information is effective, and sending the effective confirmation information to the external equipment to enable the external equipment to close the corresponding broadcast.
The embodiment of the invention provides a terminal configuration device, which receives at least one group of encrypted character strings broadcasted; the method comprises the steps that at least one group of encrypted character strings are generated by external equipment according to a network terminal identification code and configuration information, the encrypted character strings are decrypted to obtain the network terminal identification code and the configuration information, and parameters of the network terminal are configured according to the network terminal identification code and the configuration information. The technical scheme provided by the embodiment of the invention can realize the parameter configuration of the intelligent terminal, is simple and convenient to configure and does not need an external cable or an access configuration server.
EXAMPLE seven
Fig. 7 is a schematic structural diagram of a server according to a seventh embodiment of the present invention. FIG. 7 illustrates a block diagram of an exemplary server 712 suitable for use to implement embodiments of the present invention. The server 712 shown in fig. 7 is only an example and should not bring any limitations to the function and scope of use of the embodiments of the present invention.
As shown in FIG. 7, server 712, representing components of server 712 in the form of a general purpose computing device, may include, but is not limited to: one or more processors or processing units 716, a system memory 728, and a bus 718 that couples the various system components (including the system memory 728 and the processing unit 716).
Bus 718 represents one or more of any of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, and a processor or local bus using any of a variety of bus architectures. By way of example, such architectures include, but are not limited to, Industry Standard Architecture (ISA) bus, micro-channel architecture (MAC) bus, enhanced ISA bus, Video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus.
Server 712 typically includes a variety of computer system readable media. Such media can be any available media that is accessible by server 712 and includes both volatile and nonvolatile media, removable and non-removable media.
The system memory 728 may include computer system readable media in the form of volatile memory, such as Random Access Memory (RAM)730 and/or cache memory 732. The server 712 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, storage system 734 may be used to read from and write to non-removable, nonvolatile magnetic media (not shown in FIG. 7, commonly referred to as a "hard drive"). Although not shown in FIG. 7, a magnetic disk drive for reading from and writing to a removable, nonvolatile magnetic disk (e.g., a "floppy disk") and an optical disk drive for reading from or writing to a removable, nonvolatile optical disk (e.g., a CD-ROM, DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to the bus 718 by one or more data media interfaces. Memory 728 may include at least one program product having a set (e.g., at least one) of program modules that are configured to carry out the functions of embodiments of the invention.
Program/utility 740 having a set (at least one) of program modules 742 may be stored, for instance, in memory 728, such program modules 742 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each of which examples or some combination thereof may include an implementation of a network environment. Program modules 742 generally perform the functions and/or methodologies of embodiments of the invention as described herein.
The server 712 may also communicate with one or more external devices 714 (e.g., keyboard, pointing device, display 724, etc.), with one or more devices that enable a user to interact with the server 712, and/or with any devices (e.g., network card, modem, etc.) that enable the server 712 to communicate with one or more other computing devices. Such communication may occur through input/output (I/O) interfaces 722. Also, server 712 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN) and/or a public network, such as the Internet) via network adapter 720. As shown in FIG. 7, network adapter 720 communicates with the other modules of server 712 via bus 718. It should be appreciated that although not shown in FIG. 7, other hardware and/or software modules may be used in conjunction with server 712, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, among others.
The processing unit 716 executes various functional applications and data processing by running programs stored in the system memory 728, for example, implementing the terminal configuration method provided by the embodiment of the present invention, which is applied to an external device, and the method includes: receiving a network terminal identification code and configuration information input by a user;
generating at least one group of encrypted character strings according to the network terminal identification code and the configuration information;
and broadcasting at least one group of encrypted character strings to enable the network terminal to configure parameters of the network terminal according to the network terminal identification code and the configuration information.
An embodiment of the present invention further provides another server, including: one or more processors; storage means for storing one or more programs; when the one or more programs are executed by the one or more processors, the one or more processors implement the terminal configuration method provided by the embodiment of the invention, and the method is applied to a network terminal and comprises the following steps:
receiving at least one group of encrypted character strings of a broadcast; wherein, at least one group of encrypted character strings are generated by external equipment according to the network terminal identification code and the configuration information;
decrypting at least one group of encrypted character strings to obtain a network terminal identification code and configuration information;
and configuring parameters of the network terminal according to the network terminal identification code and the configuration information.
Of course, those skilled in the art can understand that the processor can also implement the technical solution of the terminal configuration method provided in any embodiment of the present invention. The hardware structure and functions of the terminal can be explained with reference to the seventh embodiment.
Example eight
An eighth embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the terminal configuration method provided in all the embodiments of the present invention in this application, and is applied to an external device, where the method includes: receiving a network terminal identification code and configuration information input by a user;
generating at least one group of encrypted character strings according to the network terminal identification code and the configuration information;
and broadcasting at least one group of encrypted character strings to enable the network terminal to configure parameters of the network terminal according to the network terminal identification code and the configuration information.
Computer storage media for embodiments of the invention may employ any combination of one or more computer-readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The embodiment of the present invention further provides another computer-readable storage medium, on which a computer program is stored, where the computer program is executed by a processor to implement the terminal configuration method provided in all embodiments of the present invention of the present application, and the method is applied to a network terminal, and the method includes:
receiving at least one group of encrypted character strings of a broadcast; wherein, at least one group of encrypted character strings are generated by external equipment according to the network terminal identification code and the configuration information;
decrypting at least one group of encrypted character strings to obtain a network terminal identification code and configuration information;
and configuring parameters of the network terminal according to the network terminal identification code and the configuration information.
Of course, the storage medium containing the computer-executable instructions provided by the embodiments of the present invention is not limited to the method operations described above, and may also perform related operations in the terminal configuration method provided by any embodiment of the present invention. The description of the storage medium can be found in the explanation of embodiment eight.
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (12)

1. A terminal configuration method is applied to external equipment, and is characterized by comprising the following steps:
receiving a network terminal identification code and configuration information input by a user;
generating at least one group of encrypted character strings according to the network terminal identification code and the configuration information;
and broadcasting the at least one group of encrypted character strings to enable the network terminal to configure parameters of the network terminal according to the network terminal identification code and the configuration information.
2. The terminal configuration method according to claim 1, wherein the generating at least one encrypted string according to the network terminal identification code and the configuration information comprises:
dividing the configuration information into at least one group;
coding according to the network terminal identification code, the total number of the groups, the serial number of the current coding group, the data format number and the configuration information corresponding to the current coding group to generate at least one group of coding character strings;
and encrypting each group of coding character strings by using the network terminal identification code as a key to generate at least one group of encrypted character strings.
3. A terminal configuration method is applied to a network terminal, and is characterized in that the method comprises the following steps:
receiving at least one group of encrypted character strings of a broadcast; the at least one group of encrypted character strings are generated by external equipment according to the network terminal identification code and the configuration information;
decrypting the at least one group of encrypted character strings to obtain a network terminal identification code and configuration information;
and configuring parameters of the network terminal according to the network terminal identification code and the configuration information.
4. The terminal configuration method according to claim 3, wherein decrypting the at least one encrypted string to obtain the second terminal identification code and the configuration information comprises:
decrypting each group of encrypted character strings by using the local terminal identification code as a key to obtain at least one group of coded character strings;
decoding the coded character string to obtain a second terminal identification code, a grouping total number, a current coding group serial number, a data format number and configuration information corresponding to a current coding group;
and determining the configuration information input by the user through the external equipment according to the total number of the packets, the serial number of the current coding group, the data format number and the configuration information corresponding to the current coding group.
5. The terminal configuration method according to claim 3, further comprising, after decrypting the at least one encrypted string to obtain the network terminal identification code and the configuration information:
verifying the validity of the configuration information according to the network terminal identification code and the configuration information;
and when the configuration information is valid, generating confirmation valid information, and sending the confirmation valid information to the external equipment to enable the external equipment to close the corresponding broadcast.
6. A terminal configuration apparatus applied to an external device, the apparatus comprising: the device comprises a first receiving module, a generating module and a broadcasting module; wherein the content of the first and second substances,
the first receiving module is used for receiving the network terminal identification code and the configuration information input by the user;
the generating module is used for generating at least one group of encrypted character strings according to the network terminal identification code and the configuration information;
the broadcast module is used for broadcasting the at least one group of encrypted character strings, so that the network terminal configures parameters of the network terminal according to the network terminal identification code and the configuration information.
7. The terminal configuration device according to claim 6, wherein the generating module comprises: a grouping unit, an encoding unit and an encrypting unit; wherein the content of the first and second substances,
the grouping unit is used for dividing the configuration information into at least one group;
the coding unit is used for coding according to the network terminal identification code, the total grouping number, the current coding group serial number, the data format number and the configuration information corresponding to the current coding group to generate at least one group of coding character strings;
and the encryption unit is used for encrypting each group of coded character strings by using the network terminal identification code as a key to generate at least one group of encrypted character strings.
8. A terminal configuration device applied to a network terminal, the device comprising: the second receiving module, the decryption module and the configuration module; wherein the content of the first and second substances,
the second receiving module is used for receiving at least one group of broadcast encryption character strings; the at least one group of encrypted character strings are generated by external equipment according to the network terminal identification code and the configuration information;
the decryption module is used for decrypting the at least one group of encrypted character strings to obtain a network terminal identification code and configuration information;
and the configuration module is used for configuring the parameters of the network terminal according to the network terminal identification code and the configuration information.
9. The terminal configuration device according to claim 8, wherein the decryption module comprises: a decryption unit, a decoding unit and a determination unit; wherein the content of the first and second substances,
the decryption unit is used for decrypting each group of encrypted character strings by taking the local identification code as a key to obtain at least one group of coded character strings;
the decoding unit is used for decoding the coded character string to obtain a second terminal identification code, a grouping total number, a current coding group serial number, a data format number and configuration information corresponding to a current coding group;
and the determining unit is used for determining the configuration information input by the user through the external equipment according to the total grouping number, the serial number of the current coding group, the data format number and the configuration information corresponding to the current coding group.
10. A terminal configuration arrangement according to claim 8, characterized in that the arrangement further comprises: the device comprises a verification module and a sending module; wherein the content of the first and second substances,
the verification module is used for verifying the validity of the configuration information according to the network terminal identification code and the configuration information;
and the sending module is used for generating effective confirmation information when the configuration information is effective, and sending the effective confirmation information to the external equipment to enable the external equipment to close the corresponding broadcast.
11. A server, characterized in that the server comprises:
one or more processors;
a storage device for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement the terminal configuration method of any of claims 1-2 or the terminal configuration method of any of claims 3-5.
12. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the terminal configuration method according to any one of claims 1-2 or the terminal configuration method according to any one of claims 3-5.
CN201810826744.7A 2018-07-25 2018-07-25 Terminal configuration method, device, server and storage medium Pending CN110768808A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810826744.7A CN110768808A (en) 2018-07-25 2018-07-25 Terminal configuration method, device, server and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810826744.7A CN110768808A (en) 2018-07-25 2018-07-25 Terminal configuration method, device, server and storage medium

Publications (1)

Publication Number Publication Date
CN110768808A true CN110768808A (en) 2020-02-07

Family

ID=69327219

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810826744.7A Pending CN110768808A (en) 2018-07-25 2018-07-25 Terminal configuration method, device, server and storage medium

Country Status (1)

Country Link
CN (1) CN110768808A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112654041A (en) * 2020-12-16 2021-04-13 深圳市创维软件有限公司 Network distribution method, equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1642441A1 (en) * 2003-07-07 2006-04-05 QUALCOMM Incorporated Secure registration for a multicast-broadcast-multimedia system (MBMS)
CN104898449A (en) * 2015-06-04 2015-09-09 泰凌微电子(上海)有限公司 Smart home system and control method thereof
CN105120456A (en) * 2015-09-08 2015-12-02 南京创维信息技术研究院有限公司 Method and system for intelligent device to access to wireless network quickly
CN105517102A (en) * 2015-11-20 2016-04-20 青岛海信移动通信技术股份有限公司 Method, device and equipment for enabling wireless network equipment to be connected with hot spot
CN106411508A (en) * 2016-09-30 2017-02-15 宁波方太厨具有限公司 Authentication method of intelligent device terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1642441A1 (en) * 2003-07-07 2006-04-05 QUALCOMM Incorporated Secure registration for a multicast-broadcast-multimedia system (MBMS)
CN104898449A (en) * 2015-06-04 2015-09-09 泰凌微电子(上海)有限公司 Smart home system and control method thereof
CN105120456A (en) * 2015-09-08 2015-12-02 南京创维信息技术研究院有限公司 Method and system for intelligent device to access to wireless network quickly
CN105517102A (en) * 2015-11-20 2016-04-20 青岛海信移动通信技术股份有限公司 Method, device and equipment for enabling wireless network equipment to be connected with hot spot
CN106411508A (en) * 2016-09-30 2017-02-15 宁波方太厨具有限公司 Authentication method of intelligent device terminal

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112654041A (en) * 2020-12-16 2021-04-13 深圳市创维软件有限公司 Network distribution method, equipment and storage medium

Similar Documents

Publication Publication Date Title
CN110119643B (en) Two-dimensional code generation method and device and two-dimensional code identification method and device
CN109150499B (en) Method and device for dynamically encrypting data, computer equipment and storage medium
CN110099064A (en) A kind of document handling method based on Internet of Things, device, equipment and storage medium
CN105162588A (en) Media file encryption/decryption methods and device
CN113132394B (en) Request processing system, method and device, storage medium and electronic equipment
CN105848145A (en) WIFI intelligent configuration method and device
CN113014580A (en) File transmission method and device, electronic equipment and storage medium
CN114615031A (en) File storage method and device, electronic equipment and storage medium
CN108848127B (en) Data transmission method and device, computer equipment and computer readable storage medium
CN112533185B (en) Sound network distribution method and device, computer equipment and storage medium
CN110545542A (en) Main control key downloading method and device based on asymmetric encryption algorithm and computer equipment
CN110768808A (en) Terminal configuration method, device, server and storage medium
WO2023236984A1 (en) Wireless network access method, apparatus and device, and storage medium
CN110830479B (en) Multi-card-based one-key login method, device, equipment and storage medium
CN110719590B (en) One-key login method, device, equipment and storage medium based on mobile phone number
CN115529130B (en) Data processing method, terminal, server, system, device, medium and product
US9203607B2 (en) Keyless challenge and response system
CN110517045B (en) Block chain data processing method, device, equipment and storage medium
CN114697117B (en) Verification method, device, cipher device and system based on positioning information
CN115333753A (en) Internet protocol address generation method and device, storage medium and electronic equipment
CN111130805B (en) Secure transmission method, electronic device, and computer-readable storage medium
CN112733166A (en) license authentication and authorization function realization method and system
CN111859351A (en) Method, system, server and storage medium for writing information into chip
CN110991591A (en) Two-dimensional code encoding and decoding method and device, encoding equipment and decoding equipment
CN104836598A (en) Method, device and system of business processing based on near field communication

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20200207