Search

CN-122001613-A - Network distribution method and related device of electronic equipment

CN122001613ACN 122001613 ACN122001613 ACN 122001613ACN-122001613-A

Abstract

The invention provides a network distribution method and a related device of electronic equipment, wherein the method comprises the following steps that a server receives a network distribution permission sharing request sent by first equipment, wherein the network distribution permission sharing request comprises a first identifier of a target account bound with the electronic equipment, a second identifier of an authorized account and an equipment identifier of the electronic equipment, and the first equipment is equipment associated with the target account; the method comprises the steps of determining that a binding relation exists between a first identifier and a device identifier, an authorized account is a valid account and the electronic device is in a network distribution permission state based on a network distribution permission sharing request, sending a network distribution permission unlocking instruction to the electronic device so that the electronic device enters a network distribution waiting state based on the network distribution permission unlocking instruction, sending a network distribution permission authorization notification about the electronic device to a second device associated with the authorized account, and enabling the second device to distribute the network to the electronic device in the network distribution waiting state based on the network distribution permission authorization notification. The invention improves the efficiency of the distribution network of the electronic equipment.

Inventors

  • CHENG BING
  • ZOU BO

Assignees

  • 深圳市噜咔博士科技有限公司

Dates

Publication Date
20260508
Application Date
20251217

Claims (10)

  1. 1. A method for distributing network of electronic equipment, the method comprising the steps of: the method comprises the steps that a server receives a distribution network permission sharing request about electronic equipment, wherein the distribution network permission sharing request is sent by first equipment and comprises a first identifier of a target account bound with the electronic equipment, a second identifier of an authorized account and an equipment identifier of the electronic equipment, and the first equipment is equipment associated with the target account; Based on the distribution network permission sharing request, determining that a binding relationship exists between the first identifier and the equipment identifier, the authorized account is a valid account, and the electronic equipment is in a state of allowing distribution network; sending a distribution network authority unlocking instruction to the electronic equipment so that the electronic equipment enters a network state to be distributed based on the distribution network authority unlocking instruction; And sending a distribution network authority authorization notification about the electronic equipment to a second equipment associated with the authorized account, so that the second equipment distributes the network to the electronic equipment in a state of waiting for distribution network based on the distribution network authority authorization notification.
  2. 2. The method of claim 1, wherein the determining, based on the distribution network rights sharing request, that a binding exists between the first identifier and the device identifier, that the authorized account number is a valid account number, and that the electronic device is in a state that allows distribution network comprises: inquiring a binding relation table corresponding to the equipment identifier, and determining that a binding relation exists between the first identifier and the equipment identifier under the condition that the first identifier exists in the binding relation table; Inquiring a user information table, and determining that the authorized account is a valid account under the condition that the user information table contains the second identifier; And detecting that the electronic equipment corresponding to the equipment identifier is in an online state and is not in a network distribution locking state, and determining that the electronic equipment is in a network distribution allowing state.
  3. 3. The method of claim 1, wherein the sending a distribution network rights unlock instruction to the electronic device comprises: Generating an authorization credential based on the device identification and the second identification; generating the distribution network authority unlocking instruction, wherein the distribution network authority unlocking instruction comprises the second identifier and the authorization credential; And sending the distribution network authority unlocking instruction to the electronic equipment.
  4. 4. The method of claim 3, wherein the generating authorization credentials based on the device identification and the second identification comprises: Fusing the equipment identifier and the second identifier to obtain an initial authorization credential; selecting a preset number of target characters from a character pool; and fusing the time stamp, each target character and the initial authorization credential to obtain the authorization credential.
  5. 5. The method of claim 3, wherein the sending a distribution network permission authorization notification for the electronic device to the second device associated with the authorized account comprises: Generating the distribution network authority authorization notification, wherein the distribution network authority authorization notification comprises the equipment identifier and the authorization credential, so that the second equipment generates distribution network data based on the second identifier, the authorization credential, a local area network name and a password and sends the distribution network data to the electronic equipment; And sending the distribution network authority authorization notification to the second equipment.
  6. 6. The method of any of claims 1 to 5, wherein after the sending of the distribution network rights authorization notification for the electronic device to the second device associated with the authorized account, the method further comprises: Generating a permission sharing record of the electronic equipment, wherein the permission sharing record comprises the first identifier, the second identifier, the equipment identifier, a permission sharing valid period, the authorization credential and the creation time of the permission sharing record; based on the permission sharing valid period, determining that the authorized account corresponding to the second identifier does not have the network allocation permission of the electronic equipment; And sending a notification of the expiration of the distribution network authority to the second device and sending a notification of the failure of the authorization credential to the electronic device.
  7. 7. The method of any one of claims 1 to 5, further comprising: And if the fact that the binding relation exists between the first identifier and the equipment identifier, the authorized account is an invalid account or the electronic equipment is in a state of not allowing the distribution network is detected, sending an authority sharing error prompt to the first equipment.
  8. 8. A network distribution device of an electronic device, wherein the network distribution device of the electronic device includes: The electronic device comprises a permission sharing request receiving module, a permission sharing request receiving module and a permission sharing module, wherein the permission sharing request receiving module is used for receiving a distribution network permission sharing request about electronic devices, which is sent by a first device, wherein the distribution network permission sharing request comprises a first identifier of a target account bound with the electronic devices, a second identifier of an authorized account and a device identifier of the electronic devices, and the first device is associated with the target account; The data verification module is used for determining that a binding relationship exists between the first identifier and the equipment identifier, the authorized account is a valid account and the electronic equipment is in a network distribution permission state based on the network distribution permission sharing request; The first data sending module is used for sending a distribution network authority unlocking instruction to the electronic equipment so that the electronic equipment enters a network state to be distributed based on the distribution network authority unlocking instruction; And the second data sending module is used for sending a distribution network authority authorization notification about the electronic equipment to a second equipment associated with the authorized account, so that the second equipment distributes the network to the electronic equipment in a state of waiting for distribution network based on the distribution network authority authorization notification.
  9. 9. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the steps in the method for networking an electronic device according to any one of claims 1 to 7 when the computer program is executed.
  10. 10. A computer-readable storage medium, on which a computer program is stored, which computer program, when being executed by a processor, implements the steps in the network deployment method of an electronic device according to any of claims 1 to 7.

Description

Network distribution method and related device of electronic equipment Technical Field The application relates to the technical field of artificial intelligence, in particular to a network distribution method of electronic equipment and a related device. Background The distribution network of the intelligent pet toy can be realized through application programs in the user end bound by the intelligent pet toy, and at present, a single intelligent pet toy only supports the network configuration update of the distribution network interface of the application program of a single user account. Assuming that the account number of the user A is an original distribution network account number bound with the intelligent pet toy X, the user B independently plays with the intelligent pet toy X, so that the problem of distribution network of the intelligent pet toy in a new place can be solved, if the user B wants to distribute network again for the intelligent pet toy X in the new place, the server needs to receive a distribution network authority application of the user B, then obtain distribution network authority change authorization of the user A, release the binding relationship between the user A and the intelligent pet toy X after receiving the distribution network authority change authorization of the user A, and then establish the binding relationship between the user B and the intelligent pet toy X, so that the user B can distribute network operation for the intelligent pet toy X, the interaction complexity between the server and the user A and the user B is higher in the whole process, and the distribution network efficiency of the intelligent pet toy is low. Disclosure of Invention In view of this, the present application provides a network distribution method for an electronic device, after a server receives a network distribution permission sharing request sent by a first device, the server sends a network distribution permission unlocking instruction to the electronic device to enable the electronic device to enter a network to be distributed, and sends a network distribution permission authorization notification to a second device associated with an authorized account, so that the second device can distribute a network to the electronic device in the network to be distributed based on the network distribution permission authorization notification. In a first aspect, the present application provides a network allocation method for an electronic device, where the method includes the following steps: the method comprises the steps that a server receives a distribution network permission sharing request about electronic equipment, wherein the distribution network permission sharing request is sent by first equipment and comprises a first identifier of a target account bound with the electronic equipment, a second identifier of an authorized account and an equipment identifier of the electronic equipment, and the first equipment is equipment associated with the target account; Based on the distribution network permission sharing request, determining that a binding relationship exists between the first identifier and the equipment identifier, the authorized account is a valid account, and the electronic equipment is in a state of allowing distribution network; sending a distribution network authority unlocking instruction to the electronic equipment so that the electronic equipment enters a network state to be distributed based on the distribution network authority unlocking instruction; And sending a distribution network authority authorization notification about the electronic equipment to a second equipment associated with the authorized account, so that the second equipment distributes the network to the electronic equipment in a state of waiting for distribution network based on the distribution network authority authorization notification. Optionally, the determining, based on the network allocation permission sharing request, that a binding relationship exists between the first identifier and the device identifier, the authorized account is a valid account, and the electronic device is in a network allocation permission state includes: inquiring a binding relation table corresponding to the equipment identifier, and determining that a binding relation exists between the first identifier and the equipment identifier under the condition that the first identifier exists in the binding relation table; Inquiring a user information table, and determining that the authorized account is a valid account under the condition that the user information table contains the second identifier; And detecting that the electronic equipment corresponding to the equipment identifier is in an online state and is not in a network distribution locking state, and determining that the electronic equipment is in a network distribution allowing state. Optionally, the sending a network allocation authority unlocking instruction to