Object model downloading method and device, storage medium and electronic equipment

By sharing the material model between terminals in the same LAN, network congestion problems when multiple terminals download the same material model at the same time are solved, which improves download speed and improves user experience.

CN119449787APending Publication Date: 2025-02-14MIDEA GROUP WUHAN REFRIGERATION EQUIPMENT CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310947715.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-07-28
Publication Date
2025-02-14

AI Technical Summary

Technical Problem

When multiple terminals download the same object model at the same time, the server interface network is congested, resulting in a decrease in download speed and affecting the user experience.

Method used

By sharing the material model among terminals in the same LAN, direct download requests to the server are reduced, so that the LAN can quickly complement each other to obtain the required material model.

Benefits of technology

It reduces network congestion caused by various terminals when downloading object models through the server, improves the download speed of object models, and improves the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119449787A_ABST
    Figure CN119449787A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides an object model downloading method and device, a storage medium and electronic equipment, the method is executed on a local terminal, and the method comprises the following steps: determining at least one piece of to-be-controlled equipment controlled by the local terminal; at least one first object model shared by a target terminal is obtained, the at least one first object model is downloaded from a server by the target terminal, each first object model is matched with the corresponding to-be-controlled device, and the target terminal and the local terminal belong to the same local area network. According to the technical scheme provided by the embodiment of the invention, the object model downloading speed can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of data downloading, and in particular to a method, device, storage medium and electronic device for downloading a physical model. Background Art

[0002] Terminals (such as air conditioner wire controllers) can download one or more object models from the server, allowing users to uniformly control different smart products in the home through the terminal. If multiple terminals in the same home are applying to download the same object model from the server, high concurrent applications will cause network congestion at the server interface, thereby reducing the download speed of the object model by the terminal and the user experience. Based on this, how to improve the download speed of the object model is a technical problem that needs to be solved urgently. Summary of the invention

[0003] The embodiments of the present application provide a method, device, storage medium and electronic device for downloading a physical model. The technical solution provided in the present application can improve the download speed of the physical model to a certain extent.

[0004] Other features and advantages of the present application will become apparent from the following detailed description, or may be learned in part by the practice of the present application.

[0005] According to a first aspect of an embodiment of the present application, a method for downloading a physical model is provided, which is executed on a local terminal, and includes: determining at least one device to be controlled that is controlled by the local terminal; obtaining at least one first physical model shared by a target terminal, and the at least one first physical model is downloaded by the target terminal from a server, wherein each first physical model matches the corresponding device to be controlled, and the target terminal and the local terminal belong to the same local area network.

[0006] In some embodiments of the present application, based on the aforementioned scheme, the server stores multiple versions of physical models configured for each device, and before obtaining at least one first physical model shared by the target terminal, the method also includes: downloading at least one second physical model from the server, wherein each second physical model matches the corresponding device to be controlled, and the second physical model is distinguishable from the first physical model.

[0007] In some embodiments of the present application, based on the aforementioned scheme, different versions of physical models of the same device configuration have different display effects in the local terminal, and downloading at least one second physical model from the server includes: determining hardware parameters of the local terminal, and the hardware parameters are used to characterize the hardware performance of the local terminal; based on the hardware parameters, downloading at least one second physical model from the server, and the display effect of the second physical model in the local terminal is adapted to the hardware parameters.

[0008] In some embodiments of the present application, based on the aforementioned scheme, different versions of physical models configured for the same device have different data packet sizes, and downloading at least one second physical model from the server includes: determining a network speed for communication between the local terminal and the server; based on the network speed, downloading at least one second physical model from the server, the data packet size of the second physical model being adapted to the network speed.

[0009] In some embodiments of the present application, based on the aforementioned scheme, after downloading at least one second object model from the server, the method also includes: displaying the display effect provided by the target object model through the local terminal, and the target object model is a second object model adapted to the hardware parameters of the local terminal.

[0010] In some embodiments of the present application, based on the aforementioned scheme, after downloading at least one second physical model from the server, the method also includes: determining the latest physical model resource list as the second physical model resource list, the physical model resource list being used to record the physical models downloaded by each terminal; broadcasting the second physical model resource list to other terminals in the local area network.

[0011] In some embodiments of the present application, based on the aforementioned scheme, the acquisition of at least one first physical model shared by the target terminal includes: obtaining the latest physical model resource list as the first physical model resource list, the physical model resource list being used to record the physical models downloaded by each terminal; determining from the first physical model resource list the first physical model not downloaded by the local terminal, and the target terminal where the first physical model not downloaded is located; and sending a request to the target terminal to share the at least one first physical model to obtain the at least one first physical model shared by the target terminal.

[0012] In some embodiments of the present application, based on the aforementioned scheme, after acquiring at least one first object model shared by the target terminal, the method also includes: displaying the display effect provided by the target object model through the local terminal, and the target object model is a first object model or a second object model adapted to the hardware parameters of the local terminal.

[0013] In some embodiments of the present application, based on the aforementioned solution, the method further includes: receiving a second object model sharing request sent by any other terminal; and sharing the second object model with the any other terminal based on the second object model sharing request.

[0014] According to the second aspect of an embodiment of the present application, a physical model downloading device is provided, which is arranged in a local terminal, and comprises: a determination unit, used to determine at least one device to be controlled controlled by the local terminal; an acquisition unit, used to acquire at least one first physical model shared by a target terminal, and the at least one first physical model is downloaded from a server by the target terminal, wherein each first physical model matches the corresponding device to be controlled, and the target terminal and the local terminal belong to the same local area network.

[0015] According to a third aspect of an embodiment of the present application, a computer-readable storage medium is provided, characterized in that at least one program code is stored in the computer-readable storage medium, and the at least one program code is loaded and executed by a processor to implement the operations performed by the method described in any one of the first aspects above.

[0016] According to a fourth aspect of an embodiment of the present application, an electronic device is provided, comprising one or more processors and one or more memories, wherein at least one program code is stored in the one or more memories, and the at least one program code is loaded and executed by the one or more processors to implement the operations performed by the method described in any one of the first aspects above.

[0017] The technical solution of the present application is executed on a local terminal, first determining at least one device to be controlled controlled by the local terminal; then obtaining at least one first physical model shared by the target terminal, wherein the at least one first physical model is downloaded by the target terminal from a server, wherein each first physical model matches the corresponding device to be controlled, and the target terminal and the local terminal belong to the same local area network. It can be seen that, through the technical solution of the present application, if the local terminal needs to download the required physical model, it is not only obtained by downloading from the server, but can be obtained through the physical model shared by the target terminal. Since in the present application, each terminal located in the same local area network can share the physical models downloaded by other terminals, so that each terminal can use the local area network to quickly complement the physical models required by each terminal. It can be understood that based on the technical solution of the present application, the network congestion of the server interface caused by each terminal downloading all the physical models required by each terminal through the server can be reduced, and thus the physical model download speed can be improved at least to a certain extent.

[0018] It should be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] The drawings herein are incorporated into the specification and constitute a part of the specification, showing embodiments consistent with the present application, and together with the specification, are used to explain the principles of the present application. Obviously, the drawings described below are only some embodiments of the present application, and for ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work. In the drawings:

[0020] Figure 1 A schematic diagram of a method for downloading a physical model according to an embodiment of the present application is shown;

[0021] Figure 2 A schematic diagram of a scenario for downloading a physical model according to an embodiment of the present application is shown;

[0022] Figure 3 A schematic diagram of a scenario for downloading a physical model according to an embodiment of the present application is shown;

[0023] Figure 4 A schematic diagram of a physical model resource list according to an embodiment of the present application is shown;

[0024] Figure 5 A schematic diagram of a detailed process of acquiring at least one first object model shared by a target terminal according to an embodiment of the present application is shown;

[0025] Figure 6 A schematic diagram of the overall process of downloading a physical model according to an embodiment of the present application is shown;

[0026] Figure 7 A block diagram of a device for downloading a physical model according to an embodiment of the present application is shown;

[0027] Figure 8 A schematic structural diagram of an electronic device according to an embodiment of the present application is shown. DETAILED DESCRIPTION

[0028] Example embodiments will now be described more fully with reference to the accompanying drawings. However, example embodiments can be implemented in many forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this application will be more comprehensive and complete and fully convey the concept of the example embodiments to those skilled in the art.

[0029] In addition, described feature, structure or characteristic can be combined in one or more embodiments in any suitable manner. In the following description, many specific details are provided to provide a full understanding of the embodiments of the present application. However, those skilled in the art will appreciate that the technical scheme of the present application can be put into practice without one or more of the specific details, or other methods, components, devices, steps, etc. can be adopted. In other cases, known methods, devices, realizations or operations are not shown or described in detail to avoid blurring the various aspects of the present application.

[0030] The block diagrams shown in the accompanying drawings are merely functional entities and do not necessarily correspond to physically independent entities. That is, these functional entities may be implemented in software form, or in one or more hardware modules or integrated circuits, or in different networks and / or processor devices and / or microcontroller devices.

[0031] The flowcharts shown in the accompanying drawings are only exemplary and do not necessarily include all the contents and operations / steps, nor must they be executed in the order described. For example, some operations / steps can be decomposed, and some operations / steps can be combined or partially combined, so the actual execution order may change according to actual conditions.

[0032] It should be noted that the "multiple" mentioned in this article refers to two or more. "And / or" describes the association relationship of the associated objects, indicating that there can be three relationships. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the associated objects before and after are in an "or" relationship.

[0033] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the objects used in this way can be interchanged where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those shown or described.

[0034] In order to make the purpose, technical solutions and advantages of this application clearer, the technical solutions in the embodiments of this application will be clearly and completely described below in conjunction with the drawings in the embodiments of this application. Obviously, the described embodiments are only part of the embodiments of this application, not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0035] Some embodiments of the present application will be described in detail below in conjunction with the accompanying drawings. In the absence of conflict, the following embodiments and features in the embodiments may be combined with each other.

[0036] See also Figure 1 , shows a flow chart of a method for downloading a physical model according to an embodiment of the present application. The method for downloading a physical model of the present application is executed on a local terminal, and specifically includes S110 to S120:

[0037] S110: Determine at least one device to be controlled that is controlled by the local terminal.

[0038] It should be noted that the terminals involved in this application (such as wire controllers, central controllers, etc.) can uniformly control different smart products in the user's home. For example, the terminal can be a wire controller for the air conditioner in the user's home. The wire controller can not only control the air conditioner, but also control the smart speakers, smart refrigerators, smart washing machines, smart curtains, etc. installed in the user's home.

[0039] It is understandable that the devices to be controlled include but are not limited to air conditioners, smart speakers, smart refrigerators, smart washing machines, smart curtains, etc. The local terminal can establish a connection relationship with each of the at least one device to be controlled, so that the local terminal can control each of the devices to be controlled with which the connection relationship is established after the object model download method of the present application.

[0040] Continue to see Figure 1 , S120, obtaining at least one first physical model shared by the target terminal, wherein the at least one first physical model is downloaded by the target terminal from the server, wherein each first physical model matches a corresponding device to be controlled, and the target terminal and the local terminal belong to the same local area network.

[0041] It should be noted that in the present application, the server mentioned can be an independent physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN, as well as big data and artificial intelligence platforms.

[0042] It should also be noted that in this application, the object model is a digital description of the product, which defines the functions of the product. The object model abstracts and summarizes the product functions of different brands and categories to form a "standard object model" to facilitate all parties to describe, control, and understand the product functions in a unified language. The abstract understanding of the object model is a data packet. After downloading and parsing the data packet, the terminal can draw the interaction style and functional interface of a specific product on the local interface. It can be understood that the digitization of the product into a object model greatly facilitates the unified output of various products on the terminal interface as a standardized device / service, and users can easily control all different smart products in the home in a unified terminal.

[0043] In order to make those skilled in the art better understand step S120, Figure 2 Give an example.

[0044] See also Figure 2 , showing a schematic diagram of a scenario for downloading a physical model according to an embodiment of the present application.

[0045] Figure 2 The corresponding scenario description is as follows: Terminals 1-4 are located in the same local area network, terminals 1-3 are other terminals, and terminal 4 is a local terminal. A communication link is established between terminals 1-3 and the server, and terminal 4 does not establish a communication link with the server (i.e., there is no external network). Physical model A1 and physical model A2 match air conditioner 1, physical model B1 and physical model B2 match air conditioner 2, physical model C1 and physical model C2 match air conditioner 3, physical model D1 and physical model D2 match air conditioner 4, and the devices to be controlled that terminal 4 needs to control include air conditioners 1-4.

[0046] from Figure 2 It can be seen that terminal 4 has no external network and cannot download object models from the server. Therefore, in the first stage, terminal 4 did not download any object models. However, since terminals 1-4 are located in the same local area network, in the second stage (i.e., the fast complementary stage), terminal 4 obtains object models A2, B2, and C2 from terminal 2, and obtains object model D2 from terminal 3. Therefore, in Figure 2 In the example, for terminal 4 as a local terminal, at least one first physical model includes physical model A2, physical model B2, physical model C2, and physical model D2, and the target terminal includes terminals 2-3.

[0047] It can be seen that, through the technical solution of the present application, even if the local terminal has not established a communication connection with the server, it can obtain the physical model it needs through the physical model shared by other terminals, thereby achieving control over each device to be controlled.

[0048] In some implementations of the present application, the server stores multiple versions of object models configured for each device.

[0049] It should be noted that the functions included in each version of the object model configured for each device are the same.

[0050] Exemplarily, the server may store physical model version 1, physical model version 2, and physical model version 3 configured for air conditioner A; physical model version 4, physical model version 5, and physical model version 6 configured for air conditioner B; physical model version 7, physical model version 8, and physical model version 9 configured for air conditioner C, etc. Among them, physical models 1-3 include the same functions, physical models 3-6 include the same functions, and physical models 7-9 include the same functions. In other words, if the functions included in physical model 1 are only turning off air conditioner A and turning on air conditioner A, then physical models 2-3 also only include the functions of turning off air conditioner A and turning on air conditioner A. It can be understood that for air conditioner A, the local terminal can download any one of physical model versions 1-3 to control air conditioner A.

[0051] In some implementations of the present application, before step S120, the following step S111 may also be performed:

[0052] S111, downloading at least one second physical model from the server, wherein each second physical model matches a corresponding device to be controlled, and the second physical model is distinguishable from the first physical model.

[0053] It should be noted that the local terminal can download at least one second object model from the server through a wireless network or a wired communication link.

[0054] In step S111, specific implementation methods of downloading at least one second object model in the server include at least the following three.

[0055] The first implementation method:

[0056] Different versions of object models configured for the same device have different display effects in the local terminal. A specific implementation of downloading at least one second object model from the server may be performed according to the following steps S1111A to S1112A:

[0057] S1111A: Determine hardware parameters of the local terminal, where the hardware parameters are used to characterize hardware performance of the local terminal.

[0058] It should be noted that the hardware parameters include but are not limited to the size of the local terminal, memory, etc. The better the hardware performance of the local terminal, the more it can adapt to the object model version with better display effect.

[0059] S1112A: Based on the hardware parameters, download at least one second object model from the server, wherein a display effect of the second object model in the local terminal is adapted to the hardware parameters.

[0060] Among them, different versions of object models configured for the same device have different display effects in the local terminal, which can be understood according to the following example.

[0061] Exemplarily, the physical model version 1, physical model version 2 and physical model version 3 configured for air conditioner A can be stored in the server, wherein the display effects corresponding to physical model versions 1-3 are different. Assume that the display effect corresponding to physical model version 1 is the best, and the display effect corresponding to physical model 3 is the worst. Then if physical model 3 is downloaded and parsed by the local terminal, the display effect presented in the local terminal is relatively simple. For example, when displaying the function of the current operating status of air conditioner A, only the characters "air conditioner A is turned on" are displayed on the display interface; if physical model 1 is downloaded and parsed by the local terminal, the display effect presented in the local terminal is relatively rich. For example, when displaying the function of the current operating status of air conditioner A, the air conditioner A can be displayed in the form of a color picture, animation, etc., in the form of an on state. It can be understood that the display effect provided by displaying physical model 1 in the local terminal can provide users with a better interactive experience.

[0062] In order to enable those skilled in the art to better understand steps S1111A to S1112A, Figure 2 Give an example.

[0063] Figure 2 The scenario illustrated in the figure is that there are terminals 1-4 in the user's home, and the same object model needs to be downloaded from the server. Terminal 1 is a 12.3-inch central control screen, terminal 2 is a 4-inch screen, terminal 3 is a 4-inch screen, and terminal 4 is a 3.1-inch screen. Terminals 1-3 are connected to the server for communication, terminal 4 has no external network, and no communication link is established with the server. Terminals 1-4 are located in the same local area network.

[0064] The server stores two versions of physical models configured for four devices, including physical model A1 and physical model A2 configured for air conditioner 1, physical model B1 and physical model B2 configured for air conditioner 2, physical model C1 and physical model C2 configured for air conditioner 3, and physical model D1 and physical model D2 configured for air conditioner 4. Among them, the display effect provided by physical model A1 is better than that provided by physical model A2, the display effect provided by physical model B1 is better than that provided by physical model B2, the display effect provided by physical model C1 is better than that provided by physical model C2, and the display effect provided by physical model D1 is better than that provided by physical model D2.

[0065] Among them, the devices to be controlled corresponding to terminals 1-4 all include air conditioners 1-4, and the physical models A1, B1, C1, and D1 are adapted to the hardware parameters of terminal 1; the physical models A2, B2, C2, and D2 are adapted to the hardware parameters of terminal 2; the physical models A2, B2, C2, and D2 are adapted to the hardware parameters of terminal 3; and the physical models A2, B2, C2, and D2 are adapted to the hardware parameters of terminal 4.

[0066] from Figure 2 It can be seen that in the first stage, each terminal 1-3 will uniformly apply to the server to download the same physical model, but the principle followed during the download process is: download the physical model that matches its own hardware parameters from the server. Due to differences in network speed, the speed at which terminals 1-3 download physical models from the server varies. The faster one will download multiple physical models that match its own hardware parameters, while the slower one may only download one physical model that matches its own hardware parameters. In the end, terminal 1 downloaded physical model A1 and physical model B1 from the server, terminal 2 downloaded physical model A2, physical model B2 and physical model C2 from the server, and terminal 3 downloaded physical model D2 from the server. Because there is no communication link between terminal 4 and the server, it is unable to download any physical model from the server.

[0067] Therefore, if the local terminal is terminal 1, then the at least one second object model downloaded by the local terminal from the server includes object model A1 and object model B1, and the display effects provided by object model A1 and object model B1 are both adapted to the hardware parameters of the local terminal.

[0068] In some implementations, after the local terminal downloads at least one second object model from the server, the following step S100 may be performed:

[0069] S100: displaying a display effect provided by a target object model through the local terminal, wherein the target object model is a second object model adapted to hardware parameters of the local terminal.

[0070] For example, in Figure 2 In the embodiment, if the local terminal is terminal 1, then at least one second physical model downloaded by terminal 1 from the server includes physical model A1 and physical model B1. After downloading physical model A1 and physical model B1, terminal 1 can parse the data packets of physical model A1 and physical model B1, thereby displaying the parsed data on the display interface of terminal 1, so that the user can control air conditioner 1 based on physical model A1 and control air conditioner 2 based on physical model B1.

[0071] It can be understood that the second object model downloaded through the above-mentioned first implementation method can make the display effect of each object model in the local terminal adapt to the hardware parameters of the local terminal, which is equivalent to being able to flexibly customize the download of an adaptive object model for the local terminal, thereby enhancing the user's experience of the local terminal.

[0072] The second implementation of step S111:

[0073] Different versions of object models configured on the same device have different data packet sizes. A specific implementation of downloading at least one second object model from the server may be performed according to the following steps S1111B to S1112B:

[0074] S1111B, determining a network speed for communication between the local terminal and the server.

[0075] S1112B, based on the network speed, download at least one second object model from the server, wherein the data packet size of the second object model is adapted to the network speed.

[0076] Among them, the data packet sizes of different versions of the object models configured for the same device are different. It can be understood that the display effects provided by different versions of the object models configured for the same device are different, which makes the data packet sizes of different versions of the object models configured for the same device different. Of course, the sizes of the data packets of each object model stored in the server are also different.

[0077] Exemplarily, two versions of physical models are configured for the air conditioner 1, including physical model 1-2, wherein the display effect provided by physical model 1 is better than that of physical model 2. It can be understood that the data packet of physical model 1 is larger than that of physical model 2.

[0078] In order to enable those skilled in the art to better understand the above steps S1111B to S1112B, Figure 3 Give an example.

[0079] See also Figure 3 , showing a schematic diagram of a scenario for downloading a physical model according to an embodiment of the present application.

[0080] Figure 3 The corresponding scenario is: there are terminals 1-4 in the user's home, and the same object model needs to be downloaded from the server. Terminal 1 is a 12.3-inch central control screen, terminal 2 is a 4-inch screen, terminal 3 is a 4-inch screen, and terminal 4 is a 3.1-inch screen. A communication link is established between terminals 1-3 and the server. Terminal 4 has no external network and no communication link is established with the server. Terminals 1-4 are located in the same local area network.

[0081] The server stores two versions of physical models configured for four devices, including physical model A1 and physical model A2 configured for air conditioner 1, physical model B1 and physical model B2 configured for air conditioner 2, physical model C1 and physical model C2 configured for air conditioner 3, and physical model D1 and physical model D2 configured for air conditioner 4, wherein the data packet sizes of physical model A1, physical model A2, physical model B1, and physical model B2 are adapted to the network speed corresponding to terminal 1; physical model C1 and physical model C2 are adapted to the network speed corresponding to terminal 2; physical model D1 and physical model D2 are adapted to the network speed corresponding to terminal 3.

[0082] from Figure 3 It can be seen that in the first stage, each terminal 1-3 will uniformly apply to the server to download the same physical model, but the principle followed is: download the physical model that matches the corresponding network speed from the server. Therefore, in the first stage, terminal 1 downloads the complete physical model configured for air conditioner 1, namely physical model A1 and physical model A2, and the complete physical model configured for air conditioner 2, namely physical model B1 and physical model B2 from the server; terminal 2 downloads the complete physical model for air conditioner 3, namely physical model C1 and physical model C2 from the server; terminal 3 downloads the complete physical model configured for air conditioner 4, namely physical model D1 and physical model D2. Because there is no communication link between terminal 4 and the server, it is impossible to download any physical model from the server.

[0083] Therefore, if the terminal 1 is a local terminal, the at least one second object model downloaded by the local terminal from the server includes an object model A1, an object model A2, an object model B1, and an object model B2.

[0084] In some implementations, after step S1112B, step S100 may also be performed:

[0085] S100: displaying a display effect provided by a target object model through the local terminal, wherein the target object model is a second object model adapted to hardware parameters of the local terminal.

[0086] It is understandable that if the local terminal needs to control a certain device, it only needs to display one physical model from multiple versions of physical models configured for this device. Therefore, in some embodiments, if the at least one second physical model downloaded by the local terminal from the server includes physical models of different versions configured for the same device, the physical model adapted to the hardware parameters of the local terminal can be displayed on the local terminal.

[0087] Exemplarily, assuming that at least one second physical model downloaded by the local terminal from the server includes physical model A1 and physical model A2 configured for air conditioner 1, and physical model B1 and physical model B2 configured for air conditioner 2, wherein physical model A1 is adapted to the hardware parameters of terminal 1, and physical model B1 is adapted to the hardware parameters of terminal 1, then after terminal 1 completes downloading physical model A1, physical model A2, physical model B1, and physical model B2, it can only parse the data packets of physical model A1 and physical model B1, thereby displaying the parsed data on the display interface of terminal 1, so that the user can control air conditioner 1 based on physical model A1, and control air conditioner 2 based on physical model B1.

[0088] A third implementation of step S111:

[0089] Different versions of object models configured for the same device have different display effects on the local terminal and different data packet sizes. The specific implementation of downloading at least one second object model from the server can be performed according to the following steps S1111C to S1112C:

[0090] S1111C, determining hardware parameters of the local terminal and determining a network speed for communication between the local terminal and the server, wherein the hardware parameters are used to characterize hardware performance of the local terminal.

[0091] S1112C, based on the hardware parameters and the network speed, download at least one second physical model from the server, the display effect of the second physical model in the local terminal is adapted to the hardware parameters, and the data packet size of the second physical model is adapted to the network speed.

[0092] Exemplarily, if at least one second object model is downloaded from the server according to the third embodiment, then Figure 3 In the scenario shown, if terminal 1 is taken as the local terminal, and the physical models A1, B1, C1, and D1 are compatible with the hardware performance of terminal 1, then in the first stage, the physical models downloaded from the server by terminal 1 may be physical models A1 and B1.

[0093] Continue to see Figure 1 In some implementations, after step S111, the following steps S200 to S300 may also be performed:

[0094] S200: Determine the latest physical model resource list as the second physical model resource list, where the physical model resource list is used to record physical models downloaded by various terminals.

[0095] S300: broadcast the second object model resource list to other terminals in the local area network.

[0096] In some implementations, the specific implementation of determining the latest physical model resource list as the second physical model resource list is: when the second physical model is downloaded, the physical model resource list corresponding to the second physical model is updated as the second physical model resource list.

[0097] In order to make the art better understand the object model resource list in this embodiment, the following will be combined with Figure 4 Give an example.

[0098] See also Figure 4 , showing a schematic diagram of a physical model resource list according to an embodiment of the present application.

[0099] Figure 4 The corresponding scenario is: when the terminal downloads the object model from the server, it will download the data package and map (i.e., the object model resource list) of the object model at the same time. The map is used to record the object models downloaded by each terminal, including the data package resources of the downloaded object model and the address list of the downloaded object model.

[0100] When terminals 1-3 located in the same local area network are downloading the same physical model from the server, if terminal 1 is a local terminal, terminal 1 will not only download the data packet of physical model A1 from the server, but also download the map (i.e., physical model resource list) corresponding to physical model A1. After terminal 1 completes downloading physical model A1, it will update the map, that is, it will determine a new physical model resource list as the second physical model resource list, and then broadcast the second physical model resource list in the local area network, so that terminals 2-4 can obtain the second physical model resource list.

[0101] In some embodiments, the specific implementation method of determining the latest physical model resource list is: when the second physical model is downloaded, the server updates the physical model resource list corresponding to the second physical model, and then sends the updated physical model resource list to the local terminal as the second physical model resource list.

[0102] Exemplarily, if terminal 1 completes downloading object model A1, the server will update the object model resource list corresponding to object model A1, and send the updated object model resource list to terminal 1, so that terminal 1 can determine the new object model resource list as the second object model resource list.

[0103] In some embodiments, the specific implementation method of determining the latest physical model resource list is: when the local terminal completes downloading the second physical model, it updates the pre-configured physical model resource list, thereby using the updated physical model resource list as the second physical model resource list to broadcast to other terminals in the local area network.

[0104] In some implementations, after determining the second physical model resource list, the second physical model resource list may be converted into a hash value, and then broadcast based on the hash value to improve the security of broadcasting the second physical model resource list.

[0105] Continue to see Figure 1 , S120, obtaining at least one first physical model shared by the target terminal, wherein the at least one first physical model is downloaded by the target terminal from the server, wherein each first physical model matches a corresponding device to be controlled, and the target terminal and the local terminal belong to the same local area network.

[0106] It should be noted that the first physical model can be defined according to actual conditions. For example, a physical model that is adapted to the hardware parameters of the local terminal can be used as the first physical model, or the physical model with the worst display effect provided by different versions of physical models configured for the same device can be used as the first physical model, or the physical model with the best display effect provided by different versions of physical models configured for the same device can be used as the first physical model, or all different versions of physical models configured for the same device can be used as the first physical model. Specifically, this application does not make any limitation here.

[0107] In some implementations, the specific implementation of acquiring at least one first object model shared by the target terminal may be as follows: Figure 5 Follow the steps shown.

[0108] See also Figure 5 , shows a detailed flow diagram of obtaining at least one first object model shared by a target terminal according to an embodiment of the present application, including steps S121 to S123:

[0109] S121, obtaining the latest physical model resource list as a first physical model resource list, wherein the physical model resource list is used to record physical models downloaded by various terminals.

[0110] In some implementations, the number of the first object model resource list may be one or more.

[0111] For example, if Figure 2Terminal 1 in the figure is a local terminal. After terminal 2-3 completes downloading the physical model in the first stage, it will determine a new physical model resource list corresponding to each downloaded physical model, and will broadcast the new physical model resource list through the local area network, so that terminal 1 can obtain the new physical model resource list broadcast by other terminals as the first physical model resource list.

[0112] It is understandable that the first object model resource list obtained by terminal 1 will record the object models downloaded in terminals 2-3, so that terminal 1 can know the corresponding storage locations of object model A2, object model B2, object model C2, and object model D2 in other terminals.

[0113] Continue to see Figure 5 , S122, determining from the first object model resource list the first object model that has not been downloaded by the local terminal, and the target terminal where the first object model that has not been downloaded is located.

[0114] Continue to see Figure 5 , S123, sending a request to the target terminal to share the at least one first object model to obtain the at least one first object model shared by the target terminal.

[0115] In order to make those skilled in the art better understand steps S122 to S123, Figure 2 and Figure 3 Give an example.

[0116] exist Figure 2 In the embodiment, terminal 1 is used as the local terminal. Terminal 1 uses the physical model with the worst display effect provided by different versions of physical models configured for the same device as the first physical model. That is to say, for different versions of physical models configured by the server for air conditioners 1-4, terminal 1 uses physical models C2 and physical model D2 among the physical models that have not been downloaded as the first physical model. This method can improve the efficiency of downloading physical models.

[0117] Therefore, in the second stage (i.e., the fast sharing object model stage), terminal 1 can send a request to terminal 2 to share object model C2 to share object model C2 in terminal 2; terminal 1 can send a request to terminal 3 to share object model D2 to share object model D2 in terminal 3.

[0118] exist Figure 3In the figure, terminal 1 is taken as the local terminal, and the various object models stored in the server are object model A1, object model B1, object model C1, and object model D1 that are adapted to the hardware parameters of terminal 1; object model A1, object model B1, object model C1, and object model D1 that are adapted to the hardware parameters of terminal 2; object model A1, object model B1, object model C1, and object model D1 that are adapted to the hardware parameters of terminal 3; and object model A2, object model B2, object model C2, and object model D2 that are adapted to the hardware parameters of terminal 4.

[0119] Among them, terminal 1 uses the physical model that is compatible with the hardware parameters of the local terminal as the first physical model, that is, terminal 1 uses physical model C1 and physical model D1 among the physical models that have not been downloaded as the first physical model. This method can improve the display effect and thus enhance the user experience.

[0120] Therefore, in the second stage (i.e., the fast sharing object model stage), terminal 1 can send a request to terminal 2 to share object model C1 to share object model C1 in terminal 2; terminal 1 can send a request to terminal 3 to share object model D1 to share object model D1 in terminal 3.

[0121] In some implementations, after the above step S123, that is, after obtaining at least one first object model shared by the target terminal, the following step S130 may also be performed:

[0122] S130: Displaying, through the local terminal, a display effect provided by the target object model, where the target object model is a first object model or a second object model adapted to hardware parameters of the local terminal.

[0123] It is understandable that if at least one first physical model or at least one second physical model downloaded by the local terminal includes physical models of different versions for the same device, only the physical model adapted to its hardware parameters may be displayed in the local terminal.

[0124] In some embodiments of the present application, a physical model list can be pre-determined in the local terminal, and the physical model list records the various physical models that the local terminal needs to download. If the local terminal determines that the union of at least one second physical model and at least one first physical model obtained does not satisfy the physical model list after obtaining at least one first physical model, then the local terminal can continue to download physical models from the server or other terminals to complete the physical model list.

[0125] For example, Figure 2As shown, assuming that terminal 2 is a local terminal, if the object model list determined by terminal 2 includes object model A1, object model B1, object model C1, and object model D1, terminal 2 downloads object model A2, object model B2, and object model C2 from the server in the first stage, and obtains object model D2 from terminal 3 in the second stage. It can be seen that the various object models in the object model list of terminal 2 have not been downloaded. Then terminal 2 can obtain object model A1 and object model B1 from terminal 1 in the third stage (i.e., the stage of completing the object model list). Since object model C1 and object model D1 have not been downloaded in terminals 1-4, terminal 2 can continue to download object model C1 and object model D1 from the server to obtain a complete object model list.

[0126] In some implementations of the present application, after obtaining at least one first object model, if the local terminal continues to obtain other object models, the object models displayed in the local terminal can be refreshed according to the display effects provided by each object model after obtaining the other object models.

[0127] For example, Figure 2 As shown, after terminal 2 obtains object model A1 and object model B1 in the third stage, object model A2 and object model B2 originally displayed in the second stage are refreshed to achieve the display effect provided by object model A1 and object model B1 presented in the display interface of terminal 2.

[0128] In some implementations of the present application, the following steps S1 to S2 may also be performed:

[0129] S1, receiving a second object model sharing request sent by any other terminal.

[0130] It is understandable that after downloading at least one second object model, the local terminal broadcasts the second object model resource list to other terminals, so if other terminals need to download the second object model in the local terminal, they will send a second object model sharing request to the local terminal.

[0131] S2: Based on the second object model sharing request, share the second object model with any other terminal.

[0132] For example, in Figure 2 In the example, if the local terminal is terminal 1, when terminal 1 receives a request for sharing object model C2 sent by terminal 3, terminal 1 will share the object model C2 with terminal 3.

[0133] In order to enable those skilled in the art to better understand the technical solution of the present application, Figure 6 The overall process of an embodiment of the present application is described.

[0134] See also Figure 6 , showing a schematic diagram of the overall process of downloading a physical model according to an embodiment of the present application.

[0135] S10, the local terminal downloads the object model from the server.

[0136] S20, determining whether at least one second object model has been downloaded. If at least one second object model has been downloaded, executing step S30.

[0137] S30, determining the latest physical model resource list as the second physical model resource list, broadcasting the second physical model resource list to the local area network, and displaying the second physical model adapted to the hardware parameters.

[0138] S40, determining whether the first object model resource list broadcasted by other terminals is received, and if received, proceeding to step S50.

[0139] S50, determining whether the received first object model resource list contains the first object model that has not been downloaded by the local terminal, and if so, proceeding to step S60.

[0140] S60: Send a sharing request to a target terminal where the first object model is located, so as to obtain the shared first object model from the target terminal.

[0141] S70: Displaying a first physical model adapted to the hardware parameters on the local terminal.

[0142] In the technical solutions provided in some embodiments of the present application, the local terminal first determines at least one device to be controlled by the local terminal; then obtains at least one first physical model shared by the target terminal, and the at least one first physical model is downloaded by the target terminal from the server, wherein each first physical model matches the corresponding device to be controlled, and the target terminal and the local terminal belong to the same local area network. Through the technical solution of the present application, at least the following beneficial effects can be achieved:

[0143] On the one hand, if the local terminal needs to download the required object model, it does not have to be obtained by downloading from the server, but can be obtained through the object model shared by the target terminal. Since in this application, each terminal located in the same local area network can share the object model downloaded by other terminals, so that each terminal can use the local area network to quickly complement the object model required by each terminal. It can be understood that based on the technical solution of this application, it can reduce the network congestion of the server interface caused by each terminal downloading all the object models required by each terminal through the server, and thus at least to a certain extent, it can improve the download speed of the object model.

[0144] Secondly, in the process of obtaining the object model, you can choose to obtain a version of the object model that is compatible with the hardware performance of the local terminal, so that the object model finally displayed on the local terminal perfectly matches the local terminal, improving the user experience.

[0145] On the third aspect, through the technical solution of fast sharing of object models in a local area network adopted in this application, terminals that have not established a communication link with the server can also obtain the object model.

[0146] Based on the same inventive concept, an embodiment of the present application provides a physical model downloading device, which is arranged in a local terminal and can be used to execute the physical model downloading method in the above embodiment of the present application. For details not disclosed in the embodiment of the present application, please refer to the embodiment of the physical model downloading method in the above embodiment of the present application.

[0147] See also Figure 7 , shows a block diagram of a physical model downloading device according to an embodiment of the present application.

[0148] like Figure 7 As shown, a physical model downloading device 700 according to an embodiment of the present application includes: a determining unit 701 and an acquiring unit 702 .

[0149] Among them, the determination unit 701 is used to determine at least one device to be controlled controlled by the local terminal; the acquisition unit 702 is used to acquire at least one first physical model shared by the target terminal, and the at least one first physical model is downloaded by the target terminal from the server, wherein each first physical model matches the corresponding device to be controlled, and the target terminal and the local terminal belong to the same local area network.

[0150] In some embodiments of the present application, based on the aforementioned scheme, the server stores multiple versions of physical models configured for each device, and the physical model downloading device also includes a downloading unit, which is used to: download at least one second physical model from the server, wherein each second physical model matches the corresponding device to be controlled, and the second physical model is distinguishable from the first physical model.

[0151] In some embodiments of the present application, based on the aforementioned scheme, different versions of physical models of the same device configuration have different display effects in the local terminal, and the download unit is also used to: determine the hardware parameters of the local terminal, and the hardware parameters are used to characterize the hardware performance of the local terminal; based on the hardware parameters, download at least one second physical model from the server, and the display effect of the second physical model in the local terminal is adapted to the hardware parameters.

[0152] In some embodiments of the present application, based on the aforementioned scheme, different versions of the physical model of the same device configuration have different data packet sizes, and the download unit is also used to: determine the network speed of communication between the local terminal and the server; based on the network speed, download at least one second physical model from the server, and the data packet size of the second physical model is adapted to the network speed.

[0153] In some embodiments of the present application, based on the aforementioned scheme, the object model downloading device in the present application also includes a display unit, which is used to: display the display effect provided by the target object model through the local terminal, and the target object model is a second object model adapted to the hardware parameters of the local terminal.

[0154] In some embodiments of the present application, based on the aforementioned scheme, the physical model downloading device of the present application also includes a broadcasting unit, which is used to: after downloading at least one second physical model from the server, determine the latest physical model resource list as the second physical model resource list, and the physical model resource list is used to record the physical models downloaded by each terminal; broadcast the second physical model resource list to other terminals in the local area network.

[0155] In some embodiments of the present application, based on the aforementioned scheme, the acquisition unit 702 is also used to: obtain the latest physical model resource list as a first physical model resource list, the physical model resource list being used to record the physical models downloaded by each terminal; determine from the first physical model resource list the first physical model that has not been downloaded by the local terminal, and the target terminal where the first physical model that has not been downloaded is located; and send a request to the target terminal to share the at least one first physical model to obtain at least one first physical model shared by the target terminal.

[0156] In some embodiments of the present application, based on the aforementioned scheme, the display unit is also used to: display the display effect provided by the target object model through the local terminal, and the target object model is a first object model or a second object model adapted to the hardware parameters of the local terminal.

[0157] In some embodiments of the present application, based on the aforementioned scheme, the object model downloading device of the present application also includes a receiving unit, which is used to: receive a second object model sharing request sent by any other terminal; based on the second object model sharing request, share the second object model with any other terminal.

[0158] Based on the same inventive concept, an embodiment of the present application further provides a computer-readable storage medium, in which at least one computer program instruction is stored. The at least one computer program instruction is loaded and executed by a processor to implement the operations performed by the aforementioned method.

[0159] Based on the same inventive concept, an embodiment of the present application also provides an electronic device.

[0160] See also Figure 8 , shows a schematic diagram of the structure of an electronic device according to an embodiment of the present application, including one or more memories 804, one or more processors 802 and at least one computer program (computer program instruction) stored in the memory 804 and executable on the processor 802, and the processor 802 implements the method described above when executing the computer program.

[0161] Among them, Figure 8 In the embodiment of the present invention, a bus architecture (represented by bus 800) is shown, which may include any number of interconnected buses and bridges, and bus 800 links various circuits including one or more processors represented by processor 802 and memory represented by memory 804. Bus 800 may also link various other circuits such as peripherals, voltage regulators, and power management circuits, which are well known in the art and are therefore not further described herein. Bus interface 805 provides an interface between bus 800 and receiver 801 and transmitter 803. Receiver 801 and transmitter 803 may be the same element, namely a transceiver, providing a unit for communicating with various other devices over a transmission medium. Processor 802 is responsible for managing bus 800 and general processing, while memory 804 may be used to store data used by processor 802 when performing operations.

[0162] The functions described herein may be implemented in hardware, software executed by a processor, firmware, or any combination thereof. If implemented in software executed by a processor, the functions may be stored as one or more instructions or codes on a computer-readable medium or transmitted via a computer-readable medium. Other examples and implementations are within the scope and spirit of the present application and the appended claims. For example, due to the nature of software, the functions described above may be implemented using software executed by a processor, hardware, firmware, hard wiring, or a combination of any of these. In addition, each functional unit may be integrated into a processing unit, each unit may exist physically separately, or two or more units may be integrated into one unit.

[0163] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division of the units can be a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.

[0164] The units described as separate components may or may not be physically separated, and the components of the control device may or may not be physical units, that is, they may be located in one place or distributed in multiple units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.

[0165] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art or all or part of the technical solution, can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, disk or optical disk, etc., various media that can store computer program instructions.

[0166] The above description is only an embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various modifications and variations. Any modification, equivalent substitution, improvement, etc. made within the spirit and principle of the present application shall be included in the scope of the claims of the present application.

Claims

1. A method for downloading a physical model, characterized in that: The method is executed on a local terminal, and comprises: Determining at least one device to be controlled that is controlled by the local terminal; At least one first physical model shared by a target terminal is obtained, wherein the at least one first physical model is downloaded by the target terminal from a server, wherein each first physical model matches a corresponding device to be controlled, and the target terminal and the local terminal belong to the same local area network.

2. The method according to claim 1, characterized in that The server stores multiple versions of object models configured for each device. Before acquiring at least one first object model shared by the target terminal, the method further includes: At least one second physical model is downloaded from the server, wherein each second physical model matches a corresponding device to be controlled, and the second physical model is distinguishable from the first physical model.

3. The method according to claim 2, characterized in that Different versions of object models of the same device configuration have different display effects in the local terminal, and downloading at least one second object model from the server includes: Determining hardware parameters of the local terminal, where the hardware parameters are used to characterize hardware performance of the local terminal; Based on the hardware parameters, at least one second object model is downloaded from the server, and a display effect of the second object model in the local terminal is adapted to the hardware parameters.

4. The method according to claim 2, characterized in that: Different versions of object models configured for the same device have different data packet sizes, and downloading at least one second object model from the server includes: Determining a network speed for communication between the local terminal and the server; Based on the network speed, at least one second object model is downloaded from the server, and the data packet size of the second object model is adapted to the network speed.

5. The method according to claim 2, characterized in that: After downloading at least one second object model from the server, the method further includes: The display effect provided by the target object model is displayed through the local terminal, and the target object model is a second object model adapted to the hardware parameters of the local terminal.

6. The method according to claim 2, characterized in that After downloading at least one second object model from the server, the method further includes: Determine the latest physical model resource list as the second physical model resource list, wherein the physical model resource list is used to record physical models downloaded by each terminal; Broadcast the second object model resource list to other terminals in the local area network.

7. The method according to claim 1, characterized in that The acquiring at least one first object model shared by the target terminal includes: Obtaining the latest physical model resource list as the first physical model resource list, wherein the physical model resource list is used to record physical models downloaded by each terminal; Determine, from the first object model resource list, the first object model that has not been downloaded by the local terminal, and the target terminal where the first object model that has not been downloaded is located; A request for sharing the at least one first object model is sent to the target terminal to obtain the at least one first object model shared by the target terminal.

8. The method according to claim 2, characterized in that: After acquiring at least one first object model shared by the target terminal, the method further includes: The display effect provided by the target object model is displayed through the local terminal, and the target object model is a first object model or a second object model adapted to the hardware parameters of the local terminal.

9. The method according to claim 2, characterized in that: The method further comprises: receiving a second object model sharing request sent by any other terminal; Based on the second object model sharing request, the second object model is shared with any other terminal.

10. A device for downloading a physical model, characterized in that: The device is arranged at a local terminal, and comprises: A determining unit, configured to determine at least one device to be controlled that is controlled by the local terminal; An acquisition unit is used to acquire at least one first physical model shared by a target terminal, wherein the at least one first physical model is downloaded by the target terminal from a server, wherein each first physical model matches a corresponding device to be controlled, and the target terminal and the local terminal belong to the same local area network.

11. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores at least one program code, and the at least one program code is loaded and executed by a processor to implement the operations performed by the method according to any one of claims 1 to 9.

12. An electronic device, characterized in that: The method comprises one or more processors and one or more memories, wherein at least one program code is stored in the one or more memories, and the at least one program code is loaded and executed by the one or more processors to implement the method according to any one of claims 1 to 9.