Intelligent Device Upgrade Method, Device, Storage Medium and Electronic Device
By receiving the target positioning information and equipment distribution network information of distribution terminals, establishing a network connection and sending it to the management server for partition upgrade, the problem of high cost and poor flexibility of upgrading smart devices is solved, and cost reduction and flexibility are achieved.
Patent Information
- Application Number
- CN202111173062.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-10-08
- Publication Date
- 2025-08-05
- Estimated Expiration
- 2041-10-08
AI Technical Summary
The existing smart device upgrade methods are costly and have poor flexibility, especially because it is difficult to flexibly adjust the positioning of the GPS positioning chip and the device itself.
By receiving the target positioning information and equipment distribution network information sent by the distribution terminal, establishing a network connection, and sending the target positioning information to the management server, the management server performs device partition upgrades according to the target upgrade positioning strategy.
Effectively reduce the cost of upgrading smart devices, improve the flexibility of upgrading, and avoid setting up positioning devices in the device.
Smart Images

Figure CN113986279B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of Internet of Things technology, and particularly to a method, device, storage medium and electronic device for upgrading intelligent devices. Background Art
[0002] Intelligent devices usually have the need for upgrading. For example, software program packages in intelligent devices often need to be upgraded. When upgrading intelligent devices, it is usually partitioned upgrading.
[0003] Currently, partitioned upgrading generally involves the intelligent device itself obtaining its own location and then reporting it to the server to achieve the purpose of regional upgrading. However, this method currently has a high cost. The cost of GPS positioning chips, etc. is very high, which is significant for a large number of intelligent devices. At the same time, it is difficult to flexibly adjust the upgrading of intelligent terminals with the fixed collection location of the device itself.
[0004] Therefore, there are problems of high cost and poor flexibility when upgrading intelligent devices currently. Summary of the Invention
[0005] An embodiment of this application provides a solution that can effectively reduce the upgrading cost of intelligent devices and improve the upgrading flexibility.
[0006] To solve the above technical problems, the embodiments of this application provide the following technical solutions:
[0007] According to an embodiment of this application, a method for upgrading an intelligent device, the method includes: receiving target positioning information and device networking information sent by a networking terminal, where the target positioning information is positioning information configured by the networking terminal that conforms to a target upgrading positioning strategy; establishing a network connection based on the device networking information; sending the target positioning information to a management server through the network connection, and the management server performs device partition upgrading on local intelligent devices according to the target positioning information according to the target upgrading positioning strategy.
[0008] In some embodiments of this application, the target upgrading positioning strategy includes a predetermined upgrading positioning strategy of the management server. The receiving the target positioning information sent by the networking terminal includes: receiving the target positioning information sent by the networking terminal, where the target positioning information includes positioning information generated by the terminal positioning of the networking terminal that conforms to the predetermined upgrading positioning strategy, the distance between the networking terminal and the local intelligent device is less than a predetermined threshold, and the predetermined upgrading positioning strategy is used to indicate the method of device partition upgrading for the local intelligent device.
[0009] In some embodiments of the present application, the partition upgrade policy includes a target upgrade positioning policy customized on the power distribution terminal. Receiving the target positioning information sent by the power distribution terminal includes: receiving the target positioning information sent by the power distribution terminal, where the target positioning information includes device location information customized and configured on the power distribution terminal and the target upgrade positioning policy, and the predetermined upgrade positioning policy is used to indicate the method of performing device partition upgrade on the local intelligent device.
[0010] In some embodiments of the present application, the power distribution information includes network access information of network devices; establishing a network connection based on the power distribution information includes: connecting to the network device based on the network access information to establish a network connection through the network device.
[0011] In some embodiments of the present application, sending the target positioning information to the management server through the network connection includes: sending a device binding request carrying the target positioning information and account binding information to the management server through the network connection, so that the management server performs account binding on the intelligent device based on the account binding information and saves the target positioning information after binding.
[0012] In some embodiments of the present application, before sending the target positioning information to the management server through the network connection, the method further includes: receiving a positioning management policy issued by the management server; performing positioning verification on the target positioning information according to the positioning management policy.
[0013] In some embodiments of the present application, the method further includes: if the positioning verification of the target positioning information fails, generating a positioning calibration instruction according to the verification result; sending the positioning calibration instruction to the power distribution terminal so that the power distribution terminal returns the target positioning information that conforms to the positioning management policy according to the positioning calibration instruction.
[0014] According to an embodiment of the present application, an intelligent device upgrade device includes: a receiving module, configured to receive target positioning information and device power distribution information sent by a power distribution terminal, where the target positioning information is positioning information configured on the power distribution terminal that conforms to a target upgrade positioning policy; a connection module, configured to establish a network connection based on the device power distribution information; an upgrade setting module, configured to send the target positioning information to a management server through the network connection, and the management server performs device partition upgrade on the local intelligent device according to the target upgrade positioning policy based on the target positioning information.
[0015] According to another embodiment of the present application, a storage medium stores a computer program, which causes a computer to execute the method described in the embodiments of the present application when the computer program is executed by a processor of the computer.
[0016] According to another embodiment of the present application, an electronic device may include: a memory storing a computer program; a processor reading the computer program stored in the memory to execute the method described in the embodiments of the present application.
[0017] In the embodiments of the present application, a smart device may receive target positioning information and device network configuration information sent by a network configuration terminal. The target positioning information is positioning information configured by the network configuration terminal that conforms to a target upgrade positioning strategy; establish a network connection based on the device network configuration information; and send the target positioning information to a management server through the network connection. The management server performs device partition upgrade on local smart devices according to the target positioning information in accordance with the target upgrade positioning strategy.
[0018] In this way, local smart devices can flexibly set corresponding target positioning information based on a configuration terminal during the network configuration stage. The target positioning information conforms to the target upgrade positioning strategy. The management server performs device partition upgrade on the smart devices according to the target positioning information in accordance with the target upgrade positioning strategy. There is no need to set a positioning device in the smart device, effectively reducing the upgrade cost of the smart device and improving upgrade flexibility. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] To more clearly illustrate the technical solutions in the embodiments of the present application, the following will briefly introduce the drawings required for the description of the embodiments. Obviously, the following drawings are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without creative efforts.
[0020] Figure 1 FIG. shows a schematic diagram of a system to which the embodiments of the present application can be applied.
[0021] Figure 2 FIG. shows a flowchart of a smart device upgrade method according to an embodiment of the present application.
[0022] Figure 3 FIG. shows a block diagram of a smart device upgrade apparatus according to an embodiment of the present application.
[0023] Figure 4 FIG. shows a block diagram of an electronic device according to an embodiment of the present application. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0024] Next, the technical solutions in the embodiments of the present application will be clearly and completely described in conjunction with the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative efforts belong to the scope of protection of the present application.
[0025] In the following description, specific embodiments of the present application will be described by referring to steps and symbols executed by one or more computers, unless otherwise stated. Therefore, these steps and operations will be mentioned several times as being executed by a computer. As used herein, computer execution includes operations of a computer processing unit that represents electronic signals in a structured form of data. This operation transforms the data or maintains it at a location in the computer's memory system, which can be reconfigured or otherwise changed in a manner well known to those skilled in the art. The data structure maintained by the data is a physical location in the memory, which has specific characteristics defined by the data format. However, the principles of the present application are described in the above text, which does not represent a limitation. Those skilled in the art will understand that the various steps and operations described below can also be implemented in hardware.
[0026] Figure 1 FIG. shows a schematic diagram of a system 100 to which embodiments of the present application can be applied. As Figure 1 shown, the system 100 may include a smart device 101, a network configuration terminal 102, a network device 103, and a management server 104. The smart device 101 can be any device, such as a home appliance device, etc. The network configuration terminal 102 can be any terminal, such as a mobile phone, etc. The network device 103 can be a device that provides a network, such as a router, etc. The management server 104 can be a server cluster or a cloud server, etc.
[0027] In one implementation of this example, the smart device (local smart device) 101 can: receive the target location information and device network configuration information sent by the network configuration terminal 102, where the target location information is the location information configured by the network configuration terminal that conforms to the target upgrade location strategy; establish a network connection based on the device network configuration information; and send the target location information to the management server 104 through the network connection. The management server 104 performs device partition upgrade on the local smart device 101 according to the target location information in accordance with the target upgrade location strategy.
[0028] Among them, establishing a network connection based on the device network configuration information can be that the smart device 101 connects to the network device 103 based on the device network configuration information, and then establishes a network connection based on the network device 103.
[0029] Figure 2The flowchart of the intelligent device upgrade method according to an embodiment of the present application is schematically shown. The execution subject of the intelligent device upgrade method can be any intelligent device, such as Figure 1 the intelligent device 101 shown.
[0030] As Figure 2 shown, the intelligent device upgrade method may include steps S210 to step S240.
[0031] Step S210, receiving the target positioning information and device network configuration information sent by the network configuration terminal, where the target positioning information is the positioning information configured by the network configuration terminal that conforms to the target upgrade positioning strategy;
[0032] Step S220, establishing a network connection based on the device network configuration information;
[0033] Step S230, sending the target positioning information to the management server through the network connection, and the management server performs device partition upgrade on the local intelligent device according to the target positioning information according to the target upgrade positioning strategy.
[0034] The network configuration terminal is the terminal used to configure the network for the intelligent device, such as a mobile phone, etc. The target positioning information is the information used to indicate the location, such as longitude and latitude information, etc. The device network configuration information is the relevant information for network configuration, such as the router name and password, etc. The target upgrade positioning strategy is the strategy for the management server to perform partition upgrade on the local intelligent device.
[0035] When the network configuration terminal configures the network for the intelligent device, it sends the target positioning information while sending the device network configuration information, and the target positioning information is the positioning information configured by the network configuration terminal that conforms to the target upgrade positioning strategy.
[0036] After the local intelligent device obtains the device network configuration information, it can establish a network connection based on the device network configuration information, such as connecting to a network device according to the device network configuration information, thereby establishing a network connection.
[0037] After the local intelligent device establishes a network connection, it can perform information transmission based on the network connection, send the target positioning information as its own positioning information to the management server, and the management server can perform device partition upgrade on the local intelligent device according to the target positioning information according to the target upgrade positioning strategy, such as partitioning (i.e., dividing regions) the local intelligent device according to the target positioning information and performing partition upgrade according to the upgrade plan of the partition.
[0038] Thus, the local intelligent device can flexibly set the corresponding target positioning information based on the configuration terminal during the network configuration phase. The target positioning information conforms to the target upgrade positioning strategy. The management server performs device partition upgrade on the intelligent device according to the target positioning information in accordance with the target upgrade positioning strategy. There is no need to set a positioning device in the intelligent device, effectively reducing the upgrade cost of the intelligent device and improving the upgrade flexibility.
[0039] The following describes the specific processes of each step when upgrading an intelligent device.
[0040] In step S210, receive the target positioning information and device network configuration information sent by the network configuration terminal. The target positioning information is the positioning information configured by the network configuration terminal that conforms to the target upgrade positioning strategy.
[0041] In the implementation manner of this example, the network configuration terminal is the terminal used to configure the network for the intelligent device, such as a mobile phone, etc. The target positioning information is the information used to indicate the location, such as longitude and latitude information, etc. The device network configuration information is the relevant information for network configuration, such as the router name and password, etc. When the network configuration terminal configures the network for the intelligent device, it sends the target positioning information while sending the device network configuration information. The target positioning information is the positioning information configured by the network configuration terminal that conforms to the target upgrade positioning strategy. The target upgrade positioning strategy is the strategy for the management server to perform partition upgrade on the local intelligent device.
[0042] In one embodiment, in step S210, the target upgrade positioning strategy includes the predetermined upgrade positioning strategy of the management server. Receiving the target positioning information sent by the network configuration terminal includes: receiving the target positioning information sent by the network configuration terminal. The target positioning information includes the device location information generated by the terminal positioning of the network configuration terminal that conforms to the predetermined upgrade positioning strategy. The distance between the network configuration terminal and the local intelligent device is less than a predetermined threshold. The predetermined upgrade positioning strategy is used to indicate the method of performing device partition upgrade on the local intelligent device.
[0043] The network configuration terminal can perform positioning based on the device positioning device, such as GPS positioning, etc., to obtain the device location information corresponding to the network configuration terminal (i.e., longitude and latitude information). The network configuration terminal sends this device location information to the local intelligent device as the target positioning information. Among them, the distance between the network configuration terminal and the local intelligent device can be less than the predetermined threshold. At this time, the device location information conforms to the predetermined upgrade positioning strategy of the management server. The management server only needs to obtain this device location information to perform partition and upgrade on the local intelligent device according to its own predetermined upgrade positioning strategy.
[0044] In one embodiment, in step S210, the partition upgrade policy includes a target upgrade positioning policy customized on the power distribution terminal, and receives target positioning information sent by the power distribution terminal, including: receiving the target positioning information sent by the power distribution terminal. The target positioning information includes device location information customized on the power distribution terminal and the target upgrade positioning policy. The predetermined upgrade positioning policy is used to indicate the method of performing device partition upgrade on the local intelligent device.
[0045] Customize and configure device positioning information and the target upgrade positioning policy on the power distribution terminal as the target positioning information. The target upgrade positioning policy is a method customized on the power distribution terminal (such as temporarily defined by the user) to indicate the device partition upgrade of the local intelligent device. When the management server performs device partition upgrade, it can determine the setting rules of the customized device positioning information according to the target upgrade positioning policy, determine the device positioning policy and the upgrade plan of the partition after division, and then determine how to partition and upgrade multiple intelligent devices. The device location information is the information marking the device location, such as a region identifier. In one example, the device location information can be a region identifier. Multiple intelligent devices divided into the same region can send the same device location information and upgrade positioning policy according to requirements. Multiple intelligent devices can be divided into the same region according to the network conditions of the devices, etc., rather than necessarily being physically located in the same region. This can further flexibly and dynamically configure the target positioning information and ensure the availability of the target device information.
[0046] In step S220, establish a network connection based on the device power distribution information.
[0047] In the implementation manner of this example, after the intelligent device obtains the device power distribution information, it can establish a network connection based on the device power distribution information. In one example, the device power distribution information includes the network access information of the network device. The intelligent device connects to the network device according to the network access information, thereby establishing a network connection. In one example, the device power distribution information includes the hotspot name and the secret key. The intelligent device itself creates a hotspot corresponding to the hotspot name and the secret key, thereby actively establishing a network connection. In this way, other devices can connect to the intelligent device based on the hotspot name and the secret key, and the intelligent device can send the target positioning information to the management server through other devices.
[0048] In one embodiment, the device power distribution information includes the network access information of the network device; step S220, establishing a network connection based on the power distribution information, includes: connecting to the network device based on the network access information to establish a network connection through the network device.
[0049] The network access information is the information used to access the network, which can include the router name and password. The intelligent device can efficiently and accurately connect to the network device based on the network access information and establish a network connection through the network device.
[0050] In step S230, the target positioning information is sent to the management server through a network connection. The management server performs device partition upgrade on local intelligent devices according to the target upgrade positioning strategy based on the target positioning information.
[0051] In the implementation of this example, after the intelligent device establishes a network connection, it can perform information transmission based on the network connection, send the target positioning information as its own positioning information to the management server, and the management server can perform device partition upgrade on local intelligent devices according to the target upgrade positioning strategy based on the target positioning information.
[0052] Specifically, the intelligent device divides the intelligent device into regions according to the target positioning information, and then performs partition upgrade according to the upgrade plan of the partition.
[0053] Among them, the intelligent device can also send the target positioning information together with account binding information such as the device IP to the management server through a network connection, so that the management server partitions the intelligent device according to the target positioning information, accurately determines the intelligent device based on account binding information such as the device IP, and thus accurately performs partition upgrade.
[0054] In one embodiment, step S230 of sending the target positioning information to the management server through a network connection includes:
[0055] Sending a device binding request carrying the target positioning information and account binding information to the management server through a network connection, so that the management server performs account binding on the intelligent device based on the account binding information and saves the target positioning information after binding.
[0056] The account binding information may include device information local to the intelligent device (such as device IP, etc.), or may include account information such as a mobile phone number in the device network configuration information. Sending the device binding request carrying the target positioning information and account binding information to the management server can trigger the management server to perform Internet of Things interconnection and interoperability network configuration for the intelligent device, and further can efficiently send the target positioning information of the intelligent device to the management server during network configuration.
[0057] In one embodiment, before step S230 of sending the target positioning information to the management server through a network connection, the method further includes: receiving a positioning management policy issued by the management server; performing positioning verification on the target positioning information according to the positioning management policy.
[0058] The positioning management policy is the policy for managing positioning information. The positioning management policy can be management information such as the format standard of device positioning information. The management server issues the positioning management policy according to its own management standards. The intelligent device can verify the received target positioning information according to the positioning management policy, such as verifying whether the format of the device positioning information is accurate, etc., to further ensure the availability of the target device information. Among them, the intelligent device can send a policy acquisition request to the management server in advance to trigger the management server to issue the positioning management policy.
[0059] In one embodiment, the method further includes: if the positioning verification of the target positioning information fails, generating a positioning calibration instruction according to the verification result; and sending the positioning calibration instruction to the network configuration terminal, so that the network configuration terminal returns the target positioning information that conforms to the positioning management policy according to the positioning calibration instruction.
[0060] The verification result can be result information such as the format not conforming to the standard. At this time, a positioning calibration instruction carrying the result information such as the format not conforming to the standard can be generated and sent to the network configuration terminal, so that the network configuration terminal returns the target positioning information that conforms to the management standard according to the positioning calibration instruction.
[0061] In this way, based on steps S210 to S230, the intelligent device can flexibly set the corresponding target positioning information based on the configuration terminal during the network configuration stage. The management server upgrades the device partition of the intelligent device according to the target positioning information. There is no need to set a positioning device in the intelligent device, effectively reducing the upgrade cost of the intelligent device and improving the upgrade flexibility.
[0062] To facilitate better implementation of the intelligent device upgrade method provided in the embodiments of the present application, the embodiments of the present application further provide an intelligent device upgrade device based on the above intelligent device upgrade method. The meanings of the nouns are the same as those in the above intelligent device upgrade method, and the specific implementation details can refer to the descriptions in the method embodiments. Figure 3 The block diagram of an intelligent device upgrade device according to an embodiment of the present application is shown.
[0063] As Figure 3 shown, the intelligent device upgrade device 300 may include a receiving module 310, a connection module 320, and an upgrade setting module 330.
[0064] The receiving module 310 can be used to receive the target positioning information and device network configuration information sent by the network configuration terminal. The target positioning information is the positioning information configured by the network configuration terminal that conforms to the target upgrade positioning strategy; the connection module 320 can be used to establish a network connection based on the device network configuration information; the upgrade setting module 330 can be used to send the target positioning information to the management server through the network connection. The management server performs device partition upgrade on the local intelligent device according to the target positioning information in accordance with the target upgrade positioning strategy.
[0065] In some embodiments of the present application, the target upgrade positioning strategy includes a predetermined upgrade positioning strategy of the management server. The receiving module 310 includes: a first receiving unit, configured to receive the target positioning information sent by the network configuration terminal. The target positioning information includes device location information generated by the network configuration terminal through terminal positioning that conforms to the predetermined upgrade positioning strategy. The distance between the network configuration terminal and the local intelligent device is less than a predetermined threshold. The predetermined upgrade positioning strategy is used to indicate the method of device partition upgrade for the local intelligent device.
[0066] In some embodiments of the present application, the partition upgrade strategy includes a target upgrade positioning strategy customized on the network configuration terminal. The receiving module 310 includes: a second receiving unit, configured to receive the target positioning information sent by the network configuration terminal. The target positioning information includes device location information and a target upgrade positioning strategy customized and configured on the network configuration terminal. The predetermined upgrade positioning strategy is used to indicate the method of device partition upgrade for the local intelligent device.
[0067] In some embodiments of the present application, the network configuration information includes network access information of network devices; the connection module 320 is configured to connect to the network devices based on the network access information to establish a network connection through the network devices.
[0068] In some embodiments of the present application, the upgrade setting module 330 includes: an upgrade setting unit, configured to send a device binding request carrying the target positioning information and account binding information to the management server through the network connection, so that the management server performs account binding on the intelligent device based on the account binding information and saves the target positioning information after binding.
[0069] In some embodiments of the present application, before sending the target positioning information to the management server through the network connection, the device further includes: a verification unit, configured to receive the positioning management strategy issued by the management server; perform positioning verification on the target positioning information according to the positioning management strategy.
[0070] In some embodiments of the present application, the device further includes: a calibration unit configured to generate a positioning calibration instruction according to a calibration result if the positioning verification of the target positioning information fails; and a calibration feedback unit configured to send the positioning calibration instruction to the network configuration terminal so that the network configuration terminal returns the target positioning information that complies with the positioning management policy according to the positioning calibration instruction.
[0071] In this way, based on the intelligent device upgrade device 300, the local intelligent device can flexibly set the corresponding target positioning information during the network configuration phase based on the configuration terminal. The target positioning information complies with the target upgrade positioning policy. The management server performs device partition upgrade on the intelligent device according to the target positioning information according to the target upgrade positioning policy. There is no need to set a positioning device in the intelligent device, effectively reducing the upgrade cost of the intelligent device and improving the upgrade flexibility.
[0072] It should be noted that although several modules or units of the devices for action execution are mentioned in the above detailed description, this division is not mandatory. In fact, according to the embodiments of the present application, the features and functions of the two or more modules or units described above can be embodied in one module or unit. Conversely, the features and functions of one module or unit described above can be further divided and embodied by multiple modules or units.
[0073] In addition, an embodiment of the present application further provides an electronic device, which can be a terminal or a server. As Figure 4 shown, it shows a schematic structural diagram of the electronic device involved in the embodiment of the present application. Specifically:
[0074] The electronic device may include a processor 401 with one or more processing cores, a memory 402 with one or more computer-readable storage media, a power supply 403, an input unit 404 and other components. Those skilled in the art can understand that Figure 4 the structural diagram of the electronic device shown in does not constitute a limitation on the electronic device, and it may include more or fewer components than shown, or combine certain components, or have different component arrangements. Among them:
[0075] The processor 401 is the control center of the electronic device, connecting various parts of the entire computer device through various interfaces and circuits. By running or executing software programs and / or modules stored in the memory 402, and invoking the data stored in the memory 402, it executes various functions of the computer device and processes data, thereby monitoring the electronic device as a whole. Optionally, the processor 401 may include one or more processing cores; preferably, the processor 401 may integrate an application processor and a modem processor. Among them, the application processor mainly processes the operating system, user interfaces, and application programs, etc., and the modem processor mainly processes wireless communications. It can be understood that the above-mentioned modem processor may not be integrated into the processor 401 either.
[0076] The memory 402 can be used to store software programs and modules. The processor 401 executes various functional applications and data processing by running the software programs and modules stored in the memory 402. The memory 402 mainly includes a program storage area and a data storage area. Among them, the program storage area can store the operating system, application programs required for at least one function (such as the sound playback function, image playback function, etc.), etc.; the data storage area can store data created according to the use of the computer device. In addition, the memory 402 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid-state storage devices. Correspondingly, the memory 402 may also include a memory controller to provide the processor 401 with access to the memory 402.
[0077] The electronic device further includes a power supply 403 for supplying power to each component. Preferably, the power supply 403 can be logically connected to the processor 401 through a power management system, so as to implement functions such as management of charging, discharging, and power consumption management through the power management system. The power supply 403 may also include any components such as one or more DC or AC power supplies, a recharge system, a power failure detection circuit, a power converter or inverter, and a power status indicator.
[0078] The electronic device may further include an input unit 404, which can be used to receive input digital or character information, and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function controls.
[0079] Although not shown, the electronic device may further include a display unit, etc., which will not be elaborated here. Specifically, in this embodiment, the processor 401 in the electronic device will load the executable files corresponding to the processes of one or more computer programs into the memory 402 according to the following instructions, and the processor 401 will run the computer programs stored in the memory 402 to implement various functions. For example, the processor 401 may execute the following steps:
[0080] Receive the target positioning information and device network configuration information sent by the distribution network terminal, where the target positioning information is the positioning information configured by the distribution network terminal that conforms to the target upgrade positioning strategy; establish a network connection based on the device network configuration information; and send the target positioning information to the management server through the network connection, so that the management server performs device partition upgrade on the local intelligent device according to the target upgrade positioning strategy based on the target positioning information.
[0081] In some embodiments of the present application, the target upgrade positioning strategy includes the predetermined upgrade positioning strategy of the management server. When receiving the target positioning information sent by the distribution network terminal, the processor 401 may execute: receiving the target positioning information sent by the distribution network terminal, where the target positioning information includes the device location information generated by the terminal positioning of the distribution network terminal that conforms to the predetermined upgrade positioning strategy, the distance between the distribution network terminal and the local intelligent device is less than a predetermined threshold, and the predetermined upgrade positioning strategy is used to indicate the method of device partition upgrade for the local intelligent device.
[0082] In some embodiments of the present application, the partition upgrade strategy includes the target upgrade positioning strategy customized on the distribution network terminal. When receiving the target positioning information sent by the distribution network terminal, the processor 401 may execute: receiving the target positioning information sent by the distribution network terminal, where the target positioning information includes the device location information and the target upgrade positioning strategy customized on the distribution network terminal, and the predetermined upgrade positioning strategy is used to indicate the method of device partition upgrade for the local intelligent device.
[0083] In some embodiments of the present application, the network configuration information includes the network access information of the network device; when establishing a network connection based on the network configuration information, the processor 401 may execute: connecting to the network device based on the network access information to establish a network connection through the network device.
[0084] In some embodiments of the present application, when sending the target positioning information to the management server through the network connection, the processor 401 may execute: sending a device binding request carrying the target positioning information and account binding information to the management server through the network connection, so that the management server performs account binding on the intelligent device based on the account binding information and saves the target positioning information after binding.
[0085] In some embodiments of the present application, before sending the target positioning information to the management server through the network connection, the processor 401 may execute: receiving the positioning management policy issued by the management server; performing positioning verification on the target positioning information according to the positioning management policy.
[0086] In some embodiments of the present application, the processor 401 may execute: if the positioning verification of the target positioning information fails, generating a positioning calibration instruction according to the verification result; sending the positioning calibration instruction to the network configuration terminal, so that the network configuration terminal returns the target positioning information that conforms to the positioning management policy according to the positioning calibration instruction.
[0087] Those of ordinary skill in the art can understand that all or part of the steps in the various methods of the above embodiments can be completed by a computer program, or by controlling related hardware through a computer program. The computer program can be stored in a computer-readable storage medium and loaded and executed by a processor.
[0088] Therefore, an embodiment of the present application further provides a storage medium, in which a computer program is stored, and the computer program can be loaded by a processor to execute the steps in any method provided by the embodiments of the present application.
[0089] Among them, the storage medium may include: read-only memory (ROM, Read Only Memory), random access memory (RAM, Random Access Memory), magnetic disk or optical disk, etc.
[0090] Since the computer program stored in the storage medium can execute the steps in any method provided by the embodiments of the present application, the beneficial effects achievable by the methods provided by the embodiments of the present application can be realized. For details, see the previous embodiments and will not be elaborated here.
[0091] After considering the specification and practicing the disclosed embodiments here, those skilled in the art will readily think of other implementation manners of the present application. The present application aims to cover any variations, uses or adaptations of the present application, and these variations, uses or adaptations follow the general principles of the present application and include the common knowledge or conventional technical means in the technical field not disclosed in the present application.
[0092] It should be understood that the present application is not limited to the embodiments described above and shown in the drawings, and various modifications and changes can be made without departing from its scope.
Claims
1. A method for upgrading a smart device, characterized in that: The method comprises: receiving target positioning information and device network configuration information sent by a network configuration terminal, the target positioning information being positioning information configured by the network configuration terminal and conforming to a target upgrade positioning policy; when the target upgrade positioning policy includes a predetermined upgrade positioning policy of a management server, the target positioning information includes device location information conforming to the predetermined upgrade positioning policy generated by the network configuration terminal through terminal positioning, the distance between the network configuration terminal and the smart device being less than a predetermined threshold, and the predetermined upgrade positioning policy being used to indicate a method for performing a device partition upgrade on the smart device; Establishing a network connection based on the device network configuration information; The target positioning information is sent to the management server via the network connection, and the management server performs device partition upgrade on the smart device according to the target upgrade positioning strategy based on the target positioning information.
2. The method according to claim 1, characterized in that When the partition upgrade strategy includes the target upgrade positioning strategy customized on the distribution network terminal, the target positioning information includes the device location information and the target upgrade positioning strategy customized on the distribution network terminal, and the predetermined upgrade positioning strategy is used to indicate the method for performing device partition upgrade on the smart device.
3. The method according to claim 1, characterized in that The network configuration information includes network access information of the network device; The establishing of a network connection based on the network distribution information includes: The device is connected to the network device based on the network access information to establish a network connection through the network device.
4. The method according to claim 1, wherein The sending the target positioning information to the management server through the network connection includes: A device binding request carrying the target positioning information and the account binding information is sent to the management server through the network connection, so that the management server performs account binding on the smart device based on the account binding information and saves the target positioning information after binding.
5. The method according to claim 1, wherein Before sending the target positioning information to the management server through the network connection, the method further includes: Receiving the positioning management policy issued by the management server; Perform positioning verification on the target positioning information according to the positioning management strategy.
6. The method according to claim 5, characterized in that The method further comprises: If the positioning verification of the target positioning information fails, generating a positioning calibration instruction according to the verification result; The positioning calibration instruction is sent to the network distribution terminal, so that the network distribution terminal returns the target positioning information that complies with the positioning management policy according to the positioning calibration instruction.
7. A smart device upgrade device, characterized in that: The device comprises: a receiving module, configured to receive target positioning information and device network configuration information sent by a network configuration terminal, wherein the target positioning information is positioning information configured by the network configuration terminal and conforming to a target upgrade positioning policy; when the target upgrade positioning policy includes a predetermined upgrade positioning policy of a management server, the target positioning information includes device location information generated by the network configuration terminal through terminal positioning that conforms to the predetermined upgrade positioning policy; the distance between the network configuration terminal and the smart device is less than a predetermined threshold, and the predetermined upgrade positioning policy is used to indicate a method for performing a device partition upgrade on the smart device; A connection module, configured to establish a network connection based on the device network configuration information; The upgrade setting module is used to send the target positioning information to the management server through the network connection, and the management server performs device partition upgrade on the smart device according to the target upgrade positioning strategy based on the target positioning information.
8. A storage medium having a computer program stored thereon, which, when executed by a processor of a computer, causes the computer to execute the method according to any one of claims 1 to 6.
9. An electronic device, characterized in that: include: a memory storing a computer program; A processor reads a computer program stored in a memory to execute the method according to any one of claims 1 to 6.
Citation Information
Patent Citations
System upgrading method and device, storage medium and intelligent wearable equipment
CN111399874A
Software upgrading method and device, electronic equipment and storage medium
CN112130883A