CN116360584A - Virtual target product generation method and device, storage medium and electronic device - Google Patents
Virtual target product generation method and device, storage medium and electronic device Download PDFInfo
- Publication number
- CN116360584A CN116360584A CN202211675714.3A CN202211675714A CN116360584A CN 116360584 A CN116360584 A CN 116360584A CN 202211675714 A CN202211675714 A CN 202211675714A CN 116360584 A CN116360584 A CN 116360584A
- Authority
- CN
- China
- Prior art keywords
- product
- function
- generated
- model
- application function
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 44
- 238000003860 storage Methods 0.000 title claims abstract description 12
- 230000006870 function Effects 0.000 claims description 442
- 238000004891 communication Methods 0.000 claims description 9
- 238000011161 development Methods 0.000 claims description 8
- 230000008569 process Effects 0.000 description 11
- 238000005406 washing Methods 0.000 description 9
- 238000004590 computer program Methods 0.000 description 7
- 238000010586 diagram Methods 0.000 description 6
- 230000003993 interaction Effects 0.000 description 5
- 238000005516 engineering process Methods 0.000 description 4
- 239000000126 substance Substances 0.000 description 4
- 238000012360 testing method Methods 0.000 description 4
- 244000025254 Cannabis sativa Species 0.000 description 3
- 235000012766 Cannabis sativa ssp. sativa var. sativa Nutrition 0.000 description 3
- 235000012765 Cannabis sativa ssp. sativa var. spontanea Nutrition 0.000 description 3
- 229920000742 Cotton Polymers 0.000 description 3
- 235000009120 camo Nutrition 0.000 description 3
- 235000005607 chanvre indien Nutrition 0.000 description 3
- 238000001514 detection method Methods 0.000 description 3
- 239000011487 hemp Substances 0.000 description 3
- 238000004378 air conditioning Methods 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 2
- 238000007405 data analysis Methods 0.000 description 2
- 238000013461 design Methods 0.000 description 2
- 230000006872 improvement Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 230000001360 synchronised effect Effects 0.000 description 2
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 description 2
- 230000006978 adaptation Effects 0.000 description 1
- 238000004458 analytical method Methods 0.000 description 1
- 238000004140 cleaning Methods 0.000 description 1
- 238000010411 cooking Methods 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000011835 investigation Methods 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000004806 packaging method and process Methods 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 239000000779 smoke Substances 0.000 description 1
- 238000010408 sweeping Methods 0.000 description 1
- 238000012795 verification Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/011—Arrangements for interaction with the human body, e.g. for user immersion in virtual reality
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/2803—Home automation networks
- H04L12/2807—Exchanging configuration information on appliance services in a home automation network
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Automation & Control Theory (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Stored Programmes (AREA)
Abstract
The application discloses a virtual target product generation method, a virtual target product generation device, a storage medium and an electronic device, and relates to the technical field of smart families, wherein the virtual target product generation method comprises the following steps: obtaining product types of products to be generated, wherein different product types correspond to different object models; obtaining an object model corresponding to the product class, wherein the object model corresponding to the product class comprises a device function model and an application function model; determining the product function of the product to be generated according to the equipment function model, and determining the application function of the product to be generated according to the application function model; generating a virtual target product based on the product function of the product to be generated and the application function of the product to be generated, wherein the virtual target product represents a virtualized target product.
Description
Technical Field
The application relates to the technical field of smart families, in particular to a virtual target product generation method, a virtual target product generation device, a storage medium and an electronic device.
Background
At present, along with the continuous improvement of the technical level in the field of home appliances, in order to provide more intelligent home appliances, virtual products of the home appliances generally need to be generated, the intelligent improvement direction is determined through a test result of testing the virtual products, specifically, a corresponding object model of the home appliances is defined first, and then the virtual products are generated based on the object model. The object model is a digital description of the household electrical appliance on application business, can define the function of the appliance, describes what the household electrical appliance is, what can be done, and can provide information to the outside from different dimensions of attributes, services and events.
However, in the related art, since the object model can only provide a description of the device function, the virtual product generated using the object model cannot support the device function and the application function at the same time. Accordingly, in the related art, there is a technical problem of how to generate a virtual product that supports both a device function and an application function using an object model.
Aiming at the technical problem of how to use a object model to generate a virtual product which simultaneously supports the device function and the application function in the related technology, no effective solution is proposed yet.
Disclosure of Invention
The embodiment of the application provides a method and a device for generating a virtual target product, a storage medium and an electronic device, which at least solve the technical problem of how to use a physical model to generate the virtual product simultaneously supporting equipment functions and application functions in the related technology.
According to an embodiment of the embodiments of the present application, there is provided a method for generating a virtual target product, including: obtaining product types of products to be generated, wherein different product types correspond to different object models; obtaining an object model corresponding to the product class, wherein the object model corresponding to the product class comprises a device function model and an application function model; determining the product function of the product to be generated according to the equipment function model, and determining the application function of the product to be generated according to the application function model; and generating a virtual target product based on the product function of the product to be generated and the application function of the product to be generated, wherein the virtual target product represents a virtualized target product.
In an exemplary embodiment, determining the product function of the product to be generated according to the device function model includes: obtaining a first product function required by a target object for generating the virtual target product in a preset mode for the virtual target product, wherein the first product function at least comprises one of the following steps: the basic function of the equipment of the product to be generated, and the high-order function of the equipment of the product to be generated; the first product function is determined from hardware functions provided by the device function model.
In an exemplary embodiment, determining the application function of the product to be generated according to an application function model includes: modifying the function of the equipment function model by using the application function model to obtain a modified equipment function model, wherein the modified equipment function model is used for providing a first application function; acquiring a second application function provided by the application function model; and determining the application function of the product to be generated according to the first application function and the second application function.
In an exemplary embodiment, the second application function includes an application function of a master device, and determining, according to the first application function and the second application function, the application function of the product to be generated includes: under the condition that the control type of the product to be generated is a main control device, determining the application function of the product to be generated according to the first application function and the application function of the main control device; and under the condition that the control type of the product to be generated is the controlled equipment, if the product types of the main control equipment and the controlled equipment are consistent, determining the application function of the main control equipment as the application function of the controlled equipment, and determining the application function of the product to be generated according to the first application function and the application function of the controlled equipment.
In an exemplary embodiment, the second application function includes an application function of a master control device and a customization function of the product to be generated, and determining the application function of the product to be generated according to the first application function and the second application function includes: acquiring the functional requirement of a target object on the customized function of the product to be generated, wherein the customized function is determined based on the object type of the target object; determining a target customized function meeting the function requirement from the customized functions; and determining the application function of the product to be generated according to the first application function, the application function of the main control equipment and the target customization function.
In an exemplary embodiment, modifying the function of the device function model of the product to be generated using the application function model, to obtain a modified device function model, including: determining a first sub-model and a second sub-model in the application function model; and modifying the function name of the equipment function model by using the first sub model, and modifying the data type of the equipment function model by using the second sub model to obtain the modified equipment function model.
In one exemplary embodiment, generating a virtual target product based on a product function of the product to be generated and an application function of the product to be generated includes: generating function protocol information according to the product functions of the product to be generated; responding to a development instruction for developing the bottom plate function of the product to be generated, and generating the bottom plate function of the product to be generated by using the function protocol information; after the base plate function of the product to be generated is determined to be generated, acquiring a second service type required by generating the virtual target product from a first service type corresponding to the application function of the product to be generated; and generating the virtual target product according to the application function of the second service type.
In one exemplary embodiment, obtaining an object model corresponding to the product category includes: obtaining product information of the product to be generated, wherein the product information at least comprises one of the following components: product name, product communication mode; under the condition that the product name and/or the product communication mode are/is not empty, logging in a product platform of the product to be generated by using the product information; and under the condition that the login is determined to be successful, acquiring an object model corresponding to the product class.
According to another embodiment of the embodiments of the present application, there is also provided a generating device for a virtual target product, including: the first acquisition module is used for acquiring product types of products to be generated, wherein different product types correspond to different object models; the second acquisition module is used for acquiring an object model corresponding to the product category, wherein the object model corresponding to the product category comprises a device function model and an application function model; the determining module is used for determining the product functions of the product to be generated according to the equipment function model and determining the application functions of the product to be generated according to the application function model; the generating module is used for generating a virtual target product based on the product function of the product to be generated and the application function of the product to be generated, wherein the virtual target product represents a virtualized target product.
According to yet another aspect of the embodiments of the present application, there is also provided a computer-readable storage medium having a computer program stored therein, wherein the computer program is configured to execute the method for generating a virtual target product described above when running.
According to still another aspect of the embodiments of the present application, there is further provided an electronic device including a memory, a processor, and a computer program stored on the memory and executable on the processor, where the processor executes the method for generating a virtual target product described above through the computer program.
In the embodiment of the application, the product types of the product to be generated are obtained, wherein different product types correspond to different object models; obtaining an object model corresponding to the product class, wherein the object model corresponding to the product class comprises a device function model and an application function model; determining the product function of the product to be generated according to the equipment function model, and determining the application function of the product to be generated according to the application function model; generating a virtual target product based on the product function of the product to be generated and the application function of the product to be generated, wherein the virtual target product represents a virtualized target product; by adopting the technical scheme, the technical problem of how to use the object model to generate the virtual product which simultaneously supports the equipment function and the application function is solved, and the technical aim of using the object model to generate the virtual product which simultaneously supports the equipment function and the application function is further realized.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the application and together with the description, serve to explain the principles of the application.
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings that are required to be used in the description of the embodiments or the prior art will be briefly described below, and it will be obvious to those skilled in the art that other drawings can be obtained from these drawings without inventive effort.
Fig. 1 is a schematic diagram of a hardware environment of a method for generating a virtual target product according to an embodiment of the present application;
FIG. 2 is a flow chart of a method of generating a virtual target product according to an embodiment of the present application;
FIG. 3 is a flow chart of a data application of an object model according to an embodiment of the present application;
FIG. 4 is a schematic diagram of a framework of an object model according to an embodiment of the present application;
FIG. 5 is a flow chart of the use of an object model according to an embodiment of the present application;
FIG. 6 is a schematic flow chart of a process for producing a product based on an object model according to an embodiment of the present application;
fig. 7 is a block diagram of a virtual target product generating apparatus according to an embodiment of the present application.
Detailed Description
In order to make the present application solution better understood by those skilled in the art, the following description will be made in detail and with reference to the accompanying drawings in the embodiments of the present application, it is apparent that the described embodiments are only some embodiments of the present application, not all embodiments. All other embodiments, which can be made by one of ordinary skill in the art based on the embodiments herein without making any inventive effort, shall fall within the scope of the present application.
It should be noted that the terms "first," "second," and the like in the description and claims of the present application and the above figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that embodiments of the present application described herein may be implemented in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
According to one aspect of the embodiments of the present application, a method for generating a virtual target product is provided. The method for generating the virtual target product is widely applied to full-house intelligent digital control application scenes such as intelligent Home (Smart Home), intelligent Home equipment ecology, intelligent Home (Intelligence House) ecology and the like. Alternatively, in the present embodiment, the above-described method for generating a virtual target product may be applied to a hardware environment constituted by the terminal device 102 and the server 104 as shown in fig. 1. As shown in fig. 1, the server 104 is connected to the terminal device 102 through a network, and may be used to provide services (such as application services and the like) for a terminal or a client installed on the terminal, a database may be set on the server or independent of the server, for providing data storage services for the server 104, and cloud computing and/or edge computing services may be configured on the server or independent of the server, for providing data computing services for the server 104.
The network may include, but is not limited to, at least one of: wired network, wireless network. The wired network may include, but is not limited to, at least one of: a wide area network, a metropolitan area network, a local area network, and the wireless network may include, but is not limited to, at least one of: WIFI (Wireless Fidelity ), bluetooth. The terminal device 102 may not be limited to a PC, a mobile phone, a tablet computer, an intelligent air conditioner, an intelligent smoke machine, an intelligent refrigerator, an intelligent oven, an intelligent cooking range, an intelligent washing machine, an intelligent water heater, an intelligent washing device, an intelligent dish washer, an intelligent projection device, an intelligent television, an intelligent clothes hanger, an intelligent curtain, an intelligent video, an intelligent socket, an intelligent sound box, an intelligent fresh air device, an intelligent kitchen and toilet device, an intelligent bathroom device, an intelligent sweeping robot, an intelligent window cleaning robot, an intelligent mopping robot, an intelligent air purifying device, an intelligent steam box, an intelligent microwave oven, an intelligent kitchen appliance, an intelligent purifier, an intelligent water dispenser, an intelligent door lock, and the like.
In this embodiment, a method for generating a virtual target product is provided and applied to the computer terminal, and fig. 2 is a flowchart of a method for generating a virtual target product according to an embodiment of the present application, where the flowchart includes the following steps:
Step S202, obtaining product types of products to be generated, wherein different product types correspond to different object models;
the above product categories represent types of products, such as washing machines, refrigerators, etc., and the present application is not limited thereto.
Step S204, obtaining an object model corresponding to the product category, wherein the object model corresponding to the product category comprises an equipment function model and an application function model;
step S206, determining the product functions of the product to be generated according to the equipment function model, and determining the application functions of the product to be generated according to the application function model;
it should be noted that, the above product functions may be understood as, for example, hardware functions including a detection value of a sensor, an execution result of a relay, a control result of various switching values, and the like, and the above application functions may be understood as, for example, functions of the hardware functions corresponding to a service on a user side, including an alarm, on/off, and the like.
Step S208, generating a virtual target product based on the product function of the product to be generated and the application function of the product to be generated, where the virtual target product represents a virtualized target product.
Through the steps, obtaining the product types of the product to be generated, wherein different product types correspond to different object models; obtaining an object model corresponding to the product class, wherein the object model corresponding to the product class comprises a device function model and an application function model; determining the product function of the product to be generated according to the equipment function model, and determining the application function of the product to be generated according to the application function model; generating a virtual target product based on the product function of the product to be generated and the application function of the product to be generated, wherein the virtual target product represents a virtualized target product, so that the technical problem of how to use a substance model to generate a virtual product which simultaneously supports the device function and the application function in the related technology is solved, and the technical purpose of using the substance model to generate the virtual product which simultaneously supports the device function and the application function is further realized.
In an exemplary embodiment, the above-mentioned technical solution of how to implement the determination of the product function of the product to be generated according to the device function model in step S206 may be described by the following steps, which specifically include: obtaining a first product function required by a target object for generating the virtual target product in a preset mode for the virtual target product, wherein the first product function at least comprises one of the following steps: the basic function of the equipment of the product to be generated, and the high-order function of the equipment of the product to be generated; the first product function is determined from hardware functions provided by the device function model.
The basic functions of the device may include a sensing function, a synchronization function, a dotting function, and a statistics function, wherein the sensing function is implemented based on sensing data of the device, the synchronization function is implemented based on synchronization data of the device, the dotting function is implemented based on dotting data of the device, and the statistics function is implemented based on statistics data of the device. The above-mentioned high-order functions of the device are, for example, an operating temperature alarm of the device, a remote control of the device, etc., but are not limited thereto.
In an exemplary embodiment, in order to better understand the specific process of determining the application function of the product to be generated according to the application function model in the step S206, the following technical solutions are provided, where the specific steps include: modifying the function of the equipment function model by using the application function model to obtain a modified equipment function model, wherein the modified equipment function model is used for providing a first application function; acquiring a second application function provided by the application function model; and determining the application function of the product to be generated according to the first application function and the second application function.
It should be noted that, the process of modifying the function of the device function model may be understood as performing abstract function modification on the function of the device function model, for example, performing logic definition on hardware data obtained by the "relay closing function" to obtain application functions such as "on-off.
In an exemplary embodiment, further, in the case that the second application function includes an application function of the master control device, a technical solution is further provided for determining, according to the first application function and the second application function, an application function of the product to be generated, where the specific steps include: under the condition that the control type of the product to be generated is a main control device, determining the application function of the product to be generated according to the first application function and the application function of the main control device; and under the condition that the control type of the product to be generated is the controlled equipment, if the product types of the main control equipment and the controlled equipment are consistent, determining the application function of the main control equipment as the application function of the controlled equipment, and determining the application function of the product to be generated according to the first application function and the application function of the controlled equipment.
The above control types may include active control or passive control, but are not limited thereto.
It should be noted that, the application function of the main control device may be, for example, multiplexing a function of a speaker supporting voice control or inquiry into a corresponding controlled device, for example, a function of a voice air conditioner supporting a part of speakers, but is not limited thereto.
In an exemplary embodiment, further, in a case that the second application function includes an application function of a master control device and a customization function of the product to be generated, an implementation step of determining, according to the first application function and the second application function, the application function of the product to be generated is provided, and specifically includes: acquiring the functional requirement of a target object on the customized function of the product to be generated, wherein the customized function is determined based on the object type of the target object; determining a target customized function meeting the function requirement from the customized functions; and determining the application function of the product to be generated according to the first application function, the application function of the main control equipment and the target customization function.
Here, the customization function is not limited to the additional service functions such as cotton and hemp washing of the washing machine, a sleep curve of an air conditioner, and an air conditioning temperature of the elderly.
In an exemplary embodiment, further, for how to use the application function model to modify the function of the device function model of the product to be generated, an implementation process of the modified device function model is provided, where the implementation steps specifically include: determining a first sub-model and a second sub-model in the application function model; modifying the function name of the device function model using the first sub-model, and modifying the data type of the device function model using the second sub-model.
In an exemplary embodiment, for the implementation process of how to generate the virtual target product based on the product function of the product to be generated and the application function of the product to be generated in the step S208, the following implementation steps are specifically proposed: generating function protocol information according to the product functions of the product to be generated; responding to a development instruction for developing the bottom plate function of the product to be generated, and generating the bottom plate function of the product to be generated by using the function protocol information; after the base plate function of the product to be generated is determined to be generated, acquiring a second service type required by generating the virtual target product from a first service type corresponding to the application function of the product to be generated; and generating the virtual target product according to the application function of the second service type.
In an exemplary embodiment, in order to better understand how to obtain the object model corresponding to the product category in the step S204, the following implementation steps are specifically proposed: obtaining product information of the product to be generated, wherein the product information at least comprises one of the following components: product name, product communication mode; under the condition that the product name and/or the product communication mode are/is not empty, logging in a product platform of the product to be generated by using the product information; and under the condition that the login is determined to be successful, acquiring an object model corresponding to the product class.
Optionally, under the condition of determining login failure, if the number of login failures is not greater than a preset value, a prompt message of login failure is sent to the user to prompt the user to determine the reason of the login failure. For example, if the preset value is 3 times and the login failure number is 3, a prompt message of login failure is sent to the user.
In order to better understand the process of the method for generating the virtual target product, the following describes the flow of the implementation method for generating the virtual target product in combination with the optional embodiment, but is not limited to the technical solution of the embodiment of the present application.
In this embodiment, a data application flow of an object model is provided, and fig. 3 is a schematic diagram of the data application flow of an object model according to an embodiment of the present application, as shown in fig. 3, by performing the following steps to complete the definition of the object model, specifically as follows:
step S301: applying model data, wherein the data user applies;
step S302: data operation, wherein data maintenance is carried out by object model operators;
step S303: data standardization, carrying out model data standardization processing by a data standardization personnel;
step S304: model auditing, wherein data auditing is carried out by a model data auditing personnel;
Step S305: and after the data is passed, the platform distributes the data to the multi-terminal equipment for use on the multi-terminal equipment respectively.
In the design and development of the household electrical appliance, not only basic function control is needed to be carried out on the virtual target product corresponding to the household electrical appliance, but also business packaging, such as voice control, scene experience, recommended service, personalized customization and the like, is needed to be carried out on the virtual target product at a software level, and more refined and independent capacity analysis is needed to be carried out at a business application level.
In one embodiment, by defining device function data from two levels of a sensor and an actuator of a device and combining different services of software and hardware levels, a framework of an object model including a function model and an application model is proposed, and fig. 4 is a schematic diagram of a framework of an object model according to an embodiment of the present application, where the object model includes two parts, namely, a function model (i.e., a device function model) and an application model (i.e., an application function model), as shown in fig. 4.
The functional model is a set of product functions, and may include, for example, detection values of sensors, execution results of relays, control results of various switching amounts, and the like. The application model provides the application function of the product according to different service and function models and is used for realizing interaction at the user side.
The function model contains basic functions of the device (such as power on and power off) and alarms (such as overhigh current temperature). Specifically, the basic functions include sensing data, synchronization data, dotting data, and statistics. The sensing data are, for example, the current temperature and the current temperature detected by the temperature and humidity sensor. For example, the device itself has no temperature sensor, and the temperature of the current environment cannot be obtained, the data can be synchronized by the server or by other devices with detection capability, and then the device reports the current temperature. Dotting data, for example, requires some simple log data to be reported by the device in order for the product developer to locate a problem or troubleshoot an anomaly. Statistical data is primarily used for data points on which big data analysis depends.
The application model comprises an interaction model, a main control equipment model and cloud functions (namely the customization functions). The interaction model comprises an abstract user interface (Abstract User Interface, AUI) model and a graphical user interface (Graphical User Interface, GUI) model, and better UI effect is realized by redefining and multiple definitions (corresponding to modifying the function name and the data type of the function model) of the function name and the data type of the function model. The master control device model can multiplex the functions of the sound box supporting voice control or inquiry into corresponding controlled devices, such as the functions of a part of sound boxes supported by a voice air conditioner. The cloud function is a soft function on the platform, and can provide more convenient and humanized product functions for users, such as additional service functions of cotton and hemp washing of a washing machine, sleeping curves of an air conditioner and the like.
In one embodiment, the usage flow of the object model is described with reference to fig. 5, and the specific steps are as follows:
step S501: creating a product;
in the process of creating a product, acquiring an established equipment function model;
step S502: manually completing the product definition while performing steps S5031 and S5032;
step S5031: planning product application services;
in the process of planning the application service of the product, a required interaction model can be selected from interaction models provided by application function models;
step S5032: developing a hardware function of a product;
step S504, product production and sales;
step S505: and performing product function expansion by using the customized functions provided by the application function model.
In one embodiment, the process of producing a product using an object model is described with reference to fig. 6, and the specific steps are as follows:
step S601: selecting product categories: the object model is maintained according to the dimension of the product class, the product class is selected when the actual product is created, and the functional range of the product can be determined according to the product class;
step S602: registering basic information of a product: such as defining product names, defining product communication modes, etc.;
step S603: selecting the product functions: determining basic functions of a product, reporting police or not, and selecting corresponding hardware functions, synchronous data, dotting data and statistical data according to a sensor/executor, a functional form, a problem investigation design and a data analysis service of the product;
Step S604: developing the base plate, namely generating a corresponding function protocol document according to the product function selected in the step S603, and enabling a base plate engineer to develop the base plate function according to the protocol document;
step S605: development and application: after the development of the bottom plate is completed, planning a product application service by a product designer, if so, whether the product application service has an APP detail page, whether the applet control is supported, whether the scene service can be configured, whether the multi-screen is supported, whether the voice control is supported, and whether the advanced service of a Server end is supported, thereby determining the range of an application model;
step S606, product joint debugging, namely after development is completed, a joint debugging stage of the product is carried out, such as test verification;
step S607: apply for online, after the test passes, produce the product and sell online.
By the embodiment, the sensor data of the product bottom plate is used for carrying out model creation on the product hardware function, integrating application business abstraction to obtain a product application model, the product application model is included in the object model framework, the data and the service of the product are defined from two layers of hardware and software, the use of the data and the business is integrally considered, and the personalized service of the intelligent product is provided so as to meet the service requirements of users and the personalized product service of the users.
From the description of the above embodiments, it will be clear to a person skilled in the art that the method according to the above embodiments may be implemented by means of software plus the necessary general hardware platform, but of course also by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk), comprising several instructions for causing a terminal device (which may be a mobile phone, a computer, a server, or a network device, etc.) to perform the method of the embodiments of the present application.
Fig. 7 is a block diagram of a device for generating a virtual target product according to an embodiment of the present application, as shown in fig. 7, including:
a first obtaining module 72, configured to obtain product types of products to be generated, where different product types correspond to different object models;
a second obtaining module 74, configured to obtain an object model corresponding to the product category, where the object model corresponding to the product category includes a device function model and an application function model;
A determining module 76, configured to determine a product function of the product to be generated according to the device function model, and determine an application function of the product to be generated according to an application function model;
a generating module 78, configured to generate a virtual target product based on the product function of the product to be generated and the application function of the product to be generated, where the virtual target product represents a virtualized target product.
Obtaining product types of products to be generated through the device, wherein different product types correspond to different object models; obtaining an object model corresponding to the product class, wherein the object model corresponding to the product class comprises a device function model and an application function model; determining the product function of the product to be generated according to the equipment function model, and determining the application function of the product to be generated according to the application function model; generating a virtual target product based on the product function of the product to be generated and the application function of the product to be generated, wherein the virtual target product represents a virtualized target product, so that the technical problem of how to use a substance model to generate a virtual product which simultaneously supports the device function and the application function in the related technology is solved, and the technical purpose of using the substance model to generate the virtual product which simultaneously supports the device function and the application function is further realized.
In one exemplary embodiment, the determination module 76 is further configured to: obtaining a first product function required by a target object for generating the virtual target product in a preset mode for the virtual target product, wherein the first product function at least comprises one of the following steps: the basic function of the equipment of the product to be generated, and the high-order function of the equipment of the product to be generated; the first product function is determined from hardware functions provided by the device function model.
The basic functions of the device may include a sensing function, a synchronization function, a dotting function, and a statistics function, wherein the sensing function is implemented based on sensing data of the device, the synchronization function is implemented based on synchronization data of the device, the dotting function is implemented based on dotting data of the device, and the statistics function is implemented based on statistics data of the device. The above-mentioned device alarm function is, for example, but not limited to, an operating temperature alarm of the device.
In one exemplary embodiment, the determination module 76 is further configured to: modifying the function of the equipment function model by using the application function model to obtain a modified equipment function model, wherein the modified equipment function model is used for providing a first application function; acquiring a second application function provided by the application function model; and determining the application function of the product to be generated according to the first application function and the second application function.
In one exemplary embodiment, the determination module 76 is further configured to: under the condition that the control type of the product to be generated is a main control device, determining the application function of the product to be generated according to the first application function and the application function of the main control device; and under the condition that the control type of the product to be generated is the controlled equipment, if the product types of the main control equipment and the controlled equipment are consistent, determining the application function of the main control equipment as the application function of the controlled equipment, and determining the application function of the product to be generated according to the first application function and the application function of the controlled equipment.
It should be noted that, the application function of the main control device may be, for example, multiplexing a function of a speaker supporting voice control or inquiry into a corresponding controlled device, for example, a function of a voice air conditioner supporting a part of speakers, but is not limited thereto.
In one exemplary embodiment, the determination module 76 is further configured to: acquiring the functional requirement of a target object on the customized function of the product to be generated, wherein the customized function is determined based on the object type of the target object; determining a target customized function meeting the function requirement from the customized functions; and determining the application function of the product to be generated according to the first application function, the application function of the main control equipment and the target customization function.
Here, the customization function is not limited to the additional service functions such as cotton and hemp washing of the washing machine, a sleep curve of an air conditioner, and an air conditioning temperature of the elderly.
In one exemplary embodiment, the determination module 76 is further configured to: determining a first sub-model and a second sub-model in the application function model; modifying the function name of the device function model using the first sub-model, and modifying the data type of the device function model using the second sub-model.
In an exemplary embodiment, the generating module 78 is further configured to: generating function protocol information according to the product functions of the product to be generated; responding to a development instruction for developing the bottom plate function of the product to be generated, and generating the bottom plate function of the product to be generated by using the function protocol information; after the base plate function of the product to be generated is determined to be generated, acquiring a second service type required by generating the virtual target product from a first service type corresponding to the application function of the product to be generated; and generating the virtual target product according to the application function of the second service type.
In an exemplary embodiment, the second obtaining module 74 is further configured to: obtaining product information of the product to be generated, wherein the product information at least comprises one of the following components: product name, product communication mode; under the condition that the product name and/or the product communication mode are/is not empty, logging in a product platform of the product to be generated by using the product information; and under the condition that the login is determined to be successful, acquiring an object model corresponding to the product class.
Optionally, under the condition of determining login failure, if the number of login failures is not greater than a preset value, a prompt message of login failure is sent to the user to prompt the user to determine the reason of the login failure. For example, if the preset value is 3 times and the login failure number is 3, a prompt message of login failure is sent to the user.
Embodiments of the present application also provide a storage medium including a stored program, wherein the program performs the method of any one of the above when run.
Alternatively, in the present embodiment, the above-described storage medium may be configured to store program code for performing the steps of:
s1, obtaining product types of products to be generated, wherein different product types correspond to different object models;
S2, obtaining an object model corresponding to the product category, wherein the object model corresponding to the product category comprises an equipment function model and an application function model;
s3, determining the product function of the product to be generated according to the equipment function model, and determining the application function of the product to be generated according to the application function model;
and S4, generating a virtual target product based on the product function of the product to be generated and the application function of the product to be generated, wherein the virtual target product represents a virtualized target product.
Embodiments of the present application also provide an electronic device comprising a memory having a computer program stored therein and a processor arranged to run the computer program to perform the steps of any of the method embodiments described above.
Optionally, the electronic apparatus may further include a transmission device and an input/output device, where the transmission device is connected to the processor, and the input/output device is connected to the processor.
Alternatively, in the present embodiment, the above-described processor may be configured to execute the following steps by a computer program:
s1, obtaining product types of products to be generated, wherein different product types correspond to different object models;
S2, obtaining an object model corresponding to the product category, wherein the object model corresponding to the product category comprises an equipment function model and an application function model;
s3, determining the product function of the product to be generated according to the equipment function model, and determining the application function of the product to be generated according to the application function model;
and S4, generating a virtual target product based on the product function of the product to be generated and the application function of the product to be generated, wherein the virtual target product represents a virtualized target product.
Alternatively, in the present embodiment, the storage medium may include, but is not limited to: a U-disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a removable hard disk, a magnetic disk, or an optical disk, or other various media capable of storing program codes.
Alternatively, specific examples in this embodiment may refer to examples described in the foregoing embodiments and optional implementations, and this embodiment is not described herein.
It will be appreciated by those skilled in the art that the modules or steps of the application described above may be implemented in a general purpose computing device, they may be centralized on a single computing device, or distributed across a network of computing devices, or they may alternatively be implemented in program code executable by computing devices, such that they may be stored in a memory device for execution by the computing devices and, in some cases, the steps shown or described may be performed in a different order than what is shown or described, or they may be implemented as individual integrated circuit modules, or as individual integrated circuit modules. Thus, the present application is not limited to any specific combination of hardware and software.
The foregoing is merely a preferred embodiment of the present application and it should be noted that modifications and adaptations to those skilled in the art may be made without departing from the principles of the present application and are intended to be comprehended within the scope of the present application.
Claims (10)
1. The method for generating the virtual target product is characterized by comprising the following steps of:
obtaining product types of products to be generated, wherein different product types correspond to different object models; obtaining an object model corresponding to the product class, wherein the object model corresponding to the product class comprises a device function model and an application function model;
determining the product function of the product to be generated according to the equipment function model, and determining the application function of the product to be generated according to the application function model;
and generating a virtual target product based on the product function of the product to be generated and the application function of the product to be generated, wherein the virtual target product represents a virtualized target product.
2. The method for generating a virtual target product according to claim 1, wherein determining the product function of the product to be generated according to the device function model comprises:
Obtaining a first product function required by a target object for generating the virtual target product in a preset mode for the virtual target product, wherein the first product function at least comprises one of the following steps: the basic function of the equipment of the product to be generated, and the high-order function of the equipment of the product to be generated;
the first product function is determined from hardware functions provided by the device function model.
3. The method for generating a virtual target product according to claim 1 or 2, wherein determining the application function of the product to be generated according to an application function model comprises:
modifying the function of the equipment function model by using the application function model to obtain a modified equipment function model, wherein the modified equipment function model is used for providing a first application function; acquiring a second application function provided by the application function model;
and determining the application function of the product to be generated according to the first application function and the second application function.
4. The method for generating a virtual target product according to claim 3, wherein the second application function includes an application function of a master control device, and determining the application function of the product to be generated according to the first application function and the second application function includes:
Under the condition that the control type of the product to be generated is a main control device, determining the application function of the product to be generated according to the first application function and the application function of the main control device;
and under the condition that the control type of the product to be generated is the controlled equipment, if the product types of the main control equipment and the controlled equipment are consistent, determining the application function of the main control equipment as the application function of the controlled equipment, and determining the application function of the product to be generated according to the first application function and the application function of the controlled equipment.
5. The method for generating a virtual target product according to claim 3, wherein the second application function includes an application function of a master control device and a customization function of the product to be generated, and determining the application function of the product to be generated according to the first application function and the second application function includes:
acquiring the functional requirement of a target object on the customized function of the product to be generated, wherein the customized function is determined based on the object type of the target object;
determining a target customized function meeting the function requirement from the customized functions;
And determining the application function of the product to be generated according to the first application function, the application function of the main control equipment and the target customization function.
6. A method of generating a virtual target product according to claim 3, wherein modifying the function of the device function model of the product to be generated using the application function model to obtain a modified device function model comprises:
determining a first sub-model and a second sub-model in the application function model;
and modifying the function name of the equipment function model by using the first sub model, and modifying the data type of the equipment function model by using the second sub model to obtain the modified equipment function model.
7. The method of generating a virtual target product according to any one of claims 1 to 6, characterized by generating a virtual target product based on a product function of the product to be generated and an application function of the product to be generated, comprising:
generating function protocol information according to the product functions of the product to be generated;
responding to a development instruction for developing the bottom plate function of the product to be generated, and generating the bottom plate function of the product to be generated by using the function protocol information;
After the base plate function of the product to be generated is determined to be generated, acquiring a second service type required by generating the virtual target product from a first service type corresponding to the application function of the product to be generated; and generating the virtual target product according to the application function of the second service type.
8. The method of generating a virtual target product according to any one of claims 1 to 6, wherein acquiring an object model corresponding to the product category comprises:
obtaining product information of the product to be generated, wherein the product information at least comprises one of the following components: product name, product communication mode;
under the condition that the product name and/or the product communication mode are/is not empty, logging in a product platform of the product to be generated by using the product information;
and under the condition that the login is determined to be successful, acquiring an object model corresponding to the product class.
9. A virtual target product generating apparatus, comprising:
the first acquisition module is used for acquiring product types of products to be generated, wherein different product types correspond to different object models;
the second acquisition module is used for acquiring an object model corresponding to the product category, wherein the object model corresponding to the product category comprises a device function model and an application function model;
The determining module is used for determining the product functions of the product to be generated according to the equipment function model and determining the application functions of the product to be generated according to the application function model;
and generating a virtual target product based on the product function of the product to be generated and the application function of the product to be generated, wherein the virtual target product represents a virtualized target product.
10. A computer readable storage medium, characterized in that the computer readable storage medium comprises a stored program, wherein the program when run performs the method of any of the preceding claims 1 to 8.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211675714.3A CN116360584A (en) | 2022-12-26 | 2022-12-26 | Virtual target product generation method and device, storage medium and electronic device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211675714.3A CN116360584A (en) | 2022-12-26 | 2022-12-26 | Virtual target product generation method and device, storage medium and electronic device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN116360584A true CN116360584A (en) | 2023-06-30 |
Family
ID=86904838
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202211675714.3A Pending CN116360584A (en) | 2022-12-26 | 2022-12-26 | Virtual target product generation method and device, storage medium and electronic device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN116360584A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117422002A (en) * | 2023-12-19 | 2024-01-19 | 利尔达科技集团股份有限公司 | AIGC-based embedded product generation method, system and storage medium |
-
2022
- 2022-12-26 CN CN202211675714.3A patent/CN116360584A/en active Pending
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117422002A (en) * | 2023-12-19 | 2024-01-19 | 利尔达科技集团股份有限公司 | AIGC-based embedded product generation method, system and storage medium |
CN117422002B (en) * | 2023-12-19 | 2024-04-19 | 利尔达科技集团股份有限公司 | AIGC-based embedded product generation method, AIGC-based embedded product generation system and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN114938365B (en) | Function module updating method and device, storage medium and electronic device | |
CN115343962A (en) | Intelligent household appliance control method and system, intelligent screen and storage medium | |
CN116360584A (en) | Virtual target product generation method and device, storage medium and electronic device | |
CN114697150B (en) | Command issuing method and device, storage medium and electronic device | |
CN116033006A (en) | Data processing method, system, storage medium and electronic device | |
CN114896006B (en) | Page menu creation method and device, storage medium and electronic device | |
CN115296948B (en) | Scene information updating method and device, storage medium and electronic device | |
CN116107975A (en) | Control method and device of equipment, storage medium and electronic device | |
CN115309062B (en) | Control method and device of equipment, storage medium and electronic device | |
CN116132209B (en) | Scene construction method and device, storage medium and electronic device | |
CN115167163B (en) | Scene execution method and device, storage medium and electronic device | |
CN116684374A (en) | Gateway message processing method and device, storage medium and electronic device | |
CN115032907B (en) | Method and device for updating perception parameters, storage medium and electronic device | |
CN117579409A (en) | Control instruction processing method and device, storage medium and electronic device | |
CN115001885B (en) | Equipment control method and device, storage medium and electronic device | |
CN115277412B (en) | Edge gateway upgrading method and device, storage medium and electronic device | |
CN115988152B (en) | Method and device for generating target cooking video, storage medium and electronic device | |
CN115473753B (en) | Gateway equipment control method and device, storage medium and electronic device | |
CN116132209A (en) | Scene construction method and device, storage medium and electronic device | |
CN114866802B (en) | Video stream sending method and device, storage medium and electronic device | |
CN116846936A (en) | Method and device for sending control instruction, storage medium and electronic device | |
CN114826899A (en) | Debugging method and device of equipment control service, storage medium and electronic device | |
CN116346686A (en) | Information transmission method and device, storage medium and electronic device | |
CN115145615A (en) | Memory data refreshing method and device, storage medium and electronic device | |
CN116980403A (en) | File uploading method and device, storage medium and electronic device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |