CN115842724A - Intelligent device initial configuration method, intelligent device and terminal device - Google Patents
Intelligent device initial configuration method, intelligent device and terminal device Download PDFInfo
- Publication number
- CN115842724A CN115842724A CN202111006974.7A CN202111006974A CN115842724A CN 115842724 A CN115842724 A CN 115842724A CN 202111006974 A CN202111006974 A CN 202111006974A CN 115842724 A CN115842724 A CN 115842724A
- Authority
- CN
- China
- Prior art keywords
- intelligent
- login
- equipment
- server
- initial configuration
- 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
Links
Images
Landscapes
- Telephonic Communication Services (AREA)
Abstract
The invention discloses an intelligent device initial configuration method, an intelligent device and a terminal device, wherein for an intelligent device end: receiving a network name and a password sent by terminal equipment, and carrying out network connection configuration according to the network name and the password; after receiving a login identification sent by a terminal device, storing the login identification, generating and sending a login authentication request to a first server according to self device information; receiving an access pass order sent by the first server after responding to the login authentication request, and storing login authorization information consisting of the login identification and the access pass order, so that the initial configuration is completed; and the login authorization information is used for supporting the intelligent equipment to access the second server to acquire the service data. According to the method and the device, the initial configuration under the scene that the intelligent device is not connected with the display device in the HDMI mode when the intelligent device is used for the first time can be achieved.
Description
Technical Field
The invention relates to the field of display equipment, in particular to an intelligent equipment initial configuration method, intelligent equipment and terminal equipment.
Background
An intelligent device fusing two modes of a television box and an intelligent sound box is derived at present, on one hand, the intelligent device can be connected with a display device through an HDMI (high-definition multimedia interface) connection wire, and at the moment, the intelligent device can realize the function of the television box; on the other hand, when the smart device is not connected with the display device via the HDMI, the smart device can be used as a smart audio to output audio played by the display device. When a user uses the intelligent device for the first time, the user needs to perform initial configuration operations such as network setting, account login and the like on the intelligent device, so that the user can enjoy the right of applying the intelligent device service in the following process.
Currently, the initial configuration of the smart device is generally performed by connecting the smart device with the display device through an HDMI connection, and then guiding a user to complete a series of operation procedures of the initial configuration in a UI form based on communication interaction between the display device and the smart device. However, in some scenarios, if the smart device is not HDMI connected to the display device when being used for the first time, but only as a smart audio, how to perform the initial configuration of the smart device in this scenario is a technical problem that the present invention aims to solve.
Disclosure of Invention
In order to solve the technical problems in the background art, the invention provides an intelligent device initial configuration method, an intelligent device and a terminal device.
An embodiment of the first aspect provides a smart device, including:
the communicator is used for being in communication connection with the terminal equipment, the first server and the second server;
a controller for performing:
receiving a network name and a password sent by terminal equipment, and carrying out network connection configuration according to the network name and the password;
after receiving a login identification sent by a terminal device, storing the login identification, generating and sending a login authentication request to a first server according to self device information;
receiving an access pass order sent by the first server after responding to the login authentication request, and storing login authorization information consisting of the login identification and the access pass order, so that the initial configuration is completed; and the login authorization information is used for supporting the intelligent equipment to access the second server to acquire the service data.
An embodiment of a second aspect provides a terminal device, including:
a display for displaying a user interface;
the communicator is used for being in communication connection with the intelligent equipment and the first server;
a controller to perform:
after first prompt information sent by the intelligent equipment when the intelligent equipment detects that the intelligent equipment does not finish initial configuration is received, sending a network name and a password to the intelligent equipment;
receiving distribution network completion information sent by the intelligent equipment after network connection configuration is carried out according to the network name and the password, and sending a login identification request to the first server;
the method comprises the steps of receiving a login identification sent by a first server, sending the login identification to the intelligent equipment, wherein the login identification is used for triggering the intelligent equipment to carry out login authentication on the first server and obtain an access pass order, and login authorization information formed by the login identification and the access pass order is used for supporting the intelligent equipment to access a second server to obtain service data.
An embodiment of the third aspect provides an intelligent device initial configuration method, which is used for an intelligent device and includes:
the intelligent equipment receives a network name and a password sent by the terminal equipment and performs network connection configuration according to the network name and the password;
after receiving a login identification sent by a terminal device, an intelligent device stores the login identification, generates a login authentication request according to self device information and sends the login authentication request to a first server;
the intelligent equipment receives an access passing order sent by the first server after responding to the login authentication request, and stores login authorization information consisting of the login identification and the access passing order, so that initial configuration is completed; and the login authorization information is used for supporting the intelligent equipment to access the second server to acquire the service data.
An embodiment of a fourth aspect provides an intelligent device initial configuration method, which is used for a terminal device, and includes:
the method comprises the steps that after receiving first prompt information sent by intelligent equipment when the intelligent equipment detects that the intelligent equipment does not finish initial configuration, the terminal equipment sends a network name and a password to the intelligent equipment;
the terminal equipment receives distribution network completion information sent by the intelligent equipment after network connection configuration is carried out according to the network name and the password, and sends a login identification request to the first server;
the terminal equipment receives a login identification sent by a first server, the login identification is sent to the intelligent equipment, the login identification is used for triggering the intelligent equipment to carry out login authentication on the first server and obtain an access passing order, and login authorization information formed by the login identification and the access passing order is used for supporting the intelligent equipment to access a second server to obtain service data.
In the technical scheme provided by the application, if the intelligent equipment is connected with the display equipment through the HDMI line, the intelligent equipment can realize the function of a television box, and the function can be called as a first working mode; if the intelligent device is not connected with the display device HDMI, the intelligent device can be used as an intelligent sound box, and the operation mode is called as a second working mode. When the intelligent device is in the second working mode, the initial configuration of the intelligent device is achieved through interactive cooperation between the intelligent device and the terminal device, and the terminal device can be a smart phone, a tablet computer and the like.
The initial configuration of the intelligent equipment comprises two aspects, namely network configuration on one hand and account login authorization authentication on the other hand, the intelligent equipment firstly sets network connection according to a network name and a password pushed by a terminal, wherein the network can generally adopt a wifi wireless network; secondly, in the aspect of authorization and authentication of account login, two important parameters, namely a login identifier and an access pass order, are mainly included, wherein the login identifier is obtained after the terminal device logs in an account and acquires device information of the intelligent device and requests the first server to acquire the device information and pushes the device information to the intelligent device, and the access pass order is obtained after the intelligent device acquires the login identifier and requests the first server to perform login authentication. The login identification and the access pass command can be combined to obtain login authorization information, the intelligent device configures the network and stores the login authorization information to complete the initial configuration of the intelligent device, when the subsequent intelligent device is used again, the initial configuration is not required to be carried out again, the intelligent device can automatically connect the network and directly access the second server associated with the communication of the intelligent device by using the login authorization information to process the service and obtain related service data, and therefore the functional service of the intelligent device in the current working mode is completed. According to the method and the device, the initial configuration under the scene that the intelligent device is not connected with the display device in the HDMI mode can be realized when the intelligent device is used for the first time, so that the intelligent device can execute effective initial configuration processes under different scenes and working modes, and the function of the intelligent device is optimized.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings to be accessed in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings without creative efforts.
Fig. 1 is a schematic diagram illustrating an application scenario of a smart device;
FIG. 2 is an interactive logic diagram illustrating an initial configuration method for a smart device;
fig. 3 is a flowchart illustrating an initial configuration method performed by the smart device side;
fig. 4 is a flowchart illustrating an initial configuration method performed by a terminal device.
Detailed Description
To make the purpose and embodiments of the present application clearer, the following will clearly and completely describe the exemplary embodiments of the present application with reference to the attached drawings in the exemplary embodiments of the present application, and it is obvious that the described exemplary embodiments are only a part of the embodiments of the present application, and not all of the embodiments.
It should be noted that the brief descriptions of the terms in the present application are only for the convenience of understanding the embodiments described below, and are not intended to limit the embodiments of the present application. These terms should be understood in their ordinary and customary meaning unless otherwise indicated.
The terms "first," "second," "third," and the like in the description and claims of this application and in the above-described drawings are used for distinguishing between similar or analogous objects or entities and not necessarily for describing a particular sequential or chronological order, unless otherwise indicated. It is to be understood that the terms so used are interchangeable under appropriate circumstances.
The terms "comprises" and "comprising," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a product or apparatus that comprises a list of elements is not necessarily limited to all elements expressly listed, but may include other elements not expressly listed or inherent to such product or apparatus.
The term "module" refers to any known or later developed hardware, software, firmware, artificial intelligence, fuzzy logic, or combination of hardware and/or software code that is capable of performing the functionality associated with that element.
In an exemplary application scenario, as shown in fig. 1, the scenario involves a smart device 100, a display device 200, a terminal device 300, and a cloud server 400, and the smart device may be in communication interaction with the display device 200, the terminal device 300, and the cloud server 400, respectively. The display device can be a smart television or other similar devices, and a user can control the display device through a remote controller, terminal instruction interaction, a touch screen or other forms; the terminal device 300 is a mobile terminal such as a smart phone, a tablet computer, and a smart wearable device (e.g., a smart band); the cloud server 400 may communicate with the smart device 100 and the display device 200 to process related services, so as to implement functional services of the smart device 100 and the display device 200.
In an exemplary implementation, the smart device 100 is an electronic product used with the display device 200, and the smart device 100 may be fixedly placed on the top of the display device 200 in actual use. The intelligent device 100 may be in at least two mode forms, for example, the intelligent device may be used as an OTT television box to access a display device, that is, the mode form one of the intelligent device may be embodied as a signal source of the display device; or, the smart device may also be used as an external power amplifier of the display device to output the audio, that is, the mode two of the smart device may be embodied as a physical channel for outputting the audio of the display device. The mode of the smart device is not limited to the above, and the user can switch the operating mode of the smart device according to the user's requirement to enjoy the functions and services supported by the smart device.
In an exemplary implementation, the smart device 100 may be provided with a series of interfaces for connecting some devices, for example, the interfaces include but are not limited to HDMI, USB, audio output interface, etc., and the smart device may be further provided with an image collector (camera), an audio collector (microphone), a sound player (speaker), a switch button, a power socket, etc. After the user clicks the switch key to start the intelligent device 100, the HDMI interfaces of the intelligent device 100 and the display device 200 are connected by the connection wires of the available adaptation, so that the HDMI connection between the intelligent device 100 and the display device 200 is established, at the moment, the intelligent device 100 serves as a signal source of the display device 200, the intelligent device 100 is not only a television box, but also can collect user images and/or user voice, a plurality of interaction/social functions such as AI body building, video call, smart home management and control are achieved, and better application experience is provided for the user.
For another example, the smart device 100 may further connect to an external storage device, such as a USB disk, a hard disk, and a card reader, through a USB interface, for displaying a local file in the external storage device in cooperation with the display device 200. For another example, the smart device 100 may support wireless communication modes such as bluetooth and wifi, and when the smart device 100 establishes wireless communication connection with the display device 200, the smart device may be used as an independent sound device, for example. It should be noted that the software and hardware functional configuration of the smart device 100 is not limited to the examples of the present application.
In an exemplary implementation, the smart device may have multiple mode modalities, and services in each mode modality are processed by respective independent applications. For example, the intelligent device has two modes of an OTT television box and an intelligent sound box, the OTT television box is a first working mode of the intelligent device, the intelligent sound box is a second working mode of the intelligent device, and then the intelligent device needs to be internally provided with two applications, wherein the first application is used for processing services when the intelligent device is in the first working mode, and the second application is used for processing services when the intelligent device is in the second working mode.
In an exemplary implementation manner, when the smart device is used for the first time, initialization configuration operations such as network setting and account login are generally required to be performed on the smart device, so that the subsequent display device can enjoy the right to use the service of the smart device. The network setting is to set the wifi name and the password, so that the subsequent intelligent equipment can be automatically connected with the wifi without repeatedly selecting the wifi to be accessed and inputting the wifi password; the account login is that SSO (Single Sign On) authentication is completed according to a cloud account and a password, the SSO is that the user once authenticates and logs in, when the user logs in the identity authentication server once, the authority for accessing other associated systems and application software in the Single Sign On system can be obtained, an administrator does not need to modify the login state or other information of the user, and the user can access all mutually trusted application systems only by logging in once, so that the time consumed for inputting the account and the password to log in is reduced, and the user management is assisted.
After the initial configuration of the intelligent equipment is completed, when the intelligent equipment is used for the second time and subsequently, the initial configuration does not need to be executed again, and the wifi is automatically connected and the cloud server is accessed to realize the service function required by the user according to the wifi set during the initial configuration for the first time and the stored authorized login information. That is to say, the purpose of initial configuration lies in, when using smart machine for the first time, through disposable configuration, is showing that to reduce the follow-up produced consuming time of connecting wifi and logging in the account number when using smart machine, does benefit to the performance and the user experience that promote smart machine.
In a conventional implementation manner, generally, the smart device is HDMI-connected to the display device, and at this time, the smart device is in a first working mode, and the display device may interact with the first application, and guide the user to complete an operation procedure of initial configuration of the smart device through the UI of the display device. For example, after the HDMI connection is established between the smart device and the display device, whether the initial configuration is completed or not is detected, if the initial configuration is completed, wifi is automatically connected according to a configured network, and a cloud server is accessed to obtain service data specified by a user according to authenticated login authorization information; if the intelligent device detects that the intelligent device does not complete initial configuration, the first application is controlled to send an initial configuration instruction to the display device, the display device responds to the initial configuration instruction, a preset intelligent device initial configuration program is started, a user is guided to set a network on the UI, namely, the name and the password of wifi are input, the UI guides the user to log in a cloud account and complete login authorization authentication, and therefore the first application can record information that the intelligent device completes initial configuration. At present, most of intelligent devices complete initial configuration in a scene that an HDMI accesses a display device, and how to execute the initial configuration for a scene that a non-HDMI is connected is a technical problem to be solved by the application.
In an exemplary implementation manner, for a scenario where an HDMI line is not connected between the smart device and the display device, that is, the smart device is currently processing a service by the second application, the functional service of the first application is in an off state, and also an initial configuration program of the smart device preset at the display device end cannot be triggered to be executed. In this regard, the terminal device 300 is used to cooperate with the smart device 100 to complete the initial configuration, as shown in the interaction logic diagram shown in fig. 2, the interaction object relates to the terminal device, the smart device, the authentication and authorization subsystem, and the cloud server. The authentication and authorization system can be an independent server or a subsystem used for identity authentication and login authorization in the cloud server.
In an exemplary implementation manner, since the initial configuration includes two links, that is, network configuration and account login authentication, the smart device further includes a distribution network service module for configuring network connection and an account management module for account login authentication, authentication and management, in addition to the first application and the second application which are built in the smart device. In addition, optionally, a target application may be set in the terminal device, where the target application is an associated application program in the terminal device that cooperates with the intelligent device to perform initial configuration, and the intelligent device may interact with the target application to complete its initial configuration. Referring to the example of fig. 2, the interaction logic comprises the following program steps:
(1) Second application of the smart device: and after the second application is started, if the intelligent equipment is detected not to finish the initial configuration, sending first prompt information to the terminal equipment.
(2) A terminal device: and starting the target application in response to the received first prompt message.
(3) Target application of the terminal device: displaying an account login page, acquiring an account and a password input by a user, generating a login instruction according to the account and the password, and sending the login instruction to an authentication and authorization system.
(4) Authentication and authorization system: and responding to the received login instruction, and feeding back a terminal pass order (namely token of the terminal device) to the terminal device.
(5) Target application of the terminal equipment: and starting a Bluetooth function, and acquiring a device ID and a UUID (Universal Unique Identifier) from a distribution network service module of the intelligent device when the intelligent device is scanned. The device ID and UUID are used to identify the smart device.
(6) Target application of the terminal equipment: the UI displays a connectable device list including device information of all devices that can currently establish bluetooth connection with the terminal device, such as the names, models, MAC addresses, and the like of the devices.
(7) Target application of the terminal equipment: and displaying the network list when the selection operation of the user on the intelligent equipment in the connectable equipment list is received. The network list comprises network information of local available wifi of the terminal device, the network information comprises a wifi name, and the network information can also comprise information such as wifi signal strength and the like which can be referred by a user.
(8) Target application of the terminal equipment: the method comprises the steps of obtaining the name of a target wifi selected by a user in a network list, obtaining a password of the target wifi input by the user, and then sending the name and the password of the target wifi to a distribution network service module. After the user selects a wifi name in the network list, the UI prompts the user to input a password, and after the user sets and confirms the password, the target application can obtain the name and the password of the target wifi configured by the user.
(9) A distribution network service module: and according to the name and the password of the target wifi, performing wireless network connection configuration, and then feeding back distribution network completion information to the terminal equipment. And informing the target application end that the intelligent equipment is in the successful distribution network state by feeding back the distribution network completion information.
(10) Target application of the terminal device: and when the distribution network completion information is received, generating a login identification request according to a terminal pass order (namely token of the terminal equipment), the equipment ID and the UUID of the intelligent equipment, and sending the login identification request to the authentication and authorization system.
(11) Authentication and authorization system: and generating and feeding back a login identifier (CustomerID) to the terminal equipment according to a terminal pass order, the equipment ID and the UUID which are carried in the login identifier request.
(12) Target application of the terminal equipment: and sending the login identification (CustomerID) to an account management module of the intelligent device.
(13) The account management module: and storing the received login identification (CustomerID), generating a login authentication request according to the equipment information of the intelligent equipment, such as the equipment ID, the APPKey, the APPSecret and the like, and sending the login authentication request to an authentication and authorization system.
(14) Authentication and authorization system: and performing SSO authentication according to the equipment information carried in the login authentication request, and feeding back an access permit command (Access token) to the account management module.
The APPKey is a public key (equivalent to an account number), the ApSecret is a private key (equivalent to a password), the authentication and authorization system verifies according to the equipment ID, the APPKey and the APPSecret, if the verification is passed, a unique character string (access token) is generated and returned to the client, the client further sends the unique character string to the intelligent equipment, and the intelligent equipment needs to carry the access token when requesting service data next time in application and has the manual login-free authority after SSO authentication.
(15) The account management module: and storing login authorization information consisting of a login identifier (CustomerID) and an access permit command (Access token).
(16) The account management module: and sending initial configuration completion information to the first application and the second application respectively. The initial configuration completion information is used for indicating the first application or the second application to directly call the login authorization information and access the cloud server to process the service without performing the initial configuration of the intelligent device again.
(17) Second application of the smart device: and calling login authorization information (namely CustomerID + Access token) stored in the account management module, and accessing the cloud server to acquire service data according to the login authorization information so as to process the service of the second application.
(18) A network distribution service module: after the user is connected with the display device through the HDMI line, the intelligent device starts the first application and closes the second application, the wireless network is automatically connected according to the recorded name and the password of the target wifi, and the user does not need to configure network connection again.
(19) First application of the smart device: and when detecting that the initial configuration completion information is recorded in the application, directly calling login authorization information to the account management module, and accessing the cloud server according to the login authorization information to acquire service data so as to process the service of the first application.
When the intelligent mode is in the second working mode, the account management module simultaneously broadcasts and informs the first application and the second application that the initial configuration is completed, and the initial configuration completion information is recorded in the first application and the second application, so when the intelligent device is switched to the first working mode, the first application processes the service, after the first application is started, if the application records the initial configuration completion information, the initial configuration process is not executed again, the account management module directly inquires the login authorization information, the login authorization information enables a user not to log in the account again in the first application, and the first application is supported to directly initiate a service request to the cloud server, namely the initial configuration completion information can be used for the first/second application to detect whether the intelligent device completes the initial configuration. That is to say, because two applications in the smart device are synchronously notified to complete initial configuration, when the smart device is subsequently used, no matter how the application/working mode is switched, the smart device does not trigger execution of secondary initial configuration, and a user does not need to repeatedly log in a cloud account and manually connect wifi, so that scene adaptability and performance of the smart device are improved, and user experience is optimized.
In the embodiment, the token concept is involved, data is frequently requested from the server at the client, the server frequently queries and compares the user name and the password from the database, and judges whether the user name and the password are correct or not, and makes a corresponding prompt, and the token is generated in such a scene. the token is a string of character strings generated by the server, so as to serve as a passing order/token for the client to make a service request, after the client logs in for the first time, the server generates a token and returns the token to the client, and then the client only needs to carry the token to request service data without carrying a user name and a password again, so that the load of the server is reduced, the frequency of inquiring a database is reduced, and the operation performance of the server is ensured.
In an exemplary implementation manner, after the initial configuration of the smart device is completed, when the smart device is subsequently used, there may be wireless network anomalies of the initial configuration, such as network absence, poor network signal strength, network disconnection, and the like, which may cause network connection failures. In contrast, after the first application or the second application is started, whether the network configuration is effective or not is inquired for the distribution network service module, if the network configuration is effective, the distribution network service module is automatically connected with the wireless network, and at the moment, the user does not need to manually input the name and the password of the wifi; if the network configuration is invalid, the first application informs the display device or the second application informs the terminal device, and the display device or the target application of the terminal device can display the current network list through a UI (user interface), and prompts a user to reselect wifi and input a corresponding password, so that the initially configured network is updated, and the intelligent device can be ensured to normally work and process services.
The above exemplary embodiments describe in detail the logic mechanism of the initial configuration of the smart device from the perspective of multi-end device interaction. Referring to the example of fig. 2, the following describes an implementation method of initial configuration of the smart device from the point of view of single-ended execution and control, respectively for the smart device and the terminal device.
In an exemplary implementation manner, fig. 3 illustrates an initial configuration method performed by a smart device side, where the smart device 100 includes at least a communicator a and a controller a, where the communicator a is configured to be in communication connection with a terminal device 300, a first server (corresponding to the aforementioned authentication and authorization system) and a second server (corresponding to the aforementioned cloud server), in this embodiment, the cloud server and the authentication and authorization system are configured as two independent servers, and in other implementation manners, the first server and the second server may be configured as the same server. The controller A is used for executing the following program steps:
and step S101, receiving a network name and a password sent by the terminal equipment, and carrying out network connection configuration according to the network name and the password.
Optionally, before step S101, the terminal device may start a target application, perform account login, obtain a terminal pass order, a device ID and a UUID of the smart device, and obtain a name and a password of a target wifi specified by a terminal user, and then push the name and the password of the target wifi to the smart device.
And step S102, after receiving the login identification sent by the terminal equipment, storing the login identification, generating and sending a login authentication request to the first server according to the equipment information of the terminal equipment.
Optionally, before step S102, the terminal device may request the server to create and return a login identifier (CustomerID) according to the terminal pass order, the device ID of the smart device, and the UUID, and then send the login identifier to the smart device.
Optionally, the smart device may specifically generate a login authentication request (specifically, may select an SSO) according to the information such as the device ID, the APPKey, and the appsect.
Step S103, receiving an access pass order sent by the first server after responding to the login authentication request, and storing login authorization information formed by the login identifier and the access pass order, so that the initial configuration is completed. The login authorization information is used for supporting the intelligent equipment to access the second server to obtain the service data.
After the initial configuration of the intelligent device is completed, if the working mode/application is switched, for example, the audio mode is switched to the OTT television box mode, in order to avoid that the initial configuration is executed again by the first application after the second application completes the initial configuration, which causes the repeated execution of the initial configuration process, optionally, after the login authorization information is stored, the initial configuration completion information is simultaneously sent to the first application and the second application, and after the initial configuration completion information is received by the first application and the second application, the initial configuration state can be respectively updated to the completed state, so that the initial configuration is completed. When the OTT television box mode is subsequently switched, the first application inquires that the current initial configuration state is the finished state, and then the initial configuration program is not executed; and if the first application inquires that the current initial configuration state is an uncompleted state/to-be-completed state, completing the initial configuration by matching with the display equipment.
In an exemplary implementation, when the smart device is enabled, a current operating mode of the smart device is detected. If the intelligent device is currently in a second working mode, wherein the second working mode is the working mode in which the intelligent device is in when wireless communication connection (non-HDMI connection) is established between the intelligent device and the display device, whether the intelligent device completes initial configuration or not is detected by inquiring the initial configuration state recorded in the second application; if it is detected that the intelligent device has not completed initial configuration, sending first prompt information to the terminal device, and when the terminal device receives the first prompt information, starting the target application and performing initial configuration in cooperation with the intelligent device according to the interaction logic illustrated in fig. 2, which is not described herein again; if the intelligent device is detected to have completed initial configuration, the controller A can control the second application to call the login authorization information and process the service in the sound mode.
In an exemplary implementation, when the smart device is enabled, a current operating mode of the smart device is detected. If the intelligent equipment is currently in a first working mode, wherein the first working mode is the working mode in which the intelligent equipment is in when the HDMI connection is established between the intelligent equipment and the display equipment, whether the intelligent equipment completes initial configuration or not is detected by inquiring the initial configuration state recorded in the first application; if the intelligent equipment is detected not to complete the initial configuration, second prompt information is sent to the display equipment, and when the display equipment receives the second prompt information, the display equipment cooperates with the intelligent equipment to perform the initial configuration according to an initial configuration program preset by the local machine, which is not described again; if the intelligent device is detected to have completed initial configuration, the controller a may control the first application to invoke the login authorization information, and process the relevant service services in the OTT electronic box mode, such as video call, AI fitness, media asset watching, and the like.
In an exemplary implementation, opposite to the method of fig. 3, fig. 4 illustrates an initial configuration method performed at the terminal device side, the terminal device 300 at least comprises, for example, a display, a communicator B for communicating with the smart device 100 and a first server (corresponding to the aforementioned authentication and authorization system), and a controller B for executing the following program steps:
step S201, after receiving first prompt information sent by the intelligent device when detecting that the intelligent device does not complete initial configuration, sending a network name and a password to the intelligent device.
Optionally, before step S201, the controller B is further configured to:
when an account and a password input by a user in a target application are received, generating and sending a login instruction to a first server according to the account and the password; the target application is an application which is matched with the intelligent equipment in the terminal equipment for initial configuration;
receiving a terminal pass order sent by a first server after responding to the login instruction, wherein the terminal pass order is used for generating the login identification;
starting a Bluetooth function, acquiring a device ID and a UUID of the intelligent device when the intelligent device is scanned, and controlling a display to display a connectable device list, wherein the connectable device list comprises device information of devices which can establish Bluetooth connection with terminal devices;
when the selection operation of the user on the intelligent equipment in the connectable equipment list is received, controlling a display to display a network list, wherein the network list comprises the local available wifi network information of the terminal equipment;
the network name of the target wifi selected by the user in the network list is obtained, the password of the target wifi input by the user is obtained, and then the name and the password of the target wifi can be pushed to the intelligent device.
Step S202, receiving distribution network completion information sent by the intelligent device after network connection configuration is carried out according to the network name and the password, and sending a login identification request to the first server.
Optionally, before step S202, the controller B is further configured to: and generating the login identification request according to the terminal passing order, the equipment ID and the UUID of the intelligent equipment.
Step S203, receiving a login identification sent by the first server, and sending the login identification to the intelligent device. The login identification is used for triggering the intelligent equipment to perform login authentication on the first server and obtain an access passing order, and login authorization information formed by the login identification and the access passing order is used for supporting the intelligent equipment to access the second server to obtain service data.
The cooperation of the terminal device is terminated after the login identifier (CustomerID) is sent, and links of acquiring an access permit order (Access token) in the initial configuration, sending initial configuration completion information to the mode application and the like are independently completed by the intelligent device.
Optionally, when the initial configuration of the smart device is completed in the second operating mode, the second application may send a second configuration completion message to the terminal device, and after the terminal device receives the second configuration completion message, the UI in the page of the target application prompts the user that the initial configuration of the smart device is completed, and then the user may select to quit the target application.
Optionally, when the initial configuration of the smart device is completed in the first working mode, the first application may send a first configuration completion message to the display device, and after the display device receives the first configuration completion message, the current interface UI prompts the user that the initial configuration of the smart device is completed, so that the user may enjoy related services and functions in the first working mode.
In some exemplary embodiments, the smart device receives an input play instruction, which may be a voice instruction or an instruction pushed by the mobile terminal. In response to receiving the play instruction, the smart device determines whether there is a display device physically connected thereto (e.g., HDMI).
In some exemplary embodiments, when the intelligent device detects that the current scene has a display device physically connected with the intelligent device, a first application in the intelligent device is started, and an interface is displayed through the display device, the first application calls network configuration in the distribution network service module in a loading process, and if the distribution network fails, prompt information for prompting a user that the network configuration fails is displayed on the interface of the display device. The prompt information can be further broadcasted through the loudspeaker of the display device in a voice mode. This implementation does not carry out the net of joining in marriage suggestion through smart machine.
In some embodiments, after the network distribution fails, the intelligent device inquires whether the display device is in a network connection state through physical connection, and if the display device is not in the network connection state, the prompt information is output through the display device; and if the display equipment is in the networking state, synchronizing the network configuration information (including the name and the password of the wireless network) of the display equipment to the intelligent equipment so that the intelligent equipment updates the distribution network service module and performs networking according to the synchronized network configuration information of the display equipment.
In some embodiments, the first application in the smart device directly sends the decoded audio/video signal to the display device for display through physical connection, and the display device does not need to configure a related application for the smart device separately. At this time, the intelligent device may send a distribution network information acquisition request to a framework layer of the display device, the framework layer of the display device accesses a distribution network service module of the display device itself (for convenience of distinguishing, the distribution network service module in the display device is named as a first distribution network service module), when the first distribution network service module represents that the display device is not networked, a first message is fed back to the intelligent device, so that when the intelligent device receives the first message, the first application is controlled to send a first prompt message that the network needs to be additionally distributed to the display device, and the display device prompts a user to reconfigure the wireless network in response to receiving the first prompt message.
In some embodiments, when the first distribution network service module represents that the display device is networked, a second message is fed back to the intelligent device, when the intelligent device receives the second message, the first application is controlled to send a second prompt message to the display device, and the display device can inquire whether the user allows the current network configuration information of the display device to be synchronized to the intelligent device in a form of voice, UI or the like in response to receiving the second prompt message. When a user inputs an instruction allowing synchronization, the display device synchronizes the current network configuration information of the display device to the intelligent device so as to trigger the intelligent device to update the distribution network service module and automatically network.
In some embodiments, network configuration information of the display device may be synchronized directly with the smart device, or the smart device may also send a synchronization request to the display device, where the synchronization request includes cloud account information, and the synchronization request may further include information required by the smart device, such as an identifier of the smart device, and the display device identifies, in response to the synchronization request, whether the display device is consistent with a cloud account currently logged in by the smart device, and synchronizes current network configuration information of the display device with the smart device when it identifies that cloud accounts logged in by the dual-end device are consistent.
In some embodiments, after identifying the cloud account number which is the same as that of the intelligent device in login, the display device generates a network sharing interface, and optionally, for example, a two-dimensional code image for distribution network operation is displayed in the network sharing interface, so that a user is supported to complete distribution network of the intelligent device by scanning a code through a terminal device APP.
In some embodiments, after identifying that the cloud account is the same as that of the intelligent device, the display device may further transmit the network configuration information to the intelligent device in a communication manner such as bluetooth or NFC, so that the intelligent device completes a network distribution.
In some embodiments, the first distribution network service module accesses the network after the television smart operating system is started, and if the signal source after the display device is started is a physical signal source (a physical interface such as HMDI, AV, and the like) instead of the smart television signal source, the television smart operating system is not started. And if the signal source after the display equipment is started is the intelligent television signal source, the intelligent television operating system is started. Therefore, in some embodiments, when the display device receives a synchronization request sent by the intelligent device, if the associated application or framework layer of the display device finds that the television intelligent operating system is not started and cannot acquire the network configuration information of the display device, the display device may newly establish a thread in the background, and start the television intelligent operating system through the thread to acquire the configuration information of the network to which the first distribution network service module is currently connected.
In some embodiments, when receiving a synchronization request from the intelligent device, the display device reads configuration information of a network connected to the first distribution network service module when the intelligent operating system of the television is started last time according to a preset cache address.
In some embodiments, the display device is installed with an associated application matched with a first application in the intelligent device, when the first application in the intelligent device is started, the display device is notified to start the associated application through physical connection, and the first application of the intelligent device transmits the audio and video data to the associated application, so that the associated application at the display device end performs decoding processing on the audio and video data. The intelligent device may send a distribution network information acquisition request to the associated application of the display device, and the associated application replaces the framework layer in the above embodiment as a main body for communication with the intelligent device.
In some embodiments, if the intelligent device detects that the display device physically connected with the intelligent device does not exist in the current scene, a second application in the intelligent device is started, the second application calls the network configuration in the distribution network service module in the loading process, and if the distribution network fails, a prompt message for prompting the user that the network configuration fails is played through a loudspeaker of the intelligent device. The distribution network prompting is not carried out through the display equipment.
In some embodiments, after network configuration is performed on the second application or the first application, configuration state identifiers are set in both the second application and the first application, the configuration state identifiers are used for representing success or failure of network configuration, after the second application or the first application is switched, a newly started application firstly queries the configuration state identifiers, and when the configuration state identifiers represent success of network configuration, the newly started application does not call network configuration in the distribution network service module any more; if the configuration state identifier represents that the network configuration fails, the newly started application needs to call the network configuration in the distribution network service module for trial again.
In some embodiments, the physical connection transitioning from the unaccessed state to the accessed state triggers the smart device to start the first application and stop the second application.
In some embodiments, the transition of the physical connection from the access state to the non-access state triggers the smart device to start the second application and stop the first application.
In some embodiments, after the network is disconnected, the first application or the second application re-executes the invocation of the network configuration in the distribution network service module, and other subsequent steps.
The embodiment of the present application further provides a computer-readable storage medium, which includes instructions, and when the computer-readable storage medium runs on a computer, the computer is enabled to execute the initial configuration method corresponding to the above intelligent device terminal.
An eighth aspect embodiment provides a computer-readable storage medium, which includes instructions, when the instructions are executed on a computer, the instructions cause the computer to execute the initial configuration method corresponding to the terminal device side.
It should be noted that, when the HDMI of the smart device is connected to the display device, the initial configuration executed by the display device in cooperation with the smart device may refer to a conventional method flow, or may refer to a method for completing the initial configuration by adaptively and selectively referring to the terminal device in the present application in cooperation with the smart device. The same, similar and related matters among the various embodiments of the present application are mutually referenced.
Finally, it should be noted that: the above embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present application.
The foregoing description, for purposes of explanation, has been presented in conjunction with specific embodiments. However, the illustrative discussions above are not intended to be exhaustive or to limit the embodiments to the precise forms disclosed above. Many modifications and variations are possible in light of the above teaching. The embodiments were chosen and described in order to best explain the principles and the practical application, to thereby enable others skilled in the art to best utilize the embodiments and various embodiments with various modifications as are suited to the particular use contemplated.
Claims (10)
1. A smart device, comprising:
the communicator is used for being in communication connection with the terminal equipment, the first server and the second server;
a controller to perform:
receiving a network name and a password sent by terminal equipment, and carrying out network connection configuration according to the network name and the password;
after receiving a login identification sent by a terminal device, storing the login identification, generating and sending a login authentication request to a first server according to self device information;
receiving an access pass order sent by the first server after responding to the login authentication request, and storing login authorization information formed by the login identification and the access pass order, so that initial configuration is completed; and the login authorization information is used for supporting the intelligent equipment to access the second server to acquire the service data.
2. The intelligent device according to claim 1, wherein a first application and a second application are built in the intelligent device, the first application is used for processing services when the intelligent device is in a first working mode, and the second application is used for processing services when the intelligent device is in a second working mode; the first working mode is the working mode in which the intelligent device is in when the intelligent device is connected with the display device in the HDMI mode, and the second working mode is the working mode in which the intelligent device is in when the intelligent device is connected with the display device in the wireless communication mode.
3. The smart device of claim 2, wherein the controller is further configured to perform:
after the login authorization information is stored, initial configuration completion information is sent to the first application and the second application respectively, and the initial configuration completion information is used for indicating the first application or the second application to directly call the login authorization information and access the second server to process services without performing initial configuration of the intelligent device again.
4. The intelligent device according to claim 2, wherein before receiving the network name and the password sent by the terminal device, the controller is further configured to:
when the intelligent equipment is detected to be in a second working mode currently, detecting whether the intelligent equipment completes initial configuration or not;
if the intelligent equipment is detected not to complete initial configuration, first prompt information is sent to the terminal equipment, and the first prompt information is used for indicating the terminal equipment to cooperate with the intelligent equipment to perform initial configuration;
and if the intelligent equipment is detected to have finished the initial configuration, controlling a second application to call the login authorization information to process the service.
5. The intelligent device according to claim 2, wherein before receiving the network name and the password sent by the terminal device, the controller is further configured to:
when the intelligent equipment is detected to be in a first working mode currently, detecting whether the intelligent equipment completes initial configuration or not;
if the intelligent equipment is detected to have completed initial configuration, controlling a first application to call the login authorization information to process the service;
and if the intelligent equipment is detected not to complete the initial configuration, sending second prompt information to the display equipment, wherein the second prompt information is used for indicating the display equipment to cooperate with the intelligent equipment to perform the initial configuration.
6. A terminal device, comprising:
a display for displaying a user interface;
the communicator is used for being in communication connection with the intelligent equipment and the first server;
a controller for performing:
after first prompt information sent by the intelligent equipment when the intelligent equipment detects that the intelligent equipment does not finish initial configuration is received, sending a network name and a password to the intelligent equipment;
receiving distribution network completion information sent by the intelligent equipment after network connection configuration is carried out according to the network name and the password, and sending a login identification request to the first server;
the method comprises the steps of receiving a login identification sent by a first server, sending the login identification to the intelligent equipment, wherein the login identification is used for triggering the intelligent equipment to carry out login authentication on the first server and obtain an access pass order, and login authorization information formed by the login identification and the access pass order is used for supporting the intelligent equipment to access a second server to obtain service data.
7. The terminal device of claim 6, wherein before sending the network name and the password to the smart device, the controller is further configured to:
when an account and a password input by a user in a target application are received, generating and sending a login instruction to a first server according to the account and the password; the target application is an application which is matched with the intelligent equipment in the terminal equipment for initial configuration;
receiving a terminal pass order sent by a first server after responding to the login instruction, wherein the terminal pass order is used for generating the login identification;
starting a Bluetooth function, acquiring a device ID and a UUID of the intelligent device when the intelligent device is scanned, and controlling a display to display a connectable device list, wherein the connectable device list comprises device information of devices which can establish Bluetooth connection with terminal devices;
when the selection operation of the user on the intelligent equipment in the connectable equipment list is received, controlling a display to display a network list, wherein the network list comprises the local available wifi network information of the terminal equipment;
and acquiring the network name of the target wifi selected by the user in the network list, and acquiring the password of the target wifi input by the user.
8. The terminal device of claim 7, wherein before sending the login identification request to the first server, the controller is further configured to:
and generating the login identification request according to the terminal passing order, the equipment ID and the UUID of the intelligent equipment.
9. An initial configuration method of intelligent equipment is characterized in that,
the intelligent equipment receives a network name and a password sent by the terminal equipment and performs network connection configuration according to the network name and the password;
after receiving a login identification sent by a terminal device, an intelligent device stores the login identification, generates a login authentication request according to self device information and sends the login authentication request to a first server;
the intelligent equipment receives an access passing order sent by the first server after responding to the login authentication request, and stores login authorization information consisting of the login identification and the access passing order, so that initial configuration is completed; and the login authorization information is used for supporting the intelligent equipment to access the second server to acquire the service data.
10. An intelligent device initial configuration method is characterized by comprising the following steps:
the method comprises the steps that after receiving first prompt information sent by intelligent equipment when the intelligent equipment detects that the intelligent equipment does not finish initial configuration, the terminal equipment sends a network name and a password to the intelligent equipment;
the terminal equipment receives distribution network completion information sent by the intelligent equipment after network connection configuration is carried out according to the network name and the password, and sends a login identification request to the first server;
the terminal device receives a login identification sent by a first server, the login identification is sent to the intelligent device, the login identification is used for triggering the intelligent device to perform login authentication on the first server and obtain an access pass order, and login authorization information formed by the login identification and the access pass order is used for supporting the intelligent device to access a second server to obtain service data.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111006974.7A CN115842724A (en) | 2021-08-30 | 2021-08-30 | Intelligent device initial configuration method, intelligent device and terminal device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111006974.7A CN115842724A (en) | 2021-08-30 | 2021-08-30 | Intelligent device initial configuration method, intelligent device and terminal device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN115842724A true CN115842724A (en) | 2023-03-24 |
Family
ID=85574428
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111006974.7A Pending CN115842724A (en) | 2021-08-30 | 2021-08-30 | Intelligent device initial configuration method, intelligent device and terminal device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115842724A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116528394A (en) * | 2023-07-05 | 2023-08-01 | 广州疆海科技有限公司 | Equipment communication connection method, mobile terminal system and equipment terminal system |
CN116842494A (en) * | 2023-09-04 | 2023-10-03 | 杭州嘉识科技有限公司 | Equipment control method and system based on big data |
-
2021
- 2021-08-30 CN CN202111006974.7A patent/CN115842724A/en active Pending
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116528394A (en) * | 2023-07-05 | 2023-08-01 | 广州疆海科技有限公司 | Equipment communication connection method, mobile terminal system and equipment terminal system |
CN116528394B (en) * | 2023-07-05 | 2023-10-17 | 广州疆海科技有限公司 | Equipment communication connection method, mobile terminal system and equipment terminal system |
CN116842494A (en) * | 2023-09-04 | 2023-10-03 | 杭州嘉识科技有限公司 | Equipment control method and system based on big data |
CN116842494B (en) * | 2023-09-04 | 2023-11-10 | 杭州嘉识科技有限公司 | Equipment control method and system based on big data |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107018119B (en) | Identity verification system, method and platform | |
JP6413015B2 (en) | Method, apparatus and system for accessing a wireless network | |
EP3425566B1 (en) | Electronic device and method of registering personal cloud apparatus in user portal server thereof | |
TWI512489B (en) | Multi-screen interactive method, center equipment, terminal equipment and systems | |
KR101960062B1 (en) | Content Sharing Method and Device Thereof | |
US8458369B2 (en) | Automatic peripheral discovery, authorization, and sharing across an internet protocol network | |
EP3169086B1 (en) | Connection method for multimedia playing device, master device, control terminal, and system | |
KR102377724B1 (en) | Device network configuration method and apparatus, and medium | |
CN108513154A (en) | Intelligent home furnishing control method, smart television based on smart television and storage medium | |
CN104936304A (en) | Intelligent equipment binding method, intelligent equipment, and server | |
CN104159226A (en) | Network connection method and device | |
CN115842724A (en) | Intelligent device initial configuration method, intelligent device and terminal device | |
CN111726886A (en) | Network configuration method and device and electronic equipment | |
US20180367497A1 (en) | System, method, and server for playing multimedia resource | |
AU2010285563A1 (en) | Method and apparatus for remote management of device | |
CN111988660A (en) | DLNA equipment screen projection method, gateway, terminal and system | |
US8050667B2 (en) | Virtual terminal server, mobile communication terminal, communication control system, and communication control method | |
JP7481498B2 (en) | Home appliance and network setting method thereof, control terminal, and computer storage medium | |
CN107087293A (en) | A kind of cut-in method, terminal and server | |
CN106231393B (en) | Video information processing method, device and system | |
JP2005141333A (en) | Access relay unit and network access method | |
CN111048087A (en) | Shared voice interaction method, device, equipment and storage medium | |
JP6295522B2 (en) | Transmission system, transmission terminal and transmission terminal program | |
JP6872662B2 (en) | Receiver and program | |
JP2003091472A (en) | Contents distribution system and method and contents transmission program |
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 |