CN117408665A - Product editing method, device, storage medium and server - Google Patents
Product editing method, device, storage medium and server Download PDFInfo
- Publication number
- CN117408665A CN117408665A CN202310415645.0A CN202310415645A CN117408665A CN 117408665 A CN117408665 A CN 117408665A CN 202310415645 A CN202310415645 A CN 202310415645A CN 117408665 A CN117408665 A CN 117408665A
- Authority
- CN
- China
- Prior art keywords
- data
- product
- editing
- sandbox environment
- product data
- 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 55
- 244000035744 Hura crepitans Species 0.000 claims abstract description 93
- 238000004519 manufacturing process Methods 0.000 claims abstract description 49
- 230000008859 change Effects 0.000 claims abstract description 16
- 230000000694 effects Effects 0.000 claims abstract description 11
- 238000012544 monitoring process Methods 0.000 claims description 32
- 238000011161 development Methods 0.000 claims description 19
- 238000004590 computer program Methods 0.000 claims description 16
- 238000004458 analytical method Methods 0.000 claims description 10
- 230000008569 process Effects 0.000 claims description 9
- 238000012545 processing Methods 0.000 claims description 9
- 238000010200 validation analysis Methods 0.000 claims description 9
- 230000006870 function Effects 0.000 description 9
- 238000010586 diagram Methods 0.000 description 4
- 230000010076 replication Effects 0.000 description 3
- 230000004048 modification Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 230000009471 action Effects 0.000 description 1
- 230000006978 adaptation Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000007599 discharging Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000010801 machine learning Methods 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 230000004044 response Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q10/00—Administration; Management
- G06Q10/20—Administration of product repair or maintenance
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q50/00—Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
- G06Q50/04—Manufacturing
Landscapes
- Business, Economics & Management (AREA)
- Engineering & Computer Science (AREA)
- Human Resources & Organizations (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Marketing (AREA)
- Economics (AREA)
- General Business, Economics & Management (AREA)
- Strategic Management (AREA)
- Tourism & Hospitality (AREA)
- Physics & Mathematics (AREA)
- Quality & Reliability (AREA)
- Operations Research (AREA)
- Entrepreneurship & Innovation (AREA)
- Manufacturing & Machinery (AREA)
- Health & Medical Sciences (AREA)
- General Health & Medical Sciences (AREA)
- Primary Health Care (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The application discloses a product editing method, a device, a storage medium and a server, and relates to the technical field of computers, wherein the method comprises the following steps: copying product data of the product to a sandbox environment according to a secondary editing instruction aiming at the released product, wherein the product data of the product in the production environment is unchanged, and the product refers to a data abstraction model of physical equipment; receiving a data editing instruction through a preset access interface of the sandbox environment; changing and debugging the copied product data in the sandbox environment according to the data editing instruction to obtain secondary editing product data; and overlaying the secondary editing product data onto the production environment to take effect. The method and the device can reduce the risk of secondary editing of the released product and improve the data change range.
Description
Technical Field
The present application relates to the field of computer technologies, and in particular, to a product editing method, a device, a storage medium, and a server.
Background
Taking an intelligent home developer platform based on IOT as an example, after products are developed in the platform and the products are accessed into the equipment, the platform generally does not allow the product data of the products in the released production environment to be changed, otherwise, the operation of related equipment business on the production environment is greatly affected.
At present, a secondary editing scheme of a released product directly enables a developer to edit product data in a production environment on line, and the untested change is very likely to influence equipment which is accessed to an IOT platform and is actually used by a user under the product, so that the risk is very high.
Therefore, the problems of high risk and small data change range exist when the released product is edited for the second time at present.
Disclosure of Invention
The embodiment of the application provides a scheme, which can reduce the risk of secondary editing on released products and improve the data change range.
The embodiment of the application provides the following technical scheme:
according to one embodiment of the present application, a product editing method includes: copying product data of the product to a sandbox environment according to a secondary editing instruction aiming at the released product, wherein the product data of the product in the production environment is unchanged, and the product refers to a data abstraction model of physical equipment; receiving a data editing instruction through a preset access interface of the sandbox environment; changing and debugging the copied product data in the sandbox environment according to the data editing instruction to obtain secondary editing product data; and according to the reissue instruction, covering the secondary editing product data on the production environment for validation.
In some embodiments of the present application, before the receiving, by the preset access interface of the sandbox environment, a data editing instruction, the method further includes: acquiring secondary editing authority configuration information of the product; and setting the access right of the preset access interface according to the secondary editing right configuration information, wherein the data editing instruction is derived from a user with the access right.
In some embodiments of the present application, the copying the product data of the product to a sandbox environment includes: marking editable data for product data of the product, the editable data including data that does not require re-burning of the device and data within a predetermined editing range; and copying the marked product data to the sandbox environment.
In some embodiments of the present application, the modifying and debugging the replicated product data in the sandbox environment according to the data editing instruction to obtain secondary edited product data includes: and changing and debugging the editable data in the product data in the sandbox environment according to the data editing instruction to obtain secondary edited product data.
In some embodiments of the present application, the method further comprises deploying a synchronization unit, an edit monitoring unit, and an edit analysis unit in the sandbox environment: monitoring the change and the debugging process through the editing monitoring unit to obtain monitoring data; synchronizing equipment business operation data corresponding to the product data in the production environment to the sandbox environment through the synchronization unit; and analyzing and processing the editing and analyzing unit based on the monitoring data and the equipment business operation data to obtain the coverage priority of the module data in the secondary editing product data.
In some embodiments of the present application, the overlaying the secondary compiled product data onto the production environment for validation comprises: and sequentially covering the module data in the secondary editing product data on the production environment according to the corresponding coverage priority to take effect.
In some embodiments of the present application, after the copying the product data of the product to the sandbox environment, the method further comprises: adding an in-development mark to the product, wherein the in-development mark is used for indicating that the product is in a secondary editing state; after the copying the product data of the product to the sandbox environment, the method further comprises: the development signature is removed.
According to one embodiment of the present application, a product editing apparatus, the apparatus comprising: the copying module is used for copying the product data of the product to a sandbox environment according to a secondary editing instruction aiming at the released product, wherein the product data of the product in the production environment is kept unchanged, and the product refers to a data abstraction model of physical equipment; the receiving module is used for receiving a data editing instruction through a preset access interface of the sandbox environment; the updating module is used for changing and debugging the copied product data in the sandbox environment according to the data editing instruction to obtain secondary editing product data; and the covering module is used for covering the secondary editing product data onto the production environment to take effect.
In some embodiments of the present application, before the receiving, by the preset access interface of the sandbox environment, a data editing instruction, the apparatus further includes a permission setting module, configured to: acquiring secondary editing authority configuration information of the product; and setting the access right of the preset access interface according to the secondary editing right configuration information, wherein the data editing instruction is derived from a user with the access right.
In some embodiments of the present application, the replication module is configured to: marking editable data for product data of the product, the editable data including data that does not require re-burning of the device and data within a predetermined editing range; and copying the marked product data to the sandbox environment.
In some embodiments of the present application, the update module is configured to: and changing and debugging the editable data in the product data in the sandbox environment according to the data editing instruction to obtain secondary edited product data.
In some embodiments of the present application, the deployment synchronization unit, the edit monitoring unit, and the edit analysis unit in the sandbox environment, the apparatus further includes an analysis module configured to: monitoring the change and the debugging process through the editing monitoring unit to obtain monitoring data; synchronizing equipment business operation data corresponding to the product data in the production environment to the sandbox environment through the synchronization unit; and analyzing and processing the editing and analyzing unit based on the monitoring data and the equipment business operation data to obtain the coverage priority of the module data in the secondary editing product data.
In some embodiments of the present application, the overlay module is configured to: and sequentially covering the module data in the secondary editing product data on the production environment according to the corresponding coverage priority to take effect.
In some embodiments of the present application, after the copying of the product data of the product to the sandbox environment, the apparatus further comprises a marking module for: adding an in-development mark to the product, wherein the in-development mark is used for indicating that the product is in a secondary editing state; after the copying of the product data of the product to the sandbox environment, the apparatus further comprises a removal module for: the development signature is removed.
According to another embodiment of the present application, a storage medium has stored thereon a computer program which, when executed by a processor of a computer, causes the computer to perform the method described in the embodiments of the present application.
According to another embodiment of the present application, a server may include: a memory storing a computer program; and the processor reads the computer program stored in the memory to execute the method according to the embodiment of the application.
According to another embodiment of the present application, an electronic device may include: a memory storing a computer program; and the processor reads the computer program stored in the memory to execute the method according to the embodiment of the application.
According to another embodiment of the present application, a computer program product or computer program includes computer instructions stored in a computer readable storage medium. The computer instructions are read from the computer-readable storage medium by a processor of a computer device, and executed by the processor, cause the computer device to perform the methods provided in the various alternative implementations described in the embodiments of the present application.
According to the method, product data of the product are copied to a sandbox environment according to a secondary editing instruction aiming at the released product, wherein the product data of the product in the production environment are kept unchanged, and the product refers to a data abstraction model of physical equipment; receiving a data editing instruction through a preset access interface of the sandbox environment; changing and debugging the copied product data in the sandbox environment according to the data editing instruction to obtain secondary editing product data; and according to the reissue instruction, covering the secondary editing product data on the production environment for validation.
In this way, the product data of the released product which needs to be edited secondarily is copied to the sandbox environment by providing the sandbox environment, the copied product data is changed and debugged in the sandbox environment, the secondarily edited product data is obtained, the sandbox environment is isolated from the production environment, the influence on equipment which is connected to the IOT platform and actually used by a user under the product in the production environment is avoided by the secondarily editing in the sandbox environment, the risk is low, the production environment is not needed to be considered, the data in a larger range in the product data is allowed to be changed, the changeable data range is enlarged, the risk of secondarily editing the released product is effectively reduced, the data change range is improved, and the secondary editing user is weakly perceived.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the description of the embodiments will be briefly introduced below, it being obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 illustrates a flow chart of a product editing method according to one embodiment of the present application.
FIG. 2 illustrates a block diagram of a product editing apparatus according to one embodiment of the present application.
Fig. 3 shows a block diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are only some, but not all, of the embodiments of the present application. All other embodiments, which can be made by those skilled in the art based on the embodiments herein without making any inventive effort, are intended to be within the scope of the present application.
Fig. 1 schematically shows a flow chart of a product editing method according to one embodiment of the present application. The execution subject of the product editing method can be any terminal or server with data processing capability, and the server can be a physical server or cloud server and the like. In one embodiment of the present application, the execution body is specifically a cloud.
As shown in fig. 1, the product editing method may include steps S110 to S140.
Step S110, copying product data of the product to a sandbox environment according to a secondary editing instruction for the released product, wherein the product data of the product in the production environment is unchanged, and the product refers to a data abstraction model of physical equipment; step S120, receiving a data editing instruction through a preset access interface of the sandbox environment; step S130, changing and debugging the copied product data in the sandbox environment according to the data editing instruction to obtain secondary editing product data; and step S140, according to the reissue instruction, covering the secondary editing product data on the production environment to take effect.
The secondary editing instruction is used for triggering secondary editing on the released product, for example, a developer triggers the secondary editing instruction on the platform through related operation of opening the secondary editing, and the released product can be also described as the released product.
The platform copies the product data of the product from the production environment to the sandbox environment in full in response to the secondary editing instructions, wherein the product data of the product in the production environment remains unchanged and the Products refer to data abstraction models of the physical devices. The sandbox (sandbox) environment refers to an environment for changing and debugging a released product during a second editing period and having a security mechanism isolated from a production environment.
The related developer can carry out changing and debugging operations through the preset access interface of the sandbox environment, and further, the data editing instructions corresponding to the related changing and debugging operations are received through the preset access interface of the sandbox environment, and the copied product data is changed and debugged in the sandbox environment according to the data editing instructions, so that the secondary editing product data can be obtained. And editing the product data for the second time, namely editing the product data after the second time.
After the copied product data is changed, the electric control board and the module of the equipment which influence the changed product can be used for re-debugging without burning, and the secondary edited product data is obtained after the debugging. Wherein the Device is the actual physical form of the product, the Device may be produced based on the corresponding product. And obtaining secondary editing product data after the debugging is passed, covering the product data on the production environment with the secondary editing product data and effecting the secondary editing, thus finishing the secondary editing of the released product.
In this way, based on steps S110 to S140, the product data of the released product requiring the secondary editing is copied to the sandbox environment by providing the sandbox environment, the copied product data is changed and debugged in the sandbox environment, the secondary editing product data is obtained, the sandbox environment is isolated from the production environment, the secondary editing in the sandbox environment avoids the influence on the equipment which has been accessed to the IOT platform and is actually used by the user under the product in the production environment, the risk is low, the production environment is not considered, the larger range of data in the product data is allowed to be changed, the changeable data range is enlarged, the risk of performing the secondary editing on the released product is effectively reduced, the data change range is also considered, and the secondary editing user perceives weakly.
Further alternative embodiments of the steps performed when product editing is performed under the embodiment of fig. 1 are described below.
In one embodiment, before the receiving the data editing instruction through the preset access interface of the sandbox environment, the method further includes: acquiring secondary editing authority configuration information of the product; and setting the access right of the preset access interface according to the secondary editing right configuration information, wherein the data editing instruction is derived from a user with the access right.
The obtaining of the secondary editing authority configuration information of the product may be obtaining secondary editing authority configuration information configured in advance in the platform, and the secondary editing authority configuration information may include information of a user having development authority for the product. The user may specifically point to a specific account.
The access authority of the preset access interface can be set according to the configuration information of the secondary editing authority, specifically, a user corresponding to the development authority meeting the requirement of the preset secondary editing authority can be used as an authority user, the authority user can set the access authority with the preset access interface, namely, the authority user can take the preset access interface of the sandbox environment to change and debug, namely, the data editing instruction in the embodiment is sourced from the user with the access authority.
In some embodiments, different authority users may have the same access authority, in other embodiments, different authority users may have different access authority, and different authority users of different access authority may perform corresponding modification and debugging on different module data in the product data.
In one embodiment, the copying product data of the product to a sandbox environment includes: marking editable data for product data of the product, the editable data including data that does not require re-burning of the device and data within a predetermined editing range; and copying the marked product data to the sandbox environment.
Further, the changing and debugging the copied product data in the sandbox environment according to the data editing instruction to obtain the second edited product data includes: and changing and debugging the editable data in the product data in the sandbox environment according to the data editing instruction to obtain secondary edited product data.
By marking the data of the device that does not need to be re-burned and the data within the predetermined editing range as the editable data, editing of the data of the editable data can be restricted in the sandbox environment, and the data changing range of the product data can be reliably enlarged.
In one embodiment, the copying product data of the product to a sandbox environment includes: directly copying the product data to a sandbox environment, and changing and debugging the copied product data in the sandbox environment according to the data editing instruction to obtain secondary edited product data, wherein the method comprises the following steps of: and changing and debugging the data indicated by the data editing instruction in the product data in the sandbox environment according to the data editing instruction to obtain the secondary editing product data.
In one embodiment, the deployment synchronization unit, the edit monitoring unit, and the edit analysis unit in the sandbox environment, the method further comprises: monitoring the change and the debugging process through the editing monitoring unit to obtain monitoring data; synchronizing equipment business operation data corresponding to the product data in the production environment to the sandbox environment through the synchronization unit; and analyzing and processing the editing and analyzing unit based on the monitoring data and the equipment business operation data to obtain the coverage priority of the module data in the secondary editing product data.
And the coverage priority of the module data in the secondary editing product data is analyzed in a combined mode by arranging the synchronization unit, the editing monitoring unit and the editing analysis unit in the sandbox environment, so that the reliability of the secondary editing of the product data is further improved.
The monitoring unit is used for monitoring the change of the product data in the sandbox environment and the debugging process to obtain monitoring data, wherein the monitoring data can comprise module data, debugging time length, data change amount and the like of the change in the product data. And synchronizing equipment service operation data corresponding to the product data in the production environment to the sandbox environment through a synchronization unit, wherein the synchronization unit is also arranged in the production environment, and the equipment service operation data can comprise services operated in equipment produced by using the product.
The editing and analyzing unit analyzes the monitoring data and the equipment business operation data by adopting a pre-trained analysis model based on machine learning to obtain the coverage priority of the module data in the secondary editing product data output by the analysis model.
In one embodiment, the overlaying the secondary compiled product data onto the production environment for validation comprises: and sequentially covering the module data in the secondary editing product data on the production environment according to the corresponding coverage priority to take effect. And the covering priority of the module data in the secondary editing product data is analyzed in a combined mode, and the module data corresponding to the product data on the module data production environment in the secondary editing product data are sequentially covered according to the covering priority and take effect, so that the reliability of the secondary editing of the product data is further improved.
In one embodiment, the overlaying the secondary compiled product data onto the production environment for validation comprises: and overlaying the module data in the secondary editing product data onto a production environment for validation according to a predetermined sequence, wherein the predetermined sequence can be specified by a relevant user.
In one embodiment, after the copying the product data of the product to the sandbox environment, the method further comprises: adding an in-development mark to the product, wherein the in-development mark is used for indicating that the product is in a secondary editing state; after the copying the product data of the product to the sandbox environment, the method further comprises: the development signature is removed.
The mark in development is added to indicate that the product is in a secondary editing state, the mark in development is removed after the secondary editing is completed, some operations on the product in the secondary editing process can be avoided in the platform, and the reliability of the secondary editing of the product is improved.
In order to facilitate better implementation of the product editing method provided by the embodiment of the application, the embodiment of the application also provides a product editing device based on the product editing method. Where the meaning of a noun is the same as in the product editing method described above, specific implementation details may be referred to in the description of the method embodiments. FIG. 2 illustrates a block diagram of a product editing apparatus according to one embodiment of the present application.
As shown in fig. 2, the product editing apparatus 200 may include: the replication module 210 may be configured to replicate product data of the product to a sandbox environment according to a second editing instruction for the released product, where the product data of the product in the production environment remains unchanged, and the product refers to a data abstraction model of a physical device; the receiving module 220 may be configured to receive a data editing instruction through a preset access interface of the sandbox environment; the updating module 230 may be configured to change and debug the copied product data in the sandbox environment according to the data editing instruction, so as to obtain second edited product data; the overlay module 240 may be configured to overlay the secondary compiled product data onto the production environment for validation.
In some embodiments of the present application, before the receiving, by the preset access interface of the sandbox environment, a data editing instruction, the apparatus further includes a permission setting module, configured to: acquiring secondary editing authority configuration information of the product; and setting the access right of the preset access interface according to the secondary editing right configuration information, wherein the data editing instruction is derived from a user with the access right.
In some embodiments of the present application, the replication module is configured to: marking editable data for product data of the product, the editable data including data that does not require re-burning of the device and data within a predetermined editing range; and copying the marked product data to the sandbox environment.
In some embodiments of the present application, the update module is configured to: and changing and debugging the editable data in the product data in the sandbox environment according to the data editing instruction to obtain secondary edited product data.
In some embodiments of the present application, the deployment synchronization unit, the edit monitoring unit, and the edit analysis unit in the sandbox environment, the apparatus further includes an analysis module configured to: monitoring the change and the debugging process through the editing monitoring unit to obtain monitoring data; synchronizing equipment business operation data corresponding to the product data in the production environment to the sandbox environment through the synchronization unit; and analyzing and processing the editing and analyzing unit based on the monitoring data and the equipment business operation data to obtain the coverage priority of the module data in the secondary editing product data.
In some embodiments of the present application, the overlay module is configured to: and sequentially covering the module data in the secondary editing product data on the production environment according to the corresponding coverage priority to take effect.
In some embodiments of the present application, after the copying of the product data of the product to the sandbox environment, the apparatus further comprises a marking module for: adding an in-development mark to the product, wherein the in-development mark is used for indicating that the product is in a secondary editing state; after the copying of the product data of the product to the sandbox environment, the apparatus further comprises a removal module for: the development signature is removed.
It should be noted that although in the above detailed description several modules or units of a device for action execution are mentioned, such a division is not mandatory. Indeed, the features and functions of two or more modules or units described above may be embodied in one module or unit, in accordance with embodiments of the present application. Conversely, the features and functions of one module or unit described above may be further divided into a plurality of modules or units to be embodied.
In addition, the embodiment of the application further provides an electronic device, which may be a terminal or a server, as shown in fig. 3, which shows a schematic structural diagram of the electronic device according to the embodiment of the application, specifically:
the electronic device may include one or more processing cores 'processors 301, one or more computer-readable storage media's memory 302, power supply 303, and input unit 304, among other components. Those skilled in the art will appreciate that the electronic device structure shown in fig. 3 is not limiting of the electronic device and may include more or fewer components than shown, or may combine certain components, or may be arranged in different components.
Wherein:
the processor 301 is the control center of the electronic device, connects the various parts of the overall computer device using various interfaces and lines, and performs various functions of the computer device and processes data by running or executing software programs and/or modules stored in the memory 302, and invoking data stored in the memory 302, thereby performing overall monitoring of the electronic device. Optionally, processor 301 may include one or more processing cores; preferably, the processor 301 may integrate an application processor and a modem processor, wherein the application processor primarily handles operating systems, user pages, applications, etc., and the modem processor primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 301.
The memory 302 may be used to store software programs and modules, and the processor 301 executes various functional applications and data processing by executing the software programs and modules stored in the memory 302. The memory 302 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program (such as a sound playing function, an image playing function, etc.) required for at least one function, and the like; the storage data area may store data created according to the use of the computer device, etc. In addition, memory 302 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage device. Accordingly, the memory 302 may also include a memory controller to provide the processor 301 with access to the memory 302.
The electronic device further comprises a power supply 303 for powering the various components, preferably the power supply 303 is logically connected to the processor 301 by a power management system, whereby the functions of managing charging, discharging, and power consumption are performed by the power management system. The power supply 303 may also include one or more of any components, such as a direct current or alternating current power supply, a recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator, and the like.
The electronic device may further comprise an input unit 304, which input unit 304 may be used for receiving input digital or character information and for generating keyboard, mouse, joystick, optical or trackball signal inputs in connection with user settings and function control.
Although not shown, the electronic device may further include a display unit or the like, which is not described herein. In particular, in this embodiment, the processor 301 in the electronic device loads executable files corresponding to the processes of one or more computer programs into the memory 302 according to the following instructions, and the processor 301 executes the computer programs stored in the memory 302, so as to implement the functions in the foregoing embodiments of the present application, where the processor 301 may perform the following steps:
copying product data of the product to a sandbox environment according to a secondary editing instruction aiming at the released product, wherein the product data of the product in the production environment is unchanged, and the product refers to a data abstraction model of physical equipment; receiving a data editing instruction through a preset access interface of the sandbox environment; changing and debugging the copied product data in the sandbox environment according to the data editing instruction to obtain secondary editing product data; and according to the reissue instruction, covering the secondary editing product data on the production environment for validation.
It will be appreciated by those of ordinary skill in the art that all or part of the steps of the various methods of the above embodiments may be performed by a computer program, or by computer program control related hardware, which may be stored in a computer readable storage medium and loaded and executed by a processor.
To this end, the present embodiments also provide a storage medium having stored therein a computer program that can be loaded by a processor to perform the steps of any of the methods provided by the embodiments of the present application.
Wherein the storage medium may include: read Only Memory (ROM), random access Memory (RAM, random Access Memory), magnetic or optical disk, and the like.
Since the computer program stored in the storage medium may perform any of the steps in the method provided in the embodiment of the present application, the beneficial effects that can be achieved by the method provided in the embodiment of the present application may be achieved, which are detailed in the previous embodiments and are not described herein.
Other embodiments of the present application will be apparent to those skilled in the art from consideration of the specification and practice of the embodiments disclosed herein. This application is intended to cover any variations, uses, or adaptations of the application following, in general, the principles of the application and including such departures from the present disclosure as come within known or customary practice within the art to which the application pertains.
It will be understood that the present application is not limited to the embodiments that have been described above and shown in the drawings, but that various modifications and changes can be made without departing from the scope thereof.
Claims (10)
1. A method of editing a product, comprising:
copying product data of the product to a sandbox environment according to a secondary editing instruction aiming at the released product, wherein the product data of the product in the production environment is unchanged, and the product refers to a data abstraction model of physical equipment;
receiving a data editing instruction through a preset access interface of the sandbox environment;
changing and debugging the copied product data in the sandbox environment according to the data editing instruction to obtain secondary editing product data;
and overlaying the secondary editing product data onto the production environment to take effect.
2. The method of claim 1, wherein prior to receiving data editing instructions via the preset access interface of the sandbox environment, the method further comprises:
acquiring secondary editing authority configuration information of the product;
and setting the access right of the preset access interface according to the secondary editing right configuration information, wherein the data editing instruction is derived from a user with the access right.
3. The method of claim 1, wherein the copying the product data of the product to a sandbox environment comprises:
marking editable data for product data of the product, the editable data including data that does not require re-burning of the device and data within a predetermined editing range;
and copying the marked product data to the sandbox environment.
4. The method of claim 3, wherein said modifying and debugging the replicated product data in the sandbox environment according to the data editing instructions to obtain secondary edited product data comprises:
and changing and debugging the editable data in the product data in the sandbox environment according to the data editing instruction to obtain secondary edited product data.
5. The method of claim 1, wherein a synchronization unit, an edit monitoring unit, and an edit analysis unit are deployed in the sandbox environment, the method further comprising:
monitoring the change and the debugging process through the editing monitoring unit to obtain monitoring data;
synchronizing equipment business operation data corresponding to the product data in the production environment to the sandbox environment through the synchronization unit;
and analyzing and processing the editing and analyzing unit based on the monitoring data and the equipment business operation data to obtain the coverage priority of the module data in the secondary editing product data.
6. The method of claim 5, wherein said overlaying said secondary compiled product data onto said production environment for validation comprises:
and sequentially covering the module data in the secondary editing product data on the production environment according to the corresponding coverage priority to take effect.
7. The method of any of claims 1 to 6, wherein after the copying the product data of the product to a sandbox environment, the method further comprises:
adding an in-development mark to the product, wherein the in-development mark is used for indicating that the product is in a secondary editing state;
after the copying the product data of the product to the sandbox environment, the method further comprises:
the development signature is removed.
8. A product editing apparatus, comprising:
the copying module is used for copying the product data of the product to a sandbox environment according to a secondary editing instruction aiming at the released product, wherein the product data of the product in the production environment is kept unchanged, and the product refers to a data abstraction model of physical equipment;
the receiving module is used for receiving a data editing instruction through a preset access interface of the sandbox environment;
the updating module is used for changing and debugging the copied product data in the sandbox environment according to the data editing instruction to obtain secondary editing product data;
and the covering module is used for covering the secondary editing product data onto the production environment to take effect.
9. A storage medium having stored thereon a computer program which, when executed by a processor of a computer, causes the computer to perform the method of any of claims 1 to 7.
10. A server, comprising: a memory storing a computer program; a processor reading a computer program stored in a memory to perform the method of any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310415645.0A CN117408665A (en) | 2023-04-12 | 2023-04-12 | Product editing method, device, storage medium and server |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310415645.0A CN117408665A (en) | 2023-04-12 | 2023-04-12 | Product editing method, device, storage medium and server |
Publications (1)
Publication Number | Publication Date |
---|---|
CN117408665A true CN117408665A (en) | 2024-01-16 |
Family
ID=89496741
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202310415645.0A Pending CN117408665A (en) | 2023-04-12 | 2023-04-12 | Product editing method, device, storage medium and server |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN117408665A (en) |
-
2023
- 2023-04-12 CN CN202310415645.0A patent/CN117408665A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN100514296C (en) | Automation emulation method and system | |
CN105843734A (en) | Automatic test method and device and computing device | |
US5935006A (en) | Debug apparatus and method for debugging game program in ROM cartridge | |
CN106980597B (en) | System-on-chip verification method and system | |
CN105324750A (en) | Development-environment system, development-environment device, and development-environment provision method and program | |
CN108121842B (en) | Method and device for verifying low-power-consumption working mode of multiprocessor system chip | |
US20180018189A1 (en) | Platform simulation for management controller development projects | |
US12118339B2 (en) | Image file obtaining method and apparatus | |
CN112084488A (en) | Application authority management method, device and system | |
CN111782201A (en) | Method and device for realizing linkage of service codes and layout topological graph | |
JP2008204369A (en) | Simulator development system and method | |
CN105095087A (en) | Permission operation based software test system and method | |
EP3296875B1 (en) | Simulation reproduction device, simulation reproduction method, and simulation reproduction program | |
CN117330935A (en) | Integrated circuit testing method, device and medium | |
CN117408665A (en) | Product editing method, device, storage medium and server | |
CN111142502A (en) | Processing method, device and equipment for ECU detection and storage medium | |
CN114153480B (en) | Code synchronization, component issuing method and device, and computer storage medium | |
CN115454876A (en) | Management method for code test and related equipment | |
CN109144524A (en) | The version dissemination method and electronic equipment of subject game on a kind of teaching platform | |
CN113268266A (en) | Multi-version coexistence management method, system and medium for applet rendering framework | |
CN112473145A (en) | Data processing method and device based on game engine | |
US8694293B2 (en) | Simulation support method, computer-readable storage medium storing simulation support program, and simulation support apparatus | |
US20180267680A1 (en) | Screen creation apparatus, simulation apparatus and recording medium | |
EP0782074A2 (en) | Game apparatus and method for debugging game program | |
CN114138588B (en) | Method, system, equipment and medium for deriving debug information of controller |
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 |